gdb-16.3-6.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/bin/gdb-add-index:150:13: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: COMPILER_WARNING: [#def2]
gdb-16.3/bfd/archive.c: scope_hint: In function ‘_bfd_compute_and_write_armap’
gdb-16.3/bfd/archive.c:2307:12: warning[-Wunused-but-set-variable=]: variable ‘elt_no’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
gdb-16.3/bfd/archive.c:2382:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syms’
gdb-16.3/bfd/archive.c:2303:1: enter_function: entry to ‘_bfd_compute_and_write_armap’
gdb-16.3/bfd/archive.c:2325:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/archive.c:2330:25: branch_false: ...to here
gdb-16.3/bfd/archive.c:2331:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/archive.c:2331:6: branch_false: ...to here
gdb-16.3/bfd/archive.c:2335:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/archive.c:2336:13: call_function: inlined call to ‘bfd_get_filename’ from ‘_bfd_compute_and_write_armap’
gdb-16.3/bfd/archive.c:2341:8: branch_true: following ‘true’ branch (when ‘current’ is non-NULL)...
gdb-16.3/bfd/archive.c:2344:11: branch_true: ...to here
gdb-16.3/bfd/archive.c:2344:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/archive.c:2345:15: call_function: inlined call to ‘bfd_get_file_flags’ from ‘_bfd_compute_and_write_armap’
gdb-16.3/bfd/archive.c:2344:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/archive.c:2351:15: call_function: inlined call to ‘bfd_get_lto_type’ from ‘_bfd_compute_and_write_armap’
gdb-16.3/bfd/archive.c:2361:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/archive.c:2364:14: branch_false: ...to here
gdb-16.3/bfd/archive.c:2364:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/archive.c:2366:18: branch_true: ...to here
gdb-16.3/bfd/archive.c:2366:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/archive.c:2374:26: branch_false: ...to here
gdb-16.3/bfd/archive.c:2375:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/archive.c:2375:18: branch_false: ...to here
gdb-16.3/bfd/archive.c:2380:35: branch_true: following ‘true’ branch...
gdb-16.3/bfd/archive.c:2382:41: branch_true: ...to here
gdb-16.3/bfd/archive.c:2382:36: danger: dereference of NULL ‘syms + (long unsigned int)src_count * 8’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def4]
gdb-16.3/bfd/bfd.c:889:25: warning[-Wanalyzer-infinite-recursion]: infinite recursion
gdb-16.3/bfd/bfd.c:882:1: enter_function: entry to ‘bfd_errmsg’
gdb-16.3/bfd/bfd.c:889:25: call_function: calling ‘bfd_errmsg’ from ‘bfd_errmsg’
Error: COMPILER_WARNING (CWE-704): [#def5]
gdb-16.3/bfd/bfd.c: scope_hint: In function ‘_bfd_doprnt’
gdb-16.3/bfd/bfd.c:1062:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def6]
gdb-16.3/bfd/bfd.c:1062:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def7]
gdb-16.3/bfd/bfd.c:1768:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/bfd.c:1760:3: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/bfd.c:1761:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/bfd.c:1765:11: branch_false: ...to here
gdb-16.3/bfd/bfd.c:1765:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/bfd.c:1768:5: branch_false: ...to here
gdb-16.3/bfd/bfd.c:1768:5: throw: if the called function throws an exception...
gdb-16.3/bfd/bfd.c:1768:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def8]
gdb-16.3/bfd/bfd.c:2270:3: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/bfd.c:1756:1: enter_function: entry to ‘_bfd_error_handler’
gdb-16.3/bfd/bfd.c:1760:3: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/bfd.c:1761:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/bfd.c:1765:11: branch_false: ...to here
gdb-16.3/bfd/bfd.c:1765:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/bfd.c:1766:5: branch_true: ...to here
gdb-16.3/bfd/bfd.c:1766:5: call_function: calling ‘error_handler_sprintf’ from ‘_bfd_error_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
gdb-16.3/bfd/bfdio.c:82:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen64(filename, modes)’
gdb-16.3/bfd/bfdio.c:90:1: enter_function: entry to ‘_bfd_real_fopen’
gdb-16.3/bfd/bfdio.c:256:10: acquire_memory: allocated here
gdb-16.3/bfd/bfdio.c:256:10: call_function: calling ‘close_on_exec’ from ‘_bfd_real_fopen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
gdb-16.3/bfd/bfdio.c:83:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen64(filename, modes)’
gdb-16.3/bfd/bfdio.c:90:1: enter_function: entry to ‘_bfd_real_fopen’
gdb-16.3/bfd/bfdio.c:256:10: acquire_memory: allocated here
gdb-16.3/bfd/bfdio.c:256:10: call_function: calling ‘close_on_exec’ from ‘_bfd_real_fopen’
Error: CPPCHECK_WARNING (CWE-457): [#def11]
gdb-16.3/bfd/coffcode.h:3375: warning[uninitvar]: Uninitialized variable: *pelength
Error: GCC_ANALYZER_WARNING (CWE-457): [#def12]
gdb-16.3/bfd/coffcode.h:3375:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pelength’
gdb-16.3/bfd/coffcode.h:3462:1: enter_function: entry to ‘coff_apply_checksum’
gdb-16.3/bfd/coffcode.h:3469:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/coffcode.h:3472:8: branch_false: ...to here
gdb-16.3/bfd/coffcode.h:3472:8: call_function: calling ‘coff_read_word’ from ‘coff_apply_checksum’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def13]
gdb-16.3/bfd/coffcode.h:3848:22: warning[-Wanalyzer-deref-before-check]: check of ‘**abfd.outsymbols’ for NULL after already dereferencing it
gdb-16.3/bfd/coffcode.h:3498:1: enter_function: entry to ‘coff_write_object_contents’
gdb-16.3/bfd/coffcode.h:3532:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/coffcode.h:3538:16: branch_false: ...to here
gdb-16.3/bfd/coffcode.h:3603:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/coffcode.h:3607:8: branch_false: ...to here
gdb-16.3/bfd/coffcode.h:3608:8: branch_true: following ‘true’ branch (when ‘current’ is non-NULL)...
gdb-16.3/bfd/coffcode.h:3615:11: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3704:10: branch_true: following ‘true’ branch (when the strings are equal)...
gdb-16.3/bfd/coffcode.h:3704:10: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3722:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3723:14: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3722:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3724:27: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3731:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3733:9: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3746:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3746:10: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3749:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3749:11: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3749:11: branch_false: following ‘false’ branch (when ‘is_reloc_section == 0’)...
gdb-16.3/bfd/coffcode.h:3765:25: branch_false: ...to here
gdb-16.3/bfd/coffcode.h:3767:10: branch_true: following ‘true’ branch (when the strings are equal)...
gdb-16.3/bfd/coffcode.h:3782:11: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3783:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3782:11: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3782:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3786:24: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3786:23: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3789:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3791:14: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3794:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3808:11: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3808:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3809:9: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3825:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3833:19: call_function: inlined call to ‘bfd_get_symcount’ from ‘coff_write_object_contents’
gdb-16.3/bfd/coffcode.h:3834:48: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3836:19: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3836:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/coffcode.h:3841:18: branch_false: ...to here
gdb-16.3/bfd/coffcode.h:3841:18: branch_true: following ‘true’ branch (when ‘psymsec’ is NULL)...
gdb-16.3/bfd/coffcode.h:3841:18: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3845:18: branch_true: following ‘true’ branch (when the strings are equal)...
gdb-16.3/bfd/coffcode.h:3847:26: call_function: inlined call to ‘bfd_asymbol_bfd’ from ‘coff_write_object_contents’
gdb-16.3/bfd/coffcode.h:3847:26: call_function: inlined call to ‘bfd_family_coff’ from ‘coff_write_object_contents’
gdb-16.3/bfd/coffcode.h:3847:26: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3847:26: branch_true: following ‘true’ branch...
gdb-16.3/bfd/coffcode.h:3848:22: branch_true: ...to here
gdb-16.3/bfd/coffcode.h:3848:22: danger: pointer ‘**abfd.outsymbols’ is checked for NULL here but it was already dereferenced at [(42)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/41)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
gdb-16.3/bfd/cofflink.c:3004:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/cofflink.c:2924:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/cofflink.c:2935:7: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:2942:15: branch_false: following ‘false’ branch (when ‘symndx >= 0’)...
gdb-16.3/bfd/cofflink.c:2943:45: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:2942:16: branch_false: following ‘false’ branch...
gdb-16.3/bfd/cofflink.c:2952:15: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:2967:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/cofflink.c:2974:11: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:2984:10: branch_true: following ‘true’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/cofflink.c:2986:14: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:2986:14: branch_false: following ‘false’ branch (when ‘symndx != -1’)...
gdb-16.3/bfd/cofflink.c:2993:29: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:2999:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/cofflink.c:3004:24: danger: dereference of NULL ‘sym’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gdb-16.3/bfd/cofflink.c:3132:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/cofflink.c:2910:1: enter_function: entry to ‘_bfd_coff_generic_relocate_section’
gdb-16.3/bfd/cofflink.c:2924:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/cofflink.c:2935:7: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:2967:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/cofflink.c:2974:11: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:2984:10: branch_true: following ‘true’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/cofflink.c:2986:14: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:2986:14: branch_true: following ‘true’ branch (when ‘symndx == -1’)...
gdb-16.3/bfd/cofflink.c:3071:26: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:3071:26: call_function: calling ‘discarded_section’ from ‘_bfd_coff_generic_relocate_section’
gdb-16.3/bfd/cofflink.c:3071:26: return_function: returning to ‘_bfd_coff_generic_relocate_section’ from ‘discarded_section’
gdb-16.3/bfd/cofflink.c:3071:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/cofflink.c:3078:11: branch_false: ...to here
gdb-16.3/bfd/cofflink.c:3129:16: branch_true: following ‘true’ branch (when ‘val == 0’)...
gdb-16.3/bfd/cofflink.c:3131:20: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:3129:17: branch_true: following ‘true’ branch...
gdb-16.3/bfd/cofflink.c:3132:20: branch_true: ...to here
gdb-16.3/bfd/cofflink.c:3132:20: danger: dereference of NULL ‘sym’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
gdb-16.3/bfd/doc/chew.c:1296:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/bfd/doc/chew.c:1516:1: enter_function: entry to ‘main’
gdb-16.3/bfd/doc/chew.c:1522:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1522:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1523:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1523:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1524:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1524:3: call_function: inlined call to ‘init_string’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1528:3: call_function: calling ‘add_intrinsic’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1528:3: return_function: returning to ‘main’ from ‘add_intrinsic’
gdb-16.3/bfd/doc/chew.c:1529:3: call_function: calling ‘add_intrinsic’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1529:3: return_function: returning to ‘main’ from ‘add_intrinsic’
gdb-16.3/bfd/doc/chew.c:1530:3: call_function: calling ‘add_intrinsic’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1530:3: return_function: returning to ‘main’ from ‘add_intrinsic’
gdb-16.3/bfd/doc/chew.c:1531:3: call_function: calling ‘add_intrinsic’ from ‘main’
gdb-16.3/bfd/doc/chew.c:1531:3: return_function: returning to ‘main’ from ‘add_intrinsic’
gdb-16.3/bfd/doc/chew.c:1532:3: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
gdb-16.3/bfd/dwarf2.c:4069:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gdb-16.3/bfd/dwarf2.c:4731:1: enter_function: entry to ‘comp_unit_maybe_decode_line_info’
gdb-16.3/bfd/dwarf2.c:4752:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/dwarf2.c:4753:16: branch_true: ...to here
gdb-16.3/bfd/dwarf2.c:4753:16: call_function: calling ‘scan_unit_for_symbols’ from ‘comp_unit_maybe_decode_line_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
gdb-16.3/bfd/elf-eh-frame.c:744:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cie’
gdb-16.3/bfd/elf-eh-frame.c:578:1: enter_function: entry to ‘_bfd_elf_parse_eh_frame’
gdb-16.3/bfd/elf-eh-frame.c:604:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:605:11: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:604:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:606:10: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:604:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:612:27: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:612:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:621:3: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:621:3: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf-eh-frame.c:625:3: branch_true: ...to here
gdb-16.3/bfd/elf-eh-frame.c:625:3: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:627:15: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:629:3: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:633:3: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:661:3: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:664:6: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:664:6: branch_false: following ‘false’ branch (when ‘num_cies == 0’)...
gdb-16.3/bfd/elf-eh-frame.c:694:3: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:697:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf-eh-frame.c:704:18: branch_true: ...to here
gdb-16.3/bfd/elf-eh-frame.c:708:7: call_function: inlined call to ‘skip_bytes’ from ‘_bfd_elf_parse_eh_frame’
gdb-16.3/bfd/elf-eh-frame.c:712:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:713:7: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:719:10: branch_false: following ‘false’ branch (when ‘hdr_length != 0’)...
gdb-16.3/bfd/elf-eh-frame.c:731:7: call_function: inlined call to ‘skip_bytes’ from ‘_bfd_elf_parse_eh_frame’
gdb-16.3/bfd/elf-eh-frame.c:734:10: branch_true: following ‘true’ branch (when ‘hdr_id == 0’)...
gdb-16.3/bfd/elf-eh-frame.c:739:11: branch_true: ...to here
gdb-16.3/bfd/elf-eh-frame.c:744:11: danger: dereference of NULL ‘cie’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
gdb-16.3/bfd/elf-eh-frame.c:1361:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: following ‘false’ branch (when ‘hi != 0’)...
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1346:10: branch_false: following ‘false’ branch (when ‘lo >= hi’)...
gdb-16.3/bfd/elf-eh-frame.c:1360:7: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1360:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf-eh-frame.c:1361:23: branch_true: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1361:23: danger: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
gdb-16.3/bfd/elf-eh-frame.c:1366:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: following ‘false’ branch (when ‘hi != 0’)...
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1346:10: branch_false: following ‘false’ branch (when ‘lo >= hi’)...
gdb-16.3/bfd/elf-eh-frame.c:1360:7: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1360:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:1362:12: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1362:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf-eh-frame.c:1366:28: danger: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
gdb-16.3/bfd/elf-eh-frame.c:1374:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: following ‘false’ branch (when ‘hi != 0’)...
gdb-16.3/bfd/elf-eh-frame.c:1343:6: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1346:10: branch_false: following ‘false’ branch (when ‘lo >= hi’)...
gdb-16.3/bfd/elf-eh-frame.c:1360:7: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1360:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:1362:12: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:1374:28: danger: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
gdb-16.3/bfd/elf-eh-frame.c:2323:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sec’
gdb-16.3/bfd/elf-eh-frame.c:2299:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:2300:10: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:2299:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:2301:10: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:2299:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:2306:10: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:2307:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf-eh-frame.c:2323:12: branch_false: ...to here
gdb-16.3/bfd/elf-eh-frame.c:2323:12: danger: dereference of NULL ‘sec’
Error: CPPCHECK_WARNING (CWE-457): [#def23]
gdb-16.3/bfd/elf-nacl.c:192: error[uninitvar]: Uninitialized variable: *m
Error: CPPCHECK_WARNING (CWE-457): [#def24]
gdb-16.3/bfd/elf32-arm.c:5651: error[uninitvar]: Uninitialized variables: &key.destination, &key.hash, &key.sym_name, &key.r_type, &key.branch_type, &key.non_a8_stub
Error: COMPILER_WARNING: [#def25]
gdb-16.3/bfd/elf32-arm.c: scope_hint: In function ‘elf32_arm_size_stubs’
gdb-16.3/bfd/elf32-arm.c:6528:20: warning[-Wunused-but-set-variable=]: variable ‘bfd_indx’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def26]
gdb-16.3/bfd/elf32-arm.c:17636: error[uninitvar]: Uninitialized variable: &rel
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
gdb-16.3/bfd/elf32-i386.c:3597:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:46: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3597:46: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
gdb-16.3/bfd/elf32-i386.c:3707:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3608:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3618:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3618:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3626:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3631:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3644:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3652:24: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3661:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3677:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3680:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3682:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3689:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3697:21: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3707:22: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
gdb-16.3/bfd/elf32-i386.c:3739:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3608:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3618:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3618:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3626:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3631:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3644:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3652:24: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3661:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3677:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3736:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3738:15: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3738:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3739:13: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3739:13: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
gdb-16.3/bfd/elf32-i386.c:3766:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3608:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3618:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3618:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3626:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3631:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3644:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3652:24: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3661:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3677:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3736:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3738:15: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3738:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3747:27: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3766:19: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
gdb-16.3/bfd/elf32-i386.c:3776:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3608:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3618:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3618:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3626:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3631:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3644:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3652:24: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3661:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3677:11: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3736:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3738:15: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3738:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3747:27: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3750:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3750:15: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3776:27: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
gdb-16.3/bfd/elf32-i386.c:3805:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3608:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3798:12: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3798:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3805:7: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3805:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
gdb-16.3/bfd/elf32-i386.c:3931:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3798:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3839:6: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3862:12: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3867:17: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3874:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3886:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3887:14: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3886:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3889:15: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3889:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3915:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3915:19: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3925:19: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3925:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3931:19: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3931:19: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
gdb-16.3/bfd/elf32-i386.c:3972:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3597:20: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3600:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3606:21: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3798:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3839:6: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3862:12: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3861:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3867:17: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3874:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3948:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3949:19: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3948:16: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-i386.c:3951:11: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3952:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-i386.c:3956:15: branch_false: ...to here
gdb-16.3/bfd/elf32-i386.c:3971:14: branch_true: following ‘true’ branch (when ‘relative_reloc_name’ is non-NULL)...
gdb-16.3/bfd/elf32-i386.c:3972:18: branch_true: ...to here
gdb-16.3/bfd/elf32-i386.c:3972:18: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def35]
gdb-16.3/bfd/elf32-ppc.c:1283:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/elf32-ppc.c:1280:9: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/elf32-ppc.c:1283:9: throw: if the called function throws an exception...
gdb-16.3/bfd/elf32-ppc.c:1283:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def36]
gdb-16.3/bfd/elf32-ppc.c:1285:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/elf32-ppc.c:1280:9: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/elf32-ppc.c:1285:9: throw: if the called function throws an exception...
gdb-16.3/bfd/elf32-ppc.c:1285:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
gdb-16.3/bfd/elf32-ppc.c:2386:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
gdb-16.3/bfd/elf32-ppc.c:2471:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:2468:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2471:7: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2471:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
gdb-16.3/bfd/elf32-ppc.c:2630:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:2620:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2620:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2629:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2630:11: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
gdb-16.3/bfd/elf32-ppc.c:2906:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:2878:1: enter_function: entry to ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2891:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:2899:3: call_function: inlined call to ‘bfd_get_flavour’ from ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2906:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
gdb-16.3/bfd/elf32-ppc.c:2976:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘isym’
gdb-16.3/bfd/elf32-ppc.c:2878:1: enter_function: entry to ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2891:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:2899:3: call_function: inlined call to ‘bfd_get_flavour’ from ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2905:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2905:10: call_function: inlined call to ‘elf_hash_table_id’ from ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2905:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2906:7: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2906:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:2913:9: call_function: inlined call to ‘elf_link_hash_lookup’ from ‘ppc_elf_check_relocs’
gdb-16.3/bfd/elf32-ppc.c:2921:22: branch_true: following ‘true’ branch (when ‘rel < rel_end’)...
gdb-16.3/bfd/elf32-ppc.c:2932:18: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2933:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:2942:26: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:3008:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:3009:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:3008:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:3010:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:3008:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:3013:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:3013:14: branch_false: following ‘false’ branch (when ‘rel == relocs’)...
gdb-16.3/bfd/elf32-ppc.c:3021:13: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:2921:22: branch_true: following ‘true’ branch (when ‘rel < rel_end’)...
gdb-16.3/bfd/elf32-ppc.c:2932:18: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2933:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:2942:26: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:2966:10: branch_false: following ‘false’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/elf32-ppc.c:2974:16: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:2974:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:2976:15: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:2976:15: danger: dereference of NULL ‘isym’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
gdb-16.3/bfd/elf32-ppc.c:3969:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
gdb-16.3/bfd/elf32-ppc.c:4281:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tls_maskp’
gdb-16.3/bfd/elf32-ppc.c:4171:1: enter_function: entry to ‘ppc_elf_inline_plt’
gdb-16.3/bfd/elf32-ppc.c:4178:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4178:10: call_function: inlined call to ‘elf_hash_table_id’ from ‘ppc_elf_inline_plt’
gdb-16.3/bfd/elf32-ppc.c:4178:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4188:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4200:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4219:8: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4219:33: branch_true: following ‘true’ branch (when ‘ibfd’ is non-NULL)...
gdb-16.3/bfd/elf32-ppc.c:4224:12: call_function: inlined call to ‘bfd_get_flavour’ from ‘ppc_elf_inline_plt’
gdb-16.3/bfd/elf32-ppc.c:4239:16: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4242:33: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4257:22: call_function: calling ‘get_sym_h’ from ‘ppc_elf_inline_plt’
gdb-16.3/bfd/elf32-ppc.c:4257:22: return_function: returning to ‘ppc_elf_inline_plt’ from ‘get_sym_h’
gdb-16.3/bfd/elf32-ppc.c:4257:20: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4267:21: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4270:24: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4273:31: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4281:23: release_memory: ‘tls_maskp’ is NULL
gdb-16.3/bfd/elf32-ppc.c:4281:23: danger: dereference of NULL ‘tls_maskp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
gdb-16.3/bfd/elf32-ppc.c:4310:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
gdb-16.3/bfd/elf32-ppc.c:4860:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:4774:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4776:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4774:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4847:5: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4852:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4852:6: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4855:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4856:31: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4858:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4859:41: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4858:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4860:41: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4860:41: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
gdb-16.3/bfd/elf32-ppc.c:4895:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:4774:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4776:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4774:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4847:5: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4852:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4880:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4890:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4890:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4893:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4892:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4894:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4892:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4895:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4895:14: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
gdb-16.3/bfd/elf32-ppc.c:4931:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:4774:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4776:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4774:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4847:5: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4852:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4880:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4890:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4890:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4902:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4902:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4912:10: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4930:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4931:5: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4931:5: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
gdb-16.3/bfd/elf32-ppc.c:4946:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:4774:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4776:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4774:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4847:5: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4852:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4872:6: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4880:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4890:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4890:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4902:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4902:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4912:10: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4930:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4932:13: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4936:3: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
gdb-16.3/bfd/elf32-ppc.c:4938:8: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4938:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4945:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:4946:9: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:4946:9: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
gdb-16.3/bfd/elf32-ppc.c:5002:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:4989:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4991:37: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4997:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:4999:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:4999:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5001:7: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5002:32: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
gdb-16.3/bfd/elf32-ppc.c:5023:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:5107:1: enter_function: entry to ‘allocate_dynrelocs’
gdb-16.3/bfd/elf32-ppc.c:5114:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5117:10: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5119:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5128:12: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5128:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5131:47: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5146:10: branch_false: following ‘false’ branch (when ‘need != 0’)...
gdb-16.3/bfd/elf32-ppc.c:5150:32: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5150:32: call_function: calling ‘allocate_got’ from ‘allocate_dynrelocs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
gdb-16.3/bfd/elf32-ppc.c:5125:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:5114:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5117:10: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5119:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5121:14: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5119:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5122:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5120:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5123:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5120:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5124:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5120:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5125:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5125:14: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
gdb-16.3/bfd/elf32-ppc.c:5255:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:5114:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5117:10: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5189:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5197:12: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5197:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5245:12: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5245:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:5251:15: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:5245:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5253:16: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5252:16: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5254:16: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5252:16: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5255:19: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5255:19: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
gdb-16.3/bfd/elf32-ppc.c:5508:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:5493:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:5496:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:5508:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
gdb-16.3/bfd/elf32-ppc.c:6728:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gdb-16.3/bfd/elf32-ppc.c:6724:3: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:6724:3: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:6728:8: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
gdb-16.3/bfd/elf32-ppc.c:6762:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:6762:28: branch_true: following ‘true’ branch (when ‘h’ is non-NULL)...
gdb-16.3/bfd/elf32-ppc.c:6762:28: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:6762:28: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
gdb-16.3/bfd/elf32-ppc.c:9183:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:7022:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:7043:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:7046:21: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9147:6: branch_false: following ‘false’ branch (when ‘rel == wrel’)...
gdb-16.3/bfd/elf32-ppc.c:9173:7: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9183:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
gdb-16.3/bfd/elf32-ppc.c:9192:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘relax_info’
gdb-16.3/bfd/elf32-ppc.c:6990:1: enter_function: entry to ‘ppc_elf_relocate_section’
gdb-16.3/bfd/elf32-ppc.c:7022:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:7034:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7034:10: call_function: inlined call to ‘elf_hash_table_id’ from ‘ppc_elf_relocate_section’
gdb-16.3/bfd/elf32-ppc.c:7034:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7035:23: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:7043:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:7046:21: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:7047:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf32-ppc.c:7047:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:7075:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7077:28: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:7095:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7114:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7115:19: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:7114:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:7116:13: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:7047:10: branch_false: following ‘false’ branch (when ‘rel >= relend’)...
gdb-16.3/bfd/elf32-ppc.c:9147:6: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9147:6: branch_true: following ‘true’ branch (when ‘rel != wrel’)...
gdb-16.3/bfd/elf32-ppc.c:9150:28: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9154:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:9164:17: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9183:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9184:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9183:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9185:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9192:11: danger: dereference of NULL ‘relax_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
gdb-16.3/bfd/elf32-ppc.c:9492:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:9471:1: enter_function: entry to ‘write_global_sym_plt’
gdb-16.3/bfd/elf32-ppc.c:9479:28: branch_true: following ‘true’ branch (when ‘ent’ is non-NULL)...
gdb-16.3/bfd/elf32-ppc.c:9480:9: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9480:8: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9482:21: call_function: inlined call to ‘use_local_plt’ from ‘write_global_sym_plt’
gdb-16.3/bfd/elf32-ppc.c:9484:12: branch_false: following ‘false’ branch (when ‘doneone == 0’)...
gdb-16.3/bfd/elf32-ppc.c:9489:23: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9492:17: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
gdb-16.3/bfd/elf32-ppc.c:9888:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:9852:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9854:30: branch_true: following ‘true’ branch (when ‘ent’ is non-NULL)...
gdb-16.3/bfd/elf32-ppc.c:9855:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9855:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9857:14: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9857:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-ppc.c:9888:39: branch_false: ...to here
gdb-16.3/bfd/elf32-ppc.c:9888:39: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
gdb-16.3/bfd/elf32-ppc.c:9910:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:9896:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9907:7: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9909:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:9910:9: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:9910:9: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
gdb-16.3/bfd/elf32-ppc.c:10046:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:10037:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10038:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10037:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10040:11: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10046:15: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
gdb-16.3/bfd/elf32-ppc.c:10116:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-ppc.c:10079:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10080:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10079:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10081:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10079:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10082:10: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10079:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10086:35: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10111:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-ppc.c:10116:17: branch_true: ...to here
gdb-16.3/bfd/elf32-ppc.c:10116:17: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
gdb-16.3/bfd/elf32-ppc.c:10161:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
gdb-16.3/bfd/elf32-s390.c:1913:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf32-s390.c:1788:6: branch_false: following ‘false’ branch (when ‘dynobj’ is non-NULL)...
gdb-16.3/bfd/elf32-s390.c:1791:7: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1901:30: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
gdb-16.3/bfd/elf32-s390.c:1903:12: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1907:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1908:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1909:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1910:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1911:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1912:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1906:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:1913:19: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:1913:19: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
gdb-16.3/bfd/elf32-s390.c:3115:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elf32-s390.c:2032:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:2045:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf32-s390.c:2058:17: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:2062:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf32-s390.c:2062:10: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:2045:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf32-s390.c:2058:17: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:2045:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf32-s390.c:2058:17: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:2045:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf32-s390.c:2058:17: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:2065:10: branch_false: following ‘false’ branch (when ‘r_type <= 251’)...
gdb-16.3/bfd/elf32-s390.c:2071:31: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:2078:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:2138:11: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:2138:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:2144:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:2148:11: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:2148:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:2151:26: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:3065:10: branch_false: following ‘false’ branch (when ‘unresolved_reloc == 0’)...
gdb-16.3/bfd/elf32-s390.c:3080:5: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:3085:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf32-s390.c:3089:11: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:3105:10: branch_true: following ‘true’ branch (when ‘r != 2’)...
gdb-16.3/bfd/elf32-s390.c:3109:14: branch_true: ...to here
gdb-16.3/bfd/elf32-s390.c:3109:14: branch_false: following ‘false’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/elf32-s390.c:3115:55: branch_false: ...to here
gdb-16.3/bfd/elf32-s390.c:3115:55: danger: dereference of NULL ‘sym’
Error: CPPCHECK_WARNING (CWE-457): [#def66]
gdb-16.3/bfd/elf64-ppc.c:7305: error[uninitvar]: Uninitialized variable: *pp
Error: CPPCHECK_WARNING (CWE-457): [#def67]
gdb-16.3/bfd/elf64-ppc.c:7340: error[uninitvar]: Uninitialized variable: *pp
Error: COMPILER_WARNING: [#def68]
gdb-16.3/bfd/elf64-ppc.c: scope_hint: In function ‘ppc64_elf_size_stubs’
gdb-16.3/bfd/elf64-ppc.c:13811:20: warning[-Wunused-but-set-variable=]: variable ‘bfd_indx’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
gdb-16.3/bfd/elf64-s390.c:3190:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elf64-s390.c:1985:1: enter_function: entry to ‘elf_s390_relocate_section’
gdb-16.3/bfd/elf64-s390.c:2001:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:2007:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-s390.c:2007:10: call_function: inlined call to ‘elf_hash_table_id’ from ‘elf_s390_relocate_section’
gdb-16.3/bfd/elf64-s390.c:2007:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-s390.c:2012:3: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:2017:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf64-s390.c:2032:16: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:2017:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf64-s390.c:2032:16: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:2017:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf64-s390.c:2032:16: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:2017:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elf64-s390.c:2032:16: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:2036:10: branch_false: following ‘false’ branch (when ‘r_type <= 251’)...
gdb-16.3/bfd/elf64-s390.c:2042:31: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:2049:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:2113:11: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:2113:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:2119:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:2123:11: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:2123:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:2126:26: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:3122:10: branch_false: following ‘false’ branch (when ‘unresolved_reloc == 0’)...
gdb-16.3/bfd/elf64-s390.c:3137:5: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:3142:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-s390.c:3148:11: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:3180:10: branch_true: following ‘true’ branch (when ‘r != 2’)...
gdb-16.3/bfd/elf64-s390.c:3184:14: branch_true: ...to here
gdb-16.3/bfd/elf64-s390.c:3184:14: branch_false: following ‘false’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/elf64-s390.c:3190:55: branch_false: ...to here
gdb-16.3/bfd/elf64-s390.c:3190:55: danger: dereference of NULL ‘sym’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
gdb-16.3/bfd/elf64-x86-64.c:1334:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:2735:1: enter_function: entry to ‘elf_x86_64_relocate_section’
gdb-16.3/bfd/elf64-x86-64.c:2759:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2759:10: call_function: inlined call to ‘elf_hash_table_id’ from ‘elf_x86_64_relocate_section’
gdb-16.3/bfd/elf64-x86-64.c:2759:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2763:8: call_function: inlined call to ‘bfd_get_flavour’ from ‘elf_x86_64_relocate_section’
gdb-16.3/bfd/elf64-x86-64.c:2763:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2780:10: branch_true: following ‘true’ branch (when ‘relend > rel’)...
gdb-16.3/bfd/elf64-x86-64.c:2802:16: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2820:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2825:7: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2827:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2829:28: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2837:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2838:18: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2837:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2840:19: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2842:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2846:37: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2880:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:2887:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:2909:10: branch_true: following ‘true’ branch (when ‘h’ is non-NULL)...
gdb-16.3/bfd/elf64-x86-64.c:2910:14: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4385:17: call_function: calling ‘elf_x86_64_tls_transition’ from ‘elf_x86_64_relocate_section’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
gdb-16.3/bfd/elf64-x86-64.c:4664:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:46: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4664:46: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
gdb-16.3/bfd/elf64-x86-64.c:4772:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4675:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4687:11: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4687:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4695:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4700:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4713:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4721:40: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4728:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4740:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4769:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4771:15: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4771:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4772:13: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4772:13: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
gdb-16.3/bfd/elf64-x86-64.c:4790:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4675:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4687:11: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4687:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4695:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4700:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4713:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4721:40: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4728:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4740:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4769:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4771:15: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4771:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4779:28: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4790:29: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
gdb-16.3/bfd/elf64-x86-64.c:4804:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4675:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4687:11: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4687:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4695:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4700:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4713:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4721:40: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4728:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4740:11: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4769:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4771:15: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4771:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4779:28: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4782:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4782:15: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4804:29: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
gdb-16.3/bfd/elf64-x86-64.c:4851:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4675:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4843:12: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4851:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4851:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
gdb-16.3/bfd/elf64-x86-64.c:4956:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4892:6: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4915:12: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4920:17: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4926:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4938:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4939:14: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4938:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4941:15: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4941:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4944:19: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4944:18: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4948:19: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4950:18: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4952:19: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4956:33: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
gdb-16.3/bfd/elf64-x86-64.c:4982:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4892:6: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4915:12: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4920:17: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4926:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4938:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4939:14: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4938:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4941:15: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4941:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4966:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4966:19: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4976:19: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4976:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4982:19: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4982:19: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
gdb-16.3/bfd/elf64-x86-64.c:5009:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4892:6: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4915:12: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4920:17: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4926:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4999:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5000:19: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4999:16: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5002:16: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5005:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5009:29: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5009:29: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
gdb-16.3/bfd/elf64-x86-64.c:5022:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4892:6: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4915:12: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4914:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4920:17: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4926:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4966:19: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4969:15: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5022:25: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
gdb-16.3/bfd/elf64-x86-64.c:5048:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4664:20: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4667:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4673:21: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:4843:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:4892:6: branch_false: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5037:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5043:7: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5043:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5048:21: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
gdb-16.3/bfd/elf64-x86-64.c:5112:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elf64-x86-64.c:5107:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5108:10: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5107:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elf64-x86-64.c:5112:32: branch_true: ...to here
gdb-16.3/bfd/elf64-x86-64.c:5112:32: danger: dereference of NULL ‘htab’
Error: COMPILER_WARNING (CWE-704): [#def82]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘bfd_elf_link_record_dynamic_symbol’
gdb-16.3/bfd/elflink.c:605:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def83]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘bfd_elf_record_link_assignment’
gdb-16.3/bfd/elflink.c:685:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def84]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘_bfd_elf_merge_symbol’
gdb-16.3/bfd/elflink.c:1144:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def85]
gdb-16.3/bfd/elflink.c:1194:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def86]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘_bfd_elf_add_default_symbol’
gdb-16.3/bfd/elflink.c:1929:5: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def87]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘_bfd_elf_link_assign_sym_version’
gdb-16.3/bfd/elflink.c:2614:5: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def88]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘elf_link_add_object_symbols’
gdb-16.3/bfd/elflink.c:5597:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def89]
gdb-16.3/bfd/elflink.c:5842:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def90]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘_bfd_elf_archive_symbol_lookup’
gdb-16.3/bfd/elflink.c:6131:5: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def91]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘elf_collect_hash_codes’
gdb-16.3/bfd/elflink.c:6396:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def92]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘elf_collect_gnu_hash_codes’
gdb-16.3/bfd/elflink.c:6469:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def93]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘elf_link_output_symstrtab’
gdb-16.3/bfd/elflink.c:10295:31: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def94]
gdb-16.3/bfd/elflink.c:10296:32: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def95]
gdb-16.3/bfd/elflink.c: scope_hint: In function ‘elf_link_output_extsym’
gdb-16.3/bfd/elflink.c:11039:21: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-469): [#def96]
gdb-16.3/bfd/elfnn-aarch64.c:2178:13: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
gdb-16.3/bfd/elfnn-aarch64.c:6922:1: enter_function: entry to ‘elf64_aarch64_relocate_section’
gdb-16.3/bfd/elfnn-aarch64.c:6947:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elfnn-aarch64.c:6961:12: branch_true: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:6967:25: call_function: inlined call to ‘elf64_aarch64_howto_from_type’ from ‘elf64_aarch64_relocate_section’
gdb-16.3/bfd/elfnn-aarch64.c:6970:10: branch_true: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:6970:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:6973:20: call_function: inlined call to ‘elf64_aarch64_bfd_reloc_from_howto’ from ‘elf64_aarch64_relocate_section’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
gdb-16.3/bfd/elfnn-aarch64.c:7040:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elfnn-aarch64.c:6922:1: enter_function: entry to ‘elf32_aarch64_relocate_section’
gdb-16.3/bfd/elfnn-aarch64.c:6947:10: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elfnn-aarch64.c:6961:12: branch_true: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:6967:25: call_function: calling ‘elf32_aarch64_howto_from_type’ from ‘elf32_aarch64_relocate_section’
gdb-16.3/bfd/elfnn-aarch64.c:6967:25: return_function: returning to ‘elf32_aarch64_relocate_section’ from ‘elf32_aarch64_howto_from_type’
gdb-16.3/bfd/elfnn-aarch64.c:6970:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:6973:20: call_function: inlined call to ‘elf32_aarch64_bfd_reloc_from_howto’ from ‘elf32_aarch64_relocate_section’
gdb-16.3/bfd/elfnn-aarch64.c:6977:7: branch_false: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:6979:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:7020:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:7020:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:7028:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:7032:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:7032:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-aarch64.c:7035:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:7035:10: branch_false: following ‘false’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/elfnn-aarch64.c:7040:52: branch_false: ...to here
gdb-16.3/bfd/elfnn-aarch64.c:7040:52: danger: dereference of NULL ‘sym’
Error: COMPILER_WARNING: [#def98]
gdb-16.3/bfd/elfnn-aarch64.c: scope_hint: In function ‘elf64_aarch64_modify_headers’
gdb-16.3/bfd/elfnn-aarch64.c:8435:16: warning[-Wunused-but-set-variable=]: variable ‘segment_count’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
gdb-16.3/bfd/elfnn-aarch64.c:9976:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elfnn-aarch64.c:10104:1: enter_function: entry to ‘elf64_aarch64_finish_local_dynamic_symbol’
gdb-16.3/bfd/elfnn-aarch64.c:10111:10: call_function: calling ‘elf64_aarch64_finish_dynamic_symbol’ from ‘elf64_aarch64_finish_local_dynamic_symbol’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
gdb-16.3/bfd/elfnn-riscv.c:450:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:2223:1: enter_function: entry to ‘riscv_elf_relocate_section’
gdb-16.3/bfd/elfnn-riscv.c:2244:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2247:21: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2248:22: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elfnn-riscv.c:2259:20: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2274:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2276:28: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2281:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2282:18: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2281:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2284:19: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2284:19: call_function: calling ‘riscv_elf_get_local_sym_hash’ from ‘riscv_elf_relocate_section’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
gdb-16.3/bfd/elfnn-riscv.c:1191:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:1111:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1135:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1151:7: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1151:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1151:6: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1156:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1160:7: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1160:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1168:8: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1168:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1189:7: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1189:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1191:7: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1191:7: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
gdb-16.3/bfd/elfnn-riscv.c:1290:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:1223:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1227:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1245:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1246:15: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1245:12: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1250:11: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1289:14: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:1290:13: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:1290:13: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
gdb-16.3/bfd/elfnn-riscv.c:1621:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:1501:1: enter_function: entry to ‘riscv_elf_late_size_sections’
gdb-16.3/bfd/elfnn-riscv.c:1511:6: branch_false: following ‘false’ branch (when ‘dynobj’ is non-NULL)...
gdb-16.3/bfd/elfnn-riscv.c:1514:7: call_function: inlined call to ‘elf_hash_table’ from ‘riscv_elf_late_size_sections’
gdb-16.3/bfd/elfnn-riscv.c:1621:3: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
gdb-16.3/bfd/elfnn-riscv.c:2440:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:2244:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2247:21: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2248:22: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elfnn-riscv.c:2259:20: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2274:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2313:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2317:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2317:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2322:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2322:10: branch_true: following ‘true’ branch (when ‘h’ is non-NULL)...
gdb-16.3/bfd/elfnn-riscv.c:2323:14: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2322:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2324:11: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2322:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2328:16: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2328:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2343:20: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2365:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2383:22: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2383:21: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2390:39: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2394:24: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2398:40: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2426:24: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2429:30: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2429:29: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2439:33: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2440:44: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
gdb-16.3/bfd/elfnn-riscv.c:2558:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elfnn-riscv.c:2223:1: enter_function: entry to ‘riscv_elf_relocate_section’
gdb-16.3/bfd/elfnn-riscv.c:2236:44: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2236:44: call_function: inlined call to ‘elf_hash_table_id’ from ‘riscv_elf_relocate_section’
gdb-16.3/bfd/elfnn-riscv.c:2236:44: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2237:36: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2244:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2247:21: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2248:22: branch_true: following ‘true’ branch (when ‘rel < relend’)...
gdb-16.3/bfd/elfnn-riscv.c:2259:20: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2274:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_false: following ‘false’ branch (when ‘sym_hashes’ is non-NULL)...
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2297:11: branch_true: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2317:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:2322:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2322:10: branch_false: following ‘false’ branch (when ‘h’ is NULL)...
gdb-16.3/bfd/elfnn-riscv.c:2558:52: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:2558:52: danger: dereference of NULL ‘sym’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
gdb-16.3/bfd/elfnn-riscv.c:3475:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:3512:1: enter_function: entry to ‘riscv_elf_finish_local_dynamic_symbol’
gdb-16.3/bfd/elfnn-riscv.c:3517:10: call_function: calling ‘riscv_elf_finish_dynamic_symbol’ from ‘riscv_elf_finish_local_dynamic_symbol’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
gdb-16.3/bfd/elfnn-riscv.c:3503:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
gdb-16.3/bfd/elfnn-riscv.c:3512:1: enter_function: entry to ‘riscv_elf_finish_local_dynamic_symbol’
gdb-16.3/bfd/elfnn-riscv.c:3517:10: call_function: calling ‘riscv_elf_finish_dynamic_symbol’ from ‘riscv_elf_finish_local_dynamic_symbol’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
gdb-16.3/bfd/elfnn-riscv.c:3644:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
gdb-16.3/bfd/elfnn-riscv.c:4753:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
gdb-16.3/bfd/elfnn-riscv.c:4979:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
gdb-16.3/bfd/elfnn-riscv.c:5125:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
gdb-16.3/bfd/elfnn-riscv.c:5160:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfnn-riscv.c:5151:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:5152:7: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:5151:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:5153:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:5151:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:5154:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:5151:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:5155:10: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:5151:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfnn-riscv.c:5156:11: branch_false: ...to here
gdb-16.3/bfd/elfnn-riscv.c:5160:11: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def113]
gdb-16.3/bfd/elfxx-aarch64.c:688:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/elfxx-aarch64.c:685:9: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/elfxx-aarch64.c:688:9: throw: if the called function throws an exception...
gdb-16.3/bfd/elfxx-aarch64.c:688:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
gdb-16.3/bfd/elfxx-aarch64.c:690:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/bfd/elfxx-aarch64.c:685:9: acquire_resource: ‘va_start’ called here
gdb-16.3/bfd/elfxx-aarch64.c:690:9: throw: if the called function throws an exception...
gdb-16.3/bfd/elfxx-aarch64.c:690:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
gdb-16.3/bfd/elfxx-x86.c:1857:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfxx-x86.c:1857:15: branch_true: following ‘true’ branch...
gdb-16.3/bfd/elfxx-x86.c:1857:36: branch_true: ...to here
gdb-16.3/bfd/elfxx-x86.c:1857:36: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
gdb-16.3/bfd/elfxx-x86.c:1858:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
gdb-16.3/bfd/elfxx-x86.c:1857:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/elfxx-x86.c:1858:28: branch_false: ...to here
gdb-16.3/bfd/elfxx-x86.c:1858:28: danger: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
gdb-16.3/bfd/elfxx-x86.c:1869:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
gdb-16.3/bfd/elfxx-x86.c:1883:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
gdb-16.3/bfd/elfxx-x86.c:1992:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
gdb-16.3/bfd/elfxx-x86.c:1996:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
gdb-16.3/bfd/elfxx-x86.c:2000:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
gdb-16.3/bfd/elfxx-x86.c:3332:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
gdb-16.3/bfd/ihex.c:323:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/ihex.c:240:1: enter_function: entry to ‘ihex_scan’
gdb-16.3/bfd/ihex.c:251:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:254:3: branch_false: ...to here
gdb-16.3/bfd/ihex.c:263:15: call_function: calling ‘ihex_get_byte’ from ‘ihex_scan’
gdb-16.3/bfd/ihex.c:263:15: return_function: returning to ‘ihex_scan’ from ‘ihex_get_byte’
gdb-16.3/bfd/ihex.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/ihex.c:265:10: branch_true: ...to here
gdb-16.3/bfd/ihex.c:267:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:272:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:272:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:289:17: branch_false: ...to here
gdb-16.3/bfd/ihex.c:292:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:292:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:295:23: branch_true: following ‘true’ branch (when ‘i != 8’)...
gdb-16.3/bfd/ihex.c:297:21: branch_true: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:310:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:318:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:321:23: branch_true: following ‘true’ branch (when ‘i < chars’)...
gdb-16.3/bfd/ihex.c:323:21: branch_true: ...to here
gdb-16.3/bfd/ihex.c:323:21: danger: dereference of NULL ‘buf + (sizetype)i’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
gdb-16.3/bfd/ihex.c:333:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/ihex.c:240:1: enter_function: entry to ‘ihex_scan’
gdb-16.3/bfd/ihex.c:251:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:254:3: branch_false: ...to here
gdb-16.3/bfd/ihex.c:263:15: call_function: calling ‘ihex_get_byte’ from ‘ihex_scan’
gdb-16.3/bfd/ihex.c:263:15: return_function: returning to ‘ihex_scan’ from ‘ihex_get_byte’
gdb-16.3/bfd/ihex.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/ihex.c:265:10: branch_true: ...to here
gdb-16.3/bfd/ihex.c:267:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:272:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:272:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:289:17: branch_false: ...to here
gdb-16.3/bfd/ihex.c:292:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:292:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:295:23: branch_true: following ‘true’ branch (when ‘i != 8’)...
gdb-16.3/bfd/ihex.c:297:21: branch_true: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:310:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:318:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:321:23: branch_false: following ‘false’ branch (when ‘i >= chars’)...
gdb-16.3/bfd/ihex.c:331:20: branch_false: ...to here
gdb-16.3/bfd/ihex.c:332:23: branch_true: following ‘true’ branch (when ‘i < len’)...
gdb-16.3/bfd/ihex.c:333:23: branch_true: ...to here
gdb-16.3/bfd/ihex.c:333:23: danger: dereference of NULL ‘buf + (sizetype)(i * 2)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
gdb-16.3/bfd/ihex.c:334:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/ihex.c:240:1: enter_function: entry to ‘ihex_scan’
gdb-16.3/bfd/ihex.c:251:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:254:3: branch_false: ...to here
gdb-16.3/bfd/ihex.c:263:15: call_function: calling ‘ihex_get_byte’ from ‘ihex_scan’
gdb-16.3/bfd/ihex.c:263:15: return_function: returning to ‘ihex_scan’ from ‘ihex_get_byte’
gdb-16.3/bfd/ihex.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/ihex.c:265:10: branch_true: ...to here
gdb-16.3/bfd/ihex.c:267:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:272:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:272:15: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:289:17: branch_false: ...to here
gdb-16.3/bfd/ihex.c:292:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:292:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:295:23: branch_true: following ‘true’ branch (when ‘i != 8’)...
gdb-16.3/bfd/ihex.c:297:21: branch_true: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:297:18: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:295:30: branch_false: ...to here
gdb-16.3/bfd/ihex.c:310:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:15: branch_false: ...to here
gdb-16.3/bfd/ihex.c:318:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:318:14: branch_false: ...to here
gdb-16.3/bfd/ihex.c:321:23: branch_false: following ‘false’ branch (when ‘i >= chars’)...
gdb-16.3/bfd/ihex.c:331:20: branch_false: ...to here
gdb-16.3/bfd/ihex.c:332:23: branch_false: following ‘false’ branch (when ‘i >= len’)...
gdb-16.3/bfd/ihex.c:334:16: branch_false: ...to here
gdb-16.3/bfd/ihex.c:334:53: danger: dereference of NULL ‘buf + (sizetype)(i * 2)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
gdb-16.3/bfd/ihex.c:597:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/ihex.c:542:1: enter_function: entry to ‘ihex_read_section’
gdb-16.3/bfd/ihex.c:550:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:550:6: branch_false: ...to here
gdb-16.3/bfd/ihex.c:556:15: call_function: calling ‘ihex_get_byte’ from ‘ihex_read_section’
gdb-16.3/bfd/ihex.c:556:15: return_function: returning to ‘ihex_read_section’ from ‘ihex_get_byte’
gdb-16.3/bfd/ihex.c:556:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/ihex.c:563:11: branch_true: ...to here
gdb-16.3/bfd/ihex.c:570:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:573:13: branch_false: ...to here
gdb-16.3/bfd/ihex.c:577:10: branch_false: following ‘false’ branch (when ‘type == 0’)...
gdb-16.3/bfd/ihex.c:585:11: branch_false: ...to here
gdb-16.3/bfd/ihex.c:585:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:593:11: branch_false: ...to here
gdb-16.3/bfd/ihex.c:593:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/ihex.c:593:10: branch_false: ...to here
gdb-16.3/bfd/ihex.c:596:19: branch_true: following ‘true’ branch (when ‘i < len’)...
gdb-16.3/bfd/ihex.c:597:16: branch_true: ...to here
gdb-16.3/bfd/ihex.c:597:16: danger: dereference of NULL ‘buf + (sizetype)(i * 2)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
gdb-16.3/bfd/libbfd.c:285:10: warning[-Wanalyzer-malloc-leak]: leak of ‘bfd_malloc(asize)’
gdb-16.3/bfd/libbfd.h:899:1: enter_function: entry to ‘_bfd_malloc_and_read’
gdb-16.3/bfd/libbfd.h:911:9: call_function: calling ‘bfd_malloc’ from ‘_bfd_malloc_and_read’
gdb-16.3/bfd/libbfd.h:911:9: return_function: returning to ‘_bfd_malloc_and_read’ from ‘bfd_malloc’
gdb-16.3/bfd/libbfd.h:912:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/libbfd.h:914:11: branch_true: ...to here
gdb-16.3/bfd/libbfd.h:914:11: throw: if ‘bfd_read’ throws an exception...
gdb-16.3/bfd/libbfd.c:285:10: danger: ‘bfd_malloc(asize)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
gdb-16.3/bfd/linker.c:1710:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inh’
gdb-16.3/bfd/linker.c:1402:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/linker.c:1403:10: branch_false: ...to here
gdb-16.3/bfd/linker.c:1402:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/linker.c:1414:12: branch_false: ...to here
gdb-16.3/bfd/linker.c:1710:15: danger: dereference of NULL ‘inh’
Error: CPPCHECK_WARNING (CWE-119): [#def129]
gdb-16.3/bfd/peXXigen.c:302: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ext->x_file.x_fname
Error: CPPCHECK_WARNING (CWE-457): [#def130]
gdb-16.3/bfd/peXXigen.c:2668: warning[uninitvar]: Uninitialized variable: signature
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
gdb-16.3/bfd/plugin.c:553:32: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(make_relative_prefix(plugin_program_name, "/usr/bin", path[i]))’
gdb-16.3/bfd/plugin.c:597:1: enter_function: entry to ‘bfd_plugin_object_p’
gdb-16.3/bfd/plugin.c:606:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/plugin.c:606:53: branch_true: ...to here
gdb-16.3/bfd/plugin.c:606:53: call_function: calling ‘load_plugin’ from ‘bfd_plugin_object_p’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
gdb-16.3/bfd/simple.c:267:3: warning[-Wanalyzer-malloc-leak]: leak of ‘saved_offsets.sections’
gdb-16.3/bfd/simple.c:218:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/simple.c:219:13: branch_false: ...to here
gdb-16.3/bfd/simple.c:218:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/simple.c:230:3: branch_false: ...to here
gdb-16.3/bfd/simple.c:263:28: acquire_memory: allocated here
gdb-16.3/bfd/simple.c:265:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/simple.c:267:3: branch_false: ...to here
gdb-16.3/bfd/simple.c:267:3: throw: if ‘bfd_map_over_sections’ throws an exception...
gdb-16.3/bfd/simple.c:267:3: danger: ‘saved_offsets.sections’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
gdb-16.3/bfd/srec.c:521:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
gdb-16.3/bfd/srec.c:527:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
gdb-16.3/bfd/srec.c:533:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
gdb-16.3/bfd/srec.c:589:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
gdb-16.3/bfd/srec.c:594:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
gdb-16.3/bfd/srec.c:599:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:677:1: enter_function: entry to ‘symbolsrec_object_p’
gdb-16.3/bfd/srec.c:683:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:684:10: branch_false: ...to here
gdb-16.3/bfd/srec.c:683:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:687:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:687:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:693:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:696:8: branch_true: ...to here
gdb-16.3/bfd/srec.c:696:8: call_function: calling ‘srec_scan’ from ‘symbolsrec_object_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
gdb-16.3/bfd/srec.c:767:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
gdb-16.3/bfd/srec.c:711:1: enter_function: entry to ‘srec_read_section’
gdb-16.3/bfd/srec.c:719:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:719:6: branch_false: ...to here
gdb-16.3/bfd/srec.c:722:15: call_function: calling ‘srec_get_byte’ from ‘srec_read_section’
gdb-16.3/bfd/srec.c:722:15: return_function: returning to ‘srec_read_section’ from ‘srec_get_byte’
gdb-16.3/bfd/srec.c:722:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:729:11: branch_true: ...to here
gdb-16.3/bfd/srec.c:734:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:737:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:737:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:740:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:744:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:753:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:753:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:758:15: branch_false: ...to here
gdb-16.3/bfd/srec.c:767:21: danger: dereference of NULL ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
gdb-16.3/bfd/srec.c:772:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:711:1: enter_function: entry to ‘srec_read_section’
gdb-16.3/bfd/srec.c:719:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:719:6: branch_false: ...to here
gdb-16.3/bfd/srec.c:722:15: call_function: calling ‘srec_get_byte’ from ‘srec_read_section’
gdb-16.3/bfd/srec.c:722:15: return_function: returning to ‘srec_read_section’ from ‘srec_get_byte’
gdb-16.3/bfd/srec.c:722:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:729:11: branch_true: ...to here
gdb-16.3/bfd/srec.c:734:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:737:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:737:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:740:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:744:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:753:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:753:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:758:15: branch_false: ...to here
gdb-16.3/bfd/srec.c:772:38: danger: dereference of NULL ‘data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
gdb-16.3/bfd/srec.c:777:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
gdb-16.3/bfd/srec.c:711:1: enter_function: entry to ‘srec_read_section’
gdb-16.3/bfd/srec.c:719:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:719:6: branch_false: ...to here
gdb-16.3/bfd/srec.c:722:15: call_function: calling ‘srec_get_byte’ from ‘srec_read_section’
gdb-16.3/bfd/srec.c:722:15: return_function: returning to ‘srec_read_section’ from ‘srec_get_byte’
gdb-16.3/bfd/srec.c:722:10: branch_true: following ‘true’ branch...
gdb-16.3/bfd/srec.c:729:11: branch_true: ...to here
gdb-16.3/bfd/srec.c:734:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:737:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:737:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:740:7: branch_false: ...to here
gdb-16.3/bfd/srec.c:744:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:753:11: branch_false: ...to here
gdb-16.3/bfd/srec.c:753:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/srec.c:758:15: branch_false: ...to here
gdb-16.3/bfd/srec.c:777:38: danger: dereference of NULL ‘data’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
gdb-16.3/bfd/stabs.c:401:20: warning[-Wanalyzer-null-argument]: use of NULL ‘symb’ where non-null expected
gdb-16.3/bfd/stabs.c:191:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:192:10: branch_false: ...to here
gdb-16.3/bfd/stabs.c:191:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:193:11: branch_false: ...to here
gdb-16.3/bfd/stabs.c:191:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:194:11: branch_false: ...to here
gdb-16.3/bfd/stabs.c:191:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:198:7: branch_false: ...to here
gdb-16.3/bfd/stabs.c:198:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:203:7: branch_false: ...to here
gdb-16.3/bfd/stabs.c:203:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:208:27: branch_false: ...to here
gdb-16.3/bfd/stabs.c:208:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:209:30: branch_false: ...to here
gdb-16.3/bfd/stabs.c:208:7: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:216:7: branch_false: ...to here
gdb-16.3/bfd/stabs.c:246:6: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:250:3: branch_false: ...to here
gdb-16.3/bfd/stabs.c:256:6: branch_true: following ‘true’ branch...
gdb-16.3/bfd/stabs.c:257:11: branch_true: ...to here
gdb-16.3/bfd/stabs.c:256:7: branch_true: following ‘true’ branch...
gdb-16.3/bfd/stabs.c:267:17: branch_true: ...to here
gdb-16.3/bfd/stabs.c:272:8: branch_true: following ‘true’ branch (when ‘sym < symend’)...
gdb-16.3/bfd/stabs.c:279:11: branch_true: ...to here
gdb-16.3/bfd/stabs.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:313:16: branch_false: ...to here
gdb-16.3/bfd/stabs.c:389:11: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:394:13: branch_false: ...to here
gdb-16.3/bfd/stabs.c:395:14: branch_false: following ‘false’ branch...
gdb-16.3/bfd/stabs.c:398:16: branch_false: ...to here
gdb-16.3/bfd/stabs.c:398:40: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
gdb-16.3/bfd/stabs.c:399:17: branch_true: ...to here
gdb-16.3/bfd/stabs.c:399:16: branch_true: following ‘true’ branch...
gdb-16.3/bfd/stabs.c:400:20: branch_true: ...to here
gdb-16.3/bfd/stabs.c:399:17: branch_true: following ‘true’ branch...
gdb-16.3/bfd/stabs.c:401:28: branch_true: ...to here
gdb-16.3/bfd/stabs.c:401:20: danger: argument 2 (‘symb’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-704): [#def143]
gdb-16.3/bfd/targets.c: scope_hint: In function ‘bfd_get_target_info’
gdb-16.3/bfd/targets.c:1671:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def144]
gdb-16.3/bfd/targets.c:1671:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-457): [#def145]
gdb-16.3/gdb/ui-out.h:417:18: warning[-Wmaybe-uninitialized]: ‘*(ui_out_emit_type<ui_out_type_list>*)((char*)&sources_list + offsetof(std::optional<ui_out_emit_type<ui_out_type_list> >,std::optional<ui_out_emit_type<ui_out_type_list> >::<unnamed>.std::_Optional_base<ui_out_emit_type<ui_out_type_list>, false, false>::_M_payload.std::_Optional_payload<ui_out_emit_type<ui_out_type_list>, false, false, false>::<unnamed>.std::_Optional_payload<ui_out_emit_type<ui_out_type_list>, true, false, false>::<unnamed>.std::_Optional_payload_base<ui_out_emit_type<ui_out_type_list> [...]
gdb-16.3/gdb/symtab.c: scope_hint: In function ‘void info_sources_worker(ui_out*, bool, const info_sources_filter&)’
gdb-16.3/gdb/symtab.c:4694:35: note: ‘*(ui_out_emit_type<ui_out_type_list>*)((char*)&sources_list + offsetof(std::optional<ui_out_emit_type<ui_out_type_list> >,std::optional<ui_out_emit_type<ui_out_type_list> >::<unnamed>.std::_Optional_base<ui_out_emit_type<ui_out_type_list>, false, false>::_M_payload.std::_Optional_payload<ui_out_emit_type<ui_out_type_list>, false, false, false>::<unnamed>.std::_Optional_payload<ui_out_emit_type<ui_out_type_list>, true, false, false>::<unnamed>.std::_Optional_payload_base<ui_out_emit_type<ui_out_type_list> [...]
gdb-16.3/gdb/ui-out.h:417:18: note: trimmed 2 message(s) with length over 512
Error: COMPILER_WARNING (CWE-457): [#def146]
gdb-16.3/gdb/ui-out.h:417:18: warning[-Wmaybe-uninitialized]: ‘*(ui_out_emit_type<ui_out_type_tuple>*)((char*)&output_tuple + offsetof(std::optional<ui_out_emit_type<ui_out_type_tuple> >,std::optional<ui_out_emit_type<ui_out_type_tuple> >::<unnamed>.std::_Optional_base<ui_out_emit_type<ui_out_type_tuple>, false, false>::_M_payload.std::_Optional_payload<ui_out_emit_type<ui_out_type_tuple>, false, false, false>::<unnamed>.std::_Optional_payload<ui_out_emit_type<ui_out_type_tuple>, true, false, false>::<unnamed>.std::_Optional_payload_base<ui_out_emit_type<ui_out_type [...]
gdb-16.3/gdb/symtab.c: scope_hint: In function ‘void info_sources_worker(ui_out*, bool, const info_sources_filter&)’
gdb-16.3/gdb/symtab.c:4693:36: note: ‘*(ui_out_emit_type<ui_out_type_tuple>*)((char*)&output_tuple + offsetof(std::optional<ui_out_emit_type<ui_out_type_tuple> >,std::optional<ui_out_emit_type<ui_out_type_tuple> >::<unnamed>.std::_Optional_base<ui_out_emit_type<ui_out_type_tuple>, false, false>::_M_payload.std::_Optional_payload<ui_out_emit_type<ui_out_type_tuple>, false, false, false>::<unnamed>.std::_Optional_payload<ui_out_emit_type<ui_out_type_tuple>, true, false, false>::<unnamed>.std::_Optional_payload_base<ui_out_emit_type<ui_out_type [...]
gdb-16.3/gdb/ui-out.h:417:18: note: trimmed 2 message(s) with length over 512
Error: CPPCHECK_WARNING (CWE-562): [#def147]
gdb-16.3/gdbserver/mem-break.cc:477: error[returnDanglingLifetime]: Returning pointer to local variable 'bp_holder' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-457): [#def148]
gdb-16.3/gdbserver/server.cc:4124: error[uninitvar]: Uninitialized variable: dummy_buffer
Error: CPPCHECK_WARNING (CWE-457): [#def149]
gdb-16.3/gdbsupport/filestuff.cc:153: error[uninitvar]: Uninitialized variable: max
Error: GCC_ANALYZER_WARNING (CWE-404): [#def150]
gdb-16.3/gnulib/import/fcntl.c:328:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:328:22: throw: if ‘fcntl’ throws an exception...
gdb-16.3/gnulib/import/fcntl.c:328:22: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def151]
gdb-16.3/gnulib/import/fcntl.c:424:24: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:424:24: throw: if ‘fcntl’ throws an exception...
gdb-16.3/gnulib/import/fcntl.c:424:24: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def152]
gdb-16.3/gnulib/import/fcntl.c:432:24: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:432:24: throw: if ‘fcntl’ throws an exception...
gdb-16.3/gnulib/import/fcntl.c:432:24: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def153]
gdb-16.3/gnulib/import/fcntl.c:482:12: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:202:1: enter_function: entry to ‘rpl_fcntl’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:216:18: call_function: inlined call to ‘rpl_fcntl_DUPFD’ from ‘rpl_fcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def154]
gdb-16.3/gnulib/import/fcntl.c:512:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:202:1: enter_function: entry to ‘rpl_fcntl’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:223:18: call_function: calling ‘rpl_fcntl_DUPFD_CLOEXEC’ from ‘rpl_fcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def155]
gdb-16.3/gnulib/import/fcntl.c:533:19: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:202:1: enter_function: entry to ‘rpl_fcntl’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:223:18: call_function: calling ‘rpl_fcntl_DUPFD_CLOEXEC’ from ‘rpl_fcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def156]
gdb-16.3/gnulib/import/fcntl.c:534:24: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:202:1: enter_function: entry to ‘rpl_fcntl’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:223:18: call_function: calling ‘rpl_fcntl_DUPFD_CLOEXEC’ from ‘rpl_fcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def157]
gdb-16.3/gnulib/import/fcntl.c:537:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/gnulib/import/fcntl.c:202:1: enter_function: entry to ‘rpl_fcntl’
gdb-16.3/gnulib/import/fcntl.c:210:3: acquire_resource: ‘va_start’ called here
gdb-16.3/gnulib/import/fcntl.c:223:18: call_function: calling ‘rpl_fcntl_DUPFD_CLOEXEC’ from ‘rpl_fcntl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
gdb-16.3/gnulib/import/getcwd.c:276:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:276:12: throw: if ‘openat’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:276:12: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
gdb-16.3/gnulib/import/getcwd.c:290:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:401:16: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:401:17: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:410:10: branch_true: following ‘true’ branch (when ‘dirroom <= namlen’)...
gdb-16.3/gnulib/import/getcwd.c:412:14: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:412:14: branch_false: following ‘false’ branch (when ‘size == 0’)...
gdb-16.3/gnulib/import/getcwd.c:422:28: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:423:18: branch_false: following ‘false’ branch (when ‘allocated <= allocated’)...
gdb-16.3/gnulib/import/getcwd.c:424:31: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:423:19: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:429:22: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_true: following ‘true’ branch (when ‘dirstream’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:290:24: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:24: throw: if ‘closedir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:290:24: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
gdb-16.3/gnulib/import/getcwd.c:303:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:303:19: throw: if ‘fdopendir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:303:19: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
gdb-16.3/gnulib/import/getcwd.c:318:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:318:15: throw: if ‘readdir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:318:15: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
gdb-16.3/gnulib/import/getcwd.c:318:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(openat(fd, "..", 0))’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:230:6: branch_false: following ‘false’ branch (when ‘size != 0’)...
gdb-16.3/gnulib/import/getcwd.c:241:6: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:241:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:303:19: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:318:15: throw: if ‘readdir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:318:15: danger: ‘fdopendir(openat(fd, "..", 0))’ leaks here; was allocated at [(19)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
gdb-16.3/gnulib/import/getcwd.c:331:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:327:14: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:331:19: throw: if ‘readdir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:331:19: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
gdb-16.3/gnulib/import/getcwd.c:443:20: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:401:16: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:401:17: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:410:10: branch_true: following ‘true’ branch (when ‘dirroom <= namlen’)...
gdb-16.3/gnulib/import/getcwd.c:412:14: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:412:14: branch_false: following ‘false’ branch (when ‘size == 0’)...
gdb-16.3/gnulib/import/getcwd.c:422:28: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:423:18: branch_false: following ‘false’ branch (when ‘allocated <= allocated’)...
gdb-16.3/gnulib/import/getcwd.c:424:31: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:423:19: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:429:22: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:443:6: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:443:6: branch_true: following ‘true’ branch (when ‘dirstream’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:443:20: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:443:20: throw: if ‘closedir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:443:20: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
gdb-16.3/gnulib/import/getcwd.c:477:7: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:334:14: branch_true: following ‘true’ branch (when ‘d’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:336:19: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:476:8: branch_true: following ‘true’ branch (when ‘dirstream’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:477:7: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:477:7: throw: if ‘closedir’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:477:7: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
gdb-16.3/gnulib/import/getcwd.c:480:8: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
gdb-16.3/gnulib/import/getcwd.c:208:6: branch_false: following ‘false’ branch (when ‘dir’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:208:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:232:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:243:13: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:243:13: acquire_memory: allocated here
gdb-16.3/gnulib/import/getcwd.c:244:10: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
gdb-16.3/gnulib/import/getcwd.c:250:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:253:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:255:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:258:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:260:3: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:263:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:276:12: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:277:10: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/getcwd.c:280:23: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:287:10: branch_false: following ‘false’ branch (when ‘parent_status == 0’)...
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:290:10: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:297:7: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:304:10: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/getcwd.c:305:9: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:476:8: branch_false: following ‘false’ branch (when ‘dirstream’ is NULL)...
gdb-16.3/gnulib/import/getcwd.c:479:8: branch_false: ...to here
gdb-16.3/gnulib/import/getcwd.c:479:8: branch_true: following ‘true’ branch (when ‘fd_needs_closing != 0’)...
gdb-16.3/gnulib/import/getcwd.c:480:8: branch_true: ...to here
gdb-16.3/gnulib/import/getcwd.c:480:8: throw: if ‘close’ throws an exception...
gdb-16.3/gnulib/import/getcwd.c:480:8: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-562): [#def167]
gdb-16.3/gnulib/import/gettext.h:247: error[returnDanglingLifetime]: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-401): [#def168]
gdb-16.3/gnulib/import/malloc/scratch_buffer_dupfree.c:38: error[memleak]: Memory leak: copy
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
gdb-16.3/gnulib/import/openat-proc.c:91:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/fd", 592128)’
gdb-16.3/gnulib/import/openat-proc.c:50:6: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/openat-proc.c:66:9: branch_false: ...to here
gdb-16.3/gnulib/import/openat-proc.c:66:8: branch_true: following ‘true’ branch...
gdb-16.3/gnulib/import/openat-proc.c:77:11: branch_true: ...to here
gdb-16.3/gnulib/import/openat-proc.c:77:11: acquire_resource: opened here
gdb-16.3/gnulib/import/openat-proc.c:79:12: branch_false: following ‘false’ branch...
gdb-16.3/gnulib/import/openat-proc.c:89:13: branch_false: ...to here
gdb-16.3/gnulib/import/openat-proc.c:91:13: danger: ‘open("/proc/self/fd", 592128)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
gdb-16.3/libbacktrace/posix.c:86:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 524288)’
gdb-16.3/libbacktrace/posix.c:67:16: acquire_resource: opened here
gdb-16.3/libbacktrace/posix.c:68:6: branch_false: following ‘false’ branch...
gdb-16.3/libbacktrace/posix.c:86:3: branch_false: ...to here
gdb-16.3/libbacktrace/posix.c:86:3: throw: if ‘fcntl’ throws an exception...
gdb-16.3/libbacktrace/posix.c:86:3: danger: ‘open(filename, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
gdb-16.3/libctf/ctf-archive.c:686:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dupname’
gdb-16.3/libctf/ctf-archive.c:1002:1: enter_function: entry to ‘ctf_arc_lookup_symbol_name’
gdb-16.3/libctf/ctf-archive.c:1005:10: call_function: calling ‘ctf_arc_lookup_sym_or_name’ from ‘ctf_arc_lookup_symbol_name’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def172]
gdb-16.3/libctf/ctf-archive.c:768:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
gdb-16.3/libctf/ctf-archive.c:650:1: enter_function: entry to ‘ctf_dict_open_cached’
gdb-16.3/libctf/ctf-archive.c:664:8: call_function: calling ‘ctf_dict_open’ from ‘ctf_dict_open_cached’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
gdb-16.3/libctf/ctf-archive.c:979:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
gdb-16.3/libctf/ctf-archive.c:1002:1: enter_function: entry to ‘ctf_arc_lookup_symbol_name’
gdb-16.3/libctf/ctf-archive.c:1005:10: call_function: calling ‘ctf_arc_lookup_sym_or_name’ from ‘ctf_arc_lookup_symbol_name’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
gdb-16.3/libctf/ctf-create.c:467:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-create.c:420:1: enter_function: entry to ‘ctf_add_generic’
gdb-16.3/libctf/ctf-create.c:449:7: call_function: calling ‘ctf_grow_ptrtab’ from ‘ctf_add_generic’
gdb-16.3/libctf/ctf-create.c:449:7: return_function: returning to ‘ctf_add_generic’ from ‘ctf_grow_ptrtab’
gdb-16.3/libctf/ctf-create.c:449:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-create.c:452:14: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:452:6: branch_false: following ‘false’ branch (when ‘dtd’ is non-NULL)...
gdb-16.3/libctf/ctf-create.c:455:3: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:456:6: branch_true: following ‘true’ branch (when ‘vlen != 0’)...
gdb-16.3/libctf/ctf-create.c:458:28: branch_true: ...to here
gdb-16.3/libctf/ctf-create.c:458:28: acquire_memory: allocated here
gdb-16.3/libctf/ctf-create.c:458:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-create.c:464:12: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:467:28: throw: if ‘ctf_str_add_ref’ throws an exception...
gdb-16.3/libctf/ctf-create.c:467:28: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
gdb-16.3/libctf/ctf-create.c:467:28: warning[-Wanalyzer-malloc-leak]: leak of ‘dtd’
gdb-16.3/libctf/ctf-create.c:420:1: enter_function: entry to ‘ctf_add_generic’
gdb-16.3/libctf/ctf-create.c:449:7: call_function: calling ‘ctf_grow_ptrtab’ from ‘ctf_add_generic’
gdb-16.3/libctf/ctf-create.c:449:7: return_function: returning to ‘ctf_add_generic’ from ‘ctf_grow_ptrtab’
gdb-16.3/libctf/ctf-create.c:449:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-create.c:452:14: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:452:14: acquire_memory: allocated here
gdb-16.3/libctf/ctf-create.c:452:6: branch_false: following ‘false’ branch (when ‘dtd’ is non-NULL)...
gdb-16.3/libctf/ctf-create.c:455:3: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:456:6: branch_false: following ‘false’ branch (when ‘vlen == 0’)...
gdb-16.3/libctf/ctf-create.c:462:5: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:467:28: throw: if ‘ctf_str_add_ref’ throws an exception...
gdb-16.3/libctf/ctf-create.c:467:28: danger: ‘dtd’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-190): [#def176]
gdb-16.3/libctf/ctf-create.c:526: error[integerOverflow]: Signed integer overflow for expression '-8'.
Error: CPPCHECK_WARNING (CWE-190): [#def177]
gdb-16.3/libctf/ctf-create.c:628: error[integerOverflow]: Signed integer overflow for expression '-8'.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
gdb-16.3/libctf/ctf-create.c:1588:3: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
gdb-16.3/libctf/ctf-create.c:2064:1: enter_function: entry to ‘ctf_add_type’
gdb-16.3/libctf/ctf-create.c:2068:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-create.c:2075:8: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:2075:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-create.c:2078:8: branch_false: ...to here
gdb-16.3/libctf/ctf-create.c:2078:8: call_function: calling ‘ctf_add_type_internal’ from ‘ctf_add_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
gdb-16.3/libctf/ctf-decl.c:162:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cdp’
gdb-16.3/libctf/ctf-decl.c:75:1: enter_function: entry to ‘ctf_decl_push’
gdb-16.3/libctf/ctf-decl.c:85:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-decl.c:91:18: branch_false: ...to here
gdb-16.3/libctf/ctf-decl.c:95:7: call_function: calling ‘ctf_decl_push’ from ‘ctf_decl_push’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
gdb-16.3/libctf/ctf-decls.h:35:3: warning[-Wanalyzer-malloc-leak]: leak of ‘sorted’
gdb-16.3/libctf/ctf-lookup.c:1298:1: enter_function: entry to ‘ctf_func_args’
gdb-16.3/libctf/ctf-lookup.c:1303:15: call_function: inlined call to ‘ctf_lookup_by_symbol’ from ‘ctf_func_args’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
gdb-16.3/libctf/ctf-dump.c:62:3: warning[-Wanalyzer-malloc-leak]: leak of ‘cdi’
gdb-16.3/libctf/ctf-dump.c:664:1: enter_function: entry to ‘ctf_dump_str’
gdb-16.3/libctf/ctf-dump.c:668:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-dump.c:673:37: branch_true: ...to here
gdb-16.3/libctf/ctf-dump.c:672:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-dump.c:676:7: branch_false: ...to here
gdb-16.3/libctf/ctf-dump.c:676:7: call_function: calling ‘ctf_dump_append’ from ‘ctf_dump_str’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def182]
gdb-16.3/libctf/ctf-dump.c:807:13: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
gdb-16.3/libctf/ctf-dump.c:761:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-dump.c:768:7: branch_false: ...to here
gdb-16.3/libctf/ctf-dump.c:773:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-dump.c:778:6: branch_false: ...to here
gdb-16.3/libctf/ctf-dump.c:778:6: branch_true: following ‘true’ branch (when ‘func’ is non-NULL)...
gdb-16.3/libctf/ctf-dump.c:783:12: branch_true: ...to here
gdb-16.3/libctf/ctf-dump.c:807:13: danger: argument 1 (‘str’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
gdb-16.3/libctf/ctf-hash.c:177:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dynhash’
gdb-16.3/libctf/ctf-hash.c:164:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:165:15: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:165:15: acquire_memory: allocated here
gdb-16.3/libctf/ctf-hash.c:171:6: branch_false: following ‘false’ branch (when ‘dynhash’ is non-NULL)...
gdb-16.3/libctf/ctf-hash.c:174:7: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:174:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:177:24: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:177:24: throw: if ‘htab_create_alloc’ throws an exception...
gdb-16.3/libctf/ctf-hash.c:177:24: danger: ‘dynhash’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
gdb-16.3/libctf/ctf-hash.c:177:24: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
gdb-16.3/libctf/ctf-hash.c:164:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:168:17: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:168:17: acquire_memory: allocated here
gdb-16.3/libctf/ctf-hash.c:171:6: branch_false: following ‘false’ branch (when ‘dynhash’ is non-NULL)...
gdb-16.3/libctf/ctf-hash.c:174:7: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:177:24: throw: if ‘htab_create_alloc’ throws an exception...
gdb-16.3/libctf/ctf-hash.c:177:24: danger: ‘p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def185]
gdb-16.3/libctf/ctf-hash.c:186:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gdb-16.3/libctf/ctf-hash.c:164:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:168:17: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:171:6: branch_false: following ‘false’ branch (when ‘dynhash’ is non-NULL)...
gdb-16.3/libctf/ctf-hash.c:174:7: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:177:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:184:6: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:184:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:186:7: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:186:7: danger: out-of-bounds write from byte 8 till byte 15 but region ends at byte 8
Error: GCC_ANALYZER_WARNING (CWE-122): [#def186]
gdb-16.3/libctf/ctf-hash.c:187:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gdb-16.3/libctf/ctf-hash.c:164:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:168:17: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:171:6: branch_false: following ‘false’ branch (when ‘dynhash’ is non-NULL)...
gdb-16.3/libctf/ctf-hash.c:174:7: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:174:6: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:177:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-hash.c:184:6: branch_false: ...to here
gdb-16.3/libctf/ctf-hash.c:184:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-hash.c:186:7: branch_true: ...to here
gdb-16.3/libctf/ctf-hash.c:187:7: danger: out-of-bounds write from byte 16 till byte 23 but region ends at byte 8
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
gdb-16.3/libctf/ctf-inlines.h:68:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_sym’
gdb-16.3/libctf/ctf-link.c:1669:1: enter_function: entry to ‘ctf_link_shuffle_syms’
gdb-16.3/libctf/ctf-link.c:1676:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1679:8: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1679:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1694:8: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1694:58: branch_true: following ‘true’ branch (when ‘did’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1698:7: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1704:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1706:26: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1710:14: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1716:12: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1716:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1718:11: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1721:26: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:1721:14: branch_false: following ‘false’ branch (when ‘new_sym’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1724:11: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1725:15: call_function: inlined call to ‘ctf_dynhash_cinsert’ from ‘ctf_link_shuffle_syms’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
gdb-16.3/libctf/ctf-inlines.h:88:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:726:12: call_function: inlined call to ‘ctf_assert_internal’ from ‘ctf_str_write_strtab’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
gdb-16.3/libctf/ctf-inlines.h:88:5: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:683:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:685:19: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:689:12: call_function: inlined call to ‘ctf_assert_internal’ from ‘ctf_str_write_strtab’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
gdb-16.3/libctf/ctf-link.c:122:14: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
gdb-16.3/libctf/ctf-link.c:113:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:122:14: throw: if ‘ctf_dynhash_elements’ throws an exception...
gdb-16.3/libctf/ctf-link.c:122:14: danger: ‘filename’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
gdb-16.3/libctf/ctf-link.c:122:14: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:16: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:122:14: throw: if ‘ctf_dynhash_elements’ throws an exception...
gdb-16.3/libctf/ctf-link.c:122:14: danger: ‘input’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
gdb-16.3/libctf/ctf-link.c:127:21: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
gdb-16.3/libctf/ctf-link.c:113:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:124:6: branch_true: following ‘true’ branch (when ‘existing != 0’)...
gdb-16.3/libctf/ctf-link.c:127:21: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:127:21: throw: if ‘ctf_dynhash_elements’ throws an exception...
gdb-16.3/libctf/ctf-link.c:127:21: danger: ‘filename’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
gdb-16.3/libctf/ctf-link.c:127:21: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:16: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:124:6: branch_true: following ‘true’ branch (when ‘existing != 0’)...
gdb-16.3/libctf/ctf-link.c:127:21: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:127:21: throw: if ‘ctf_dynhash_elements’ throws an exception...
gdb-16.3/libctf/ctf-link.c:127:21: danger: ‘input’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
gdb-16.3/libctf/ctf-link.c:133:7: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
gdb-16.3/libctf/ctf-link.c:113:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:124:6: branch_false: following ‘false’ branch (when ‘existing == 0’)...
gdb-16.3/libctf/ctf-link.c:130:23: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:130:11: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:133:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:133:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:133:7: danger: ‘filename’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
gdb-16.3/libctf/ctf-link.c:133:7: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:16: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:124:6: branch_false: following ‘false’ branch (when ‘existing == 0’)...
gdb-16.3/libctf/ctf-link.c:130:23: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:130:11: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:133:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:133:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:133:7: danger: ‘input’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
gdb-16.3/libctf/ctf-link.c:133:7: warning[-Wanalyzer-malloc-leak]: leak of ‘keyname’
gdb-16.3/libctf/ctf-link.c:113:6: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:116:16: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:116:6: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:119:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:124:6: branch_false: following ‘false’ branch (when ‘existing == 0’)...
gdb-16.3/libctf/ctf-link.c:130:23: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:130:23: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:130:11: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:133:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:133:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:133:7: danger: ‘keyname’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-457): [#def197]
gdb-16.3/libctf/ctf-link.c:254: error[uninitvar]: Uninitialized variable: err
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
gdb-16.3/libctf/ctf-link.c:281:10: warning[-Wanalyzer-malloc-leak]: leak of ‘ctf_new_per_cu_name(fp, ctf_name)’
gdb-16.3/libctf/ctf-link.c:295:1: enter_function: entry to ‘ctf_create_per_cu’
gdb-16.3/libctf/ctf-link.c:331:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:340:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:343:22: call_function: calling ‘ctf_new_per_cu_name’ from ‘ctf_create_per_cu’
gdb-16.3/libctf/ctf-link.c:343:22: return_function: returning to ‘ctf_create_per_cu’ from ‘ctf_new_per_cu_name’
gdb-16.3/libctf/ctf-link.c:343:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:346:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:346:7: throw: if ‘ctf_cuname_set’ throws an exception...
gdb-16.3/libctf/ctf-link.c:281:10: danger: ‘ctf_new_per_cu_name(fp, ctf_name)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
gdb-16.3/libctf/ctf-link.c:281:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dynname’
gdb-16.3/libctf/ctf-link.c:278:18: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:278:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:278:6: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:281:10: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-link.c:281:10: danger: ‘dynname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
gdb-16.3/libctf/ctf-link.c:422:14: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:412:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:14: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:422:14: danger: ‘f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
gdb-16.3/libctf/ctf-link.c:422:14: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:413:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:14: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:422:14: danger: ‘t’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
gdb-16.3/libctf/ctf-link.c:434:18: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:429:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:18: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-link.c:434:18: danger: ‘f’ leaks here; was allocated at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
gdb-16.3/libctf/ctf-link.c:434:18: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:430:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:18: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-link.c:434:18: danger: ‘t’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
gdb-16.3/libctf/ctf-link.c:436:22: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:429:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:436:22: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:436:22: throw: if ‘ctf_dynhash_create’ throws an exception...
gdb-16.3/libctf/ctf-link.c:436:22: danger: ‘f’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
gdb-16.3/libctf/ctf-link.c:436:22: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:430:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:436:22: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:436:22: throw: if ‘ctf_dynhash_create’ throws an exception...
gdb-16.3/libctf/ctf-link.c:436:22: danger: ‘t’ leaks here; was allocated at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
gdb-16.3/libctf/ctf-link.c:439:18: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:429:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:436:22: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:436:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:439:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:439:18: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:439:18: danger: ‘f’ leaks here; was allocated at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
gdb-16.3/libctf/ctf-link.c:439:18: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:430:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:436:22: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:436:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:439:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:439:18: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:439:18: danger: ‘t’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
gdb-16.3/libctf/ctf-link.c:442:11: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:429:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:436:22: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:436:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:439:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:439:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:442:11: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:442:11: throw: if ‘ctf_dynhash_destroy’ throws an exception...
gdb-16.3/libctf/ctf-link.c:442:11: danger: ‘f’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
gdb-16.3/libctf/ctf-link.c:453:7: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
gdb-16.3/libctf/ctf-link.c:388:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:391:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:396:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:402:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:414:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:422:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:422:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:429:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:429:7: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:431:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:434:18: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:434:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:449:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:453:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-link.c:453:7: danger: ‘f’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
gdb-16.3/libctf/ctf-link.c:760:17: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:17: throw: if ‘ctf_dynhash_next_sorted’ throws an exception...
gdb-16.3/libctf/ctf-link.c:760:17: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
gdb-16.3/libctf/ctf-link.c:760:17: warning[-Wanalyzer-malloc-leak]: leak of ‘walk’
gdb-16.3/libctf/ctf-link.c:746:23: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:17: throw: if ‘ctf_dynhash_next_sorted’ throws an exception...
gdb-16.3/libctf/ctf-link.c:760:17: danger: ‘walk’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
gdb-16.3/libctf/ctf-link.c:773:21: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:772:10: branch_true: following ‘true’ branch (when ‘cu_names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:773:21: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:773:21: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-link.c:773:21: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
gdb-16.3/libctf/ctf-link.c:773:21: warning[-Wanalyzer-malloc-leak]: leak of ‘walk’
gdb-16.3/libctf/ctf-link.c:746:23: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:772:10: branch_true: following ‘true’ branch (when ‘cu_names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:773:21: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:773:21: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-link.c:773:21: danger: ‘walk’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
gdb-16.3/libctf/ctf-link.c:793:24: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:781:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:793:24: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:793:24: throw: if ‘ctf_dict_open’ throws an exception...
gdb-16.3/libctf/ctf-link.c:793:24: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
gdb-16.3/libctf/ctf-link.c:798:15: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:781:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:793:24: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:793:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:796:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:796:14: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:798:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:798:15: throw: if ‘ctf_next_destroy’ throws an exception...
gdb-16.3/libctf/ctf-link.c:798:15: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
gdb-16.3/libctf/ctf-link.c:815:24: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:781:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:793:24: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:793:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:796:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:815:24: throw: if ‘ctf_archive_next’ throws an exception...
gdb-16.3/libctf/ctf-link.c:815:24: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
gdb-16.3/libctf/ctf-link.c:825:15: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:781:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:793:24: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:793:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:796:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:815:14: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:818:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:818:14: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:825:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:825:15: throw: if ‘ctf_import’ throws an exception...
gdb-16.3/libctf/ctf-link.c:825:15: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
gdb-16.3/libctf/ctf-link.c:836:11: warning[-Wanalyzer-malloc-leak]: leak of ‘parents_’
gdb-16.3/libctf/ctf-link.c:746:6: branch_false: following ‘false’ branch (when ‘dedup_inputs’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:749:19: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:749:19: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:749:6: branch_false: following ‘false’ branch (when ‘parents_’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:757:27: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:760:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:763:19: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:781:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:793:24: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:796:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:815:14: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:834:11: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:834:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:836:11: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:836:11: throw: if ‘ctf_next_destroy’ throws an exception...
gdb-16.3/libctf/ctf-link.c:836:11: danger: ‘parents_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
gdb-16.3/libctf/ctf-link.c:1653:3: warning[-Wanalyzer-malloc-leak]: leak of ‘cid’
gdb-16.3/libctf/ctf-link.c:1635:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1638:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1638:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1641:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1641:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1644:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1644:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-link.c:1649:14: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1649:14: acquire_memory: allocated here
gdb-16.3/libctf/ctf-link.c:1649:6: branch_false: following ‘false’ branch (when ‘cid’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1652:3: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1653:3: throw: if ‘ctf_list_append’ throws an exception...
gdb-16.3/libctf/ctf-link.c:1653:3: danger: ‘cid’ leaks here; was allocated at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-457): [#def220]
gdb-16.3/libctf/ctf-link.c:1760: error[legacyUninitvar]: Uninitialized variable: name
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
gdb-16.3/libctf/ctf-link.c:1835:16: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
gdb-16.3/libctf/ctf-link.c:1810:6: branch_false: following ‘false’ branch (when ‘names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1817:61: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1817:6: branch_false: following ‘false’ branch (when ‘files’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1829:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1829:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1833:13: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1835:16: throw: if the called function throws an exception...
gdb-16.3/libctf/ctf-link.c:1835:16: danger: ‘files’ leaks here; was allocated at [(4)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
gdb-16.3/libctf/ctf-link.c:1835:16: warning[-Wanalyzer-malloc-leak]: leak of ‘names’
gdb-16.3/libctf/ctf-link.c:1810:6: branch_false: following ‘false’ branch (when ‘names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1817:61: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1817:6: branch_false: following ‘false’ branch (when ‘files’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1829:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1829:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1833:13: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1835:16: throw: if the called function throws an exception...
gdb-16.3/libctf/ctf-link.c:1835:16: danger: ‘names’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
gdb-16.3/libctf/ctf-link.c:1855:1: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
gdb-16.3/libctf/ctf-link.c:1810:6: branch_false: following ‘false’ branch (when ‘names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1817:61: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1817:6: branch_false: following ‘false’ branch (when ‘files’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1829:7: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1829:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1833:13: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1837:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-link.c:1840:55: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1839:14: branch_true: following ‘true’ branch (when ‘dynames’ is NULL)...
gdb-16.3/libctf/ctf-link.c:1842:15: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1855:1: danger: ‘files’ leaks here; was allocated at [(4)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
gdb-16.3/libctf/ctf-link.c:1855:1: warning[-Wanalyzer-malloc-leak]: leak of ‘names’
gdb-16.3/libctf/ctf-link.c:1810:6: branch_false: following ‘false’ branch (when ‘names’ is non-NULL)...
gdb-16.3/libctf/ctf-link.c:1817:61: branch_false: ...to here
gdb-16.3/libctf/ctf-link.c:1817:6: branch_true: following ‘true’ branch (when ‘files’ is NULL)...
gdb-16.3/libctf/ctf-link.c:1819:7: branch_true: ...to here
gdb-16.3/libctf/ctf-link.c:1855:1: danger: ‘names’ leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
gdb-16.3/libctf/ctf-lookup.c:603:7: warning[-Wanalyzer-malloc-leak]: leak of ‘sorted’
gdb-16.3/libctf/ctf-lookup.c:1298:1: enter_function: entry to ‘ctf_func_args’
gdb-16.3/libctf/ctf-lookup.c:1303:15: call_function: inlined call to ‘ctf_lookup_by_symbol’ from ‘ctf_func_args’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
gdb-16.3/libctf/ctf-open-bfd.c:148:17: warning[-Wanalyzer-malloc-leak]: leak of ‘symtab’
gdb-16.3/libctf/ctf-open-bfd.c:251:1: enter_function: entry to ‘ctf_fdopen’
gdb-16.3/libctf/ctf-open-bfd.c:267:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:270:17: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:270:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:277:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:300:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:303:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:316:6: branch_false: following ‘false’ branch (when ‘nfd >= 0’)...
gdb-16.3/libctf/ctf-open-bfd.c:319:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:319:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:326:3: call_function: inlined call to ‘bfd_set_cacheable’ from ‘ctf_fdopen’
gdb-16.3/libctf/ctf-open-bfd.c:328:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:339:15: branch_true: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:339:15: call_function: calling ‘ctf_bfdopen’ from ‘ctf_fdopen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
gdb-16.3/libctf/ctf-open-bfd.c:265:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
gdb-16.3/libctf/ctf-open-bfd.c:357:1: enter_function: entry to ‘ctf_open’
gdb-16.3/libctf/ctf-open-bfd.c:362:13: acquire_resource: opened here
gdb-16.3/libctf/ctf-open-bfd.c:362:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:369:9: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:369:9: call_function: calling ‘ctf_fdopen’ from ‘ctf_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
gdb-16.3/libctf/ctf-open-bfd.c:319:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘nfd’
gdb-16.3/libctf/ctf-open-bfd.c:267:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:270:17: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:270:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:277:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:300:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open-bfd.c:303:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:316:14: acquire_resource: opened here
gdb-16.3/libctf/ctf-open-bfd.c:316:6: branch_false: following ‘false’ branch (when ‘nfd >= 0’)...
gdb-16.3/libctf/ctf-open-bfd.c:319:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open-bfd.c:319:15: throw: if ‘bfd_fdopenr’ throws an exception...
gdb-16.3/libctf/ctf-open-bfd.c:319:15: danger: ‘nfd’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-457): [#def229]
gdb-16.3/libctf/ctf-open.c:1385: error[uninitvar]: Uninitialized variables: &skeleton.cts_data, &skeleton.cts_size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
gdb-16.3/libctf/ctf-open.c:1506:15: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(52)’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1515:3: throw: if ‘ctf_dprintf’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1506:15: danger: ‘malloc(52)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
gdb-16.3/libctf/ctf-open.c:1515:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1515:3: throw: if ‘ctf_dprintf’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1515:3: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
gdb-16.3/libctf/ctf-open.c:1523:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1523:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1523:7: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
gdb-16.3/libctf/ctf-open.c:1523:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1523:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1523:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
gdb-16.3/libctf/ctf-open.c:1524:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1524:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1524:14: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
gdb-16.3/libctf/ctf-open.c:1524:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1524:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1524:14: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
gdb-16.3/libctf/ctf-open.c:1535:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1535:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1535:7: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
gdb-16.3/libctf/ctf-open.c:1535:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1535:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1535:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
gdb-16.3/libctf/ctf-open.c:1536:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1536:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1536:14: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
gdb-16.3/libctf/ctf-open.c:1536:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1536:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1536:14: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
gdb-16.3/libctf/ctf-open.c:1544:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1544:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1544:7: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
gdb-16.3/libctf/ctf-open.c:1544:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1544:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1544:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
gdb-16.3/libctf/ctf-open.c:1546:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1546:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1546:14: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
gdb-16.3/libctf/ctf-open.c:1546:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1546:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1546:14: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
gdb-16.3/libctf/ctf-open.c:1555:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1551:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1552:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1551:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1556:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1555:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1555:7: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
gdb-16.3/libctf/ctf-open.c:1555:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1551:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1552:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1551:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1556:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1555:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1555:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
gdb-16.3/libctf/ctf-open.c:1560:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1551:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1552:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1551:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1556:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1560:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1560:14: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
gdb-16.3/libctf/ctf-open.c:1560:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1551:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1552:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1551:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1556:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1560:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1560:14: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
gdb-16.3/libctf/ctf-open.c:1568:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1563:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1564:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1566:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1569:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1568:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1568:7: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
gdb-16.3/libctf/ctf-open.c:1568:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1563:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1564:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1566:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1569:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1568:7: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1568:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
gdb-16.3/libctf/ctf-open.c:1573:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1563:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1564:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1566:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1569:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1573:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1573:14: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
gdb-16.3/libctf/ctf-open.c:1573:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1563:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1564:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1566:8: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1563:7: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1569:21: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1573:14: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1573:14: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
gdb-16.3/libctf/ctf-open.c:1607:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:17: throw: if ‘uncompress’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1607:17: danger: ‘<unknown>’ leaks here; was allocated at [(47)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/46)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
gdb-16.3/libctf/ctf-open.c:1607:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:17: throw: if ‘uncompress’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1607:17: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
gdb-16.3/libctf/ctf-open.c:1609:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1609:11: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1609:11: throw: if ‘zError’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1609:11: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
gdb-16.3/libctf/ctf-open.c:1609:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1609:11: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1609:11: throw: if ‘zError’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1609:11: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
gdb-16.3/libctf/ctf-open.c:1617:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1615:30: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1615:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1618:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1617:11: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1617:11: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
gdb-16.3/libctf/ctf-open.c:1617:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1599:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1607:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1615:30: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1615:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1618:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1617:11: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1617:11: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
gdb-16.3/libctf/ctf-open.c:1628:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1626:11: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1626:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1629:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1628:11: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1628:11: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
gdb-16.3/libctf/ctf-open.c:1628:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1626:11: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1626:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1629:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1628:11: throw: if ‘ctf_err_warn’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1628:11: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
gdb-16.3/libctf/ctf-open.c:1675:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1367:13: enter_function: entry to ‘ctf_simple_open’
gdb-16.3/libctf/ctf-open.c:1383:6: branch_true: following ‘true’ branch (when ‘ctfsect’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1385:7: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1391:6: branch_false: following ‘false’ branch (when ‘symsect’ is NULL)...
gdb-16.3/libctf/ctf-open.c:1400:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1400:6: branch_false: following ‘false’ branch (when ‘strsect’ is NULL)...
gdb-16.3/libctf/ctf-open.c:1408:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1408:10: call_function: calling ‘ctf_bufopen’ from ‘ctf_simple_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
gdb-16.3/libctf/ctf-open.c:1675:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1626:11: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1626:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1636:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1636:10: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1653:44: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1675:7: throw: if ‘ctf_str_create_atoms’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1675:7: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
gdb-16.3/libctf/ctf-open.c:1802:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1626:11: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1626:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1629:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1802:3: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1802:3: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
gdb-16.3/libctf/ctf-open.c:1802:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1626:11: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1626:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1629:25: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1802:3: throw: if ‘ctf_set_open_errno’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1802:3: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
gdb-16.3/libctf/ctf-open.c:1803:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:25: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1597:11: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1803:3: throw: if ‘ctf_err_warn_to_open’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1803:3: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
gdb-16.3/libctf/ctf-open.c:1803:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
gdb-16.3/libctf/ctf-open.c:1442:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1443:10: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1442:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1449:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1465:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1469:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1484:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1492:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1492:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1495:13: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1495:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-open.c:1495:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
gdb-16.3/libctf/ctf-open.c:1498:3: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1500:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1506:15: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1507:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1510:6: branch_false: following ‘false’ branch (when ‘foreign_endian == 0’)...
gdb-16.3/libctf/ctf-open.c:1512:23: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1518:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1518:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1532:31: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1527:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1539:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-open.c:1551:6: branch_false: ...to here
gdb-16.3/libctf/ctf-open.c:1584:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1594:27: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1594:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-open.c:1597:11: branch_true: ...to here
gdb-16.3/libctf/ctf-open.c:1803:3: throw: if ‘ctf_err_warn_to_open’ throws an exception...
gdb-16.3/libctf/ctf-open.c:1803:3: danger: ‘fp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
gdb-16.3/libctf/ctf-string.c:266:11: warning[-Wanalyzer-malloc-leak]: leak of ‘aref’
gdb-16.3/libctf/ctf-string.c:248:10: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:250:6: branch_false: following ‘false’ branch (when ‘aref’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:253:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:260:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:264:34: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:266:11: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-string.c:266:11: danger: ‘aref’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
gdb-16.3/libctf/ctf-string.c:274:5: warning[-Wanalyzer-malloc-leak]: leak of ‘aref’
gdb-16.3/libctf/ctf-string.c:248:10: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:250:6: branch_false: following ‘false’ branch (when ‘aref’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:253:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:260:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:274:5: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:274:5: throw: if ‘ctf_list_append’ throws an exception...
gdb-16.3/libctf/ctf-string.c:274:5: danger: ‘aref’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
gdb-16.3/libctf/ctf-string.c:349:7: warning[-Wanalyzer-malloc-leak]: leak of ‘atom’
gdb-16.3/libctf/ctf-string.c:302:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:331:15: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:331:15: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:331:6: branch_false: following ‘false’ branch (when ‘atom’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:333:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:338:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:339:75: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:338:7: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:347:5: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:349:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-string.c:349:7: danger: ‘atom’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
gdb-16.3/libctf/ctf-string.c:349:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newstr’
gdb-16.3/libctf/ctf-string.c:302:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:331:15: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:331:6: branch_false: following ‘false’ branch (when ‘atom’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:333:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:341:21: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:341:10: branch_false: following ‘false’ branch (when ‘newstr’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:343:7: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:349:7: throw: if ‘ctf_dynhash_insert’ throws an exception...
gdb-16.3/libctf/ctf-string.c:349:7: danger: ‘newstr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
gdb-16.3/libctf/ctf-string.c:588:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:796:3: call_function: inlined call to ‘ctf_str_purge_refs’ from ‘ctf_str_write_strtab’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
gdb-16.3/libctf/ctf-string.c:588:3: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:796:3: call_function: inlined call to ‘ctf_str_purge_refs’ from ‘ctf_str_write_strtab’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
gdb-16.3/libctf/ctf-string.c:683:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:683:17: throw: if ‘ctf_dynhash_next’ throws an exception...
gdb-16.3/libctf/ctf-string.c:683:17: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
gdb-16.3/libctf/ctf-string.c:688:14: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:683:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:685:19: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:688:14: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-string.c:688:14: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
gdb-16.3/libctf/ctf-string.c:693:15: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:683:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:685:19: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:689:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:692:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:693:15: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:693:15: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
gdb-16.3/libctf/ctf-string.c:694:18: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:683:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:685:19: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:689:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:692:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:692:11: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:694:18: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:694:18: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:694:18: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
gdb-16.3/libctf/ctf-string.c:702:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:702:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:702:7: throw: if ‘ctf_errmsg’ throws an exception...
gdb-16.3/libctf/ctf-string.c:702:7: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
gdb-16.3/libctf/ctf-string.c:707:3: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:707:3: throw: if ‘ctf_dprintf’ throws an exception...
gdb-16.3/libctf/ctf-string.c:707:3: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
gdb-16.3/libctf/ctf-string.c:721:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:17: throw: if ‘ctf_dynhash_next’ throws an exception...
gdb-16.3/libctf/ctf-string.c:721:17: danger: ‘sorttab’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
gdb-16.3/libctf/ctf-string.c:721:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:17: throw: if ‘ctf_dynhash_next’ throws an exception...
gdb-16.3/libctf/ctf-string.c:721:17: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
gdb-16.3/libctf/ctf-string.c:725:14: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:725:14: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-string.c:725:14: danger: ‘sorttab’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
gdb-16.3/libctf/ctf-string.c:725:14: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:725:14: throw: if ‘ctf_dynhash_lookup’ throws an exception...
gdb-16.3/libctf/ctf-string.c:725:14: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
gdb-16.3/libctf/ctf-string.c:730:15: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:726:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:729:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:730:15: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:730:15: danger: ‘sorttab’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
gdb-16.3/libctf/ctf-string.c:730:15: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:726:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:729:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:730:15: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:730:15: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
gdb-16.3/libctf/ctf-string.c:731:18: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:726:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:729:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:729:11: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:731:18: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:731:18: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:731:18: danger: ‘sorttab’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
gdb-16.3/libctf/ctf-string.c:731:18: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:721:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:725:14: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:726:10: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:729:11: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:729:11: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:731:18: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:731:18: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:731:18: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
gdb-16.3/libctf/ctf-string.c:737:3: warning[-Wanalyzer-malloc-leak]: leak of ‘sorttab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:713:13: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:737:3: throw: if ‘qsort’ throws an exception...
gdb-16.3/libctf/ctf-string.c:737:3: danger: ‘sorttab’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
gdb-16.3/libctf/ctf-string.c:737:3: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:737:3: throw: if ‘qsort’ throws an exception...
gdb-16.3/libctf/ctf-string.c:737:3: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
gdb-16.3/libctf/ctf-string.c:772:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:17: throw: if ‘ctf_dynhash_next’ throws an exception...
gdb-16.3/libctf/ctf-string.c:772:17: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
gdb-16.3/libctf/ctf-string.c:772:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:17: throw: if ‘ctf_dynhash_next’ throws an exception...
gdb-16.3/libctf/ctf-string.c:772:17: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
gdb-16.3/libctf/ctf-string.c:777:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:774:23: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:777:11: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:777:11: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
gdb-16.3/libctf/ctf-string.c:777:11: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:774:23: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:777:11: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:777:11: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
gdb-16.3/libctf/ctf-string.c:778:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:774:23: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:777:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:778:11: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:778:11: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:778:11: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
gdb-16.3/libctf/ctf-string.c:778:11: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:772:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:774:23: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:777:10: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:778:11: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:778:11: throw: if ‘ctf_list_empty_p’ throws an exception...
gdb-16.3/libctf/ctf-string.c:778:11: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
gdb-16.3/libctf/ctf-string.c:792:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:792:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:792:7: throw: if ‘ctf_errmsg’ throws an exception...
gdb-16.3/libctf/ctf-string.c:792:7: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
gdb-16.3/libctf/ctf-string.c:792:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:792:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:792:7: throw: if ‘ctf_errmsg’ throws an exception...
gdb-16.3/libctf/ctf-string.c:792:7: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
gdb-16.3/libctf/ctf-string.c:800:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:796:3: call_function: inlined call to ‘ctf_str_purge_refs’ from ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:798:6: branch_true: following ‘true’ branch (when ‘any_external == 0’)...
gdb-16.3/libctf/ctf-string.c:800:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:800:7: throw: if ‘ctf_dynhash_destroy’ throws an exception...
gdb-16.3/libctf/ctf-string.c:800:7: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
gdb-16.3/libctf/ctf-string.c:800:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
gdb-16.3/libctf/ctf-string.c:648:1: enter_function: entry to ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:661:12: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:796:3: call_function: inlined call to ‘ctf_str_purge_refs’ from ‘ctf_str_write_strtab’
gdb-16.3/libctf/ctf-string.c:798:6: branch_true: following ‘true’ branch (when ‘any_external == 0’)...
gdb-16.3/libctf/ctf-string.c:800:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:800:7: throw: if ‘ctf_dynhash_destroy’ throws an exception...
gdb-16.3/libctf/ctf-string.c:800:7: danger: ‘strtab’ leaks here; was allocated at [(2)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
gdb-16.3/libctf/ctf-string.c:827:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-string.c:662:6: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:671:21: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:700:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:709:32: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: following ‘false’ branch (when ‘sorttab’ is non-NULL)...
gdb-16.3/libctf/ctf-string.c:714:6: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:740:27: acquire_memory: allocated here
gdb-16.3/libctf/ctf-string.c:740:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-string.c:743:16: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:745:6: branch_false: following ‘false’ branch (when ‘new_strtab == 0’)...
gdb-16.3/libctf/ctf-string.c:751:31: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:760:15: branch_false: following ‘false’ branch (when ‘strtab_count <= i’)...
gdb-16.3/libctf/ctf-string.c:766:3: branch_false: ...to here
gdb-16.3/libctf/ctf-string.c:790:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-string.c:792:7: branch_true: ...to here
gdb-16.3/libctf/ctf-string.c:827:3: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def299]
gdb-16.3/libctf/ctf-subr.c:226:7: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/libctf/ctf-subr.c:221:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-subr.c:225:7: branch_true: ...to here
gdb-16.3/libctf/ctf-subr.c:225:7: acquire_resource: ‘va_start’ called here
gdb-16.3/libctf/ctf-subr.c:226:7: throw: if ‘fflush’ throws an exception...
gdb-16.3/libctf/ctf-subr.c:226:7: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
gdb-16.3/libctf/ctf-util.c:281:7: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 80)’
gdb-16.3/libctf/ctf-util.c:273:1: enter_function: entry to ‘ctf_next_copy’
gdb-16.3/libctf/ctf-util.c:277:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-util.c:279:3: branch_false: ...to here
gdb-16.3/libctf/ctf-util.c:281:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-util.c:283:22: branch_true: ...to here
gdb-16.3/libctf/ctf-util.c:283:22: call_function: calling ‘ctf_next_copy’ from ‘ctf_next_copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
gdb-16.3/libctf/ctf-util.c:297:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libctf/ctf-util.c:273:1: enter_function: entry to ‘ctf_next_copy’
gdb-16.3/libctf/ctf-util.c:277:6: branch_false: following ‘false’ branch...
gdb-16.3/libctf/ctf-util.c:279:3: branch_false: ...to here
gdb-16.3/libctf/ctf-util.c:281:6: branch_true: following ‘true’ branch...
gdb-16.3/libctf/ctf-util.c:283:22: branch_true: ...to here
gdb-16.3/libctf/ctf-util.c:283:22: call_function: calling ‘ctf_next_copy’ from ‘ctf_next_copy’
Error: CPPCHECK_WARNING (CWE-457): [#def302]
gdb-16.3/libdecnumber/bid/bid2dpd_dpd2bid.c:305: error[legacyUninitvar]: Uninitialized variable: BH
Error: GCC_ANALYZER_WARNING (CWE-126): [#def303]
gdb-16.3/libdecnumber/decNumber.c:6376:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gdb-16.3/libdecnumber/decNumber.c:7268:13: enter_function: entry to ‘decFinalize’
gdb-16.3/libdecnumber/decNumber.c:7305:6: branch_true: following ‘true’ branch...
gdb-16.3/libdecnumber/decNumber.c:7305:20: call_function: inlined call to ‘decApplyRound’ from ‘decFinalize’
Error: COMPILER_WARNING: [#def304]
gdb-16.3/libdecnumber/bid/decimal64.c:30: included_from: Included from here.
gdb-16.3/libdecnumber/dpd/decimal64.c: scope_hint: In function ‘decDigitsToDPD’
gdb-16.3/libdecnumber/dpd/decimal64.c:617:8: warning[-Wunused-but-set-variable=]: variable ‘n’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def305]
gdb-16.3/libdecnumber/dpd/decimal64.c:678:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*inu’
gdb-16.3/libdecnumber/dpd/decimal64.c:629:6: branch_true: following ‘true’ branch (when ‘shift != 0’)...
gdb-16.3/libdecnumber/dpd/decimal64.c:637:31: branch_true: ...to here
gdb-16.3/libdecnumber/dpd/decimal64.c:676:12: branch_true: following ‘true’ branch (when ‘digits > 0’)...
gdb-16.3/libdecnumber/dpd/decimal64.c:678:11: branch_true: ...to here
gdb-16.3/libdecnumber/dpd/decimal64.c:678:11: danger: use of uninitialized value ‘*inu’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
gdb-16.3/libiberty/argv.c:416:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_resource: opened here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:11: throw: if ‘fseek’ throws an exception...
gdb-16.3/libiberty/argv.c:416:11: danger: ‘fopen(filename + 1, "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
gdb-16.3/libiberty/argv.c:416:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_memory: allocated here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:11: throw: if ‘fseek’ throws an exception...
gdb-16.3/libiberty/argv.c:416:11: danger: ‘fopen(filename + 1, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
gdb-16.3/libiberty/argv.c:418:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_resource: opened here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:418:13: throw: if ‘ftell’ throws an exception...
gdb-16.3/libiberty/argv.c:418:13: danger: ‘fopen(filename + 1, "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
gdb-16.3/libiberty/argv.c:418:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_memory: allocated here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:418:13: throw: if ‘ftell’ throws an exception...
gdb-16.3/libiberty/argv.c:418:13: danger: ‘fopen(filename + 1, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
gdb-16.3/libiberty/argv.c:421:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_resource: opened here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:419:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:421:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:421:11: throw: if ‘fseek’ throws an exception...
gdb-16.3/libiberty/argv.c:421:11: danger: ‘fopen(filename + 1, "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
gdb-16.3/libiberty/argv.c:421:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_memory: allocated here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:419:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:421:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:421:11: throw: if ‘fseek’ throws an exception...
gdb-16.3/libiberty/argv.c:421:11: danger: ‘fopen(filename + 1, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
gdb-16.3/libiberty/argv.c:423:34: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_resource: opened here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:419:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:421:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:421:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:423:34: branch_false: ...to here
gdb-16.3/libiberty/argv.c:423:25: throw: if ‘xmalloc’ throws an exception...
gdb-16.3/libiberty/argv.c:423:34: danger: ‘fopen(filename + 1, "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
gdb-16.3/libiberty/argv.c:423:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename + 1, "r")’
gdb-16.3/libiberty/argv.c:370:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/argv.c:394:18: branch_true: ...to here
gdb-16.3/libiberty/argv.c:395:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:398:10: branch_false: ...to here
gdb-16.3/libiberty/argv.c:398:10: branch_false: following ‘false’ branch (when ‘iteration_limit != 0’)...
gdb-16.3/libiberty/argv.c:404:17: branch_false: ...to here
gdb-16.3/libiberty/argv.c:404:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:406:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:406:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:413:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:413:11: acquire_memory: allocated here
gdb-16.3/libiberty/argv.c:414:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:416:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:416:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:418:13: branch_false: ...to here
gdb-16.3/libiberty/argv.c:419:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:421:11: branch_false: ...to here
gdb-16.3/libiberty/argv.c:421:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/argv.c:423:34: branch_false: ...to here
gdb-16.3/libiberty/argv.c:423:25: throw: if ‘xmalloc’ throws an exception...
gdb-16.3/libiberty/argv.c:423:34: danger: ‘fopen(filename + 1, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def314]
gdb-16.3/libiberty/concat.c:147:12: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/libiberty/concat.c:146:3: acquire_resource: ‘va_start’ called here
gdb-16.3/libiberty/concat.c:147:12: throw: if ‘xmalloc’ throws an exception...
gdb-16.3/libiberty/concat.c:147:12: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def315]
gdb-16.3/libiberty/concat.c:184:12: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/libiberty/concat.c:183:3: acquire_resource: ‘va_start’ called here
gdb-16.3/libiberty/concat.c:184:12: throw: if ‘xmalloc’ throws an exception...
gdb-16.3/libiberty/concat.c:184:12: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-562): [#def316]
gdb-16.3/libiberty/cp-demangle.c:5183: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def317]
gdb-16.3/libiberty/cp-demangle.c:5221: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def318]
gdb-16.3/libiberty/cp-demangle.c:5242: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def319]
gdb-16.3/libiberty/cp-demangle.c:5717: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def320]
gdb-16.3/libiberty/cp-demangle.c:6745: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-909): [#def321]
gdb-16.3/libiberty/cp-demangle.c:6752: error[uninitStructMember]: Uninitialized struct member: dpt.next
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
gdb-16.3/libiberty/cp-demint.c:223:10: warning[-Wanalyzer-malloc-leak]: leak of ‘di.comps’
gdb-16.3/libiberty/cp-demint.c:212:15: acquire_memory: allocated here
gdb-16.3/libiberty/cp-demint.c:215:6: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:222:6: branch_true: following ‘true’ branch (when ‘type == 0’)...
gdb-16.3/libiberty/cp-demint.c:223:10: branch_true: ...to here
gdb-16.3/libiberty/cp-demint.c:223:10: throw: if ‘cplus_demangle_mangled_name’ throws an exception...
gdb-16.3/libiberty/cp-demint.c:223:10: danger: ‘di.comps’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
gdb-16.3/libiberty/cp-demint.c:223:10: warning[-Wanalyzer-malloc-leak]: leak of ‘di.subs’
gdb-16.3/libiberty/cp-demint.c:214:14: acquire_memory: allocated here
gdb-16.3/libiberty/cp-demint.c:215:6: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:215:7: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:215:7: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:222:6: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:222:6: branch_true: following ‘true’ branch (when ‘type == 0’)...
gdb-16.3/libiberty/cp-demint.c:223:10: branch_true: ...to here
gdb-16.3/libiberty/cp-demint.c:223:10: throw: if ‘cplus_demangle_mangled_name’ throws an exception...
gdb-16.3/libiberty/cp-demint.c:223:10: danger: ‘di.subs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
gdb-16.3/libiberty/cp-demint.c:225:10: warning[-Wanalyzer-malloc-leak]: leak of ‘di.comps’
gdb-16.3/libiberty/cp-demint.c:204:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:209:3: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:212:15: acquire_memory: allocated here
gdb-16.3/libiberty/cp-demint.c:215:6: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:222:6: branch_false: following ‘false’ branch (when ‘type != 0’)...
gdb-16.3/libiberty/cp-demint.c:225:10: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:225:10: throw: if ‘cplus_demangle_type’ throws an exception...
gdb-16.3/libiberty/cp-demint.c:225:10: danger: ‘di.comps’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
gdb-16.3/libiberty/cp-demint.c:225:10: warning[-Wanalyzer-malloc-leak]: leak of ‘di.subs’
gdb-16.3/libiberty/cp-demint.c:204:10: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:209:3: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:214:14: acquire_memory: allocated here
gdb-16.3/libiberty/cp-demint.c:215:6: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:215:7: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:215:7: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/cp-demint.c:222:6: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:222:6: branch_false: following ‘false’ branch (when ‘type != 0’)...
gdb-16.3/libiberty/cp-demint.c:225:10: branch_false: ...to here
gdb-16.3/libiberty/cp-demint.c:225:10: throw: if ‘cplus_demangle_type’ throws an exception...
gdb-16.3/libiberty/cp-demint.c:225:10: danger: ‘di.subs’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def326]
gdb-16.3/libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gdb-16.3/libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gdb-16.3/libiberty/dyn-string.c:251:32: branch_false: ...to here
gdb-16.3/libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gdb-16.3/libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def327]
gdb-16.3/libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gdb-16.3/libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gdb-16.3/libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def328]
gdb-16.3/libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gdb-16.3/libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gdb-16.3/libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def329]
gdb-16.3/libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gdb-16.3/libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gdb-16.3/libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def330]
gdb-16.3/libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gdb-16.3/libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gdb-16.3/libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def331]
gdb-16.3/libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gdb-16.3/libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gdb-16.3/libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gdb-16.3/libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gdb-16.3/libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: CPPCHECK_WARNING (CWE-476): [#def332]
gdb-16.3/libiberty/make-relative-prefix.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-688): [#def333]
gdb-16.3/libiberty/make-relative-prefix.c:110:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected
gdb-16.3/libiberty/make-relative-prefix.c:118:1: enter_function: entry to ‘split_directories’
gdb-16.3/libiberty/make-relative-prefix.c:150:6: branch_false: following ‘false’ branch (when ‘dirs’ is non-NULL)...
gdb-16.3/libiberty/make-relative-prefix.c:150:6: branch_false: ...to here
gdb-16.3/libiberty/make-relative-prefix.c:188:6: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/make-relative-prefix.c:189:24: branch_true: ...to here
gdb-16.3/libiberty/make-relative-prefix.c:189:24: call_function: calling ‘save_string’ from ‘split_directories’
Error: CPPCHECK_WARNING (CWE-476): [#def334]
gdb-16.3/libiberty/make-relative-prefix.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-127): [#def335]
gdb-16.3/libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gdb-16.3/libiberty/make-relative-prefix.c:150:6: branch_false: following ‘false’ branch (when ‘dirs’ is non-NULL)...
gdb-16.3/libiberty/make-relative-prefix.c:150:6: branch_false: ...to here
gdb-16.3/libiberty/make-relative-prefix.c:188:6: branch_false: following ‘false’ branch...
gdb-16.3/libiberty/make-relative-prefix.c:190:7: branch_false: ...to here
gdb-16.3/libiberty/make-relative-prefix.c:192:7: danger: out-of-bounds read from byte -8 till byte -1 but region starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
gdb-16.3/libiberty/make-relative-prefix.c:215:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gdb-16.3/libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gdb-16.3/libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
gdb-16.3/libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gdb-16.3/libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gdb-16.3/libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
gdb-16.3/libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gdb-16.3/libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gdb-16.3/libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: CPPCHECK_WARNING (CWE-401): [#def339]
gdb-16.3/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
Error: GCC_ANALYZER_WARNING (CWE-787): [#def340]
gdb-16.3/libiberty/simple-object-mach-o.c:1102:11: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def341]
gdb-16.3/libiberty/simple-object-mach-o.c:1103:11: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def342]
gdb-16.3/libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def343]
gdb-16.3/libiberty/simple-object-mach-o.c:1160:11: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def344]
gdb-16.3/libiberty/simple-object-mach-o.c:1162:28: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def345]
gdb-16.3/libiberty/simple-object-mach-o.c:1163:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def346]
gdb-16.3/libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def347]
gdb-16.3/libiberty/simple-object-mach-o.c:1226:7: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gdb-16.3/libiberty/simple-object-mach-o.c:1345:1: enter_function: entry to ‘simple_object_mach_o_write_to_file’
gdb-16.3/libiberty/simple-object-mach-o.c:1351:8: call_function: calling ‘simple_object_mach_o_write_segment’ from ‘simple_object_mach_o_write_to_file’
Error: CPPCHECK_WARNING (CWE-562): [#def348]
gdb-16.3/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def349]
gdb-16.3/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def350]
gdb-16.3/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def351]
gdb-16.3/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def352]
gdb-16.3/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def353]
gdb-16.3/libiberty/simple-object.c:312: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
gdb-16.3/libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gdb-16.3/libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gdb-16.3/libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gdb-16.3/libiberty/strerror.c:750:11: branch_true: ...to here
gdb-16.3/libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/strerror.c:752:11: branch_true: ...to here
gdb-16.3/libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gdb-16.3/libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gdb-16.3/libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/strerror.c:756:27: branch_true: ...to here
gdb-16.3/libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
gdb-16.3/libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gdb-16.3/libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gdb-16.3/libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gdb-16.3/libiberty/strsignal.c:518:11: branch_true: ...to here
gdb-16.3/libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/strsignal.c:520:11: branch_true: ...to here
gdb-16.3/libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gdb-16.3/libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gdb-16.3/libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gdb-16.3/libiberty/strsignal.c:524:28: branch_true: ...to here
gdb-16.3/libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: CPPCHECK_WARNING (CWE-664): [#def356]
gdb-16.3/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def357]
gdb-16.3/libiberty/vprintf-support.c:65: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def358]
gdb-16.3/libiberty/vprintf-support.c:75: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def359]
gdb-16.3/libiberty/vprintf-support.c:129: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def360]
gdb-16.3/libiberty/xasprintf.c:47:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/libiberty/xasprintf.c:46:3: acquire_resource: ‘va_start’ called here
gdb-16.3/libiberty/xasprintf.c:47:9: throw: if ‘xvasprintf’ throws an exception...
gdb-16.3/libiberty/xasprintf.c:47:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def361]
gdb-16.3/libsframe/sframe-dump.c:76:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
gdb-16.3/libsframe/sframe-dump.c:222:1: enter_function: entry to ‘dump_sframe’
gdb-16.3/libsframe/sframe-dump.c:226:3: call_function: calling ‘dump_sframe_header’ from ‘dump_sframe’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def362]
gdb-16.3/libsframe/sframe-dump.c:81:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
gdb-16.3/libsframe/sframe-dump.c:222:1: enter_function: entry to ‘dump_sframe’
gdb-16.3/libsframe/sframe-dump.c:226:3: call_function: calling ‘dump_sframe_header’ from ‘dump_sframe’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def363]
gdb-16.3/libsframe/sframe-dump.c:85:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
gdb-16.3/libsframe/sframe-dump.c:222:1: enter_function: entry to ‘dump_sframe’
gdb-16.3/libsframe/sframe-dump.c:226:3: call_function: calling ‘dump_sframe_header’ from ‘dump_sframe’
Error: CPPCHECK_WARNING (CWE-476): [#def364]
gdb-16.3/libsframe/sframe-dump.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flags_str
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
gdb-16.3/libsframe/sframe-dump.c:101:3: warning[-Wanalyzer-malloc-leak]: leak of ‘flags_str’
gdb-16.3/libsframe/sframe-dump.c:222:1: enter_function: entry to ‘dump_sframe’
gdb-16.3/libsframe/sframe-dump.c:226:3: call_function: calling ‘dump_sframe_header’ from ‘dump_sframe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
gdb-16.3/libsframe/sframe.c:110:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
gdb-16.3/libsframe/sframe.c:1390:1: enter_function: entry to ‘sframe_encoder_get_hdr_size’
gdb-16.3/libsframe/sframe.c:1393:9: call_function: inlined call to ‘sframe_encoder_get_header’ from ‘sframe_encoder_get_hdr_size’
gdb-16.3/libsframe/sframe.c:1394:10: call_function: inlined call to ‘sframe_get_hdr_size’ from ‘sframe_encoder_get_hdr_size’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
gdb-16.3/libsframe/sframe.c:870:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dctx’
gdb-16.3/libsframe/sframe.c:869:6: branch_false: following ‘false’ branch...
gdb-16.3/libsframe/sframe.c:871:11: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:871:11: branch_false: following ‘false’ branch (when ‘sf_size > 27’)...
gdb-16.3/libsframe/sframe.c:877:51: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:882:10: branch_true: following ‘true’ branch...
gdb-16.3/libsframe/sframe.c:889:15: branch_true: ...to here
gdb-16.3/libsframe/sframe.c:889:15: acquire_memory: allocated here
gdb-16.3/libsframe/sframe.c:889:6: branch_false: following ‘false’ branch...
gdb-16.3/libsframe/sframe.c:891:3: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:893:6: branch_true: following ‘true’ branch (when ‘foreign_endian != 0’)...
gdb-16.3/libsframe/sframe.c:896:26: branch_true: ...to here
gdb-16.3/libsframe/sframe.c:870:12: danger: ‘dctx’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-401): [#def368]
gdb-16.3/libsframe/sframe.c:898: error[memleak]: Memory leak: dctx
Error: CPPCHECK_WARNING (CWE-401): [#def369]
gdb-16.3/libsframe/sframe.c:908: error[memleak]: Memory leak: dctx
Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
gdb-16.3/libsframe/sframe.c:987:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
gdb-16.3/libsframe/sframe.c:983:1: enter_function: entry to ‘sframe_decoder_get_abi_arch’
gdb-16.3/libsframe/sframe.c:986:19: call_function: inlined call to ‘sframe_decoder_get_header’ from ‘sframe_decoder_get_abi_arch’
gdb-16.3/libsframe/sframe.c:987:10: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:987:10: danger: dereference of NULL ‘hp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
gdb-16.3/libsframe/sframe.c:1006:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
gdb-16.3/libsframe/sframe.c:1002:1: enter_function: entry to ‘sframe_decoder_get_fixed_fp_offset’
gdb-16.3/libsframe/sframe.c:1005:9: call_function: inlined call to ‘sframe_decoder_get_header’ from ‘sframe_decoder_get_fixed_fp_offset’
gdb-16.3/libsframe/sframe.c:1006:10: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:1006:10: danger: dereference of NULL ‘hp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def372]
gdb-16.3/libsframe/sframe.c:1015:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
gdb-16.3/libsframe/sframe.c:1011:1: enter_function: entry to ‘sframe_decoder_get_fixed_ra_offset’
gdb-16.3/libsframe/sframe.c:1014:9: call_function: inlined call to ‘sframe_decoder_get_header’ from ‘sframe_decoder_get_fixed_ra_offset’
gdb-16.3/libsframe/sframe.c:1015:10: branch_false: ...to here
gdb-16.3/libsframe/sframe.c:1015:10: danger: dereference of NULL ‘hp’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def373]
gdb-16.3/opcodes/aarch64-dis.c:2770:29: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: COMPILER_WARNING (CWE-704): [#def374]
gdb-16.3/opcodes/aarch64-dis.c: scope_hint: In function ‘remove_dot_suffix’
gdb-16.3/opcodes/aarch64-dis.c:4027:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def375]
gdb-16.3/opcodes/aarch64-dis.c:4027:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def376]
gdb-16.3/opcodes/aarch64-opc.c:1384: warning[uninitvar]: Uninitialized variable: &imm_enc.encoding
Error: GCC_ANALYZER_WARNING (CWE-404): [#def377]
gdb-16.3/opcodes/aarch64-opc.c:3772:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/opcodes/aarch64-opc.c:3771:3: acquire_resource: ‘va_start’ called here
gdb-16.3/opcodes/aarch64-opc.c:3772:9: throw: if the called function throws an exception...
gdb-16.3/opcodes/aarch64-opc.c:3772:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def378]
gdb-16.3/opcodes/aarch64-opc.c:3787:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/opcodes/aarch64-opc.c:3786:3: acquire_resource: ‘va_start’ called here
gdb-16.3/opcodes/aarch64-opc.c:3787:9: throw: if the called function throws an exception...
gdb-16.3/opcodes/aarch64-opc.c:3787:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def379]
gdb-16.3/opcodes/aarch64-opc.c:3802:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/opcodes/aarch64-opc.c:3801:3: acquire_resource: ‘va_start’ called here
gdb-16.3/opcodes/aarch64-opc.c:3802:9: throw: if the called function throws an exception...
gdb-16.3/opcodes/aarch64-opc.c:3802:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def380]
gdb-16.3/opcodes/aarch64-opc.c:3817:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gdb-16.3/opcodes/aarch64-opc.c:3816:3: acquire_resource: ‘va_start’ called here
gdb-16.3/opcodes/aarch64-opc.c:3817:9: throw: if the called function throws an exception...
gdb-16.3/opcodes/aarch64-opc.c:3817:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def381]
gdb-16.3/opcodes/aarch64-opc.c:5501: error[ctunullpointer]: Null pointer dereference: inst
Error: CPPCHECK_WARNING (CWE-476): [#def382]
gdb-16.3/opcodes/aarch64-opc.c:5501: warning[nullPointer]: Possible null pointer dereference: inst
Error: CPPCHECK_WARNING (CWE-562): [#def383]
gdb-16.3/opcodes/i386-dis.c:9522: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-704): [#def384]
gdb-16.3/opcodes/riscv-dis.c: scope_hint: In function ‘parse_riscv_dis_option’
gdb-16.3/opcodes/riscv-dis.c:126:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def385]
gdb-16.3/opcodes/riscv-dis.c:126:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def386]
gdb-16.3/opcodes/riscv-dis.c: scope_hint: In function ‘riscv_update_map_state’
gdb-16.3/opcodes/riscv-dis.c:1082:22: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def387]
gdb-16.3/opcodes/riscv-dis.c:1082:22: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-401): [#def388]
gdb-16.3/opcodes/s390-mkopc.c:98: error[memleakOnRealloc]: Common realloc mistake: 'op_array' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def389]
gdb-16.3/opcodes/s390-mkopc.c:117:3: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘64’) >= precision of type (‘64’)
gdb-16.3/opcodes/s390-mkopc.c:367:1: enter_function: entry to ‘main’
gdb-16.3/opcodes/s390-mkopc.c:375:10: branch_true: following ‘true’ branch...
gdb-16.3/opcodes/s390-mkopc.c:390:11: branch_true: ...to here
gdb-16.3/opcodes/s390-mkopc.c:403:10: branch_false: following ‘false’ branch...
gdb-16.3/opcodes/s390-mkopc.c:409:11: branch_false: ...to here
gdb-16.3/opcodes/s390-mkopc.c:517:7: call_function: calling ‘insertExpandedMnemonic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
gdb-16.3/opcodes/s390-mkopc.c:121:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gdb-16.3/opcodes/s390-mkopc.c:367:1: enter_function: entry to ‘main’
gdb-16.3/opcodes/s390-mkopc.c:375:10: branch_true: following ‘true’ branch...
gdb-16.3/opcodes/s390-mkopc.c:390:11: branch_true: ...to here
gdb-16.3/opcodes/s390-mkopc.c:403:10: branch_false: following ‘false’ branch...
gdb-16.3/opcodes/s390-mkopc.c:409:11: branch_false: ...to here
gdb-16.3/opcodes/s390-mkopc.c:517:7: call_function: calling ‘insertExpandedMnemonic’ from ‘main’
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-154.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | gdb-16.3-6.fc44 |
| store-results-to | /tmp/tmpdnah1rlk/gdb-16.3-6.fc44.tar.xz |
| time-created | 2026-01-08 16:36:44 |
| time-finished | 2026-01-08 16:54:50 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpdnah1rlk/gdb-16.3-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdnah1rlk/gdb-16.3-6.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |