Temporary header file '/tmp/3_Uaf3juSg/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _FILE_OFFSET_BITS 64 #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED // add includes #include "/usr/include/libdevmapper-event.h" #include "/usr/include/libdevmapper.h" // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; dm_config_node* tmp_add_class_3; dm_config_node_out_spec* tmp_add_class_4; dm_config_tree* tmp_add_class_5; dm_config_value* tmp_add_class_6; dm_deps* tmp_add_class_7; dm_info* tmp_add_class_8; dm_list* tmp_add_class_9; dm_names* tmp_add_class_10; dm_report_field_reserved_value* tmp_add_class_11; dm_report_field_type* tmp_add_class_12; dm_report_object_type* tmp_add_class_13; dm_report_reserved_value* tmp_add_class_14; dm_status_cache* tmp_add_class_15; dm_status_mirror* tmp_add_class_16; dm_status_raid* tmp_add_class_17; dm_status_snapshot* tmp_add_class_18; dm_status_thin* tmp_add_class_19; dm_status_thin_pool* tmp_add_class_20; dm_str_list* tmp_add_class_21; dm_tree_node_raid_params* tmp_add_class_22; dm_tree_node_raid_params_v2* tmp_add_class_23; dm_versions* tmp_add_class_24; statx_timestamp* tmp_add_class_25; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/3_Uaf3juSg/dump1.h"