CommandArguments.java


current inspection = 2009-09-03 21:56:13 (id #1)


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void com.dmdirc.commandparser.CommandArguments(String)

  • Kind Annotation Text
    postinit'ed(this.line)
    postthis.line == line

  • com.dmdirc.commandparser.CommandArguments__static_init

  • Kind Annotation Text

  • String[] getArguments()

  • Kind Annotation Text
    pre(soft) this.line != null
    preinit'ed(this.words)
    presumptionthis.words.length@97 <= 232-1
    postinit'ed(java.lang.String:split(...)._tainted)
    postinit'ed(java.lang.String:split(...).length)
    postinit'ed(return_value)
    postthis.words != null
    postthis.words == One-of{old this.words, &amp;java.lang.String:split(...)}
    unanalyzedcall on java.lang.String:split

  • String getArgumentsAsString()

  • Kind Annotation Text
    pre(soft) this.line != null
    preinit'ed(this.words)
    postinit'ed(java.lang.String:split(...)._tainted)
    postinit'ed(java.lang.String:split(...).length)
    postinit'ed(return_value)
    postjava.lang.String:split(...)._tainted == 0
    postthis.words != null
    unanalyzedcall on java.lang.String:split
    unanalyzedcall on java.util.regex.Matcher:group
    unanalyzedcall on java.util.regex.Matcher:matches
    unanalyzedcall on java.util.regex.Pattern:compile
    unanalyzedcall on java.util.regex.Pattern:matcher

  • String getArgumentsAsString(int)

  • Kind Annotation Text
    pre(soft) this.line != null
    preinit'ed(this.words)
    prestart <= 232-2
    presumptionthis.words.length@123 - start in {-231+1.. 232}
    presumptionthis.words.length@123 <= 232-1
    postinit'ed(java.lang.String:split(...)._tainted)
    postinit'ed(java.lang.String:split(...).length)
    postinit'ed(return_value)
    postthis.words != null
    postthis.words == One-of{old this.words, &amp;java.lang.String:split(...)}
    unanalyzedcall on java.lang.String:split
    unanalyzedcall on java.util.regex.Matcher:group
    unanalyzedcall on java.util.regex.Matcher:matches
    unanalyzedcall on java.util.regex.Pattern:compile
    unanalyzedcall on java.util.regex.Pattern:matcher

  • String getCommandName()

  • Kind Annotation Text
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.silenceChar)
    preinit'ed(this.words)
    prethis.line != null
    presumptiongetWords(...).length@190 >= 1
    presumptiongetWords(...)[0]@190 != null
    postinit'ed(java.lang.String:split(...)._tainted)
    postinit'ed(java.lang.String:split(...).length)
    postinit'ed(java.lang.String:split(...)[0])
    postinit'ed(java.lang.String:substring(...)._tainted)
    postreturn_value == &amp;java.lang.String:substring(... )
    postthis.words != null
    postthis.words == One-of{old this.words, &amp;java.lang.String:split(...)}
    unanalyzedcall on java.lang.String:charAt
    unanalyzedcall on java.lang.String:isEmpty
    unanalyzedcall on java.lang.String:length
    unanalyzedcall on java.lang.String:split

  • String getLine()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.line

  • String getStrippedLine()

  • Kind Annotation Text
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.silenceChar)
    prethis.line != null
    postinit'ed(java.lang.String:substring(...)._tainted)
    postjava.lang.String:substring(...)._tainted == this.line._tainted
    postreturn_value == &amp;java.lang.String:substring(... )
    unanalyzedcall on java.lang.String:charAt
    unanalyzedcall on java.lang.String:isEmpty
    unanalyzedcall on java.lang.String:length

  • String[] getWords()

  • Kind Annotation Text
    pre(soft) this.line != null
    preinit'ed(this.words)
    postinit'ed(java.lang.String:split(...)._tainted)
    postreturn_value != null
    postreturn_value == One-of{old this.words, &amp;java.lang.String:split(...)}
    postthis.words == return_value
    unanalyzedcall on java.lang.String:split

  • String getWordsAsString(int)

  • Kind Annotation Text
    prethis.words != null
    prethis.words.length - start in {-231.. 232-1}
    prethis.words.length <= 232-1
    postinit'ed(return_value)
    unanalyzedcall on java.util.regex.Matcher:group
    unanalyzedcall on java.util.regex.Matcher:matches
    unanalyzedcall on java.util.regex.Pattern:compile
    unanalyzedcall on java.util.regex.Pattern:matcher

  • String getWordsAsString(int, int)

  • Kind Annotation Text
    preend - start in {-231..232-1}
    presumptionjava.util.regex.Pattern:compile(...)@148 != null
    presumptionjava.util.regex.Pattern:matcher(...)@150 != null
    postinit'ed(return_value)

  • bool isCommand()

  • Kind Annotation Text
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    prethis.line != null
    postinit'ed(return_value)

  • bool isSilent()

  • Kind Annotation Text
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.silenceChar)
    prethis.line != null
    postinit'ed(return_value)
    unanalyzedcall on java.lang.String:charAt
    unanalyzedcall on java.lang.String:isEmpty

  • void parse()

  • Kind Annotation Text
    pre(soft) this.line != null
    preinit'ed(this.words)
    postinit'ed(java.lang.String:split(...)._tainted)
    postthis.words != null
    postthis.words == One-of{old this.words, &amp;java.lang.String:split(...)}
    test_vectorthis.words: Inverse{null}, Addr_Set{null}