pdbgen
pdbgen copied to clipboard
Ghidra's BuiltinTypes values may be wrong
How did you find the Ghidra BuiltInTypes (e.g., key BuiltInTypes:/uint in function initalizeTypeDefs in PDBGen.java) that are predefined by CodeView? I found that BuiltInTypes:/uint's value is may actually be 0x0074.
They are manually mapped and could be off... however looking at clang's source code, seems like they think it should be 0x0075. https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h#L49.
If this is causing an issue, then post some detail about what is happening with an example and I'll take a look.