Newly introduced defects
List of Defects
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
perl-5.40.0-build/perl-5.40.0/class.c:782:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/hv.h:705:17: note: in expansion of macro ‘MUTABLE_HV’
perl-5.40.0-build/perl-5.40.0/hv.h:705:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:658:32: note: in expansion of macro ‘newHV’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/hv.h:705:17: note: in expansion of macro ‘MUTABLE_HV’
perl-5.40.0-build/perl-5.40.0/hv.h:705:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:658:32: note: in expansion of macro ‘newHV’
perl-5.40.0-build/perl-5.40.0/class.c:698:27: note: in expansion of macro ‘PadnamelistARRAY’
perl-5.40.0-build/perl-5.40.0/class.c:725:29: note: in expansion of macro ‘PadnameFIELDINFO’
perl-5.40.0-build/perl-5.40.0/perl.h:4496: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/class.c:779:36: note: in expansion of macro ‘PerlMemShared_malloc’
# 780| sizeof(UNOP_AUX_item) * 2);
# 781|
# 782|-> aux[0].uv = fieldix;
# 783|
# 784| OP *fieldop = newUNOP_AUX(OP_INITFIELD, valop ? OPf_STACKED : 0, valop, aux);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
perl-5.40.0-build/perl-5.40.0/class.c: scope_hint: In function ‘Perl_class_wrap_method_body’
perl-5.40.0-build/perl-5.40.0/class.c:898:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.0-build/perl-5.40.0/pad.h:319:34: note: in definition of macro ‘PadlistARRAY’
perl-5.40.0-build/perl-5.40.0/class.c:868:24: note: in expansion of macro ‘PadlistNAMES’
perl-5.40.0-build/perl-5.40.0/cv.h:66:20: note: in expansion of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/cv.h:66:32: note: in expansion of macro ‘SvANY’
perl-5.40.0-build/perl-5.40.0/class.c:868:37: note: in expansion of macro ‘CvPADLIST’
perl-5.40.0-build/perl-5.40.0/class.c:868:47: note: in expansion of macro ‘PL_compcv’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:218:17: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:218:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:870:20: note: in expansion of macro ‘newAV’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:218:17: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:218:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:870:20: note: in expansion of macro ‘newAV’
perl-5.40.0-build/perl-5.40.0/iperlsys.h:894:57: note: in definition of macro ‘PerlMemShared_malloc’
perl-5.40.0-build/perl-5.40.0/class.c:893:45: note: in expansion of macro ‘av_count’
perl-5.40.0-build/perl-5.40.0/class.c:891:32: note: in expansion of macro ‘PerlMemShared_malloc’
perl-5.40.0-build/perl-5.40.0/perl.h:6225: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/class.c:898:22: note: in expansion of macro ‘av_count’
perl-5.40.0-build/perl-5.40.0/perl.h:7869: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/perl.h:4541: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/av.h:81:36: note: in expansion of macro ‘SvANY’
perl-5.40.0-build/perl-5.40.0/av.h:97:54: note: in expansion of macro ‘AvFILLp’
perl-5.40.0-build/perl-5.40.0/inline.h:61:12: note: in expansion of macro ‘AvFILL’
perl-5.40.0-build/perl-5.40.0/class.c:898:22: note: in expansion of macro ‘av_count’
# 896| UNOP_AUX_item *ap = aux;
# 897|
# 898|-> (ap++)->uv = av_count(fieldmap) / 2;
# 899| (ap++)->uv = max_fieldix;
# 900|
Error: CLANG_WARNING: [#def3]
perl-5.40.0-build/perl-5.40.0/class.c:988:5: warning[deadcode.DeadStores]: Value stored to 'padix' is never read
# 986| PADOFFSET padix;
# 987|
# 988|-> padix = pad_add_name_pvs("$self", 0, NULL, NULL);
# 989| assert(padix == PADIX_SELF);
# 990|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
perl-5.40.0-build/perl-5.40.0/class.c: scope_hint: In function ‘apply_field_attribute_reader’
perl-5.40.0-build/perl-5.40.0/class.c:1001:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.0-build/perl-5.40.0/class.c:997:32: note: in expansion of macro ‘PerlMemShared_malloc’
# 999|
# 1000| UNOP_AUX_item *ap = aux;
# 1001|-> (ap++)->uv = 1; /* fieldcount */
# 1002| (ap++)->uv = fieldix; /* max_fieldix */
# 1003|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
perl-5.40.0-build/perl-5.40.0/class.c:1015:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.0-build/perl-5.40.0/class.c:1013:13: note: in expansion of macro ‘PerlMemShared_malloc’
# 1013| PerlMemShared_malloc(sizeof(*aux));
# 1014|
# 1015|-> aux->params = 0;
# 1016| aux->opt_params = 0;
# 1017| aux->slurpy = 0;
Error: CPPCHECK_WARNING: [#def6]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def7]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:1455: error[uninitvar]: Uninitialized variable: RETVAL
# 1453| #line 1454 "Zlib.c"
# 1454| XSprePUSH;
# 1455|-> PUSHu((IV)RETVAL);
# 1456| }
# 1457| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def8]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:1485: error[uninitvar]: Uninitialized variable: RETVAL
# 1483| #line 1484 "Zlib.c"
# 1484| XSprePUSH;
# 1485|-> PUSHu((IV)RETVAL);
# 1486| }
# 1487| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def9]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:2644: error[uninitvar]: Uninitialized variable: RETVAL
# 2642| #line 2643 "Zlib.c"
# 2643| XSprePUSH;
# 2644|-> PUSHi((IV)RETVAL);
# 2645| }
# 2646| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def10]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:3747: error[uninitvar]: Uninitialized variable: RETVAL
# 3745| SV * RETVALSV;
# 3746| RETVALSV = sv_newmortal();
# 3747|-> setDUALstatus(RETVALSV, RETVAL) ;
# 3748| ST(0) = RETVALSV;
# 3749| }
Error: CPPCHECK_WARNING (CWE-457): [#def11]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:3787: error[uninitvar]: Uninitialized variable: RETVAL
# 3785| #line 3786 "Zlib.c"
# 3786| XSprePUSH;
# 3787|-> PUSHu((IV)RETVAL);
# 3788| }
# 3789| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def12]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:3825: error[uninitvar]: Uninitialized variable: RETVAL
# 3823| #line 3824 "Zlib.c"
# 3824| XSprePUSH;
# 3825|-> PUSHu((IV)RETVAL);
# 3826| }
# 3827| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def13]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:3931: error[uninitvar]: Uninitialized variable: RETVAL
# 3929| #line 3930 "Zlib.c"
# 3930| XSprePUSH;
# 3931|-> PUSHu((IV)RETVAL);
# 3932| }
# 3933| XSRETURN(1);
Error: CPPCHECK_WARNING (CWE-457): [#def14]
perl-5.40.0-build/perl-5.40.0/cpan/Compress-Raw-Zlib/Zlib.c:3969: error[uninitvar]: Uninitialized variable: RETVAL
# 3967| #line 3968 "Zlib.c"
# 3968| XSprePUSH;
# 3969|-> PUSHu((IV)RETVAL);
# 3970| }
# 3971| XSRETURN(1);
Error: CPPCHECK_WARNING: [#def15]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def16]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: scope_hint: In function ‘main’
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:7:13: warning[-Wunused-variable]: unused variable ‘tictoc’
# 7 | clock_t tictoc;
# | ^~~~~~
Error: COMPILER_WARNING (CWE-457): [#def17]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:9:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized
# 9 | ret1 = futimens(0, ts1);
# | ^~~~~~~~~~~~~~~~
perl-5.40.0-build/perl-5.40.0/perl.h:1785: included_from: Included from here.
/usr/include/sys/stat.h:452:12: note: by argument 2 of type ‘const struct timespec[2]’ to ‘futimens’ declared here
# 452 | extern int futimens (int __fd, const struct timespec __times[2]) __THROW;
# | ^~~~~~~~
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:8:21: note: ‘ts1’ declared here
# 8 | struct timespec ts1[2], ts2[2];
# | ^~~
Error: COMPILER_WARNING (CWE-252): [#def18]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: scope_hint: In function ‘main’
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:11:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 11 | read(0, buf, 0); /* Assuming reading nothing updates atime (the [0]) */
# | ^~~~~~~~~~~~~~~
Error: COMPILER_WARNING (CWE-457): [#def19]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:12:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized
# 12 | ret1 = utimensat(AT_FDCWD, "/dev/stdin", ts1, 0);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perl-5.40.0-build/perl-5.40.0/perl.h:1785: included_from: Included from here.
/usr/include/sys/stat.h:433:12: note: by argument 3 of type ‘const struct timespec[2]’ to ‘utimensat’ declared here
# 433 | extern int utimensat (int __fd, const char *__path,
# | ^~~~~~~~~
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:9:21: note: ‘ts1’ declared here
# 9 | struct timespec ts1[2], ts2[2];
# | ^~~
Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: scope_hint: In function ‘main’
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:13:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’
Error: CLANG_WARNING: [#def21]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:13:47: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
Error: COMPILER_WARNING (CWE-252): [#def22]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: scope_hint: In function ‘main’
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:14:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 14 | read(0, buf, 0); /* Assuming reading nothing updates atime (the [0]) */
# | ^~~~~~~~~~~~~~~
Error: COMPILER_WARNING (CWE-563): [#def23]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:16:17: warning[-Wunused-but-set-variable]: variable ‘st’ set but not used
# 16 | struct stat st;
# | ^~
Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c: scope_hint: In function ‘main’
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:16:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’
Error: CLANG_WARNING: [#def25]
perl-5.40.0-build/perl-5.40.0/dist/Time-HiRes/tmp25008.c:16:47: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs: scope_hint: In function ‘HUF_fix_objects’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:323:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.0-build/perl-5.40.0/perl.h:3329: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:4: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:219:25: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:219:36: note: in expansion of macro ‘newSV_type_mortal’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:317:18: note: in expansion of macro ‘newAV_mortal’
perl-5.40.0-build/perl-5.40.0/sv_inline.h:538:14: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/perl.h:7870: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/sv_inline.h: scope_hint: In function ‘HUF_fix_objects’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:219:25: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:219:36: note: in expansion of macro ‘newSV_type_mortal’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:317:18: note: in expansion of macro ‘newAV_mortal’
perl-5.40.0-build/perl-5.40.0/sv_inline.h:538:14: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs: scope_hint: In function ‘HUF_fix_objects’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:321:11: note: in expansion of macro ‘av_count’
perl-5.40.0-build/perl-5.40.0/perl.h:7869: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/av.h:97:28: note: in expansion of macro ‘mg_size’
perl-5.40.0-build/perl-5.40.0/inline.h:61:12: note: in expansion of macro ‘AvFILL’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:321:11: note: in expansion of macro ‘av_count’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: note: in expansion of macro ‘av_fetch_simple’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: note: in expansion of macro ‘av_fetch_simple’
perl-5.40.0-build/perl-5.40.0/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: note: in expansion of macro ‘av_fetch_simple’
# 321| len = av_count(oblist);
# 322| for (i = 0; i < len; ++i) {
# 323|-> SV* old_id = *av_fetch_simple(oblist, i, 0);
# 324| SV* trigger = hv_delete_ent(MY_CXT.ob_reg, old_id, 0, 0);
# 325| SV* obj = SvRV(trigger);
Error: GCC_ANALYZER_WARNING (CWE-835): [#def27]
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs: scope_hint: In function ‘THX_parse_var’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:881:14: warning[-Wanalyzer-infinite-loop]: infinite loop
# 879| if(*s != '$') croak("RPN syntax error");
# 880| while(1) {
# 881|-> char c = *++s;
# 882| if(!isALNUM(c)) break;
# 883| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs: scope_hint: In function ‘XS_XS__APItest_multicall_return’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4208:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.0-build/perl-5.40.0/XSUB.h:150:41: note: in definition of macro ‘XS_INTERNAL’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.c:6631:1: note: in expansion of macro ‘XS_EUPXS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.c:6637:25: note: in expansion of macro ‘ST’
perl-5.40.0-build/perl-5.40.0/perl.h:3329: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/cv.h:66:20: note: in expansion of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/cop.h:1386:35: note: in expansion of macro ‘CvPADLIST’
perl-5.40.0-build/perl-5.40.0/cop.h:1376:5: note: in expansion of macro ‘PUSH_MULTICALL_FLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4172:5: note: in expansion of macro ‘PUSH_MULTICALL’
perl-5.40.0-build/perl-5.40.0/cop.h:1312:9: note: in expansion of macro ‘push_stackinfo’
perl-5.40.0-build/perl-5.40.0/cop.h:1389:9: note: in expansion of macro ‘PUSHSTACKi’
perl-5.40.0-build/perl-5.40.0/cop.h:1376:5: note: in expansion of macro ‘PUSH_MULTICALL_FLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4172:5: note: in expansion of macro ‘PUSH_MULTICALL’
perl-5.40.0-build/perl-5.40.0/perl.h:7869: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/sv.h:374:26: note: in definition of macro ‘SvFLAGS’
perl-5.40.0-build/perl-5.40.0/inline.h:4039:9: note: in expansion of macro ‘AvREAL_off’
perl-5.40.0-build/perl-5.40.0/cop.h:1312:9: note: in expansion of macro ‘push_stackinfo’
perl-5.40.0-build/perl-5.40.0/cop.h:1389:9: note: in expansion of macro ‘PUSHSTACKi’
perl-5.40.0-build/perl-5.40.0/cop.h:1376:5: note: in expansion of macro ‘PUSH_MULTICALL_FLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4172:5: note: in expansion of macro ‘PUSH_MULTICALL’
perl-5.40.0-build/perl-5.40.0/cop.h:1392:9: note: in expansion of macro ‘cx_pushsub’
perl-5.40.0-build/perl-5.40.0/cop.h:1376:5: note: in expansion of macro ‘PUSH_MULTICALL_FLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4172:5: note: in expansion of macro ‘PUSH_MULTICALL’
perl-5.40.0-build/perl-5.40.0/cop.h:1392:9: note: in expansion of macro ‘cx_pushsub’
perl-5.40.0-build/perl-5.40.0/cop.h:1376:5: note: in expansion of macro ‘PUSH_MULTICALL_FLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4172:5: note: in expansion of macro ‘PUSH_MULTICALL’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:218:17: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:218:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4183:14: note: in expansion of macro ‘newAV’
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/av.h:218:17: note: in expansion of macro ‘MUTABLE_AV’
perl-5.40.0-build/perl-5.40.0/av.h:218:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4183:14: note: in expansion of macro ‘newAV’
perl-5.40.0-build/perl-5.40.0/cop.h:1324:18: note: in expansion of macro ‘pop_stackinfo’
perl-5.40.0-build/perl-5.40.0/cop.h:1418:9: note: in expansion of macro ‘POPSTACK’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4203:5: note: in expansion of macro ‘POP_MULTICALL’
perl-5.40.0-build/perl-5.40.0/inline.h:4066:5: note: in expansion of macro ‘switch_argstack’
perl-5.40.0-build/perl-5.40.0/cop.h:1324:18: note: in expansion of macro ‘pop_stackinfo’
perl-5.40.0-build/perl-5.40.0/cop.h:1418:9: note: in expansion of macro ‘POPSTACK’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4203:5: note: in expansion of macro ‘POP_MULTICALL’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4208:18: note: in expansion of macro ‘av_fetch_simple’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4208:18: note: in expansion of macro ‘av_fetch_simple’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:4208:18: note: in expansion of macro ‘av_fetch_simple’
# 4206| EXTEND(SP, size);
# 4207| for (i = 0; i < size; i++)
# 4208|-> ST(i) = *av_fetch_simple(av, i, FALSE);
# 4209| sv_2mortal((SV*)av);
# 4210| XSRETURN(size);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
perl-5.40.0-build/perl-5.40.0/perl.h:6166: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs: scope_hint: In function ‘XS_XS__APItest_newCONSTSUB’
perl-5.40.0-build/perl-5.40.0/handy.h:99:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mycv’
perl-5.40.0-build/perl-5.40.0/pp.h:549:35: note: in definition of macro ‘PUSHs’
perl-5.40.0-build/perl-5.40.0/cv.h:91:36: note: in expansion of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/cv.h:186:34: note: in expansion of macro ‘CvFLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:2865:16: note: in expansion of macro ‘CvCONST’
perl-5.40.0-build/perl-5.40.0/XSUB.h:150:41: note: in definition of macro ‘XS_INTERNAL’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.c:4442:1: note: in expansion of macro ‘XS_EUPXS’
perl-5.40.0-build/perl-5.40.0/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:2851:26: note: in expansion of macro ‘SvPV’
perl-5.40.0-build/perl-5.40.0/sv.h:1156:35: note: in expansion of macro ‘SvFLAGS’
perl-5.40.0-build/perl-5.40.0/sv_inline.h:923:44: note: in expansion of macro ‘SvPOK_nog’
perl-5.40.0-build/perl-5.40.0/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:2851:26: note: in expansion of macro ‘SvPV’
perl-5.40.0-build/perl-5.40.0/perl.h:4233:62: note: in definition of macro ‘EXPECT’
perl-5.40.0-build/perl-5.40.0/perl.h:4254:52: note: in expansion of macro ‘cBOOL’
perl-5.40.0-build/perl-5.40.0/pp.h:462:30: note: in expansion of macro ‘UNLIKELY’
perl-5.40.0-build/perl-5.40.0/XSUB.h:491:25: note: in expansion of macro ‘PERL_GET_THX’
perl-5.40.0-build/perl-5.40.0/embedvar.h:23:49: note: in expansion of macro ‘aTHX’
perl-5.40.0-build/perl-5.40.0/embedvar.h:286:50: note: in expansion of macro ‘vTHX’
perl-5.40.0-build/perl-5.40.0/pp.h:443:47: note: in expansion of macro ‘PL_stack_max’
perl-5.40.0-build/perl-5.40.0/pp.h:462:39: note: in expansion of macro ‘_EXTEND_NEEDS_GROW’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:2863:9: note: in expansion of macro ‘EXTEND’
perl-5.40.0-build/perl-5.40.0/pp.h:549:35: note: in definition of macro ‘PUSHs’
perl-5.40.0-build/perl-5.40.0/cv.h:91:36: note: in expansion of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/cv.h:186:34: note: in expansion of macro ‘CvFLAGS’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:2865:16: note: in expansion of macro ‘CvCONST’
# 97| */
# 98| #if defined(PERL_USE_GCC_BRACE_GROUPS)
# 99|-> # define MUTABLE_PTR(p) ({ void *p_ = (p); p_; })
# 100| #else
# 101| # define MUTABLE_PTR(p) ((void *) (p))
Error: CLANG_WARNING: [#def30]
perl-5.40.0-build/perl-5.40.0/dump.c:29: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/perl.h:7869: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/inline.h:1219:26: warning[core.NullDereference]: Access to field 'sv_any' results in a dereference of a null pointer (loaded from variable 're')
# 1217| Perl_ReANY(const REGEXP * const re)
# 1218| {
# 1219|-> XPV* const p = (XPV*)SvANY(re);
# 1220|
# 1221| PERL_ARGS_ASSERT_REANY;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def31]
perl-5.40.0-build/perl-5.40.0/perl.h:6225: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/locale.c:383: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/locale.c: scope_hint: In function ‘S_setlocale_failure_panic_via_i’
perl-5.40.0-build/perl-5.40.0/locale.c:3399:62: warning[-Wanalyzer-null-argument]: use of NULL ‘current’ where non-null expected
perl-5.40.0-build/perl-5.40.0/embed.h:1396:82: note: in definition of macro ‘get_displayable_string’
perl-5.40.0-build/perl-5.40.0/locale.c:3672:9: note: in expansion of macro ‘isNAME_C_OR_POSIX’
perl-5.40.0-build/perl-5.40.0/locale.c:3681:31: note: in expansion of macro ‘is_locale_utf8’
perl-5.40.0-build/perl-5.40.0/locale.c:3681:31: note: in expansion of macro ‘is_locale_utf8’
perl-5.40.0-build/perl-5.40.0/locale.c:4832:9: note: in expansion of macro ‘isNAME_C_OR_POSIX’
perl-5.40.0-build/perl-5.40.0/locale.c:733:9: note: in expansion of macro ‘langinfo_sv_i’
perl-5.40.0-build/perl-5.40.0/locale.c:736:9: note: in expansion of macro ‘langinfo_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4911:28: note: in expansion of macro ‘langinfo_c’
perl-5.40.0-build/perl-5.40.0/locale.c:733:9: note: in expansion of macro ‘langinfo_sv_i’
perl-5.40.0-build/perl-5.40.0/locale.c:736:9: note: in expansion of macro ‘langinfo_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4911:28: note: in expansion of macro ‘langinfo_c’
perl-5.40.0-build/perl-5.40.0/locale.c:749:41: note: in expansion of macro ‘toggle_locale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:392:42: note: in expansion of macro ‘toggle_locale_c’
perl-5.40.0-build/perl-5.40.0/locale.c:6440:5: note: in expansion of macro ‘start_DEALING_WITH_MISMATCHED_CTYPE’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4634:41: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/perl_langinfo.h:10: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/perl.h:1152: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/locale.c:2193:22: note: in expansion of macro ‘my_querylocale’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4634:41: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/perl.h:3329: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/locale.c:4656:9: note: in expansion of macro ‘strEQ’
perl-5.40.0-build/perl-5.40.0/locale.c:2231:31: note: in expansion of macro ‘bool_setlocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2685:15: note: in expansion of macro ‘bool_setlocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4664:5: note: in expansion of macro ‘void_setlocale_i_with_caller’
perl-5.40.0-build/perl-5.40.0/locale.c:2231:31: note: in expansion of macro ‘bool_setlocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2685:15: note: in expansion of macro ‘bool_setlocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4664:5: note: in expansion of macro ‘void_setlocale_i_with_caller’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2263:36: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/perl.h:4233:62: note: in definition of macro ‘EXPECT’
perl-5.40.0-build/perl-5.40.0/perl.h:4253:52: note: in expansion of macro ‘cBOOL’
perl-5.40.0-build/perl-5.40.0/perl.h:6419:13: note: in expansion of macro ‘LIKELY’
perl-5.40.0-build/perl-5.40.0/perl.h:7078:8: note: in expansion of macro ‘PERL_REENTRANT_LOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7079:46: note: in expansion of macro ‘PL_locale_mutex_depth’
perl-5.40.0-build/perl-5.40.0/perl.h:7124:26: note: in expansion of macro ‘LOCALE_LOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7171:37: note: in expansion of macro ‘gwLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2075:9: note: in expansion of macro ‘POSIX_SETLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2263:36: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:1121:5: note: in expansion of macro ‘setlocale_failure_panic_via_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2373:9: note: in expansion of macro ‘setlocale_failure_panic_i’
perl-5.40.0-build/perl-5.40.0/locale.c:1121:5: note: in expansion of macro ‘setlocale_failure_panic_via_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2373:9: note: in expansion of macro ‘setlocale_failure_panic_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:3373:19: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:3373:19: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/perl.h:4233:62: note: in definition of macro ‘EXPECT’
perl-5.40.0-build/perl-5.40.0/perl.h:4253:52: note: in expansion of macro ‘cBOOL’
perl-5.40.0-build/perl-5.40.0/perl.h:6419:13: note: in expansion of macro ‘LIKELY’
perl-5.40.0-build/perl-5.40.0/perl.h:7078:8: note: in expansion of macro ‘PERL_REENTRANT_LOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7079:46: note: in expansion of macro ‘PL_locale_mutex_depth’
perl-5.40.0-build/perl-5.40.0/perl.h:7124:26: note: in expansion of macro ‘LOCALE_LOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7171:37: note: in expansion of macro ‘gwLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2075:9: note: in expansion of macro ‘POSIX_SETLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:3373:19: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/embed.h:1396:82: note: in definition of macro ‘get_displayable_string’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 3397| name, cat,
# 3398| get_displayable_string(current,
# 3399|-> current + strlen(current),
# 3400| false),
# 3401| get_displayable_string(failed,
Error: GCC_ANALYZER_WARNING (CWE-688): [#def32]
perl-5.40.0-build/perl-5.40.0/locale.c:3402:61: warning[-Wanalyzer-null-argument]: use of NULL ‘failed’ where non-null expected
perl-5.40.0-build/perl-5.40.0/embed.h:1396:82: note: in definition of macro ‘get_displayable_string’
perl-5.40.0-build/perl-5.40.0/locale.c:3672:9: note: in expansion of macro ‘isNAME_C_OR_POSIX’
perl-5.40.0-build/perl-5.40.0/locale.c:3681:31: note: in expansion of macro ‘is_locale_utf8’
perl-5.40.0-build/perl-5.40.0/locale.c:3681:31: note: in expansion of macro ‘is_locale_utf8’
perl-5.40.0-build/perl-5.40.0/locale.c:4832:9: note: in expansion of macro ‘isNAME_C_OR_POSIX’
perl-5.40.0-build/perl-5.40.0/locale.c:733:9: note: in expansion of macro ‘langinfo_sv_i’
perl-5.40.0-build/perl-5.40.0/locale.c:736:9: note: in expansion of macro ‘langinfo_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4911:28: note: in expansion of macro ‘langinfo_c’
perl-5.40.0-build/perl-5.40.0/locale.c:733:9: note: in expansion of macro ‘langinfo_sv_i’
perl-5.40.0-build/perl-5.40.0/locale.c:736:9: note: in expansion of macro ‘langinfo_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4911:28: note: in expansion of macro ‘langinfo_c’
perl-5.40.0-build/perl-5.40.0/locale.c:749:41: note: in expansion of macro ‘toggle_locale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:392:42: note: in expansion of macro ‘toggle_locale_c’
perl-5.40.0-build/perl-5.40.0/locale.c:6440:5: note: in expansion of macro ‘start_DEALING_WITH_MISMATCHED_CTYPE’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4634:41: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2193:22: note: in expansion of macro ‘my_querylocale’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4634:41: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4656:9: note: in expansion of macro ‘strEQ’
perl-5.40.0-build/perl-5.40.0/locale.c:2231:31: note: in expansion of macro ‘bool_setlocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2685:15: note: in expansion of macro ‘bool_setlocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4664:5: note: in expansion of macro ‘void_setlocale_i_with_caller’
perl-5.40.0-build/perl-5.40.0/locale.c:2231:31: note: in expansion of macro ‘bool_setlocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2685:15: note: in expansion of macro ‘bool_setlocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:4664:5: note: in expansion of macro ‘void_setlocale_i_with_caller’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2263:36: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/perl.h:4233:62: note: in definition of macro ‘EXPECT’
perl-5.40.0-build/perl-5.40.0/perl.h:4253:52: note: in expansion of macro ‘cBOOL’
perl-5.40.0-build/perl-5.40.0/perl.h:6419:13: note: in expansion of macro ‘LIKELY’
perl-5.40.0-build/perl-5.40.0/perl.h:7078:8: note: in expansion of macro ‘PERL_REENTRANT_LOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7079:46: note: in expansion of macro ‘PL_locale_mutex_depth’
perl-5.40.0-build/perl-5.40.0/perl.h:7124:26: note: in expansion of macro ‘LOCALE_LOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7171:37: note: in expansion of macro ‘gwLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2075:9: note: in expansion of macro ‘POSIX_SETLOCALE_LOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/locale.c:2076:18: note: in expansion of macro ‘mortalized_pv_copy’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7082:8: note: in expansion of macro ‘PERL_REENTRANT_UNLOCK’
perl-5.40.0-build/perl-5.40.0/perl.h:7125:26: note: in expansion of macro ‘LOCALE_UNLOCK_’
perl-5.40.0-build/perl-5.40.0/perl.h:7172:37: note: in expansion of macro ‘gwLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2077:9: note: in expansion of macro ‘POSIX_SETLOCALE_UNLOCK’
perl-5.40.0-build/perl-5.40.0/locale.c:2005:31: note: in expansion of macro ‘querylocale_2008_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2263:36: note: in expansion of macro ‘querylocale_i’
perl-5.40.0-build/perl-5.40.0/locale.c:1121:5: note: in expansion of macro ‘setlocale_failure_panic_via_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2617:9: note: in expansion of macro ‘setlocale_failure_panic_i’
perl-5.40.0-build/perl-5.40.0/locale.c:1121:5: note: in expansion of macro ‘setlocale_failure_panic_via_i’
perl-5.40.0-build/perl-5.40.0/locale.c:2617:9: note: in expansion of macro ‘setlocale_failure_panic_i’
perl-5.40.0-build/perl-5.40.0/embed.h:1396:82: note: in definition of macro ‘get_displayable_string’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 3400| false),
# 3401| get_displayable_string(failed,
# 3402|-> failed + strlen(failed),
# 3403| false),
# 3404| proxy_text);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
perl-5.40.0-build/perl-5.40.0/perl.h:4549: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs: scope_hint: In function ‘THX_ck_entersub_args_scalars’
perl-5.40.0-build/perl-5.40.0/op.h:1080:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aop’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:595:58: note: in expansion of macro ‘OpSIBLING’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:595:32: note: in expansion of macro ‘OpHAS_SIBLING’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:596:9: note: in expansion of macro ‘op_contextualize’
perl-5.40.0-build/perl-5.40.0/ext/XS-APItest/APItest.xs:595:58: note: in expansion of macro ‘OpSIBLING’
# 1078|
# 1079| #define OpHAS_SIBLING(o) (cBOOL((o)->op_moresib))
# 1080|-> #define OpSIBLING(o) (0 + (o)->op_moresib ? (o)->op_sibparent : NULL)
# 1081| #define OpMORESIB_set(o, sib) ((o)->op_moresib = 1, (o)->op_sibparent = (sib))
# 1082| #define OpLASTSIB_set(o, parent) \
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
perl-5.40.0-build/perl-5.40.0/perl.h:4549: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/class.c:16: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/class.c: scope_hint: In function ‘Perl_class_seal_stash’
perl-5.40.0-build/perl-5.40.0/op.h:1083:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.0-build/perl-5.40.0/class.c:720:17: note: in expansion of macro ‘OpLASTSIB_set’
perl-5.40.0-build/perl-5.40.0/perl.h:3329: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/hv.h:705:17: note: in expansion of macro ‘MUTABLE_HV’
perl-5.40.0-build/perl-5.40.0/hv.h:705:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:658:32: note: in expansion of macro ‘newHV’
perl-5.40.0-build/perl-5.40.0/perl.h:7870: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/handy.h:99:41: note: in definition of macro ‘MUTABLE_PTR’
perl-5.40.0-build/perl-5.40.0/hv.h:705:17: note: in expansion of macro ‘MUTABLE_HV’
perl-5.40.0-build/perl-5.40.0/hv.h:705:28: note: in expansion of macro ‘newSV_type’
perl-5.40.0-build/perl-5.40.0/class.c:658:32: note: in expansion of macro ‘newHV’
perl-5.40.0-build/perl-5.40.0/perl.h:4546: included_from: Included from here.
perl-5.40.0-build/perl-5.40.0/class.c:698:27: note: in expansion of macro ‘PadnamelistARRAY’
perl-5.40.0-build/perl-5.40.0/class.c:716:21: note: in expansion of macro ‘OpSIBLING’
perl-5.40.0-build/perl-5.40.0/class.c:717:17: note: in expansion of macro ‘OpLASTSIB_set’
perl-5.40.0-build/perl-5.40.0/class.c:720:17: note: in expansion of macro ‘OpLASTSIB_set’
perl-5.40.0-build/perl-5.40.0/class.c:720:17: note: in expansion of macro ‘OpLASTSIB_set’
# 1081| #define OpMORESIB_set(o, sib) ((o)->op_moresib = 1, (o)->op_sibparent = (sib))
# 1082| #define OpLASTSIB_set(o, parent) \
# 1083|-> ((o)->op_moresib = 0, (o)->op_sibparent = (parent))
# 1084| #define OpMAYBESIB_set(o, sib, parent) \
# 1085| ((o)->op_sibparent = ((o)->op_moresib = cBOOL(sib)) ? (sib) : (parent))
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-35.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | perl-5.38.2-506.fc40 |
diffbase-store-results-to | /tmp/tmpaocige10/perl-5.38.2-506.fc40.tar.xz |
diffbase-time-created | 2024-07-03 16:33:00 |
diffbase-time-finished | 2024-07-03 16:43:14 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpaocige10/perl-5.38.2-506.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpaocige10/perl-5.38.2-506.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-35.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | perl-5.40.0-509.fc41 |
store-results-to | /tmp/tmpbcwepj6a/perl-5.40.0-509.fc41.tar.xz |
time-created | 2024-07-03 16:43:39 |
time-finished | 2024-07-03 16:53:20 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbcwepj6a/perl-5.40.0-509.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpbcwepj6a/perl-5.40.0-509.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |