diff options
| author | blasty <blasty@local> | 2026-08-07 13:02:27 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-08-07 13:02:27 +0200 |
| commit | 5de318682c527976f3a298d38a0dc947c3a8c0dd (patch) | |
| tree | da8c1e4b7a70d1a9c0fb6f50c46ca8eab1f05148 /tests/test_codemode_client.py | |
| parent | codemode: fix DatabaseHandle.open kwarg, and check kwargs against the real si... (diff) | |
| download | ida-tui-5de318682c527976f3a298d38a0dc947c3a8c0dd.tar.gz ida-tui-5de318682c527976f3a298d38a0dc947c3a8c0dd.tar.xz ida-tui-5de318682c527976f3a298d38a0dc947c3a8c0dd.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 'tests/test_codemode_client.py')
0 files changed, 0 insertions, 0 deletions
