Static
BITS_Number of bits in a byte
Static
BYTES_Number of bytes in an unsigned 16 bit number
Static
BYTES_Number of bytes in an unsigned 32 bit number
Static
BYTE_Mask to select the value of a single byte
Static
COLUMN_The fixed character width of the module base field output for each module in the coverage header.
Static
COLUMN_The fixed character width of the module checksum field output for each module in the coverage header.
Static
COLUMN_The fixed character width of the module end field output for each module in the coverage header.
Static
COLUMN_The fixed character width of the module entry field output for each module in the coverage header.
Static
COLUMN_The fixed character width of the module id field output for each module in the coverage header.
Static
COLUMN_The fixed character width of the module timestamp field output for each module in the coverage header.
Static
COMPILE_The array index of the compile event end field in the StalkerCompileEventFull
Static
COMPILE_The array index of the compile event start field in the StalkerCompileEventFull
Static
COMPILE_The value of the type field in the StalkerCompileEventFull
Static
COMPILE_The array index of the compile event type field in the StalkerCompileEventFull
Static
EVENT_The byte offset of the module id field within the DRCOV event structure
Static
EVENT_The byte offset of the size field within the DRCOV event structure
Static
EVENT_The byte offset of the start field within the DRCOV event structure
Static
EVENT_The total size in bytes of the DRCOV event structure
Function used to covert a coverage event, when called with parameters parsed from StalkerCompileEventFull in the 'onRecevied' function of stalker.
The address of the start of the compiled block.
The address of the end of the compile block.
Function used to emit a coverage event, when called with parameters parsed from StalkerCompileEventFull in the 'onRecevied' function of stalker.
The event to emit
Function to emit the header information at the start of the DRCOV coverage information format. Note that the format includes a number of events in the header. This is obviously not ideally suited to streaming data, so we instead write the value of -1. This does not impair the operation of dragondance (which ignores the field), but changes may be required for IDA lighthouse to accept this modification.
The number of coverage events emitted in the file
Function to determine whether a coverage event resides in a valid range associated with a given module.
The base address of the module
The start of the basic block
The end of the basic block
Static
convertStatic
fromStatic
padFunction to left pad a string with a repeating pattern. If the pattern is not a multiple of the padding required to make the output the correct length, then the last copy of the padding before the original string will be truncated.
The input string to be padded
The required length of the output
The value which should be prepended to the string until it is the requested length
The padded input string, padding to the requested length
Static
write16leFunction to write a 16-bit value in little-endian format to a given address. Note that DRCOV format data is always in little endian, regardless the endian-ness of the target application.
The address at which to write the value
The value to be written
Static
write32leFunction to write a 32-bit value in little-endian format to a given address. Note that DRCOV format data is always in little endian, regardless the endian-ness of the target application.
The address at which to write the value
The value to be written
Generated using TypeDoc
The aim of this class is to comsume CoverageEvent produced by the produce Stalker and generate coverage file for IDA LightHouse, Ghidra DragonDance, ...