astrelsky / Ghidra-Cpp-Class-Analyzer

Ghidra C++ Class and Run Time Type Information Analyzer
MIT License
634 stars 46 forks source link

Error using `TypeInfo *` in structs #64

Closed FlashHit closed 2 years ago

FlashHit commented 2 years ago

Check https://github.com/NationalSecurityAgency/ghidra/issues/4578 for more information.

astrelsky commented 2 years ago

Check https://github.com/NationalSecurityAgency/ghidra/issues/4578 for more information.

This type is going to be removed. It was something I had done very early on in the project, well before it was published. This isn't really a DataType and it wasn't supposed to be possible to move it out of the BuiltinDataTypeManager.

I'm honestly surprised it took so long for this problem to show up.

astrelsky commented 2 years ago

"Fixed" by 187492cd49e1b50c8102bf929138159e9d5085f4

I've simply removed the DataType from the plugin. It was a hack to allow the correct type_info instance to be created in the listing when the type was applied to markup data.