gcc-15.0.1-0.14.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:90:13: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:95:10: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-569): [#def3]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:97:10: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def4]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:109:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def5]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:109:19: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:178:15: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
Error: SHELLCHECK_WARNING (CWE-252): [#def7]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:183:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def8]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:191:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def9]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:193:8: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-569): [#def10]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:261:9: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def11]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:262:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def12]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:264:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:278:3: warning[SC2034]: cwd appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-569): [#def14]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:278:8: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def15]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:281:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def16]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:286:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-156): [#def17]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:286:10: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-252): [#def18]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:291:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:293:7: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def20]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:297:22: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def21]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:302:15: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def22]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:302:28: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-398): [#def23]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:309:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
Error: SHELLCHECK_WARNING (CWE-398): [#def24]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:323:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
Error: SHELLCHECK_WARNING (CWE-252): [#def25]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:340:11: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def26]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:344:13: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def27]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:374:17: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def28]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:374:28: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def29]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:16: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def30]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:27: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def31]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:39: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-398): [#def32]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:380:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
Error: SHELLCHECK_WARNING (CWE-456): [#def33]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:391:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-252): [#def34]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:11: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def35]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:25: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def36]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:33: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def37]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:403:12: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def38]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:403:18: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
Error: SHELLCHECK_WARNING (CWE-252): [#def39]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:419:3: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-456): [#def40]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:433:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-156): [#def41]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:433:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-252): [#def42]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:442:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def43]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:443:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-456): [#def44]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:462:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-252): [#def45]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:468:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def46]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:475:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:497:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def48]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:505:26: warning[SC1010]: Use semicolon or linefeed before 'done' (or quote to make it literal).
Error: SHELLCHECK_WARNING: [#def49]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:33:12: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def50]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:43:12: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-277): [#def51]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:93:14: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
Error: SHELLCHECK_WARNING (CWE-456): [#def52]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:115:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: COMPILER_WARNING (CWE-457): [#def53]
gcc-15.0.1-20250418/gcc/ada/treepr.adb: scope_hint: In function ‘Treepr.Print_Node’
gcc-15.0.1-20250418/gcc/ada/treepr.adb:1331:12: warning[-Wmaybe-uninitialized]: ‘Should_Print’ may be used uninitialized
gcc-15.0.1-20250418/gcc/ada/treepr.adb:1327:10: note: ‘Should_Print’ declared here
Error: COMPILER_WARNING (CWE-134): [#def54]
gcc-15.0.1-20250418/gcc/analyzer/program-state.cc: scope_hint: In function ‘void ana::log_set_of_svalues(logger*, const char*, const svalue_set&)’
gcc-15.0.1-20250418/gcc/analyzer/program-state.cc:1597:15: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def55]
gcc-15.0.1-20250418/gcc/c-family/c-common.cc: scope_hint: In function ‘void c_parse_error(const char*, cpp_ttype, tree, unsigned char, rich_location*)’
gcc-15.0.1-20250418/gcc/c-family/c-common.cc:6948:14: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def56]
gcc-15.0.1-20250418/gcc/c-family/c-common.cc:6952:16: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-562): [#def57]
gcc-15.0.1-20250418/gcc/c-family/c-omp.cc:1444: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-134): [#def58]
gcc-15.0.1-20250418/gcc/c-family/c-warn.cc: scope_hint: In function ‘void do_warn_array_compare(location_t, tree_code, tree, tree)’
gcc-15.0.1-20250418/gcc/c-family/c-warn.cc:3853:23: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def59]
gcc-15.0.1-20250418/gcc/c/c-convert.cc: scope_hint: In function ‘tree_node* c_convert(tree, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-convert.cc:84:13: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def60]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘int convert_arguments(location_t, vec<long unsigned int>, tree, vec<tree_node*, va_gc>*, vec<tree_node*, va_gc>*, tree, tree)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:4450:17: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def61]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘tree_node* build_unary_op(location_t, tree_code, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:5268:16: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def62]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘void warning_init(location_t, int, const char*)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:7567:23: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def63]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘tree_node* build_binary_op(location_t, tree_code, tree, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:13757:16: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-476): [#def64]
gcc-15.0.1-20250418/gcc/cfgloop.h:540: error[ctunullpointer]: Null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def65]
gcc-15.0.1-20250418/gcc/cfgloop.h:540: warning[nullPointer]: Possible null pointer dereference: loop
Error: COMPILER_WARNING (CWE-134): [#def66]
gcc-15.0.1-20250418/gcc/collect-utils.cc: scope_hint: In function ‘pex_obj* collect_execute(const char*, char**, const char*, const char*, int, bool, const char*)’
gcc-15.0.1-20250418/gcc/collect-utils.cc:237:21: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def67]
gcc-15.0.1-20250418/gcc/collect2.cc: scope_hint: In function ‘void scan_prog_file(const char*, scanpass, scanfilter)’
gcc-15.0.1-20250418/gcc/collect2.cc:2403:21: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING: [#def68]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc: scope_hint: In function ‘main’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:684:13: warning[-Wpedantic]: a member of a structure or union cannot have a variably modified type
Error: COMPILER_WARNING: [#def69]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:685:10: warning[-Wpedantic]: a member of a structure or union cannot have a variably modified type
Error: COMPILER_WARNING (CWE-674): [#def70]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md: scope_hint: In function ‘rtx_def* gen_vec_cmpuv2sidi_exec(rtx, rtx, rtx, rtx, rtx)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3788:1: warning[-Winfinite-recursion]: infinite recursion detected
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3798:15: note: recursive call
Error: COMPILER_WARNING (CWE-674): [#def71]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md: scope_hint: In function ‘rtx_def* gen_vec_cmpuv16didi_exec(rtx, rtx, rtx, rtx, rtx)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3828:8: warning[-Winfinite-recursion]: infinite recursion detected
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3798:15: note: recursive call
Error: COMPILER_WARNING (CWE-134): [#def72]
gcc-15.0.1-20250418/gcc/config/gcn/gcn.cc: scope_hint: In function ‘void print_operand(FILE*, rtx, int)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn.cc:7721:19: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-197): [#def73]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/tm.h:23: included_from: Included from here.
gcc-15.0.1-20250418/gcc/backend.h:28: included_from: Included from here.
gcc-15.0.1-20250418/gcc/reginfo.cc:31: included_from: Included from here.
gcc-15.0.1-20250418/gcc/config/gcn/gcn.h:469:44: warning[-Wnarrowing]: narrowing conversion of ‘-1073741824’ from ‘int’ to ‘unsigned int’
gcc-15.0.1-20250418/gcc/reginfo.cc:113:5: note: in expansion of macro ‘REG_CLASS_CONTENTS’
Error: COMPILER_WARNING (CWE-197): [#def74]
gcc-15.0.1-20250418/gcc/config/gcn/gcn.h:482:43: warning[-Wnarrowing]: narrowing conversion of ‘-1073741583’ from ‘int’ to ‘unsigned int’
gcc-15.0.1-20250418/gcc/reginfo.cc:113:5: note: in expansion of macro ‘REG_CLASS_CONTENTS’
Error: COMPILER_WARNING: [#def75]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘void process_asm(FILE*, FILE*, FILE*)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:485:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
Error: COMPILER_WARNING: [#def76]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:496:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
Error: COMPILER_WARNING: [#def77]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:517:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
Error: COMPILER_WARNING: [#def78]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:530:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
Error: COMPILER_WARNING: [#def79]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:542:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
Error: COMPILER_WARNING: [#def80]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1248:40: warning[-Wformat-overflow=]: ‘sprintf’ may write a terminating nul past the end of the destination
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1248:31: note: ‘sprintf’ output between 2 and 11 bytes into a destination of size 10
Error: COMPILER_WARNING: [#def81]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1327:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
Error: COMPILER_WARNING: [#def82]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1331:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
Error: COMPILER_WARNING: [#def83]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1337:68: warning[-Wformat-diag]: unquoted keyword ‘asm’ in format
Error: CPPCHECK_WARNING (CWE-758): [#def84]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:84: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def85]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:85: error[shiftTooManyBits]: Shifting 64-bit value by 65 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def86]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:86: error[shiftTooManyBits]: Shifting 64-bit value by 66 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def87]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:87: error[shiftTooManyBits]: Shifting 64-bit value by 67 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def88]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:88: error[shiftTooManyBits]: Shifting 64-bit value by 68 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def89]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:89: error[shiftTooManyBits]: Shifting 64-bit value by 69 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def90]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:90: error[shiftTooManyBits]: Shifting 64-bit value by 70 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def91]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:91: error[shiftTooManyBits]: Shifting 64-bit value by 71 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def92]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:92: error[shiftTooManyBits]: Shifting 64-bit value by 72 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def93]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:93: error[shiftTooManyBits]: Shifting 64-bit value by 73 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def94]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:94: error[shiftTooManyBits]: Shifting 64-bit value by 74 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def95]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:95: error[shiftTooManyBits]: Shifting 64-bit value by 75 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def96]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:96: error[shiftTooManyBits]: Shifting 64-bit value by 76 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def97]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:97: error[shiftTooManyBits]: Shifting 64-bit value by 77 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def98]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:98: error[shiftTooManyBits]: Shifting 64-bit value by 78 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def99]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:99: error[shiftTooManyBits]: Shifting 64-bit value by 79 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def100]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:100: error[shiftTooManyBits]: Shifting 64-bit value by 80 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def101]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:101: error[shiftTooManyBits]: Shifting 64-bit value by 81 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def102]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:102: error[shiftTooManyBits]: Shifting 64-bit value by 82 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def103]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:103: error[shiftTooManyBits]: Shifting 64-bit value by 83 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def104]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:104: error[shiftTooManyBits]: Shifting 64-bit value by 84 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def105]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:105: error[shiftTooManyBits]: Shifting 64-bit value by 85 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def106]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:106: error[shiftTooManyBits]: Shifting 64-bit value by 86 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def107]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:107: error[shiftTooManyBits]: Shifting 64-bit value by 87 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def108]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:108: error[shiftTooManyBits]: Shifting 64-bit value by 88 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def109]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:109: error[shiftTooManyBits]: Shifting 64-bit value by 89 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def110]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:110: error[shiftTooManyBits]: Shifting 64-bit value by 90 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def111]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:111: error[shiftTooManyBits]: Shifting 64-bit value by 91 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def112]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:112: error[shiftTooManyBits]: Shifting 64-bit value by 92 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def113]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:113: error[shiftTooManyBits]: Shifting 64-bit value by 93 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def114]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:114: error[shiftTooManyBits]: Shifting 64-bit value by 94 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def115]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:115: error[shiftTooManyBits]: Shifting 64-bit value by 95 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def116]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:116: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def117]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:117: error[shiftTooManyBits]: Shifting 64-bit value by 97 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def118]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:118: error[shiftTooManyBits]: Shifting 64-bit value by 98 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def119]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:119: error[shiftTooManyBits]: Shifting 64-bit value by 99 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def120]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:120: error[shiftTooManyBits]: Shifting 64-bit value by 100 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def121]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:121: error[shiftTooManyBits]: Shifting 64-bit value by 101 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def122]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:122: error[shiftTooManyBits]: Shifting 64-bit value by 102 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def123]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:123: error[shiftTooManyBits]: Shifting 64-bit value by 103 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def124]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:124: error[shiftTooManyBits]: Shifting 64-bit value by 104 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def125]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:125: error[shiftTooManyBits]: Shifting 64-bit value by 105 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def126]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:126: error[shiftTooManyBits]: Shifting 64-bit value by 106 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def127]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:127: error[shiftTooManyBits]: Shifting 64-bit value by 107 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def128]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:128: error[shiftTooManyBits]: Shifting 64-bit value by 108 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def129]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:129: error[shiftTooManyBits]: Shifting 64-bit value by 109 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def130]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:130: error[shiftTooManyBits]: Shifting 64-bit value by 110 bits is undefined behaviour
Error: COMPILER_WARNING: [#def131]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc: scope_hint: In function ‘void compile_native(const char*, const char*, const char*, bool, bool)’
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:592:40: warning[-Wformat-diag]: unquoted identifier or keyword ‘COLLECT_GCC_OPTIONS’ in format
Error: COMPILER_WARNING: [#def132]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:613:60: warning[-Wformat-diag]: spurious trailing punctuation sequence ‘.’ in format
Error: COMPILER_WARNING: [#def133]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:644:35: warning[-Wformat-diag]: unquoted identifier or keyword ‘COLLECT_GCC’ in format
Error: COMPILER_WARNING: [#def134]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:715:26: warning[-Wformat-diag]: spurious trailing punctuation sequence ‘=’ in format
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:706:27: note: format string is defined here
Error: COMPILER_WARNING: [#def135]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:715:26: warning[-Wformat-diag]: unquoted option name ‘-foffload-abi’ in format
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:706:14: note: format string is defined here
Error: COMPILER_WARNING: [#def136]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:850:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
Error: COMPILER_WARNING: [#def137]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:854:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
Error: COMPILER_WARNING: [#def138]
gcc-15.0.1-20250418/gcc/config/nvptx/nvptx.cc: scope_hint: In function ‘void handle_ptx_version_option()’
gcc-15.0.1-20250418/gcc/config/nvptx/nvptx.cc:342:12: warning[-Wformat-diag]: unquoted identifier or keyword ‘sm_’ in format
Error: COMPILER_WARNING (CWE-134): [#def139]
gcc-15.0.1-20250418/gcc/cp/constexpr.cc: scope_hint: In function ‘bool cxx_eval_assert(const constexpr_ctx*, tree, const char*, location_t, bool, bool*, bool*)’
gcc-15.0.1-20250418/gcc/cp/constexpr.cc:2182:20: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def140]
gcc-15.0.1-20250418/gcc/cp/coroutines.cc: scope_hint: In function ‘bool coro_promise_type_found_p(tree, location_t)’
gcc-15.0.1-20250418/gcc/cp/coroutines.cc:768:18: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def141]
gcc-15.0.1-20250418/gcc/cp/cvt.cc: scope_hint: In function ‘tree_node* ocp_convert(tree, tree, int, int, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/cvt.cc:741:15: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def142]
gcc-15.0.1-20250418/gcc/cp/decl.cc: scope_hint: In function ‘bool check_previous_goto_1(tree, cp_binding_level*, tree, bool, const location_t*, vec<tree_node*, va_gc>*)’
gcc-15.0.1-20250418/gcc/cp/decl.cc:3870:20: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def143]
gcc-15.0.1-20250418/gcc/cp/error.cc: scope_hint: In constructor ‘auto_context_line::auto_context_line(diagnostic_text_output_format&, location_t, bool)’
gcc-15.0.1-20250418/gcc/cp/error.cc:3922:17: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def144]
gcc-15.0.1-20250418/gcc/cp/error.cc: scope_hint: In destructor ‘auto_context_line::~auto_context_line()’
gcc-15.0.1-20250418/gcc/cp/error.cc:3935:25: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-476): [#def145]
gcc-15.0.1-20250418/gcc/cp/except.cc:169: warning[nullPointer]: Possible null pointer dereference: args
Error: CPPCHECK_WARNING (CWE-571): [#def146]
gcc-15.0.1-20250418/gcc/cp/except.cc:634: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: CPPCHECK_WARNING (CWE-758): [#def147]
gcc-15.0.1-20250418/gcc/cp/logic.cc:452: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: CPPCHECK_WARNING (CWE-758): [#def148]
gcc-15.0.1-20250418/gcc/cp/logic.cc:561: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: COMPILER_WARNING (CWE-134): [#def149]
gcc-15.0.1-20250418/gcc/cp/method.cc: scope_hint: In function ‘void maybe_delete_defaulted_fn(tree, tree)’
gcc-15.0.1-20250418/gcc/cp/method.cc:3595:23: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-571): [#def150]
gcc-15.0.1-20250418/gcc/cp/name-lookup.cc:8713: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: COMPILER_WARNING (CWE-134): [#def151]
gcc-15.0.1-20250418/gcc/cp/pt.cc: scope_hint: In function ‘tree_node* tsubst_expr(tree, tree, tsubst_flags_t, tree)’
gcc-15.0.1-20250418/gcc/cp/pt.cc:20581:17: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-562): [#def152]
gcc-15.0.1-20250418/gcc/cp/search.cc:1960: error[returnDanglingLifetime]: Returning pointer to local variable 'lfd' that will be invalid when returning.
Error: COMPILER_WARNING (CWE-134): [#def153]
gcc-15.0.1-20250418/gcc/cp/typeck.cc: scope_hint: In function ‘tree_node* cp_build_binary_op(const op_location_t&, tree_code, tree, tree, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/typeck.cc:5385:19: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def154]
gcc-15.0.1-20250418/gcc/cp/typeck.cc: scope_hint: In function ‘tree_node* cp_build_unary_op(tree_code, tree, bool, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/typeck.cc:7502:15: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-664): [#def155]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:191: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def156]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:199: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def157]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:209: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def158]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:216: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-476): [#def159]
gcc-15.0.1-20250418/gcc/d/toir.cc:153: warning[nullPointer]: Possible null pointer dereference: f
Error: CPPCHECK_WARNING (CWE-562): [#def160]
gcc-15.0.1-20250418/gcc/diagnostic-format-json.cc:399: error[danglingLifetime]: Non-local variable 'm_cur_children_array' will use pointer to local variable 'children_array'.
Error: CPPCHECK_WARNING (CWE-476): [#def161]
gcc-15.0.1-20250418/gcc/diagnostic-format-sarif.cc:1464: warning[nullPointer]: Possible null pointer dereference: kinds_arr
Error: CPPCHECK_WARNING (CWE-664): [#def162]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1503: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def163]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1504: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def164]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1506: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def165]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1559: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def166]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1560: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def167]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1562: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
Error: COMPILER_WARNING (CWE-134): [#def168]
gcc-15.0.1-20250418/gcc/diagnostic.cc: scope_hint: In function ‘void fancy_abort(const char*, int, const char*)’
gcc-15.0.1-20250418/gcc/diagnostic.cc:1729:15: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-476): [#def169]
gcc-15.0.1-20250418/gcc/double-int.cc:95: error[ctunullpointer]: Null pointer dereference: hi
Error: CPPCHECK_WARNING (CWE-457): [#def170]
gcc-15.0.1-20250418/gcc/double-int.cc:684: error[uninitvar]: Uninitialized variable: mask.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def171]
gcc-15.0.1-20250418/gcc/double-int.cc:735: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def172]
gcc-15.0.1-20250418/gcc/double-int.cc:766: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def173]
gcc-15.0.1-20250418/gcc/double-int.cc:803: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def174]
gcc-15.0.1-20250418/gcc/double-int.cc:826: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def175]
gcc-15.0.1-20250418/gcc/double-int.cc:839: error[uninitvar]: Uninitialized variable: lower.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def176]
gcc-15.0.1-20250418/gcc/double-int.cc:850: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def177]
gcc-15.0.1-20250418/gcc/double-int.cc:873: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def178]
gcc-15.0.1-20250418/gcc/double-int.cc:885: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def179]
gcc-15.0.1-20250418/gcc/double-int.cc:909: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def180]
gcc-15.0.1-20250418/gcc/double-int.cc:920: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def181]
gcc-15.0.1-20250418/gcc/double-int.cc:928: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def182]
gcc-15.0.1-20250418/gcc/double-int.cc:946: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def183]
gcc-15.0.1-20250418/gcc/double-int.cc:959: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def184]
gcc-15.0.1-20250418/gcc/double-int.cc:1109: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def185]
gcc-15.0.1-20250418/gcc/double-int.cc:1142: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def186]
gcc-15.0.1-20250418/gcc/double-int.cc:1157: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def187]
gcc-15.0.1-20250418/gcc/double-int.cc:1172: error[uninitvar]: Uninitialized variable: ret.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def188]
gcc-15.0.1-20250418/gcc/double-int.cc:1186: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def189]
gcc-15.0.1-20250418/gcc/double-int.cc:1200: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def190]
gcc-15.0.1-20250418/gcc/double-int.cc:1214: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def191]
gcc-15.0.1-20250418/gcc/double-int.cc:1228: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def192]
gcc-15.0.1-20250418/gcc/double-int.cc:1566: error[uninitvar]: Uninitialized variable: res.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def193]
gcc-15.0.1-20250418/gcc/double-int.h:213: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def194]
gcc-15.0.1-20250418/gcc/double-int.h:236: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def195]
gcc-15.0.1-20250418/gcc/double-int.h:245: error[uninitvar]: Uninitialized variable: r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def196]
gcc-15.0.1-20250418/gcc/double-int.h:319: error[uninitvar]: Uninitialized variable: result.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def197]
gcc-15.0.1-20250418/gcc/double-int.h:330: error[uninitvar]: Uninitialized variable: result.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def198]
gcc-15.0.1-20250418/gcc/double-int.h:341: error[uninitvar]: Uninitialized variable: result.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def199]
gcc-15.0.1-20250418/gcc/double-int.h:352: error[uninitvar]: Uninitialized variable: result.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def200]
gcc-15.0.1-20250418/gcc/double-int.h:363: error[uninitvar]: Uninitialized variable: result.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def201]
gcc-15.0.1-20250418/gcc/dwarf2ctf.cc:394: warning[uninitvar]: Uninitialized variable: array_num_elements
Error: CPPCHECK_WARNING (CWE-457): [#def202]
gcc-15.0.1-20250418/gcc/fixed-value.cc:190: error[uninitvar]: Uninitialized variable: max.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def203]
gcc-15.0.1-20250418/gcc/fixed-value.cc:204: error[uninitvar]: Uninitialized variable: max.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def204]
gcc-15.0.1-20250418/gcc/fixed-value.cc:207: error[uninitvar]: Uninitialized variable: min.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def205]
gcc-15.0.1-20250418/gcc/fixed-value.cc:250: error[uninitvar]: Uninitialized variable: max_s.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def206]
gcc-15.0.1-20250418/gcc/fixed-value.cc:251: error[uninitvar]: Uninitialized variable: max_r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def207]
gcc-15.0.1-20250418/gcc/fixed-value.cc:268: error[uninitvar]: Uninitialized variable: max_s.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def208]
gcc-15.0.1-20250418/gcc/fixed-value.cc:273: error[uninitvar]: Uninitialized variable: min_s.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def209]
gcc-15.0.1-20250418/gcc/fixed-value.cc:275: error[uninitvar]: Uninitialized variable: max_r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def210]
gcc-15.0.1-20250418/gcc/fixed-value.cc:284: error[uninitvar]: Uninitialized variable: min_r.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def211]
gcc-15.0.1-20250418/gcc/fixed-value.cc:432: error[uninitvar]: Uninitialized variable: a_low.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def212]
gcc-15.0.1-20250418/gcc/fixed-value.cc:433: error[uninitvar]: Uninitialized variable: b_high.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def213]
gcc-15.0.1-20250418/gcc/fixed-value.cc:434: error[uninitvar]: Uninitialized variable: a_high.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def214]
gcc-15.0.1-20250418/gcc/fixed-value.cc:440: error[uninitvar]: Uninitialized variable: temp1.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def215]
gcc-15.0.1-20250418/gcc/fixed-value.cc:448: error[uninitvar]: Uninitialized variable: temp2.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def216]
gcc-15.0.1-20250418/gcc/fixed-value.cc:597: warning[uninitvar]: Uninitialized variable: s.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def217]
gcc-15.0.1-20250418/gcc/fixed-value.cc:666: warning[uninitvar]: Uninitialized variable: temp_low.max_value
Error: CPPCHECK_WARNING (CWE-457): [#def218]
gcc-15.0.1-20250418/gcc/fixed-value.cc:974: warning[uninitvar]: Uninitialized variable: temp_low.max_value
Error: COMPILER_WARNING (CWE-134): [#def219]
gcc-15.0.1-20250418/gcc/fold-const.cc: scope_hint: In function ‘void fold_overflow_warning(const char*, warn_strict_overflow_code)’
gcc-15.0.1-20250418/gcc/fold-const.cc:383:13: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def220]
gcc-15.0.1-20250418/gcc/fortran/decl.cc: scope_hint: In function ‘bool build_struct(const char*, gfc_charlen*, gfc_expr**, gfc_array_spec**)’
gcc-15.0.1-20250418/gcc/fortran/decl.cc:2441:29: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def221]
gcc-15.0.1-20250418/gcc/fortran/decl.cc:2447:25: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-476): [#def222]
gcc-15.0.1-20250418/gcc/fortran/decl.cc:10897: warning[nullPointer]: Possible null pointer dereference: g
Error: CPPCHECK_WARNING (CWE-664): [#def223]
gcc-15.0.1-20250418/gcc/fortran/error.cc:262: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def224]
gcc-15.0.1-20250418/gcc/fortran/error.cc:274: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def225]
gcc-15.0.1-20250418/gcc/fortran/error.cc:282: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def226]
gcc-15.0.1-20250418/gcc/fortran/error.cc:763: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def227]
gcc-15.0.1-20250418/gcc/fortran/error.cc:767: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def228]
gcc-15.0.1-20250418/gcc/fortran/error.cc:768: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-909): [#def229]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.deferred
Error: CPPCHECK_WARNING (CWE-909): [#def230]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.f90_type
Error: CPPCHECK_WARNING (CWE-909): [#def231]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.interface
Error: CPPCHECK_WARNING (CWE-909): [#def232]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.interop_kind
Error: CPPCHECK_WARNING (CWE-909): [#def233]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.is_c_interop
Error: CPPCHECK_WARNING (CWE-909): [#def234]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.is_iso_c
Error: CPPCHECK_WARNING (CWE-476): [#def235]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6986: warning[nullPointer]: Possible null pointer dereference: mod_sym
Error: CPPCHECK_WARNING (CWE-476): [#def236]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6987: warning[nullPointer]: Possible null pointer dereference: mod_sym
Error: CPPCHECK_WARNING (CWE-476): [#def237]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6988: warning[nullPointer]: Possible null pointer dereference: mod_sym
Error: CPPCHECK_WARNING (CWE-476): [#def238]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6989: warning[nullPointer]: Possible null pointer dereference: mod_sym
Error: CPPCHECK_WARNING (CWE-476): [#def239]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:9658: warning[nullPointer]: Possible null pointer dereference: tail
Error: CPPCHECK_WARNING (CWE-476): [#def240]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:18512: warning[nullPointer]: Possible null pointer dereference: sym
Error: CPPCHECK_WARNING (CWE-476): [#def241]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:18537: warning[nullPointer]: Possible null pointer dereference: sym
Error: CPPCHECK_WARNING (CWE-476): [#def242]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2327: warning[nullPointer]: Possible null pointer dereference: code
Error: CPPCHECK_WARNING (CWE-476): [#def243]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2328: warning[nullPointer]: Possible null pointer dereference: code
Error: CPPCHECK_WARNING (CWE-476): [#def244]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2329: warning[nullPointer]: Possible null pointer dereference: code
Error: CPPCHECK_WARNING (CWE-457): [#def245]
gcc-15.0.1-20250418/gcc/fortran/trans.cc:981: warning[uninitvar]: Uninitialized variable: caf_attr.codimension
Error: CPPCHECK_WARNING (CWE-476): [#def246]
gcc-15.0.1-20250418/gcc/gcc.cc:2036: warning[nullPointer]: Possible null pointer dereference: sl
Error: CPPCHECK_WARNING (CWE-476): [#def247]
gcc-15.0.1-20250418/gcc/gcov.cc:2790: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-476): [#def248]
gcc-15.0.1-20250418/gcc/gcov.cc:2791: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-476): [#def249]
gcc-15.0.1-20250418/gcc/gcov.cc:2792: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-476): [#def250]
gcc-15.0.1-20250418/gcc/gcov.cc:2826: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-476): [#def251]
gcc-15.0.1-20250418/gcc/gcov.cc:2827: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-476): [#def252]
gcc-15.0.1-20250418/gcc/gcov.cc:2828: warning[nullPointer]: Possible null pointer dereference: inv_arc
Error: CPPCHECK_WARNING (CWE-562): [#def253]
gcc-15.0.1-20250418/gcc/genmatch.cc:5714: error[danglingLifetime]: Non-local variable 'oper_lists_set' will use pointer to local variable 'olist'.
Error: CPPCHECK_WARNING (CWE-457): [#def254]
gcc-15.0.1-20250418/gcc/genopinit.cc:238: warning[uninitvar]: Uninitialized variable: last_kind
Error: COMPILER_WARNING (CWE-134): [#def255]
gcc-15.0.1-20250418/gcc/gimple-range-gori.cc: scope_hint: In member function ‘void range_def_chain::dump(FILE*, basic_block, const char*)’
gcc-15.0.1-20250418/gcc/gimple-range-gori.cc:318:19: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-562): [#def256]
gcc-15.0.1-20250418/gcc/gimple-walk.cc:620: error[returnDanglingLifetime]: Returning pointer to local variable 'handled_ops' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-823): [#def257]
gcc-15.0.1-20250418/gcc/hash-table.cc:99: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-758): [#def258]
gcc-15.0.1-20250418/gcc/input.cc:1804: warning[objectIndex]: The address of variable 'strloc' might be accessed at non-zero index.
Error: COMPILER_WARNING (CWE-134): [#def259]
gcc-15.0.1-20250418/gcc/ipa-devirt.cc: scope_hint: In function ‘void warn_odr(tree, tree, tree, tree, bool, bool*, const char*)’
gcc-15.0.1-20250418/gcc/ipa-devirt.cc:967:10: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-476): [#def260]
gcc-15.0.1-20250418/gcc/ira.cc:3911: warning[nullPointer]: Possible null pointer dereference: use_insn
Error: CPPCHECK_WARNING (CWE-562): [#def261]
gcc-15.0.1-20250418/gcc/jump.cc:1465: error[danglingTemporaryLifetime]: Using pointer that is a temporary.
Error: COMPILER_WARNING: [#def262]
gcc-15.0.1-20250418/gcc/lto-cgraph.cc: scope_hint: In function ‘void input_offload_tables(bool)’
gcc-15.0.1-20250418/gcc/lto-cgraph.cc:1981:35: warning[-Wformat-diag]: unquoted identifier or keyword ‘GCC_OFFLOAD_OMP_REQUIRES_FILE’ in format
Error: COMPILER_WARNING: [#def263]
gcc-15.0.1-20250418/gcc/lto-cgraph.cc:1984:47: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
Error: COMPILER_WARNING (CWE-134): [#def264]
gcc-15.0.1-20250418/gcc/lto-wrapper.cc: scope_hint: In function ‘void run_gcc(unsigned int, char**)’
gcc-15.0.1-20250418/gcc/lto-wrapper.cc:2027:23: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-457): [#def265]
gcc-15.0.1-20250418/gcc/opt-suggestions.cc:178: error[uninitvar]: Uninitialized variable: *option
Error: CPPCHECK_WARNING (CWE-823): [#def266]
gcc-15.0.1-20250418/gcc/opts.cc:121: error[arrayIndexOutOfBounds]: Array 'debug_type_masks[6]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-476): [#def267]
gcc-15.0.1-20250418/gcc/postreload.cc:1308: warning[nullPointer]: Possible null pointer dereference: lowest_ruid
Error: CPPCHECK_WARNING (CWE-823): [#def268]
gcc-15.0.1-20250418/gcc/real.cc:436: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def269]
gcc-15.0.1-20250418/gcc/real.cc:1530: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def270]
gcc-15.0.1-20250418/gcc/real.cc:4038: error[arrayIndexOutOfBounds]: Array 'u.sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def271]
gcc-15.0.1-20250418/gcc/real.cc:4080: error[arrayIndexOutOfBounds]: Array 'u.sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def272]
gcc-15.0.1-20250418/gcc/real.cc:4158: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def273]
gcc-15.0.1-20250418/gcc/real.cc:4184: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def274]
gcc-15.0.1-20250418/gcc/real.cc:4210: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-562): [#def275]
gcc-15.0.1-20250418/gcc/ree.cc:698: error[returnDanglingLifetime]: Returning pointer that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def276]
gcc-15.0.1-20250418/gcc/regrename.cc:1941: error[danglingTemporaryLifetime]: Using pointer that is a temporary.
Error: COMPILER_WARNING (CWE-457): [#def277]
gcc-15.0.1-20250418/gcc/reload1.cc: scope_hint: In function ‘void elimination_costs_in_insn(rtx_insn*)’
gcc-15.0.1-20250418/gcc/reload1.cc:3661:28: warning[-Wmaybe-uninitialized]: ‘orig_dup[0]’ may be used uninitialized
gcc-15.0.1-20250418/gcc/reload1.cc:3537:7: note: ‘orig_dup[0]’ was declared here
Error: CPPCHECK_WARNING (CWE-476): [#def278]
gcc-15.0.1-20250418/gcc/reorg.cc:758: warning[nullPointer]: Possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def279]
gcc-15.0.1-20250418/gcc/rtl.h:1454: error[ctunullpointer]: Null pointer dereference: insn
Error: CPPCHECK_WARNING (CWE-476): [#def280]
gcc-15.0.1-20250418/gcc/rtl.h:1454: warning[nullPointer]: Possible null pointer dereference: insn
Error: CPPCHECK_WARNING (CWE-476): [#def281]
gcc-15.0.1-20250418/gcc/sel-sched-ir.h:1077: error[ctunullpointer]: Null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def282]
gcc-15.0.1-20250418/gcc/sel-sched-ir.h:1077: warning[nullPointer]: Possible null pointer dereference: loop
Error: COMPILER_WARNING: [#def283]
gcc-15.0.1-20250418/gcc/text-art/style.cc: scope_hint: In member function ‘void text_art::style::color::print_sgr(pretty_printer*, bool, bool&) const’
gcc-15.0.1-20250418/gcc/text-art/style.cc:150:25: warning[-Wformat-diag]: spurious leading punctuation sequence ‘;’ in format
Error: COMPILER_WARNING: [#def284]
gcc-15.0.1-20250418/gcc/text-art/style.cc:160:25: warning[-Wformat-diag]: spurious leading punctuation sequence ‘;’ in format
Error: COMPILER_WARNING (CWE-134): [#def285]
gcc-15.0.1-20250418/gcc/tree-ssa-sccvn.cc: scope_hint: In function ‘void print_vn_reference_ops(FILE*, vec<vn_reference_op_struct>)’
gcc-15.0.1-20250418/gcc/tree-ssa-sccvn.cc:286:21: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-823): [#def286]
gcc-15.0.1-20250418/gcc/tree.h:4322: error[arrayIndexOutOfBounds]: Array 'res.coeffs[1]' accessed at index 1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def287]
gcc-15.0.1-20250418/gcc/tree.h:4356: error[arrayIndexOutOfBounds]: Array 'subparts.coeffs[1]' accessed at index 1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def288]
gcc-15.0.1-20250418/gcc/tree.h:4376: error[arrayIndexOutOfBounds]: Array 'subparts.coeffs[1]' accessed at index 1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-457): [#def289]
gcc-15.0.1-20250418/libcpp/charset.cc:1301: error[uninitvar]: Uninitialized variable: name_after_uax44_lm2
Error: COMPILER_WARNING: [#def290]
gcc-15.0.1-20250418/libcpp/expr.cc:20: included_from: Included from here.
gcc-15.0.1-20250418/libcpp/expr.cc: scope_hint: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’
gcc-15.0.1-20250418/libcpp/expr.cc:880:41: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
gcc-15.0.1-20250418/libcpp/expr.cc:880:55: note: format string is defined here
Error: COMPILER_WARNING: [#def291]
gcc-15.0.1-20250418/libcpp/expr.cc:882:41: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
gcc-15.0.1-20250418/libcpp/expr.cc:882:53: note: format string is defined here
Error: COMPILER_WARNING: [#def292]
gcc-15.0.1-20250418/libcpp/expr.cc:888:44: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
gcc-15.0.1-20250418/libcpp/expr.cc:888:58: note: format string is defined here
Error: COMPILER_WARNING: [#def293]
gcc-15.0.1-20250418/libcpp/expr.cc:890:44: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
gcc-15.0.1-20250418/libcpp/expr.cc:890:56: note: format string is defined here
Error: CPPCHECK_WARNING (CWE-590): [#def294]
gcc-15.0.1-20250418/libcpp/init.cc:394: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (.) results in undefined behaviour.
Error: COMPILER_WARNING (CWE-134): [#def295]
gcc-15.0.1-20250418/libcpp/macro.cc: scope_hint: In member function ‘vaopt_state::update_type vaopt_state::update(const cpp_token*)’
gcc-15.0.1-20250418/libcpp/macro.cc:185:26: warning[-Wformat-security]: format not a string literal and no format arguments
Error: COMPILER_WARNING (CWE-134): [#def296]
gcc-15.0.1-20250418/libcpp/macro.cc:214:34: warning[-Wformat-security]: format not a string literal and no format arguments
Error: CPPCHECK_WARNING (CWE-457): [#def297]
gcc-15.0.1-20250418/libdecnumber/bid/bid2dpd_dpd2bid.c:321: error[legacyUninitvar]: Uninitialized variable: BH
Error: COMPILER_WARNING: [#def298]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:38: included_from: Included from here.
gcc-15.0.1-20250418/libgomp/config/gcn/libgomp-gcn.h:46:8: warning[-Wpedantic]: ISO C forbids zero-size array ‘data’
Error: CPPCHECK_WARNING (CWE-562): [#def299]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5183: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def300]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5221: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def301]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5242: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def302]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5717: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def303]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:6745: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-909): [#def304]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:6752: error[uninitStructMember]: Uninitialized struct member: dpt.next
Error: CPPCHECK_WARNING (CWE-823): [#def305]
gcc-15.0.1-20250418/libiberty/hashtab.c:187: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-476): [#def306]
gcc-15.0.1-20250418/libiberty/make-relative-prefix.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def307]
gcc-15.0.1-20250418/libiberty/make-relative-prefix.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-401): [#def308]
gcc-15.0.1-20250418/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
Error: CPPCHECK_WARNING (CWE-562): [#def309]
gcc-15.0.1-20250418/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def310]
gcc-15.0.1-20250418/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def311]
gcc-15.0.1-20250418/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def312]
gcc-15.0.1-20250418/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def313]
gcc-15.0.1-20250418/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def314]
gcc-15.0.1-20250418/libiberty/simple-object.c:312: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-664): [#def315]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def316]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:65: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def317]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:75: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def318]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:129: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-569): [#def319]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c: scope_hint: In function ‘courierize’
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:574:20: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
Error: CPPCHECK_WARNING (CWE-476): [#def320]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1153: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def321]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def322]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1156: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def323]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1157: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def324]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1158: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-562): [#def325]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5131: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def326]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5169: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def327]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5190: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def328]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5649: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def329]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:6659: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-909): [#def330]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:6666: error[uninitStructMember]: Uninitialized struct member: dpt.next
Error: CPPCHECK_WARNING (CWE-823): [#def331]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/hashtab.c:187: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-476): [#def332]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/make-relative-prefix.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def333]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/make-relative-prefix.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-401): [#def334]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
Error: CPPCHECK_WARNING (CWE-562): [#def335]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def336]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def337]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def338]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def339]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def340]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:312: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-664): [#def341]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def342]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:64: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def343]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:74: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def344]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:92: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-195): [#def345]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc:740:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-195): [#def346]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc:749:15: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-569): [#def347]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:310:14: warning[-Wparentheses]: unnecessary parentheses in declaration of ‘sorters’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:310:14: note: remove parentheses
Error: COMPILER_WARNING (CWE-195): [#def348]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:594:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-252): [#def349]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-run.cc: scope_hint: In function ‘void compile_file(FILE*, void**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-run.cc:169:9: warning[-Wunused-result]: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def350]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def352]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:585:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:10: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:607:16: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1]’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:585:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:10: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:607:16: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: danger: ‘pipes[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(in, 0)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:16: danger: ‘dup2(in, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(out, 1)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:16: danger: ‘dup2(out, 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errdes, 2)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_false: following ‘false’ branch (when ‘out == 1’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:16: danger: ‘dup2(errdes, 2)’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(1, 2)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_false: following ‘false’ branch (when ‘out == 1’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:13: branch_false: following ‘false’ branch (when ‘errdes == 2’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:13: branch_false: following ‘false’ branch (when ‘toclose < 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:673:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:673:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:16: danger: ‘dup2(1, 2)’ leaks here; was opened at [(21)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING: [#def364]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def365]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def366]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def367]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def370]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def371]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def372]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def373]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def374]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def379]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING: [#def380]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def381]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def382]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def383]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
Error: COMPILER_WARNING: [#def386]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
Error: CPPCHECK_WARNING (CWE-476): [#def387]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def388]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
Error: COMPILER_WARNING (CWE-563): [#def389]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:39: included_from: Included from here.
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/multilib.h: scope_hint: At global scope
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/multilib.h:30:20: warning[-Wunused-variable]: ‘multilib_extra’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def390]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def391]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def392]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6376:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7422:13: enter_function: entry to ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7458:6: branch_false: following ‘false’ branch (when ‘adjust > 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7468:3: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7472:3: call_function: calling ‘decSetCoeff’ from ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7472:3: return_function: returning to ‘decSetSubnormal’ from ‘decSetCoeff’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def393]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def394]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def395]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def396]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def397]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def398]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def399]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def400]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def401]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def403]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def409]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:608:3: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(resolution_file, "w")’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def410]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:643:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: acquire_memory: this call could return NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:792:7: call_function: calling ‘add_output_files’ from ‘all_symbols_read_handler’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def411]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(offload_objects_file_name, "w")’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: return_function: returning to ‘all_symbols_read_handler’ from ‘write_resolution’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:841:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:849:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:858:11: acquire_memory: allocated here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: call_function: calling ‘check_1’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: return_function: returning to ‘all_symbols_read_handler’ from ‘check_1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: danger: argument 1 (‘fopen(offload_objects_file_name, "w")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING: [#def412]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def413]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def414]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def415]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def418]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def419]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def420]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def422]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING: [#def428]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def429]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def430]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def431]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def432]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def433]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
Error: COMPILER_WARNING: [#def434]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
Error: CPPCHECK_WARNING (CWE-476): [#def435]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def436]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-758): [#def437]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:447: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def438]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:448: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def439]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:452: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def440]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:453: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def441]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:457: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def442]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:458: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def443]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:461: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def444]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:462: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def445]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:465: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def446]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:466: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def447]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:469: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def448]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:471: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def449]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:472: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def450]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:475: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def451]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:476: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def452]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:477: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def453]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:479: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def454]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:480: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def455]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:481: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def456]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:482: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def457]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def458]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def459]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6376:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7422:13: enter_function: entry to ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7458:6: branch_false: following ‘false’ branch (when ‘adjust > 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7468:3: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7472:3: call_function: calling ‘decSetCoeff’ from ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7472:3: return_function: returning to ‘decSetSubnormal’ from ‘decSetCoeff’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def460]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def461]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def462]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def463]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def464]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def465]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def466]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def467]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def468]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def470]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1153:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1170:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1174:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*entry.code + (long unsigned int)*entry.code_end * 8’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING: [#def479]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def480]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def481]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def482]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def483]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def484]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def485]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def486]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def487]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def489]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: COMPILER_WARNING: [#def495]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
Error: CPPCHECK_WARNING (CWE-476): [#def496]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def497]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-758): [#def498]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1241: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def499]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1242: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def500]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1243: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def501]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1244: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def502]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1247: error[shiftTooManyBits]: Shifting 64-bit value by 160 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def503]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1251: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def504]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1252: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def505]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1256: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def506]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1257: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def507]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1260: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def508]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1261: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def509]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1264: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def510]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1265: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def511]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1269: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def512]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1270: error[shiftTooManyBits]: Shifting 64-bit value by 80 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def513]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1271: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def514]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1273: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def515]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1274: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def516]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1278: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def517]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1279: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def518]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1280: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def519]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1281: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def520]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1282: error[shiftTooManyBits]: Shifting 64-bit value by 320 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def521]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1283: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def522]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1284: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def523]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1287: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def524]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1288: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def525]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1289: error[shiftTooManyBits]: Shifting 64-bit value by 160 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def526]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1290: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def527]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1295: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def528]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1296: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def529]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1297: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def530]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1298: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def531]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1299: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def532]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1300: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def533]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1301: error[shiftTooManyBits]: Shifting 64-bit value by 112 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def534]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1302: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def535]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1303: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def536]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1304: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def537]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1305: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def538]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1306: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def539]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1307: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def540]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1308: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def541]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1309: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def542]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1310: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def543]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1311: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def544]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1312: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def545]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1313: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def546]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1314: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def547]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1315: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def548]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1316: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def549]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1317: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def550]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1318: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def551]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1319: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def552]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1320: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def553]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1321: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def554]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1322: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def555]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1325: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def556]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1326: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def557]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1327: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def558]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1328: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def559]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1329: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def560]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1330: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def561]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1331: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def562]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1332: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def563]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1333: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def564]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1334: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def565]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1335: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def566]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1336: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def567]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1337: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def568]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1338: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def569]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1339: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def570]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1340: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def571]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1341: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def572]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1342: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def573]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1343: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def574]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1344: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def575]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1345: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def576]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1346: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def577]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1347: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def578]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1348: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def579]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1349: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def580]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1350: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def581]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1351: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def582]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1352: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def583]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def584]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def585]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:196:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:156:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:159:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:164:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:172:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:179:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:186:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:186:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:189:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:196:10: danger: use of uninitialized value ‘ret’ here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def586]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def587]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def588]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def589]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def590]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def591]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def592]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def593]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def594]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def596]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:191:26: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:191:26: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:207:6: branch_true: following ‘true’ branch (when ‘new_chunk’ is NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:208:5: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def597]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:6968:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fail_stack.stack’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8014:1: enter_function: entry to ‘xregexec’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8033:6: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: call_function: calling ‘xre_search’ from ‘xregexec’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def598]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:7154:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8014:1: enter_function: entry to ‘xregexec’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8033:6: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: call_function: calling ‘xre_search’ from ‘xregexec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1111:7: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1111:7: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def601]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def602]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def603]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:608:3: warning[-Wanalyzer-null-argument]: use of NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def604]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:643:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: acquire_memory: this call could return NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:792:7: call_function: calling ‘add_output_files’ from ‘all_symbols_read_handler’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def605]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: warning[-Wanalyzer-null-argument]: use of NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: return_function: returning to ‘all_symbols_read_handler’ from ‘write_resolution’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:841:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:847:19: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:858:11: acquire_memory: allocated here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: call_function: calling ‘check_1’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: return_function: returning to ‘all_symbols_read_handler’ from ‘check_1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: danger: argument 1 (‘f’) NULL where non-null expected
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
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-58.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | gcc-15.0.1-0.14.fc43 |
store-results-to | /tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.tar.xz |
time-created | 2025-04-26 01:34:58 |
time-finished | 2025-04-26 14:31:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |