Wurldtech
Wurldtech
Wurldtech - Security Technologies
Wurldtech
Wurldtech
Wurldtech
 
Wurldtech - Industry Resources
Wurldtech
Wurldtech

Related Topics
Wurldtech
Wurldtech

Industry Resources
Wurldtech

On Shaky Ground - A Study of Security Vulnerabilities in Control Protocols

IV. THE BLACKPEER TEST FRAMEWORK

All grammar files are written using an extended Backus Naur Form (BNF) syntax:

  • non-terminals specified as identifiers and terminals as string constants
  • alternatives specified by a vertical bar and concatenation by one or more spaces
  • the required portion of a production is terminated by a newline character
  • the right hand side expression can contain parenthesis one level deep for grouping logical expressions, square brackets for denoting optional expressions, and braces to delimit expressions that can occur zero or more times
  • an optional range after the opening brace allows repetition a fixed number of times
  • comments are started by a // and terminated by the end of the line
  • the start symbol is the non-terminal on the left hand side of the first production

The syntax for a grammar is as follows:

grammar ::=
  rule {rule} "\n"
rule ::=
  nonterminal "::=" rhs "\n"
rhs ::=
  ( nonterms | terms ) "\n" [pre] [post] "\n"
nonterms ::=
  "(" nonterms ")" | nonterminal {("|" | "
")nonterminal}
terms ::=
  "(" terms ")" | terminal {("|" | " ")terminal}
pre ::=
  "%pre{\n" program_statements "\n}%"
post ::=
  "%post{\n" program_statements "\n}%"
nonterminal ::=
  letters_and_or_digits
terminal ::=
  """ value ":" value """
value ::=
  ["$"] letters_and_or_digits

The syntax for a test case is as follows:

testcase ::=
  tx {tx|rx} "\n"
tx ::=
  "TX:0 " digits ":" digits" " {digits ":" digits " "}
rx ::=
  "RX:0 " ("*"|digits) ":" digits " " {("*"|digits)
":" digits " "}

« Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Next »

Wurldtech - Site Assessment

 
Wurldtech - Industry Feedback
 
Wurldtech
Wurldtech
 
Wurldtech
Wurldtech
Wurldtech
Wurldtech