angr/tests/knowledge_plugins
Ati Priya 36587c513a
FunctionParser: Serialize Function._call_sites. (#6613)
* FunctionParser: Serialize Function._call_sites.

serialize stores the transition graph but not Function._call_sites, and
parse_from_cmsg never repopulated it, so functions loaded back from LMDB
(SpillingFunctionDict eviction, angrdb) returned nothing from
get_call_sites(), get_call_target(), and get_call_return().

_call_sites cannot be rebuilt from transition graph edges. Store the
mapping in a new repeated CallSite field on the Function message and
restore it in parse_from_cmsg.

* lint

* Fix pyright errors in FunctionParser.

* Fix pyright error in LMDB function manager test.
2026-07-14 17:15:50 -07:00
..
cfg Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
functions FunctionParser: Serialize Function._call_sites. (#6613) 2026-07-14 17:15:50 -07:00
key_definitions knowledge_plugins, code_location: recompute hashes after unpickling (#6511) 2026-06-17 12:06:45 -07:00
rtdb RuntimeDb: Cleanup at process exit. (#6596) 2026-07-09 01:26:21 -07:00
__init__.py
test_dwarf_variables.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
test_kb_plugins.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
test_kb_plugins_dwarf.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
test_labels.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
test_patches.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00
test_variable_manager.py Enable ruff isort rule (#6452) 2026-06-02 14:48:07 -07:00