Debugging Tools for Windows |
The OutputDisassembly method disassembles a processor instruction and sends the disassembly to the output callbacks.
HRESULT
IDebugControl::OutputDisassembly(
IN ULONG OutputControl,
IN ULONG64 Offset,
IN ULONG Flags,
OUT PULONG64 EndOffset
);
Bit-Flag | Effect when set |
---|---|
DEBUG_DISASM_EFFECTIVE_ADDRESS | Compute the effective address from the current register information and display it. |
DEBUG_DISASM_MATCHING_SYMBOLS | If the address of the instruction has an exact symbol match, output the symbol. |
DEBUG_DISASM_SOURCE_LINE_NUMBER | Include the source line number of the instruction in the output. |
DEBUG_DISASM_SOURCE_FILE_NAME | Include the source file name in the output. |
This method can also return error values. See Return Values for more details.
OutputDisassembly is available in all versions of IDebugControl.
The assembly language depends on the effective processor type of the target system. For information about the assembly language, see the processor documentation.
For an overview of using assembly in debugger applications, see Debugging in Assembly Mode. For more information about using assembly with the debugger engine API, see Assembling and Disassembling Instructions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
Disassemble, OutputDisassemblyLines, u (Unassemble)