Vector35 / Vector35/binaryninja-api
Clean up anonymous type names in type libraries
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: 5.3.something
Bug Description:
Various type libraries have types named anonymous_XX for XX in the range of 0 to like 2800. Windows platform types have types named anonymous_XX for XX in the range 0 to 81. These types are artifacts of using the clang type parser to parse headers to generate type libraries and platform types, and their names can (and likely do) conflict with other type libraries generated in a similar manner. We should update the type library generation to rename these types, ideally to something relevant, but at least to namespace them so they won't conflict.
CC #7587
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
Start in the type library generation path that uses the clang type parser, and trace how anonymous types receive names. Done means generated platform and other type libraries no longer expose conflicting anonymous_XX names, using relevant names or a namespace; the issue does not identify specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100