Skip to content

Convert C++ classes to plain C structs for use with IDA / ghidra local types

License

Notifications You must be signed in to change notification settings

lfrazer/class--

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

class--

Convert C++ classes to plain C structs for use with IDA / ghidra local types

Instructions

Note: This script requires ctags-Universal to function. pass ctags-Universal JSON output into this program to parse out class / structs from C++ headers (e.g. cmd>python classstripper.py typeinfo.json) Important note: Tell ctags not to sort to keep member variables in correct order Example cmd line: ctags --c++-kinds=+p --fields=+ianS --extras=+q --sort=no --output-format=json /pathto/yourcode/*.h > typeinfo.json

About

Convert C++ classes to plain C structs for use with IDA / ghidra local types

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages