aboutsummaryrefslogtreecommitdiffstats
path: root/experiments/inproc_spike.py
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-08-07 13:02:27 +0200
committerblasty <peter@haxx.in>2026-08-07 13:02:27 +0200
commit09889a981f3fa448891c6dba0646109351e3ccd4 (patch)
tree642880793b819ae9c70462d57db0e4157b93c034 /experiments/inproc_spike.py
parentcodemode: fix DatabaseHandle.open kwarg, and check kwargs against the real si... (diff)
downloadida-tui-09889a981f3fa448891c6dba0646109351e3ccd4.tar.gz
ida-tui-09889a981f3fa448891c6dba0646109351e3ccd4.tar.xz
ida-tui-09889a981f3fa448891c6dba0646109351e3ccd4.zip
codemode: restore the graph view and pseudocode comments
Verified live now: ida-codemode 0.3.1 spawns a managed idalib worker on this box, so the pilot suite runs against the port. flowchart: the port simply does not have the operation, so domain.get_flowchart returned None and every graph key reported 'no control-flow graph for this function'. Ported ours onto ida_gdl (ida-domain exposes no basic-block or edge-kind surface). Blocks stay address RANGES, never text -- that is what lets graph boxes reuse the listing's own rows. Graph suite: 0 -> 50 passed. set_comments: the port set only the disassembly comment via db.comments.set_at(), so a comment never appeared in the pseudocode. A Hex-Rays comment is anchored to a ctree location and an anchor the ctree does not own is discarded as an orphan, so the itp slot must be searched until one sticks, and the entry ea is a function comment instead. Ported that logic back. survey_binary: added as the (caught) fallback domain.py expects behind file_regions, so the fallback path is real rather than always empty.
Diffstat (limited to 'experiments/inproc_spike.py')
0 files changed, 0 insertions, 0 deletions