asm
asm.anal
Analyze code and refs while disassembling (see anal.strings) Default is falseasm.arch
Set the arch to be used by asm Default is x86asm.armimm
Display # for immediates in ARM Default is 0asm.asciidot
Enable a char filter for string comments that passes through chars in the range 0x20-0x7e and turns the rest into dots (except some control chars) Default is falseasm.assembler
Set the plugin name to use when assemblingasm.bbinfo
Show basic block information Default is falseasm.bbline
Show empty line after every basic block Default is falseasm.bb.middle
Realign disassembly if a basic block starts in the middle of an instruction Default is trueasm.bits
Word size in bits at assembler Default is 64asm.bytes
Display the bytes of each instruction Default is trueasm.bytespace
Separate hexadecimal bytes with a whitespace Default is falseasm.calls
Show callee function related info as comments in disasm Default is trueasm.capitalize
Use camelcase at disassembly Default is falseasm.cmt.col
Column to align comments Default is 71asm.cmt.flgrefs
Show comment flags associated to branch reference Default is trueasm.cmt.fold
Fold comments, toggle with Vz Default is falseasm.cmt.off
Show offset comment in disasm (true, false, nodup) Default is nodupasm.cmt.patch
Show patch comments in disasm Default is falseasm.cmt.refs
Show flag and comments from refs in disasm Default is falseasm.cmt.right
Show comments at right of disassembly if they fit in screen Default is true-
print call hints when
asm.cmt.right=0
-
asm.comments
Show comments in disassembly view Default is trueasm.cpu
Set the kind of asm.arch cpu Default is x86-
Example:
asm.cpu=cortex
when architecture is ARM.
-
asm.cycles
Show CPU-cycles taken by instruction at disassembly Default is falseasm.cyclespace
Indent instructions depending on CPU-cycles Default is falseasm.decode
Use code analysis as a disassembler Default is falseasm.decoff
Show segmented address in prompt (x86-16) Default is falseasm.demangle
Show demangled symbols in disasm Default is trueasm.describe
Show opcode description Default is falseasm.dwarf
Show dwarf comment at disassembly Default is false-
asm.dwarf
along withdir.source
can be used for source code debugging
-
asm.dwarf.abspath
Show absolute path in asm.dwarf Default is falseasm.dwarf.file
Show filename of asm.dwarf in pd Default is trueasm.emu
Run ESIL emulation analysis on disasm Default is false (cpu emulation)-
asm.emu
This can be used for instruction emulation where the register values are printed after each instruction executes (not debugger) -
🚀 Set
e asm.emu =1
to emulate cpu instructions asciinema -
asm.emu.pre
Run ESIL emulation starting at the closest flag in pd Default is false-
asm.emu.pre
this will do the emulation of the instructions before the current offset to get better disasm hints
-
asm.emu.skip
Skip metadata of given types in asm.emu Default is dsasm.emu.stack
Create a temporary fake stack when emulating in disasm (asm.emu) Default is falseasm.emu.str
Show only strings if any in the asm.emu output Default is false-
asm.emu.str
Handy when analyzing objective c binaries asm.emu.strflag
Also show flag (if any) for asm.emu string Default is trueasm.emu.strinv
Color-invert asm.emu strings Default is trueasm.emu.stroff
Always show offset when printing asm.emu stringsasm.emu.write
Allow asm.emu to modify memory (WARNING) Default is falseasm.esil
Show ESIL instead of mnemonic Default is falseasm.family
Show family name in disasm Default is falseasm.fcncalls
Show functions calls Default is trueasm.fcnlines
Show function boundary lines Default is trueasm.features
Specify supported features by the target CPUasm.filter
Replace numeric values by flags (e.g. 0x4003e0 -> sym.imp.printf) Default is trueasm.flags
Show flags Default is trueasm.flags.inbytes
Display flags inside the bytes spaceasm.flags.middle
Realign disassembly if there is a flag in the middle of an instructionasm.flags.offset
Show offset in flagsasm.flags.real
Show flags unfiltered realnames instead of names-asm.flgoff
Show offset in flags Default is falseasm.functions
Show functions in disassembly Default is trueasm.highlight
Highlight current line-
Use
asm.highlight
to highlight current seek. Example:e asm.highlight = $$
ore asm.highlight = rip
. Change color of highlight usingec line_highlight
-
asm.hints
Show hints for magic numbers in disasm Default is falseasm.immstr
Show immediates values as strings Default is falseasm.imm.str
treat shortened strings as false positivesasm.immtrim
Remove all offsets and constants from disassembly Default is falseasm.indent
Indent disassembly based on reflines depth Default is falseasm.indentspace
How many spaces to indent the code Default is 2asm.invhex
Show invalid instructions as hexadecimal numbers Default is falseasm.jmphints
Show jump hints [numbers] in disasm Default is trueasm.jmpsub
Always substitute jump, call and branch targets in disassembly Default is false-
asm.jmpsub
Substitutes targets of jmp, call and branch ops in disassembly based on jump target in RAnalOp structure
-
asm.lbytes
Align disasm bytes to left Default is trueasm.leahints
Show LEA hints [numbers] in disasm Default is falseasm.lines
Show ASCII-art lines at disassembly Default is trueasm.lines.bb
Show flow lines at jumps Default is trueasm.lines.call
Enable call lines Default is falseasm.lines.fcn
Show function boundary lines Default is trueasm.lines.out
Show out of block lines Default is trueasm.lines.ret
Show separator lines after ret Default is falseasm.lines.right
Show lines before opcode instead of offset Default is falseasm.lines.wide
Put a space between lines Default is falseasm.lines.width
Number of columns for program flow arrows Default is 7asm.lines.jmp
-asm.marks
Show marks before the disassembly Default is trueasm.maxrefs
Maximum number of xrefs to be displayed as list (use columns above) Default is 5asm.meta
Display the code/data/format conversions in disasm Default is trueasm.midcursor
Cursor in visual disasm mode breaks the instruction Default is falseasm.middle
Allow disassembling jumps in the middle of an instruction Default is falseasm.midflags
Realign disassembly if there is a flag in the middle of an instruction Default is 2asm.minicols
Only show the instruction in the column disasm Default is falseasm.minvalsub
Minimum value to substitute in instructions (asm.varsub) Default is 256asm.minvalsub
is used to reduce low immediate values
asm.nbytes
Number of bytes for each opcode at disassembly Default is 6asm.nodup
Do not show dupped instructions (collapse disasm) Default is falseasm.noisy
Show comments considered noisy but possibly useful Default is trueasm.offset
Show offsets at disassembly Default is trueasm.os
Select operating system (kernel) Default is linuxasm.parser
Set the asm parser to use Default is x86.pseudoasm.payloads
Show payload bytes in disasm Default is falseasm.pcalign
Only recognize as valid instructions aligned to this value Default is 0asm.pseudo
Enable pseudo syntax Default is falseasm.reloff
Show relative offsets instead of absolute address in disasm Default is falseasm.reloff.flags
Show relative offsets to flags (not only functions) Default is falseasm.relsub
Substitute pc relative expressions in disasm Default is trueasm.section
Show section name before offset Default is falseasm.section.col
Columns width to show asm.section Default is 20asm.section.sub
Show offsets in disasm prefixed with section/map name Default is falseasm.section.perm
Show section permissions in the disasm Default is falseasm.section.name
Show section name in the disasm Default is trueasm.seggrn
Segment granularity in bits (x86-16) Default is 4asm.segoff
Show segmented address in prompt (x86-16) Default is falseasm.shortcut
Shortcut position (-1, 0, 1) Default is 1asm.size
Show size of opcodes in disassembly (pd) Default is falseasm.slow
Perform slow analysis operations in disasm Default is trueasm.stackptr
Show stack pointer at disassembly Default is falseasm.strenc
Assumed string encoding for disasm Default is guessasm.strip
Removes garbage instructions from disassemblyasm.symbol
Show symbol+delta instead of absolute offset Default is falseasm.symbol.col
Columns width to show asm.section Default is 40asm.syntax
Select assembly syntax Default is intelasm.tabs
Use tabs in disassembly Default is 0asm.tabsoff
tabulate spaces after the offset Default is 0asm.tabsonce
Only tabulate the opcode, not the arguments Default is falseasm.tailsub
Replace addresses with prefix .. syntax Default is false- 🚀
asm.trace
Show execution traces for each opcode Default is false asciinema asm.tracespace
Indent disassembly with trace.count information Default is falseasm.ucase
Use uppercase syntax at disassembly Default is falseasm.usercomments
Show user comments even if asm.comments is false Default is falseasm.vars
Show local function variables in disassembly Default is trueasm.varsub
Substitute variables in disassembly Default is trueasm.varsub_only
Substitute the entire variable expression with the local variable name (e.g. [local10h] instead of [ebp+local10h]) Default is trueasm.varsum
Show variables summary instead of full list in disasm Default is falseasm.varxs
Show accesses of local variables Default is falseasm.xrefs
Show xrefs in disassembly Default is trueasm.xrefs.fold
Maximum number of xrefs to be displayed as list (use columns above) Default is 5asm.xrefs.max
Maximum number of xrefs to be displayed without folding Default is 20
asm.anal asm.arch asm.armimm asm.asciidot asm.assembler asm.bbline asm.bits asm.bytes asm.bytespace asm.calls asm.capitalize asm.cmtcol asm.cmtflgrefs asm.cmtfold asm.cmtoff asm.cmtpatch asm.cmtrefs asm.cmtright asm.comments asm.cpu asm.cycles asm.cyclespace asm.decode asm.decoff asm.demangle asm.describe asm.dwarf asm.dwarf.abspath asm.dwarf.file asm.emu asm.emuskip asm.emustack asm.emustr asm.emuwrite asm.esil asm.family asm.fcncalls asm.fcnlines asm.features asm.filter asm.flags asm.flagsinbytes asm.flgoff asm.functions asm.hints asm.immstr asm.immtrim asm.indent asm.indentspace asm.invhex asm.jmphints asm.lbytes asm.leahints asm.lines asm.lines.call asm.lines.ret asm.linesout asm.linesright asm.lineswide asm.lineswidth asm.marks asm.maxrefs asm.midcursor asm.middle asm.midflags asm.minicols asm.minvalsub asm.nbytes asm.nodup asm.noisy asm.offset asm.os asm.parser asm.payloads asm.pcalign asm.pseudo asm.reloff asm.reloff.flags asm.relsub asm.section asm.section.col asm.section.sub asm.segoff asm.shortcut asm.size asm.slow asm.stackptr asm.strenc asm.symbol asm.symbol.col asm.syntax asm.tabs asm.tabsoff asm.tabsonce asm.trace asm.tracespace asm.ucase asm.vars asm.varsub asm.varsub_only asm.varsum asm.varxs asm.xrefs asm.strip asm.jmpsub asm.bbinfo asm.tailsub