Disasms function.
Unit
Syntax
ParametersAddress [in] A pointer to beginning of the function. Size of the function is determinated from AExceptionAddress, ASize, ALines or virtual region side if neither param is specified.
AExceptionAddress [in, optional] A pointer to exception address inside function. If this argument is specified then the function will mark corresponding line in disassembly output as "< Exception Here". Function size will also be increased to include this address (if necessary).
ASize [in, optional] Function's size in bytes. If this argument is set then the function will stop disassebmling only after specified number of bytes. Otherwise it will stop at first RET instruction or if ALines, AExceptionAddress or end of virtual region is reached.
ALines [in, optional] Maximum number of lines (i.e. instructions) to disassemble after AExceptionAddress. Have no effect if AExceptionAddress is not specified.
Return valueA textual representation of disassembled function including comments, marks, addresses, RAW bytes and decoded instructions.
RemarksThis function is used to generate disasm view in bug reports. This function uses EDisAsm unit.
This function can be used to disassemble arbitrary block of machine code. Address does not have to point to beginning of some function. It can point to any CPU instruction. One can use FindLowAddress to obtain starting address from known AExceptionAddress value. Return value of FindLowAddress can be used as Address param.
See also
|