Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Get disassembly line
     ea - linear address of instruction
     flags - combination of the GENDSM_ flags, or 0
returns: "" - could not decode instruction at the specified location
note: this function may return not exactly the same mnemonics
as you see on the screen.

string generate_disasm_line(long ea, long flags); // get disassembly line

// flags for generate_disasm_line #define GENDSM_FORCE_CODE 1 // generate a disassembly line as if // there is an instruction at 'ea' #define GENDSM_MULTI_LINE 2 // if the instruction consists of several lines, // produce all of them(useful for parallel instructions)

Index | Previous topic | Next topic