binutils-2.43.50-5.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c: scope_hint: In function ‘_bfd_compute_and_write_armap’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c:2389:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syms’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c: scope_hint: In function ‘_bfd_compute_and_write_armap’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c: scope_hint: In function ‘_bfd_compute_and_write_armap’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c: scope_hint: In function ‘_bfd_compute_and_write_armap’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:1279:8: note: in expansion of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/archive.c:2381:26: note: in expansion of macro ‘bfd_canonicalize_symtab’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def2]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/bfd.c: scope_hint: In function ‘bfd_errmsg’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/bfd.c:889:25: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: CPPCHECK_WARNING (CWE-457): [#def3]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3375: warning[uninitvar]: Uninitialized variable: *pelength
Error: GCC_ANALYZER_WARNING (CWE-457): [#def4]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coff-i386.c:706: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/pei-i386.c:45: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_read_word’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3375:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pelength’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def5]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3848:22: warning[-Wanalyzer-deref-before-check]: check of ‘*((struct bfd_symbol **)psymsec)’ for NULL after already dereferencing it
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3782:11: note: in expansion of macro ‘COFF_ENCODE_ALIGNMENT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:915:32: note: in expansion of macro ‘coff_backend_info’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3814:31: note: in expansion of macro ‘bfd_coff_scnhsz’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def6]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coff-x86_64.c:887: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/pe-x86_64.c:104: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3848:22: warning[-Wanalyzer-deref-before-check]: check of ‘**abfd.outsymbols’ for NULL after already dereferencing it
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/pe-x86_64.c:29: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3782:11: note: in expansion of macro ‘COFF_ENCODE_ALIGNMENT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/pe-x86_64.c:30: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:915:32: note: in expansion of macro ‘coff_backend_info’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3814:31: note: in expansion of macro ‘bfd_coff_scnhsz’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:30: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def7]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3848:22: warning[-Wanalyzer-deref-before-check]: check of ‘*psym’ for NULL after already dereferencing it
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3782:11: note: in expansion of macro ‘COFF_ENCODE_ALIGNMENT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:915:32: note: in expansion of macro ‘coff_backend_info’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3814:31: note: in expansion of macro ‘bfd_coff_scnhsz’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3847:26: note: in expansion of macro ‘coff_symbol_from’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3872:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘csym’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coff-i386.c:31: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h:3782:11: note: in expansion of macro ‘COFF_ENCODE_ALIGNMENT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffcode.h: scope_hint: In function ‘coff_write_object_contents’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffgen.c: scope_hint: In function ‘_bfd_coff_gc_mark_hook’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffgen.c:2945:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffgen.c: scope_hint: In function ‘_bfd_coff_gc_mark_hook’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:30: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffgen.c:44: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/coffgen.c:618:7: note: in expansion of macro ‘coff_section_data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c: scope_hint: In function ‘_bfd_coff_generic_relocate_section’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:3004:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:29: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libcoff.h:46:40: note: in expansion of macro ‘coff_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:2943:45: note: in expansion of macro ‘obj_raw_syment_count’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:2952:15: note: in expansion of macro ‘obj_coff_sym_hashes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:3132:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/cofflink.c:25: included_from: Included from here.
Error: COMPILER_WARNING (CWE-1164): [#def12]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c:206:1: warning[-Wunused-function]: ‘find’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c:1312:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/doc/chew.c: scope_hint: In function ‘add_to_definition’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c: scope_hint: In function ‘_bfd_elf_parse_eh_frame’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:744:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cie’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:583:11: note: in definition of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:621:3: note: in expansion of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:583:11: note: in definition of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:625:3: note: in expansion of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:25: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-bfd.h:1902:39: note: in definition of macro ‘xvec_get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:627:15: note: in expansion of macro ‘get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:629:3: note: in expansion of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:661:3: note: in expansion of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:583:11: note: in definition of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c: scope_hint: In function ‘_bfd_elf_parse_eh_frame’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:712:7: note: in expansion of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:583:11: note: in definition of macro ‘REQUIRE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c: scope_hint: In function ‘_bfd_elf_parse_eh_frame’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c: scope_hint: In function ‘offset_adjust’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:1361:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:1366:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:1374:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c: scope_hint: In function ‘_bfd_elf_fixup_eh_frame_hdr’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-eh-frame.c:2324:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c: scope_hint: In function ‘elf_i386_finish_dynamic_symbol’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3597:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3707:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:21: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3631:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:25: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:207:3: note: in expansion of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3682:11: note: in expansion of macro ‘bfd_put_32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3743:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:7551:30: note: in definition of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3739:13: note: in expansion of macro ‘bfd_put_32’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3631:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:207:3: note: in expansion of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3739:13: note: in expansion of macro ‘bfd_put_32’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:7551:30: note: in definition of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3739:13: note: in expansion of macro ‘bfd_put_32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3766:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3631:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3776:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3631:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-bfd.h:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:28: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3775:28: note: in expansion of macro ‘ELF32_R_INFO’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3805:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3931:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3862:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:26: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/bfdlink.h:331:37: note: in expansion of macro ‘bfd_link_dll’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3915:20: note: in expansion of macro ‘bfd_link_pic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3972:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3606:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3862:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf32-i386.c:3949:19: note: in expansion of macro ‘SYMBOL_REFERENCES_LOCAL_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libbfd.h:749:14: note: in definition of macro ‘BFD_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_check_tls_transition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:1277:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:22: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_check_tls_transition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libbfd.h:749:14: note: in definition of macro ‘BFD_ASSERT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2077:15: note: in expansion of macro ‘is_x86_elf’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_check_tls_transition’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-bfd.h:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/elf/common.h:1083:43: note: in definition of macro ‘ELF_ST_TYPE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-bfd.h:1902:39: note: in definition of macro ‘xvec_get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:106:4: note: in expansion of macro ‘get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2159:12: note: in expansion of macro ‘ABI_64_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_convert_load_reloc’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:1727:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_convert_load_reloc’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2070:10: note: in expansion of macro ‘elf_x86_hash_table’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/libbfd.h:749:14: note: in definition of macro ‘BFD_ASSERT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2077:15: note: in expansion of macro ‘is_x86_elf’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_convert_load_reloc’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2113:23: note: in expansion of macro ‘NUM_SHDR_ENTRIES’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/elf/common.h:1083:43: note: in definition of macro ‘ELF_ST_TYPE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf-bfd.h:1902:39: note: in definition of macro ‘xvec_get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:106:4: note: in expansion of macro ‘get_elf_backend_data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:2159:12: note: in expansion of macro ‘ABI_64_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:1708:10: note: in expansion of macro ‘elf_x86_hash_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_finish_dynamic_symbol’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4607:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4718:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:7551:30: note: in definition of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4715:13: note: in expansion of macro ‘bfd_put_64’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4643:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:216:3: note: in expansion of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4715:13: note: in expansion of macro ‘bfd_put_64’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:7551:30: note: in definition of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4715:13: note: in expansion of macro ‘bfd_put_64’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4733:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4643:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4747:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4643:7: note: in expansion of macro ‘VERIFY_PLT_ENTRY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4794:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4899:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4858:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4925:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4858:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:26: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/bfdlink.h:331:37: note: in expansion of macro ‘bfd_link_dll’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4909:20: note: in expansion of macro ‘bfd_link_pic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4952:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4858:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/bfdlink.h:331:37: note: in expansion of macro ‘bfd_link_dll’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4942:16: note: in expansion of macro ‘bfd_link_pic’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4943:19: note: in expansion of macro ‘SYMBOL_REFERENCES_LOCAL_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4945:16: note: in expansion of macro ‘SYMBOL_DEFINED_NON_SHARED_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4965:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.h:536:5: note: in definition of macro ‘GOT_TLS_GD_P’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4858:12: note: in expansion of macro ‘GOT_TLS_GD_ANY_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4991:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4616:21: note: in expansion of macro ‘UNDEFINED_WEAK_RESOLVED_TO_ZERO’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4986:7: note: in expansion of macro ‘VERIFY_COPY_RELOC’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:4986:7: note: in expansion of macro ‘VERIFY_COPY_RELOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c: scope_hint: In function ‘elf_x86_64_reloc_type_class’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elf64-x86-64.c:5055:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c: scope_hint: In function ‘_bfd_x86_elf_create_sframe_plt’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:1854:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:1864:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:1874:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c: scope_hint: In function ‘_bfd_x86_elf_write_sframe_plt’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:1977:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:1981:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c: scope_hint: In function ‘_bfd_x86_elf_link_report_tls_transition_error’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/elfxx-x86.c:3266:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:135:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:135:24: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:333:23: note: in expansion of macro ‘HEX2’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:513:13: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:297:21: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:135:24: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:333:23: note: in expansion of macro ‘HEX2’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:135:24: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:333:23: note: in expansion of macro ‘HEX2’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:135:24: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:333:23: note: in expansion of macro ‘HEX2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:125: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c: scope_hint: In function ‘ihex_scan’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:323:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:323:21: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:513:13: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:297:21: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:323:21: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:323:21: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:137:23: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/ihex.c:323:21: note: in expansion of macro ‘ISHEX’
Error: CPPCHECK_WARNING (CWE-119): [#def48]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/peXXigen.c:302: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ext->x_file.x_fname
Error: CPPCHECK_WARNING (CWE-457): [#def49]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/peXXigen.c:2667: warning[uninitvar]: Uninitialized variable: signature
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:107: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c: scope_hint: In function ‘srec_scan’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:521:30: note: in expansion of macro ‘HEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:121:21: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:469:19: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:115:22: note: in expansion of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:479:33: note: in expansion of macro ‘HEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:521:30: note: in expansion of macro ‘HEX’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:527:30: note: in expansion of macro ‘HEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:121:21: note: in expansion of macro ‘hex_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:469:19: note: in expansion of macro ‘ISHEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:115:22: note: in expansion of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:479:33: note: in expansion of macro ‘HEX’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/libiberty.h:396:69: note: in definition of macro ‘hex_value’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:116:23: note: in expansion of macro ‘NIBBLE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/srec.c:527:30: note: in expansion of macro ‘HEX’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def52]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/stabs.c: scope_hint: In function ‘_bfd_link_section_stabs’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/stabs.c:401:20: warning[-Wanalyzer-null-argument]: use of NULL ‘symb’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/stabs.c:28: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/stabs.c:389:11: note: in expansion of macro ‘BFD_ASSERT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/sysdep.h:38: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/bfd/stabs.c:26: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null
Error: CPPCHECK_WARNING (CWE-562): [#def53]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/debug.c:3075: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c: scope_hint: In function ‘setup_archive’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c:512:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*arch.file_name’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c: scope_hint: In function ‘setup_nested_archive’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c:613:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(member_file_name, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c:613:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(member_file_name, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c: scope_hint: In function ‘setup_archive’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c:615:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(member_file_name, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfcomm.c:615:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(member_file_name, "rb")’
Error: CPPCHECK_WARNING (CWE-119): [#def59]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfedit.c:471: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ehdr32.e_type
Error: CPPCHECK_WARNING (CWE-119): [#def60]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/elfedit.c:504: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ehdr64.e_type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def61]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/prdbg.c: scope_hint: In function ‘substitute_type’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/prdbg.c:414:49: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘s’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/prdbg.c:27: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/prdbg.c:426:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘s’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def63]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/readelf.c:2555: error[legacyUninitvar]: Uninitialized variable: rels
Error: CPPCHECK_WARNING (CWE-119): [#def64]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/readelf.c:23492: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ehdr32.e_type
Error: CPPCHECK_WARNING (CWE-119): [#def65]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/readelf.c:23513: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: ehdr64.e_type
Error: GCC_ANALYZER_WARNING (CWE-457): [#def66]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c: scope_hint: In function ‘display_utf8_char’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:755:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer[2]’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:1105:17: note: in expansion of macro ‘STRING_ISGRAPHIC’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def67]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:762:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer[2]’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:1105:17: note: in expansion of macro ‘STRING_ISGRAPHIC’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:762:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer[3]’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/strings.c:1105:17: note: in expansion of macro ‘STRING_ISGRAPHIC’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_modify_type’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:925:26: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_function_type.part.0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:970:26: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def71]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_offset_type’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:1109:36: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def72]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_method_type’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:1196:27: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def73]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_tag’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:1932:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def74]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_typed_constant’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:1978:34: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:30: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_variable’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2023:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2023:13: note: in expansion of macro ‘ISDIGIT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2023:13: note: in expansion of macro ‘ISDIGIT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def76]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2043:34: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def77]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_start_function.part.0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2063:34: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def78]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c: scope_hint: In function ‘stab_function_parameter’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/binutils/wrstabs.c:2113:34: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:2325:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘abfd’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c: scope_hint: In function ‘auto_export’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3731:1: note: in expansion of macro ‘pe_dll_build_sections’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:462:1: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:850:7: note: in expansion of macro ‘pe_dll_kill_ats’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/ld/ei386pe.c: scope_hint: In function ‘pe_fixup_stdcalls’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/ld/ei386pe.c:1086:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/config/obj-elf.c: scope_hint: In function ‘elf_frob_file_before_adjust’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/config/obj-elf.c:3016:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
Error: CPPCHECK_WARNING (CWE-457): [#def82]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/dwarf2dbg.c:1093: error[uninitvar]: Uninitialized variable: *lss->pmove_tail
Error: GCC_ANALYZER_WARNING (CWE-688): [#def83]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/listing.c: scope_hint: In function ‘buffer_line’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/listing.c:514:7: warning[-Wanalyzer-null-argument]: use of NULL ‘last_open_file’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/as.h:42: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/listing.c:90: included_from: Included from here.
/usr/include/stdio.h:575:12: note: argument 1 of ‘fgetc’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def84]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/macro.c: scope_hint: In function ‘buffer_and_nest’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/macro.c:108:16: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-835): [#def85]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:1501:40: warning[-Wanalyzer-infinite-loop]: infinite loop
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c: scope_hint: In function ‘equals’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c: scope_hint: In function ‘mri_comment_end’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:1519:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stop’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/as.h:562: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:33: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:4352:3: note: in expansion of macro ‘expression’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/as.h:164:17: note: in expansion of macro ‘gas_assert’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:1516:3: note: in expansion of macro ‘know’
Error: CPPCHECK_WARNING (CWE-682): [#def87]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:5268: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def88]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:5320: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def89]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/as.h:578: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c: scope_hint: In function ‘decode_base64_and_append’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:5613:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b[1]’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/frags.h:124:51: note: in definition of macro ‘FRAG_APPEND_1_CHAR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c: scope_hint: In function ‘decode_base64_and_append’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/read.c:5611:3: note: in expansion of macro ‘gas_assert’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/frags.h:124:51: note: in definition of macro ‘FRAG_APPEND_1_CHAR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gas/frags.h:124:51: note: in definition of macro ‘FRAG_APPEND_1_CHAR’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def90]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/basic_blocks.c: scope_hint: In function ‘annotate_with_count’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/basic_blocks.c:439:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&tmpbuf’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def91]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c: scope_hint: In function ‘gmon_out_read’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c:351:15: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gprof.h:34: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c:22: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/build-x86_64-redhat-linux/bfd/bfd.h:211:3: note: in expansion of macro ‘BFD_SEND’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c:314:27: note: in expansion of macro ‘bfd_get_32’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c: scope_hint: In function ‘gmon_out_write’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c:587:30: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "w")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/gmon_io.c:587:30: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "w")’
Error: CPPCHECK_WARNING (CWE-823): [#def94]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/hist.c:649: error[arrayIndexOutOfBounds]: Array 'SItab[11]' accessed at index 11, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/source.c: scope_hint: In function ‘annotate_source’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/source.c:119:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprof/source.c:119:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "r")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/dbe_hwcfuncs.c:23: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c: scope_hint: In function ‘process_data_descriptor’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c:410:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dsp’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def98]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c: scope_hint: In function ‘hwcfuncs_parse_attrs’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c:472:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘counter_copy’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c: scope_hint: In function ‘hwcfuncs_parse_ctr’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwcfuncs.c:559:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/dbe_hwctable.c:23: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c: scope_hint: In function ‘ptr_list_add’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c:1400:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(attr)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c: scope_hint: In function ‘list_append_shallow_copy’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c:1405:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c: scope_hint: In function ‘list_append_shallow_copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c:1405:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c: scope_hint: In function ‘list_append_shallow_copy’
Error: CPPCHECK_WARNING (CWE-457): [#def103]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/common/hwctable.c:2826: warning[uninitvar]: Uninitialized variable: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:35: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c: scope_hint: In function ‘gprofng_posix_spawnp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/descendants.h:56:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘guard’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1504:3: note: in expansion of macro ‘PUSH_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1512:5: note: in definition of macro ‘DCL_POSIX_SPAWNP’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1526:1: note: in expansion of macro ‘DCL_FUNC_VER’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/collector.h:53:3: note: in expansion of macro ‘DCL_POSIX_SPAWNP’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1526:1: note: in expansion of macro ‘DCL_FUNC_VER’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1504:3: note: in expansion of macro ‘PUSH_REENTRANCE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c: scope_hint: In function ‘gprofng_fgetpos’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:84:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘guard’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2924:7: note: in expansion of macro ‘POP_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/collector_module.h:26: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/collector.h:29: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:38: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2956:1: note: in expansion of macro ‘DCL_FGETPOS’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2919:3: note: in expansion of macro ‘PUSH_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2922:7: note: in expansion of macro ‘RECHCK_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2922:7: note: in expansion of macro ‘RECHCK_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2924:7: note: in expansion of macro ‘POP_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/iotrace.c:2924:7: note: in expansion of macro ‘POP_REENTRANCE’
Error: COMPILER_WARNING (CWE-252): [#def106]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c: scope_hint: In function ‘linetrace_ext_fork_epilogue’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:931:11: warning[-Wunused-result]: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def107]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c: scope_hint: In function ‘linetrace_ext_exec_epilogue’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/linetrace.c:1048:7: warning[-Wunused-result]: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c: scope_hint: In function ‘gprofng_pthread_join’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:85:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘guard’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:727:7: note: in expansion of macro ‘POP_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:33: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:757:1: note: in expansion of macro ‘DCL_PTHREAD_JOIN’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:722:3: note: in expansion of macro ‘PUSH_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:725:7: note: in expansion of macro ‘RECHCK_NREENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:725:7: note: in expansion of macro ‘RECHCK_NREENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:727:7: note: in expansion of macro ‘POP_REENTRANCE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/libcollector/synctrace.c:727:7: note: in expansion of macro ‘POP_REENTRANCE’
Error: COMPILER_WARNING (CWE-252): [#def109]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/DbeSession.cc: scope_hint: In destructor ‘DbeSession::~DbeSession()’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/DbeSession.cc:457:14: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def110]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/DbeSession.cc: scope_hint: In member function ‘void DbeSession::unlink_tmp_files()’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/DbeSession.cc:481:14: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-457): [#def111]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/Elf.cc: scope_hint: In member function ‘Elf::elf_getdata(unsigned int)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/Elf.cc:412:13: warning[-Wmaybe-uninitialized]: ‘*_135’ may be used uninitialized
Error: COMPILER_WARNING (CWE-252): [#def112]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/Experiment.cc: scope_hint: In member function ‘char* Experiment::ExperimentFile::fgets()’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/Experiment.cc:274:15: warning[-Wunused-result]: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def113]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/StringBuilder.cc: scope_hint: In member function ‘void StringBuilder::write(int)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/StringBuilder.cc:455:13: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def114]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/dbe_collctrl.cc:28: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/collctrl.cc: scope_hint: In member function ‘char* Coll_Ctrl::set_expt(const char*, char**, bool)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/collctrl.cc:1967:14: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def115]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/count.cc: scope_hint: In member function ‘void collect::get_count_data()’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/count.cc:214:13: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def116]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/gp-archive.cc: scope_hint: In member function ‘int er_archive::clean_old_archive(char*, ArchiveExp*)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/gp-archive.cc:251:14: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def117]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/gp-collect-app.cc: scope_hint: In member function ‘void collect::writeStr(int, const char*)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/gp-collect-app.cc:1520:11: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def118]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipc.cc: scope_hint: In function ‘void fatalErrorHadler(int, siginfo_t*, void*)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipc.cc:134:10: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def119]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipc.cc: scope_hint: In function ‘void ipc_mainLoop(int, char**)’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipc.cc:2639:15: warning[-Wunused-result]: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def120]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipc.cc:2656:13: warning[-Wunused-result]: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def121]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipcio.cc: scope_hint: In member function ‘void IPCresponse::print()’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/ipcio.cc:880:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-401): [#def122]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/gprofng/src/vec.h:244: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/sframe.h:168:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:110:10: note: in expansion of macro ‘SFRAME_V1_HDR_SIZE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_encoder_get_hdr_size’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_encoder_get_hdr_size’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:110:10: note: in expansion of macro ‘SFRAME_V1_HDR_SIZE’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:110:10: note: in expansion of macro ‘SFRAME_V1_HDR_SIZE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldelfgen.c: scope_hint: In function ‘add_link_order_input_section’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldelfgen.c:60:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘os’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c: scope_hint: In function ‘update_definedness’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c:322:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c: scope_hint: In function ‘exp_fold_tree_1’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c:1214:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c:1241:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldexp.c:1249:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
Error: CPPCHECK_WARNING (CWE-476): [#def129]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldlang.c:1482: warning[nullPointer]: Possible null pointer dereference: region
Error: CPPCHECK_WARNING (CWE-476): [#def130]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldlang.c:1483: warning[nullPointer]: Possible null pointer dereference: region
Error: GCC_ANALYZER_WARNING (CWE-688): [#def131]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c: scope_hint: In function ‘write_dependency_file’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:201:3: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(config.dependency_file, "w")’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/sysdep.h:30: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:22: included_from: Included from here.
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c: scope_hint: In function ‘main’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:629:27: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(output_filename, "r")’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:28: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:58:6: note: in definition of macro ‘IS_DIR_SEPARATOR_1’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:53:31: note: in expansion of macro ‘IS_UNIX_DIR_SEPARATOR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:706:7: note: in expansion of macro ‘IS_DIR_SEPARATOR’
/usr/include/stdio.h:728:15: note: argument 4 of ‘fread’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def133]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:631:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(xmalloc((long unsigned int)(len + 5)), "w")’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:58:6: note: in definition of macro ‘IS_DIR_SEPARATOR_1’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:53:31: note: in expansion of macro ‘IS_UNIX_DIR_SEPARATOR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:706:7: note: in expansion of macro ‘IS_DIR_SEPARATOR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ld.h:43: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:31: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:627:24: note: in expansion of macro ‘_’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:638:19: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(xmalloc((long unsigned int)(len + 5)), "w")’ where non-null expected
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:58:6: note: in definition of macro ‘IS_DIR_SEPARATOR_1’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/filenames.h:53:31: note: in expansion of macro ‘IS_UNIX_DIR_SEPARATOR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:706:7: note: in expansion of macro ‘IS_DIR_SEPARATOR’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmain.c:627:24: note: in expansion of macro ‘_’
/usr/include/stdio.h:184:12: note: argument 1 of ‘fclose’ must be non-null
Error: CPPCHECK_WARNING (CWE-664): [#def135]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldmisc.c:660: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'arg' without va_end() in between.
Error: GCC_ANALYZER_WARNING (CWE-787): [#def136]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c: scope_hint: In function ‘clone_section’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:322:31: warning[-Wanalyzer-out-of-bounds]: buffer over-read
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:322:17: note: in expansion of macro ‘ISDIGIT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:322:17: note: in expansion of macro ‘ISDIGIT’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:322:17: note: in expansion of macro ‘ISDIGIT’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def137]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:324:23: warning[-Wanalyzer-out-of-bounds]: buffer over-read
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/safe-ctype.h:87:42: note: in definition of macro ‘_sch_test’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:322:17: note: in expansion of macro ‘ISDIGIT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c: scope_hint: In function ‘split_sections’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ldwrite.c:498:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/lexsup.c: scope_hint: In function ‘parse_args’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/lexsup.c:1453:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘optarg2’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/ld.h:43: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/lexsup.c:33: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/lexsup.c:1447:22: note: in expansion of macro ‘_’
Error: CPPCHECK_WARNING (CWE-457): [#def140]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:602: warning[uninitvar]: Uninitialized variables: &key.internal_name, &key.ordinal, &key.hint, &key.flag_private, &key.flag_constant, &key.flag_noname, &key.flag_data, &key.flag_forward
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c: scope_hint: In function ‘auto_export’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:612:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘abfd’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3731:1: note: in expansion of macro ‘pe_dll_build_sections’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:462:1: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:850:7: note: in expansion of macro ‘pe_dll_kill_ats’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:611:11: note: in expansion of macro ‘pe_dll_extra_pe_debug’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c: scope_hint: In function ‘process_def_file_and_drectve’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:896:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3731:1: note: in expansion of macro ‘pe_dll_build_sections’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:462:1: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:850:7: note: in expansion of macro ‘pe_dll_kill_ats’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def143]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c: scope_hint: In function ‘generate_edata’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:1133:25: warning[-Wanalyzer-out-of-bounds]: buffer overflow
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3731:1: note: in expansion of macro ‘pe_dll_build_sections’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:462:1: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3733:3: note: in expansion of macro ‘pe_dll_id_target’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:850:7: note: in expansion of macro ‘pe_dll_kill_ats’
Error: CPPCHECK_WARNING (CWE-457): [#def144]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3138: warning[uninitvar]: Uninitialized variable: &key.oname
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c: scope_hint: In function ‘pe_find_cdecl_alias_match’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/pe-dll.c:3172:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/plugin.c: scope_hint: In function ‘plugin_load_plugins’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/plugin.c:1149:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/plugin.c: scope_hint: In function ‘plugin_object_p’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/plugin.c:1315:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/plugin.c: scope_hint: In function ‘plugin_object_p’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug.c: scope_hint: In function ‘onclaim_file’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug.c:573:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
Error: COMPILER_WARNING: [#def149]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug2.c:77:25: warning[-Wunused-const-variable=]: ‘tag_names’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def150]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug2.c: scope_hint: In function ‘xstrdup’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug2.c:514:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING: [#def151]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug3.c:77:25: warning[-Wunused-const-variable=]: ‘tag_names’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def152]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug3.c: scope_hint: In function ‘xstrdup’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug3.c:493:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING: [#def153]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug4.c:77:25: warning[-Wunused-const-variable=]: ‘tag_names’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def154]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug4.c: scope_hint: In function ‘xstrdup’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/ld/testplug4.c:520:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def155]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-archive.c: scope_hint: In function ‘ctf_arc_import_parent’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-archive.c:768:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
Error: CPPCHECK_WARNING (CWE-190): [#def156]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-create.c:526: error[integerOverflow]: Signed integer overflow for expression '-8'.
Error: CPPCHECK_WARNING (CWE-190): [#def157]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-create.c:628: error[integerOverflow]: Signed integer overflow for expression '-8'.
Error: GCC_ANALYZER_WARNING (CWE-122): [#def158]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c: scope_hint: In function ‘ctf_dynhash_create_sized’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c:186:25: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c:186:25: note: write of 8 bytes to beyond the end of the region
Error: GCC_ANALYZER_WARNING (CWE-122): [#def159]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c:187:27: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c:187:27: note: write of 8 bytes to beyond the end of the region
Error: GCC_ANALYZER_WARNING (CWE-131): [#def160]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c: scope_hint: In function ‘ctf_hashtab_insert’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-hash.c:233:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-inlines.h:96:17: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-link.c: scope_hint: In function ‘ctf_accumulate_archive_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-inlines.h:96:17: warning[-Wanalyzer-malloc-leak]: leak of ‘names’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-link.c: scope_hint: In function ‘ctf_accumulate_archive_names’
Error: CPPCHECK_WARNING (CWE-457): [#def163]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-link.c:254: error[uninitvar]: Uninitialized variable: err
Error: CPPCHECK_WARNING (CWE-457): [#def164]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-link.c:1760: error[legacyUninitvar]: Uninitialized variable: name
Error: GCC_ANALYZER_WARNING (CWE-131): [#def165]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-lookup.c: scope_hint: In function ‘ctf_symidx_sort’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-lookup.c:590:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: CPPCHECK_WARNING (CWE-457): [#def166]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1385: error[uninitvar]: Uninitialized variables: &skeleton.cts_data, &skeleton.cts_size
Error: CPPCHECK_WARNING (CWE-401): [#def167]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1524: error[memleak]: Memory leak: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1524:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1512:27: note: in expansion of macro ‘cth_flags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c: scope_hint: In function ‘ctf_bufopen.part.0’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1524:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/include/ctf-api.h:29: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-impl.h:27: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:20: included_from: Included from here.
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1512:27: note: in expansion of macro ‘cth_flags’
Error: CPPCHECK_WARNING (CWE-401): [#def170]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1536: error[memleak]: Memory leak: fp
Error: CPPCHECK_WARNING (CWE-401): [#def171]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1546: error[memleak]: Memory leak: fp
Error: CPPCHECK_WARNING (CWE-401): [#def172]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1560: error[memleak]: Memory leak: fp
Error: CPPCHECK_WARNING (CWE-401): [#def173]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-open.c:1573: error[memleak]: Memory leak: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-string.c: scope_hint: In function ‘ctf_str_write_strtab’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libctf/ctf-string.c:827:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: COMPILER_WARNING: [#def175]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c: scope_hint: In function ‘cplus_demangle_print_callback.constprop’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:4642:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: CPPCHECK_WARNING (CWE-562): [#def176]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:5183: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def177]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:5221: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def178]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:5242: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def179]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:5717: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def180]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:6745: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-909): [#def181]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:6752: error[uninitStructMember]: Uninitialized struct member: dpt.next
Error: COMPILER_WARNING: [#def182]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c: scope_hint: In function ‘d_demangle_callback.constprop’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:6794:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def183]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c: scope_hint: In function ‘d_demangle’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:6911:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def184]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c: scope_hint: In function ‘is_ctor_or_dtor’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/cp-demangle.c:7117:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: GCC_ANALYZER_WARNING (CWE-465): [#def185]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_insert’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def186]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_insert_cstr’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def187]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_insert_char’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def188]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_append’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def189]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_append_cstr’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def190]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c: scope_hint: In function ‘dyn_string_append_char’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
Error: CPPCHECK_WARNING (CWE-823): [#def191]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/hashtab.c:187: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def192]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c: scope_hint: In function ‘save_string’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c:110:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-127): [#def193]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c: scope_hint: In function ‘split_directories’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c:192:11: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c: scope_hint: In function ‘make_relative_prefix_1’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c:274:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def195]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/make-relative-prefix.c:280:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def196]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/obstack.c: scope_hint: In function ‘_obstack_newchunk’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/obstack.c:210:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
Error: CPPCHECK_WARNING (CWE-401): [#def197]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object-mach-o.c: scope_hint: In function ‘simple_object_mach_o_write_segment’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object-mach-o.c:1159:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object-mach-o.c:1210:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
Error: CPPCHECK_WARNING (CWE-562): [#def200]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def201]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def202]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def203]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def204]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def205]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/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): [#def206]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/strerror.c: scope_hint: In function ‘strtoerrno’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/strerror.c:756:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/strsignal.c: scope_hint: In function ‘strtosigno’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/strsignal.c:524:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
Error: CPPCHECK_WARNING (CWE-664): [#def208]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def209]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/vprintf-support.c:65: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def210]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/vprintf-support.c:75: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def211]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libiberty/vprintf-support.c:129: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def212]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe-dump.c: scope_hint: In function ‘dump_sframe_header’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe-dump.c:76:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def213]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe-dump.c:81:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def214]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe-dump.c:85:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decode’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:870:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dctx’
Error: CPPCHECK_WARNING (CWE-401): [#def216]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:898: error[memleak]: Memory leak: dctx
Error: CPPCHECK_WARNING (CWE-401): [#def217]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:908: error[memleak]: Memory leak: dctx
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_abi_arch’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:987:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_abi_arch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_fixed_fp_offset’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:1006:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_fixed_fp_offset’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_fixed_ra_offset’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:1015:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hp’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_decoder_get_fixed_ra_offset’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_sort_funcdesc’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c:1649:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘encoder’
binutils-2.43.50-build/binutils-2.43.50-22c62092858/libsframe/sframe.c: scope_hint: In function ‘sframe_sort_funcdesc’
Error: CPPCHECK_WARNING (CWE-562): [#def222]
binutils-2.43.50-build/binutils-2.43.50-22c62092858/opcodes/i386-dis.c:9407: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-102.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | binutils-2.43.50-5.fc42 |
store-results-to | /tmp/tmp5wfj0cex/binutils-2.43.50-5.fc42.tar.xz |
time-created | 2024-11-12 23:25:57 |
time-finished | 2024-11-12 23:40:33 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp5wfj0cex/binutils-2.43.50-5.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp5wfj0cex/binutils-2.43.50-5.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |