diff options
| author | blasty <blasty@local> | 2026-07-09 15:44:11 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 15:44:11 +0200 |
| commit | 986abcaf21ee2ebf4f5b48f7fc5b05833fa55d34 (patch) | |
| tree | e0e6af2997dedb3c509d768e8add4efd54719e07 /idatui | |
| parent | fix input visibility (search/rename) + refresh stale names across history (diff) | |
| download | ida-tui-986abcaf21ee2ebf4f5b48f7fc5b05833fa55d34.tar.gz ida-tui-986abcaf21ee2ebf4f5b48f7fc5b05833fa55d34.tar.xz ida-tui-986abcaf21ee2ebf4f5b48f7fc5b05833fa55d34.zip | |
fix: pseudocode names not refreshing across history after rename
force_recompile takes 'items=[{addr}]', not 'addr' — my call raised and was
swallowed, so the Hex-Rays cache was never cleared and a caller's cached
pseudocode kept showing the old callee name on 'back' (disasm refreshed because
its names are live). Use the correct params. History test now also caches and
verifies the caller's pseudocode. pilot suite 52/52.
Diffstat (limited to 'idatui')
| -rw-r--r-- | idatui/domain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idatui/domain.py b/idatui/domain.py index 1f52be6..55a95d5 100644 --- a/idatui/domain.py +++ b/idatui/domain.py @@ -426,7 +426,7 @@ class Program: # Cached before a rename: names may be stale. Drop the server's # Hex-Rays cache so the refetch reflects the new names. try: - self.client.call("force_recompile", addr=hex(ea)) + self.client.call("force_recompile", items=[{"addr": hex(ea)}]) except Exception: # noqa: BLE001 pass envelope = self.client.call_envelope("decompile", addr=hex(ea)) |
