-
Notifications
You must be signed in to change notification settings - Fork 72
Description
After running the gdb testsuite, we have a directory with test-case executables. We can use those to test pahole as well:
...
$ for f in $(find build/gdb/testsuite -type f -executable); do ~/dwarves/build/pahole
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.fortran/derived-type/derived-type 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.fortran/max-depth/max-depth 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/O2_float_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/access_tagged_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/access_to_packed_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/access_to_unbounded_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/addr_arith/foo_na07_019 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/aliased_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arr_arr/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arr_enum_idx_w_gap/foo_q418_043 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_bounds/bar 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_char_idx/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_of_variable_length/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_ptr_renaming/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_return/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/array_subscript_addr/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arraydim/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arrayidx/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arrayparam/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/arrayptr/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/assign_arr/main_p324_051 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/atomic_enum/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/attr_ref_and_charlit/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bad-task-bp-keyword/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bias/bias 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/big_packed_array/foo_ra24_010 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_c_mixed_case/foo_h731_021 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_enum_homonym/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_fun_addr/bp_fun_addr 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_inlined_func/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_on_var/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_range_type/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/bp_reset/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/byte_packed_arr/reprod_main 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/call_pn/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/catch_assert_if/bla 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/catch_ex/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/catch_ex_std/libsome_package.so 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/catch_ex_std/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/char_enum/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/char_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/complete/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/cond_lang/a 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/convvar_comp/pb16_063 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/dgopt/x 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/disc_arr_bound/foo_n612_026 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/display_nested/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/dot_all/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/dyn_arrayidx/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/dyn_loc/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/dyn_stride/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/enum_idx_packed/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/excep_handle/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/exec_changed/first 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/exec_changed/common 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/expr_delims/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/expr_with_funcall/expr_r821_013 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/exprs/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fin_fun_out/foo_o525_013 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fixed_cmp/fixed 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fixed_points/fixed_points 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/float_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/formatted_ref/formatted_ref 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/frame_arg_lang/bla 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/frame_args/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fullname_bp/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fun_addr/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fun_in_declare/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fun_overload_menu/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/fun_renaming/fun_renaming 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/funcall_char/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/funcall_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/funcall_ptr/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/funcall_ref/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/homonym/homonym_main 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/info_addr_mixed_case/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/info_auto_lang/proc_in_ada 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/info_exc/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/info_locals_renaming/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/int_deref/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/interface/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/iwide/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/lang_switch/lang_switch 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/length_cond/length_cond 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/maint_with_ada/var_arr_typedef 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_catch_assert/bla 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_catch_ex/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_catch_ex_hand/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_dyn_arr/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_ex_cond/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_exc_info/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_interface/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_prot/prot 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_ref_changeable/foo_rb20_056 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_string_access/bar 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_task_arg/task_switch 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_task_info/task_switch 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_var_array/bar 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_var_union/bar 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mi_variant/pkg 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/minsyms/foo_qb07_057 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/mod_from_name/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/n_arr_bound/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/nested/hello 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/notcplusplus/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/null_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/null_record/null_record 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/operator_bp/ops_test 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/optim_drec/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/out_of_line_in_inlined/foo_o224_021 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/packed_array/pa 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/packed_array_assign/tester 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/packed_tagged/comp_bug 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/pckd_arr_ren/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/pckd_neg/foo_o508_021 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/pkd_arr_elem/failure 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/pp-rec-component/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/print_chars/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/print_pc/dummy 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ptr_typedef/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ptype_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ptype_field/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ptype_tagged_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ptype_tagged_param/gnat_debug_info_test 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/py_range/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/py_taft/main 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/rdv_wait/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/rec_comp/bar_o203_012 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/rec_return/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ref_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/ref_tick_size/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/rename_subscript_param/pb30_012 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/repeat_dyn/foo_oc22_002 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/same_component_name/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/same_enum/a 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/scalar_storage/storage 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/scoped_watch/foo_p708_025 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/set_pckd_arr_elt/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/set_wstr/a 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/small_reg_param/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/start/dummy 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/str_binop_equal/foo_p211_061 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/str_ref_cmp/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/str_uninit/parse 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/sub_variant/subv 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/sym_print_name/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/taft_type/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tagged/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tagged_access/p 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tagged_not_init/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/task_bp/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/task_switch_in_core/crash 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tasks/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tick_last_segv/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/tick_length_array_enum_idx/foo_n207_004 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/type_coercion/assign 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/unc_arr_ptr_in_var_rec/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/unchecked_union/unchecked_union 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/uninitialized_vars/parse 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/var_arr_attrs/foo_o115_002 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/var_arr_typedef/var_arr_typedef 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/var_rec_arr/foo_na09_042 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/variant-record/proc 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/variant/pkg 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/variant_record_packed_array/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/varsize_limit/vsizelim 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/vla/vla 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/watch_arg/watch 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/watch_minus_l/foo_ra10_006 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/whatis_array_val/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/widewide/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.ada/win_fu_syms/foo 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.base/gdb-caching-proc/gnat_debug_info_test 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.dwarf2/dw2-error/dw2-error 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.dwarf2/variant/variant 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/methods/methods 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/modules/modules 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/rust-style/rust-style 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/simple/simple 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/traits/traits 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/union/union 139
Segmentation fault (core dumped)
build/gdb/testsuite/outputs/gdb.rust/unsized/unsized 139
...