summaryrefslogtreecommitdiffstats
path: root/server/patch_server.py
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-07-11 22:58:52 +0200
committerblasty <peter@haxx.in>2026-07-11 22:58:52 +0200
commit38be844ebae942080b0715324244304c9dc7855f (patch)
treee6f8e9b6873eaa625cb4a3738f0d95dcc980998b /server/patch_server.py
parentdocs: add README (diff)
downloadida-tui-38be844ebae942080b0715324244304c9dc7855f.tar.gz
ida-tui-38be844ebae942080b0715324244304c9dc7855f.tar.xz
ida-tui-38be844ebae942080b0715324244304c9dc7855f.zip
disasm: render opcode bytes (toggle 'o'), padded to widest insn
Fetch per-instruction opcode bytes alongside the disasm listing and show them in a column between the address and the mnemonic. Instruction length comes from consecutive addresses (variable-length safe: x86 movabs shows its full 10 bytes); the block over-fetches one instruction for the last line's boundary, falling back to the function end for the final insn. The column pads to the widest instruction across the whole function: _fetch_block tracks a running max, and on load a background scan_bytes() settles a stable width so padding doesn't jump as blocks stream in. _op_field is shared by the rendered strip, _line_plain, and search _fmt so cursor/match offsets stay aligned. 'o' toggles the column.
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions