Skip to main content

decode_as_bb

Function decode_as_bb 

Source
pub unsafe extern "C" fn decode_as_bb(
    drcontext: *mut c_void,
    start_pc: *mut byte,
) -> *mut instrlist_t
Expand description

Client routine to decode instructions at an arbitrary app address, following all the rules that DynamoRIO follows internally for terminating basic blocks. Note that DynamoRIO does not validate that \p start_pc is actually the first instruction of a basic block. \note Caller is reponsible for freeing the list and its instrs!