pahole(1) on Linux
The text 4871dd4c2f19, as Debian 10 (Buster) shipped it.
Shows and manipulates data structure layout.
Flags it lists
-
--anon_include -
--bit_holes -
--cacheline_size -
--class_name -
--class_name_len -
--contains -
--cu_exclude -
--decl_exclude -
--defined_in -
--dwarf_offset -
--exclude -
--expand_pointers -
--expand_types -
--find_pointers_to -
--fixup_silly_bitfields -
--flat_arrays -
--format_path -
--hex -
--hole_size_ge -
--holes -
--nested_anon_include -
--nr_definitions -
--nr_members -
--nr_methods -
--packable -
--prefix_filter -
--quiet -
--recursive -
--rel_offset -
--reorganize -
--separator -
--show_decl_info -
--show_first_biggest_size_base_type_member -
--show_only_data_members -
--show_reorg_steps -
--sizes -
--verbose -
--word_size -
-A -
-B -
-C -
-D -
-E -
-F -
-H -
-I -
-M -
-N -
-O -
-P -
-R -
-S -
-T -
-V -
-X -
-a -
-c -
-d -
-f -
-i -
-l -
-m -
-n -
-p -
-q -
-r -
-s -
-t -
-u -
-w -
-x -
-y -
-z