Skip to content

[codex] Resolve renamed and qualified functions reliably - #88

Open
farvend wants to merge 4 commits into
fosdickio:mainfrom
farvend:codex/fix-qualified-function-resolution
Open

[codex] Resolve renamed and qualified functions reliably#88
farvend wants to merge 4 commits into
fosdickio:mainfrom
farvend:codex/fix-qualified-function-resolution

Conversation

@farvend

@farvend farvend commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Resolve functions through Binary Ninja name and symbol indexes.
  • Support qualified names, case-insensitive fallback, and configured rename prefixes.
  • Cache renamed function addresses per BinaryView.
  • Resolve function comments through an address before applying them.

Why

A function renamed to a qualified or prefixed name could no longer be found immediately, and fallback lookup scanned every function repeatedly.

Impact

Rename-followed-by-comment workflows work reliably without whole-program scans.

Validation

  • python -B -m unittest discover -s tests -p "test_*.py" (3 tests)

@farvend
farvend marked this pull request as ready for review August 26, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant