Function Summary |
|
custom_raise(argument,
msg)
|
|
s_bigword(x)
|
|
s_binary (value,
name)
Parse a variable format binary string into a static value and push it
onto the current block stack. |
|
s_binary_block_size_byte(x)
|
|
s_binary_block_size_byte_mult(x)
|
|
s_binary_block_size_byte_plus(x)
|
|
s_binary_block_size_byte_variable(x)
|
|
s_binary_block_size_halfword_bigendian(x)
|
|
s_binary_block_size_halfword_bigendian_mult(x)
|
|
s_binary_block_size_halfword_bigendian_variable(x)
|
|
s_binary_block_size_intel_halfword(x)
|
|
s_binary_block_size_intel_halfword_mult(x)
|
|
s_binary_block_size_intel_halfword_plus(x)
|
|
s_binary_block_size_intel_halfword_plus_variable(x)
|
|
s_binary_block_size_intel_halfword_variable(x)
|
|
s_binary_block_size_intel_word(x)
|
|
s_binary_block_size_intel_word_plus(x)
|
|
s_binary_block_size_intel_word_variable(x)
|
|
s_binary_block_size_word_bigendian(x)
|
|
s_binary_block_size_word_bigendian_mult(x)
|
|
s_binary_block_size_word_bigendian_plussome(x)
|
|
s_binary_block_size_word_bigendian_variable(x)
|
|
s_binary_block_size_word_intel_mult_plus(x)
|
|
s_binary_repeat(x)
|
|
s_bit (value,
width,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a variable length bit field onto the current block stack. |
|
s_bit_field (value,
width,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a variable length bit field onto the current block stack. |
|
s_bits (value,
width,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a variable length bit field onto the current block stack. |
|
s_block_end (name)
Close the last opened block. |
|
s_block_start (name,
group,
encoder,
dep,
dep_value,
dep_values,
dep_compare)
Open a new block under the current request. |
|
s_blocksize_asciihex(x)
|
|
s_blocksize_asciihex_variable(x)
|
|
s_blocksize_signed_string_variable(x)
|
|
s_blocksize_string(x)
|
|
s_blocksize_unsigned_string_variable(x)
|
|
s_byte (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a byte onto the current block stack. |
|
s_char (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a byte onto the current block stack. |
|
s_checksum (block_name,
algorithm,
length,
endian,
name)
Create a checksum block bound to the block with the specified
name. |
|
s_cstring(x)
|
|
s_delim (value,
fuzzable,
name)
Push a delimiter onto the current block stack. |
|
s_double (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a quad word onto the current block stack. |
|
s_dunno (value,
name)
Push a static value onto the current block stack. |
|
s_dword (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a double word onto the current block stack. |
blocks.request
|
s_get (name)
Return the request with the specified name or the current request if
name is not specified. |
|
s_group (name,
values)
This primitive represents a list of static values, stepping through
each one on mutation. |
String
|
s_hex_dump (data,
addr)
Return the hex dump of the supplied data starting at the offset
address specified. |
|
s_initialize (name)
Initialize a new block request. |
|
s_int (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a double word onto the current block stack. |
|
s_intelhalfword(x)
|
|
s_intelword(x)
|
|
s_lego (lego_type,
value,
options)
Legos are pre-built blocks... |
|
s_long (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a double word onto the current block stack. |
Boolean
|
s_mutate ()
Mutate the current request and return False if mutations are
exhausted, in which case the request has been reverted back to its normal
form. |
Integer
|
s_num_mutations ()
Determine the number of repetitions we will be making. |
|
s_qword (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a quad word onto the current block stack. |
|
s_random (value,
min_length,
max_length,
num_mutations,
fuzzable,
name)
Generate a random chunk of data while maintaining a copy of the
original. |
|
s_raw (value,
name)
Push a static value onto the current block stack. |
Raw
|
s_render ()
Render out and return the entire contents of the current request. |
|
s_repeat (block_name,
min_reps,
max_reps,
step,
variable,
fuzzable,
name)
Repeat the rendered contents of the specified block cycling from
min_reps to max_reps counting by step. |
|
s_repeater (block_name,
min_reps,
max_reps,
step,
variable,
fuzzable,
name)
Repeat the rendered contents of the specified block cycling from
min_reps to max_reps counting by step. |
|
s_short (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a word onto the current block stack. |
|
s_size (block_name,
length,
endian,
format,
inclusive,
signed,
math,
fuzzable,
name)
Create a sizer block bound to the block with the specified name. |
|
s_sizer (block_name,
length,
endian,
format,
inclusive,
signed,
math,
fuzzable,
name)
Create a sizer block bound to the block with the specified name. |
|
s_static (value,
name)
Push a static value onto the current block stack. |
|
s_string (value,
size,
padding,
encoding,
fuzzable,
name)
Push a string onto the current block stack. |
|
s_string_lf(x)
|
|
s_string_or_env(x)
|
|
s_string_repeat(x)
|
|
s_string_variable(x)
|
|
s_string_variables(x)
|
|
s_switch (name)
Change the currect request to the one specified by
"name". |
|
s_unistring(x)
|
|
s_unistring_variable(x)
|
|
s_unknown (value,
name)
Push a static value onto the current block stack. |
|
s_update (name,
value)
Update the value of the named primitive in the currently open
request. |
|
s_word (value,
endian,
format,
signed,
full_range,
fuzzable,
name)
Push a word onto the current block stack. |
|
s_xdr_string(x)
|