Vector35 / Vector35/binaryninja-api
Library functions lose their library attribute after loading PDB
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
Version and Platform (required):
- Binary Ninja Version: 3.6.4807-dev, 864ff019
- OS: Windows
- OS Version: 11
- CPU Architecture: x86_64
Bug Description:
Seeing library function calls in a different color is very useful for quickly recognizing them. However, I've noticed that when the binary has a PDB file, those functions lose the different color defined for library functions.
Steps To Reproduce:
- Open a PE binary with a PDB file
- Check some library functions and observe that they lose their different color
Expected Behavior:
I expect those functions to retain their different color (indicating the library attribute) even after loading a PDB file.
Screenshots:
Without PDB:
With PDB:
Additional Information:
I'm unsure if this applies to other platforms.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a PE binary both without and with its PDB loaded, following the listed steps on Windows. Trace the PDB-loading path and library-attribute handling, comparing the function state before and after loading symbols. Done means library functions retain their distinct color and library attribute after the PDB is loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100