Vector35 / Vector35/binaryninja-api
Incorrect `typeinfo_name_for` definitions in mach-o binaries
@emesare is already working on this.
Since Feb 7, 2025.
- 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.4790-dev, 10b89271
- OS: macos
- OS Version: 14.3
- CPU Architecture: arm64
Bug Description:
BN does not defines typeinfo_name_for variables correctly.
Steps To Reproduce:
- Open attached binary
- Go to
100003f4a - See the bug
It is not char typeinfo_name_for_Dog[0x0][0x0] it should be char typeinfo_name_for_Dog[0x5]. If I try to change type of that with Y it gives me char __ZTS3Dog[0x0]. Then when I try to set the type to char __ZTS3Dog[0x5] I got char typeinfo_name_for_Dog[0x0][0x5] which is not correct either.
Expected Behavior:
I expect BN to define those strings correctly.
Screenshots:
Additional Information:
Debug symbols did not removed.
classtest.zip
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.
Assessment
This issue has not been assessed yet.