struct_layout
struct_layout copied to clipboard
tool to show the structure layout of types in your C/C++ program, highlighting padding
This change occurs when moving from the OSX 10.9 SDK -> 10.15 SDK.. ex: ```python {'fields': {'DW_AT_name': 'member_name', 'DW_AT_type': '0x000002fa "class_name"', 'DW_AT_decl_file': 'src/test.h', 'DW_AT_decl_line': '364', 'DW_AT_data_member_location': '0x00'}, 'tag': 'DW_TAG_member', 'addr':...
The copy of `dwarfdump` on linus (I use this one: https://aur.archlinux.org/packages/libdwarf/ from http://www.prevanders.net/dwarf.html) has a completely different output format, the parser does not understand it. Would be awesome to add...
Very cool project, wanted to look what my structs looked like but possibly my project pulls in too many things? I'll dump some output here: ``` bash $ struct_layout.py build/main.o...