SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 627 | Next

Shon Harris, Allen Harper, Chris Eagle, and Jonathan Ness

"Gray Hat Hacking, Second Edition"


??? s_bigword(unsigned int aword) Insert a big-endian word into the
spike. Inserts 4 bytes of binary data into the spike.
??? s_xdr_string(unsigned char *astring) Insert the 4-byte length of
astring followed by the characters of astring into the spike. This function
generates the XDR representation of astring.
NOTE XDR is the External Data Representation standard, which describes
a standard way in which to encode various types of data such as integers,
floating-point numbers, and strings.
??? s_binary_repeat(char *instring, int n) Add n sequential instances
of the binary data represented by the string instring into the spike.
??? s_string_repeat(char *instring, int n) Add n sequential instances
of the string instring into the spike.
??? s_intelword(unsigned int aword) Add 4 bytes of little-endian binary
data into the spike.
??? s_intelhalfword(unsigned short ashort) Add 2 bytes of littleendian
binary data into the spike.
SPIKE Block Handling Primitives
The following functions are used to define blocks and insert placeholders for block
length values. Length values are filled in prior to sending the spike, once all fuzzing variables
have been set.
??? int_block_start(char *blockname) Start a named block.


Pages:
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639