The Official Radare2 Book | страница 53
Determines width in bits of registers for the current architecture. Supported values: 8, 16, 32, 64. Note that not all target architectures support all combinations for asm.bits.
Changes syntax flavor for disassembler between Intel and AT&T. At the moment, this setting affects Udis86 disassembler for Intel 32/Intel 64 targets only. Supported values are intel and att.
A boolean value to set the psuedo syntax in the disassembly. "False" indicates a native one, defined by the current architecture, "true" activates a pseudocode strings format. For example, it'll transform :
│ 0x080483ff e832000000 call 0x8048436
│ 0x08048404 31c0 xor eax, eax
│ 0x08048406 0205849a0408 add al, byte [0x8049a84]
│ 0x0804840c 83f800 cmp eax, 0
│ 0x0804840f 7405 je 0x8048416
to
│ 0x080483ff e832000000 0x8048436 ()
│ 0x08048404 31c0 eax = 0
│ 0x08048406 0205849a0408 al += byte [0x8049a84]
│ 0x0804840c 83f800 var = eax - 0
│ 0x0804840f 7405 if (!var) goto 0x8048416
It can be useful while disassembling obscure architectures.
Selects a target operating system of currently loaded binary. Usually, OS is automatically detected by rabin -rI. Yet, asm.os can be used to switch to a different syscall table employed by another OS.
If defined to "true", disassembler view will have flags column.
If set to "true", draw lines at the left of the disassemble output (pd, pD commands) to graphically represent control flow changes (jumps and calls) that are targeted inside current block. Also, see asm.lines.out.
When defined as "true", the disassembly view will also draw control flow lines that go outside of the block.
A boolean value which changes the direction of control flow analysis. If set to "false", it is done from top to bottom of a block; otherwise, it goes from bottom to top. The "false" setting seems to be a better choice for improved readability and is the default one.
Boolean value which controls the visibility of offsets for individual disassembled instructions.
A boolean value that controls displaying of tracing information (sequence number and counter) at the left of each opcode. It is used to assist with programs trace analysis.