SearchCodeResult object represents the result of searching for a code pattern in the binary.
It is returned by the ProjectHandle:search_code method and provides information about the matched code region and its instructions.
Fields
| Field | Description | Type |
|---|---|---|
function_address | Address of the function containing the matched code | AddressValue |
start_address | Start address of the matched code | AddressValue |
end_address | End address of the matched code | AddressValue |
insns | Table of matched instructions | Instruction[] |
Reference
function_address
The address of the function that contains the matched code region.start_address
The start address of the matched code region.end_address
The end address of the matched code region.insns
A table ofInstruction objects representing the instructions in the matched code region.