binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Clean up anonymous type names in type libraries

Open CouleeApps opened this issue 1 month ago • 0 comments

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

CouleeApps avatar Dec 09 '25 22:12 CouleeApps