Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] perl-5.44.0/av.c:590:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/av.c:566:1: enter_function: entry to ‘Perl_newAVhv’ perl-5.44.0/av.c:570:7: branch_false: following ‘false’ branch... perl-5.44.0/av.c:573:17: branch_false: ...to here perl-5.44.0/av.c:579:15: call_function: calling ‘Perl_av_new_alloc’ from ‘Perl_newAVhv’ perl-5.44.0/av.c:579:15: return_function: returning to ‘Perl_newAVhv’ from ‘Perl_av_new_alloc’ perl-5.44.0/av.c:588:11: branch_true: following ‘true’ branch... perl-5.44.0/av.c:589:11: branch_true: ...to here perl-5.44.0/av.c:589:11: branch_true: following ‘true’ branch... perl-5.44.0/av.c:590:13: branch_true: ...to here perl-5.44.0/av.c:590:13: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘Perl_newAVhv’ perl-5.44.0/av.c:590:13: branch_true: ...to here perl-5.44.0/av.c:590:13: danger: argument 3 (‘<unknown>’) NULL where non-null expected # 588| while((he = hv_iternext(ohv))) { # 589| if(tied) { # 590|-> av_push_simple(ret, newSVsv(hv_iterkeysv(he))); # 591| av_push_simple(ret, newSVsv(hv_iterval(ohv, he))); # 592| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] perl-5.44.0/builtin.c:541:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/builtin.c:535:1: enter_function: entry to ‘XS_builtin_load_module’ perl-5.44.0/builtin.c:538:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/builtin.c:540:23: branch_false: ...to here perl-5.44.0/builtin.c:540:23: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_builtin_load_module’ perl-5.44.0/builtin.c:541:10: branch_true: ...to here perl-5.44.0/builtin.c:541:10: danger: dereference of NULL ‘<unknown>’ # 539| croak_xs_usage(cv, "arg"); # 540| SV *module_name = newSVsv(ST(0)); # 541|-> if (!SvPOK(module_name)) { # 542| SvREFCNT_dec(module_name); # 543| croak_xs_usage(cv, "defined string"); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] perl-5.44.0/class.c:1078:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/class.c:1014:1: enter_function: entry to ‘Perl_class_wrap_method_body’ perl-5.44.0/class.c:1018:7: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)... perl-5.44.0/class.c:1028:24: branch_false: ...to here perl-5.44.0/class.c:1030:20: call_function: calling ‘Perl_newSV_type’ from ‘Perl_class_wrap_method_body’ perl-5.44.0/class.c:1030:20: return_function: returning to ‘Perl_class_wrap_method_body’ from ‘Perl_newSV_type’ perl-5.44.0/class.c:1050:7: branch_false: following ‘false’ branch... perl-5.44.0/class.c:1067:8: branch_false: ...to here perl-5.44.0/class.c:1070:7: branch_true: following ‘true’ branch... perl-5.44.0/class.c:1074:27: branch_true: ...to here perl-5.44.0/class.c:1074:27: call_function: calling ‘S_find_op_methstart’ from ‘Perl_class_wrap_method_body’ perl-5.44.0/class.c:1074:27: return_function: returning to ‘Perl_class_wrap_method_body’ from ‘S_find_op_methstart’ perl-5.44.0/class.c:1078:9: danger: dereference of NULL ‘S_find_op_methstart(my_perl, o)’ # 1076| assert(!cUNOP_AUXx(methstartop)->op_aux); # 1077| # 1078|-> cUNOP_AUXx(methstartop)->op_aux = aux; # 1079| } # 1080| else Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:1946:1: enter_function: entry to ‘XS_DB_File_DELETE’ perl-5.44.0/cpan/DB_File/DB_File.c:1949:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1645:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:1961:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_DELETE’ perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:1977:9: danger: dereference of NULL ‘my_sv’ # 1975| { # 1976| SV * my_sv = ST(1); # 1977|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 1978| DBT_clear(key) ; # 1979| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2016:1: enter_function: entry to ‘XS_DB_File_EXISTS’ perl-5.44.0/cpan/DB_File/DB_File.c:2019:8: branch_false: following ‘false’ branch (when ‘items == 2’)... perl-5.44.0/cpan/DB_File/DB_File.xs:1656:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2030:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_EXISTS’ perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2046:9: danger: dereference of NULL ‘my_sv’ # 2044| { # 2045| SV * my_sv = ST(1); # 2046|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2047| DBT_clear(key) ; # 2048| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2081:1: enter_function: entry to ‘XS_DB_File_FETCH’ perl-5.44.0/cpan/DB_File/DB_File.c:2084:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1674:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2095:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_FETCH’ perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2111:9: danger: dereference of NULL ‘my_sv’ # 2109| { # 2110| SV * my_sv = ST(1); # 2111|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2112| DBT_clear(key) ; # 2113| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2153:1: enter_function: entry to ‘XS_DB_File_STORE’ perl-5.44.0/cpan/DB_File/DB_File.c:2156:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1694:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2169:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_STORE’ perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2185:9: danger: dereference of NULL ‘my_sv’ # 2183| { # 2184| SV * my_sv = ST(1); # 2185|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2186| DBT_clear(key) ; # 2187| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2153:1: enter_function: entry to ‘XS_DB_File_STORE’ perl-5.44.0/cpan/DB_File/DB_File.c:2156:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1694:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2169:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_STORE’ perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2206:9: danger: dereference of NULL ‘my_sv’ # 2204| { # 2205| SV * my_sv = ST(2); # 2206|-> DBM_ckFilter(my_sv, filter_store_value, "filter_store_value"); # 2207| DBT_clear(value) ; # 2208| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2620:1: enter_function: entry to ‘XS_DB_File_del’ perl-5.44.0/cpan/DB_File/DB_File.c:2623:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1916:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2635:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_del’ perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2651:9: danger: dereference of NULL ‘my_sv’ # 2649| { # 2650| SV * my_sv = ST(1); # 2651|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2652| DBT_clear(key) ; # 2653| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2694:1: enter_function: entry to ‘XS_DB_File_get’ perl-5.44.0/cpan/DB_File/DB_File.c:2697:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1937:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2710:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_get’ perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2726:9: danger: dereference of NULL ‘my_sv’ # 2724| { # 2725| SV * my_sv = ST(1); # 2726|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2727| DBT_clear(key) ; # 2728| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2772:1: enter_function: entry to ‘XS_DB_File_put’ perl-5.44.0/cpan/DB_File/DB_File.c:2775:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1959:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2788:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_put’ perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2804:9: danger: dereference of NULL ‘my_sv’ # 2802| { # 2803| SV * my_sv = ST(1); # 2804|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2805| DBT_clear(key) ; # 2806| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def12] perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2772:1: enter_function: entry to ‘XS_DB_File_put’ perl-5.44.0/cpan/DB_File/DB_File.c:2775:8: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.xs:1959:7: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2788:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_put’ perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2825:9: danger: dereference of NULL ‘my_sv’ # 2823| { # 2824| SV * my_sv = ST(2); # 2825|-> DBM_ckFilter(my_sv, filter_store_value, "filter_store_value"); # 2826| DBT_clear(value) ; # 2827| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’ perl-5.44.0/cpan/DB_File/DB_File.c:2964:1: enter_function: entry to ‘XS_DB_File_seq’ perl-5.44.0/cpan/DB_File/DB_File.c:2967:8: branch_false: following ‘false’ branch (when ‘items == 4’)... perl-5.44.0/cpan/DB_File/DB_File.c:2973:39: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2973:39: call_function: calling ‘Perl_SvUV’ from ‘XS_DB_File_seq’ perl-5.44.0/cpan/DB_File/DB_File.c:2973:39: return_function: returning to ‘XS_DB_File_seq’ from ‘Perl_SvUV’ perl-5.44.0/cpan/DB_File/DB_File.c:2981:12: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: branch_true: following ‘true’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: branch_false: following ‘false’ branch... perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: branch_false: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_DB_File_seq’ perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: branch_true: ...to here perl-5.44.0/cpan/DB_File/DB_File.c:2997:9: danger: dereference of NULL ‘my_sv’ # 2995| { # 2996| SV * my_sv = ST(1); # 2997|-> DBM_ckFilter(my_sv, filter_store_key, "filter_store_key"); # 2998| DBT_clear(key) ; # 2999| SvGETMAGIC(my_sv) ; Error: GCC_ANALYZER_WARNING (CWE-476): [#def14] perl-5.44.0/cpan/Encode/Encode.xs:1043:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/cpan/Encode/Encode.c:1484:1: enter_function: entry to ‘XS_Encode_encode_utf8’ perl-5.44.0/cpan/Encode/Encode.c:1487:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/cpan/Encode/Encode.c:1490:26: branch_false: ...to here perl-5.44.0/cpan/Encode/Encode.xs:1042:14: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_Encode_encode_utf8’ perl-5.44.0/cpan/Encode/Encode.xs:1043:9: branch_true: ...to here perl-5.44.0/cpan/Encode/Encode.xs:1043:9: danger: dereference of NULL ‘<unknown>’ # 1041| CODE: # 1042| RETVAL = newSVsv(string); # 1043|-> if (SvOK(RETVAL)) # 1044| sv_utf8_encode(RETVAL); # 1045| OUTPUT: Error: GCC_ANALYZER_WARNING (CWE-688): [#def15] perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:578:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:716:1: enter_function: entry to ‘XS_List__Util_reduce’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:720:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:723:25: branch_false: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:554:17: call_function: calling ‘MY_sv_to_cv’ from ‘XS_List__Util_reduce’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:554:17: return_function: returning to ‘XS_List__Util_reduce’ from ‘MY_sv_to_cv’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:556:7: branch_false: following ‘false’ branch (when ‘items != 1’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:563:11: branch_false: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:570:7: branch_true: following ‘true’ branch (when ‘ix != 0’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:572:19: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:572:19: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_reduce’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:572:19: return_function: returning to ‘XS_List__Util_reduce’ from ‘Perl_newSV_type’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:578:9: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_List__Util_reduce’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:578:9: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:578:9: danger: argument 3 (‘<unknown>’) NULL where non-null expected # 576| SAVEFREESV(retvals); # 577| # 578|-> av_push(retvals, newSVsv(ret)); # 579| } # 580| #ifdef dMULTICALL Error: GCC_ANALYZER_WARNING (CWE-688): [#def16] perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:833:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:1027:1: enter_function: entry to ‘XS_List__Util_pairs’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:828:15: branch_true: following ‘true’ branch (when ‘argi < items’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:829:21: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:832:22: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_pairs’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:832:22: return_function: returning to ‘XS_List__Util_pairs’ from ‘Perl_newSV_type’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:833:13: danger: argument 3 (‘<unknown>’) NULL where non-null expected # 831| # 832| AV *av = newAV(); # 833|-> av_push(av, newSVsv(a)); # 834| av_push(av, newSVsv(b)); # 835| Error: GCC_ANALYZER_WARNING (CWE-688): [#def17] perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:834:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:1027:1: enter_function: entry to ‘XS_List__Util_pairs’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:828:15: branch_true: following ‘true’ branch (when ‘argi < items’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:829:21: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:832:22: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_pairs’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:832:22: return_function: returning to ‘XS_List__Util_pairs’ from ‘Perl_newSV_type’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:834:13: danger: argument 3 (‘<unknown>’) NULL where non-null expected # 832| AV *av = newAV(); # 833| av_push(av, newSVsv(a)); # 834|-> av_push(av, newSVsv(b)); # 835| # 836| ST(reti) = sv_2mortal(newRV_noinc((SV *)av)); Error: GCC_ANALYZER_WARNING (CWE-688): [#def18] perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1663:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.c:1909:1: enter_function: entry to ‘XS_List__Util_zip’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1594:7: branch_false: following ‘false’ branch... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1597:5: branch_false: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1597:5: branch_false: following ‘false’ branch... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1597:5: branch_false: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1607:11: branch_false: following ‘false’ branch... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1612:11: branch_true: following ‘true’ branch (when ‘i == 0’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1613:19: call_function: inlined call to ‘Perl_av_count’ from ‘XS_List__Util_zip’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1631:7: branch_false: following ‘false’ branch... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1651:9: branch_false: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1653:20: branch_true: following ‘true’ branch (when ‘len > i’)... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1655:23: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1655:23: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_zip’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1655:23: return_function: returning to ‘XS_List__Util_zip’ from ‘Perl_newSV_type’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1659:28: branch_true: following ‘true’ branch... perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1660:21: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1663:17: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_List__Util_zip’ perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1663:17: branch_true: ...to here perl-5.44.0/cpan/Scalar-List-Utils/ListUtil.xs:1663:17: danger: argument 3 (‘<unknown>’) NULL where non-null expected # 1661| &PL_sv_undef; # 1662| # 1663|-> av_push(ret, newSVsv(item)); # 1664| } # 1665| Error: GCC_ANALYZER_WARNING (CWE-476): [#def19] perl-5.44.0/dist/Data-Dumper/Dumper.xs:1509:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘href’ perl-5.44.0/dist/Data-Dumper/Dumper.c:1606:1: enter_function: entry to ‘XS_Data__Dumper_Dumpxs’ perl-5.44.0/dist/Data-Dumper/Dumper.c:1609:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/dist/Data-Dumper/Dumper.c:1612:8: branch_false: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1470:16: branch_true: following ‘true’ branch... perl-5.44.0/dist/Data-Dumper/Dumper.xs:1471:20: branch_true: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1471:20: branch_false: following ‘false’ branch (when ‘items != 1’)... perl-5.44.0/dist/Data-Dumper/Dumper.xs:1474:17: branch_false: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1486:20: branch_true: following ‘true’ branch... perl-5.44.0/dist/Data-Dumper/Dumper.xs:1487:28: branch_true: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1487:28: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_Data__Dumper_Dumpxs’ perl-5.44.0/dist/Data-Dumper/Dumper.xs:1489:17: branch_true: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1492:20: branch_true: following ‘true’ branch... perl-5.44.0/dist/Data-Dumper/Dumper.xs:1493:27: branch_true: ...to here perl-5.44.0/dist/Data-Dumper/Dumper.xs:1509:17: danger: dereference of NULL ‘href’ # 1507| # 1508| retval = newSVpvs_flags("", SVs_TEMP); # 1509|-> if (SvROK(href) # 1510| && (hv = (HV*)SvRV((SV*)href)) # 1511| && SvTYPE(hv) == SVt_PVHV) { Error: GCC_ANALYZER_WARNING (CWE-688): [#def20] perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:238:3: warning[-Wanalyzer-null-argument]: use of NULL ‘sv’ where non-null expected perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7330:1: enter_function: entry to ‘XS_Devel__PPPort_sv_vcatpvf’ perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7333:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7336:22: branch_false: ...to here perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3603:26: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_Devel__PPPort_sv_vcatpvf’ perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3604:17: branch_true: ...to here perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3604:17: call_function: calling ‘test_sv_vcatpvf’ from ‘XS_Devel__PPPort_sv_vcatpvf’ # 236| va_start(args, pat); # 237| #if (PERL_BCDVERSION >= 0x5004000) # 238|-> sv_vcatpvf(sv, pat, &args); # 239| #else # 240| sv_catpv(sv, (char *) pat); Error: GCC_ANALYZER_WARNING (CWE-688): [#def21] perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:250:3: warning[-Wanalyzer-null-argument]: use of NULL ‘sv’ where non-null expected perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7351:1: enter_function: entry to ‘XS_Devel__PPPort_sv_vsetpvf’ perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7354:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/dist/Devel-PPPort/RealPPPort.c:7357:22: branch_false: ...to here perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3612:26: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_Devel__PPPort_sv_vsetpvf’ perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3613:17: branch_true: ...to here perl-5.44.0/dist/Devel-PPPort/RealPPPort.xs:3613:17: call_function: calling ‘test_sv_vsetpvf’ from ‘XS_Devel__PPPort_sv_vsetpvf’ # 248| va_start(args, pat); # 249| #if (PERL_BCDVERSION >= 0x5004000) # 250|-> sv_vsetpvf(sv, pat, &args); # 251| #else # 252| sv_setpv(sv, (char *) pat); Error: COMPILER_WARNING (CWE-563): [#def22] perl-5.44.0/dist/Time-HiRes/tmp23119.c: scope_hint: In function ‘main’ perl-5.44.0/dist/Time-HiRes/tmp23119.c:7:13: warning[-Wunused-variable]: unused variable ‘tictoc’ # 7 | clock_t tictoc; # | ^~~~~~ Error: COMPILER_WARNING (CWE-457): [#def23] perl-5.44.0/dist/Time-HiRes/tmp23119.c:9:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized # 9 | ret1 = futimens(0, ts1); # | ^~~~~~~~~~~~~~~~ perl-5.44.0/perl.h:1727: 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.44.0/dist/Time-HiRes/tmp23119.c:8:21: note: ‘ts1’ declared here # 8 | struct timespec ts1[2], ts2[2]; # | ^~~ Error: COMPILER_WARNING (CWE-252): [#def24] perl-5.44.0/dist/Time-HiRes/tmp23119.c: scope_hint: In function ‘main’ perl-5.44.0/dist/Time-HiRes/tmp23119.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): [#def25] perl-5.44.0/dist/Time-HiRes/tmp23119.c:12:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized # 12 | ret1 = utimensat(AT_FDCWD, "/dev/stdin", ts1, 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perl-5.44.0/perl.h:1727: 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.44.0/dist/Time-HiRes/tmp23119.c:9:21: note: ‘ts1’ declared here # 9 | struct timespec ts1[2], ts2[2]; # | ^~~ Error: GCC_ANALYZER_WARNING (CWE-457): [#def26] perl-5.44.0/dist/Time-HiRes/tmp23119.c:13:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’ perl-5.44.0/dist/Time-HiRes/tmp23119.c:13:5: branch_true: following ‘true’ branch... perl-5.44.0/dist/Time-HiRes/tmp23119.c:13:32: branch_true: ...to here perl-5.44.0/dist/Time-HiRes/tmp23119.c:13:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here Error: COMPILER_WARNING (CWE-252): [#def27] perl-5.44.0/dist/Time-HiRes/tmp23119.c: scope_hint: In function ‘main’ perl-5.44.0/dist/Time-HiRes/tmp23119.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: [#def28] perl-5.44.0/dist/Time-HiRes/tmp23119.c:16:17: warning[-Wunused-but-set-variable=]: variable ‘st’ set but not used # 16 | struct stat st; # | ^~ Error: GCC_ANALYZER_WARNING (CWE-457): [#def29] perl-5.44.0/dist/Time-HiRes/tmp23119.c:16:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’ perl-5.44.0/dist/Time-HiRes/tmp23119.c:16:5: branch_true: following ‘true’ branch... perl-5.44.0/dist/Time-HiRes/tmp23119.c:16:32: branch_true: ...to here perl-5.44.0/dist/Time-HiRes/tmp23119.c:16:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here Error: GCC_ANALYZER_WARNING (CWE-476): [#def30] perl-5.44.0/dist/threads-shared/shared.xs:1395:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/dist/threads-shared/shared.c:1546:1: enter_function: entry to ‘XS_threads__shared__tie_PUSH’ perl-5.44.0/dist/threads-shared/shared.c:1549:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/dist/threads-shared/shared.c:1552:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1390:20: branch_true: following ‘true’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1390:20: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1390:20: call_function: calling ‘Perl_SvIV’ from ‘XS_threads__shared__tie_PUSH’ perl-5.44.0/dist/threads-shared/shared.xs:1390:20: return_function: returning to ‘XS_threads__shared__tie_PUSH’ from ‘Perl_SvIV’ perl-5.44.0/dist/threads-shared/shared.xs:1392:22: branch_true: following ‘true’ branch (when ‘ii < items’)... perl-5.44.0/dist/threads-shared/shared.xs:1393:23: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1393:23: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_threads__shared__tie_PUSH’ perl-5.44.0/dist/threads-shared/shared.xs:1395:33: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1395:33: danger: dereference of NULL ‘<unknown>’ # 1393| SV* tmp = newSVsv(ST(ii)); # 1394| SV *stmp; # 1395|-> U32 dualvar_flags = DUALVAR_FLAGS(tmp); # 1396| ENTER_LOCK; # 1397| stmp = S_sharedsv_new_shared(aTHX_ tmp); Error: GCC_ANALYZER_WARNING (CWE-476): [#def31] perl-5.44.0/dist/threads-shared/shared.xs:1395:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sobj’ perl-5.44.0/dist/threads-shared/shared.c:1546:1: enter_function: entry to ‘XS_threads__shared__tie_PUSH’ perl-5.44.0/dist/threads-shared/shared.c:1549:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/dist/threads-shared/shared.c:1552:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1390:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1392:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1392:22: branch_true: following ‘true’ branch (when ‘ii < items’)... perl-5.44.0/dist/threads-shared/shared.xs:1393:23: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1393:23: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_threads__shared__tie_PUSH’ perl-5.44.0/dist/threads-shared/shared.xs:1395:33: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1395:33: danger: dereference of NULL ‘<unknown>’ # 1393| SV* tmp = newSVsv(ST(ii)); # 1394| SV *stmp; # 1395|-> U32 dualvar_flags = DUALVAR_FLAGS(tmp); # 1396| ENTER_LOCK; # 1397| stmp = S_sharedsv_new_shared(aTHX_ tmp); Error: GCC_ANALYZER_WARNING (CWE-688): [#def32] perl-5.44.0/dist/threads-shared/shared.xs:1416:9: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1579:1: enter_function: entry to ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.c:1582:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/dist/threads-shared/shared.c:1585:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1412:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1414:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1414:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.xs:1414:9: return_function: returning to ‘XS_threads__shared__tie_UNSHIFT’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1415:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1415:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1416:9: danger: argument 2 (‘sobj’) NULL where non-null expected # 1414| ENTER_LOCK; # 1415| SHARED_CONTEXT; # 1416|-> av_unshift((AV*)sobj, items - 1); # 1417| CALLER_CONTEXT; # 1418| for (ii = 1; ii < items; ii++) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def33] perl-5.44.0/dist/threads-shared/shared.xs:1420:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/dist/threads-shared/shared.c:1579:1: enter_function: entry to ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.c:1582:8: branch_false: following ‘false’ branch (when ‘items > 0’)... perl-5.44.0/dist/threads-shared/shared.c:1585:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1412:20: branch_true: following ‘true’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1412:20: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1412:20: call_function: calling ‘Perl_SvIV’ from ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.xs:1412:20: return_function: returning to ‘XS_threads__shared__tie_UNSHIFT’ from ‘Perl_SvIV’ perl-5.44.0/dist/threads-shared/shared.xs:1414:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.xs:1414:9: return_function: returning to ‘XS_threads__shared__tie_UNSHIFT’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1415:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1415:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1417:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1417:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1418:22: branch_true: following ‘true’ branch (when ‘ii < items’)... perl-5.44.0/dist/threads-shared/shared.xs:1419:23: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1419:23: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_threads__shared__tie_UNSHIFT’ perl-5.44.0/dist/threads-shared/shared.xs:1420:33: branch_true: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1420:33: danger: dereference of NULL ‘<unknown>’ # 1418| for (ii = 1; ii < items; ii++) { # 1419| SV *tmp = newSVsv(ST(ii)); # 1420|-> U32 dualvar_flags = DUALVAR_FLAGS(tmp); # 1421| SV *stmp = S_sharedsv_new_shared(aTHX_ tmp); # 1422| sharedsv_scalar_store(aTHX_ tmp, stmp); Error: GCC_ANALYZER_WARNING (CWE-688): [#def34] perl-5.44.0/dist/threads-shared/shared.xs:1441:15: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1615:1: enter_function: entry to ‘XS_threads__shared__tie_POP’ perl-5.44.0/dist/threads-shared/shared.c:1618:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/dist/threads-shared/shared.c:1622:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1437:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1439:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1439:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_POP’ perl-5.44.0/dist/threads-shared/shared.xs:1439:9: return_function: returning to ‘XS_threads__shared__tie_POP’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1440:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1440:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1441:15: danger: argument 2 (‘sobj’) NULL where non-null expected # 1439| ENTER_LOCK; # 1440| SHARED_CONTEXT; # 1441|-> ssv = av_pop((AV*)sobj); # 1442| CALLER_CONTEXT; # 1443| RETVAL = newSV(0); Error: GCC_ANALYZER_WARNING (CWE-688): [#def35] perl-5.44.0/dist/threads-shared/shared.xs:1458:15: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1645:1: enter_function: entry to ‘XS_threads__shared__tie_SHIFT’ perl-5.44.0/dist/threads-shared/shared.c:1648:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/dist/threads-shared/shared.c:1652:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1454:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1456:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1456:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_SHIFT’ perl-5.44.0/dist/threads-shared/shared.xs:1456:9: return_function: returning to ‘XS_threads__shared__tie_SHIFT’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1457:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1457:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1458:15: danger: argument 2 (‘sobj’) NULL where non-null expected # 1456| ENTER_LOCK; # 1457| SHARED_CONTEXT; # 1458|-> ssv = av_shift((AV*)sobj); # 1459| CALLER_CONTEXT; # 1460| RETVAL = newSV(0); Error: GCC_ANALYZER_WARNING (CWE-688): [#def36] perl-5.44.0/dist/threads-shared/shared.xs:1473:9: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1675:1: enter_function: entry to ‘XS_threads__shared__tie_EXTEND’ perl-5.44.0/dist/threads-shared/shared.c:1678:8: branch_false: following ‘false’ branch (when ‘items == 2’)... perl-5.44.0/dist/threads-shared/shared.c:1681:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1471:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1472:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1472:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_EXTEND’ perl-5.44.0/dist/threads-shared/shared.xs:1472:9: return_function: returning to ‘XS_threads__shared__tie_EXTEND’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1472:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1472:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1473:9: danger: argument 2 (‘sobj’) NULL where non-null expected # 1471| SV *sobj = SHAREDSV_FROM_OBJ(obj); # 1472| SHARED_EDIT; # 1473|-> av_extend((AV*)sobj, count); # 1474| SHARED_RELEASE; # 1475| Error: GCC_ANALYZER_WARNING (CWE-688): [#def37] perl-5.44.0/dist/threads-shared/shared.xs:1504:9: warning[-Wanalyzer-null-argument]: use of NULL ‘ssv’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1698:1: enter_function: entry to ‘XS_threads__shared__tie_STORESIZE’ perl-5.44.0/dist/threads-shared/shared.c:1701:8: branch_false: following ‘false’ branch (when ‘items == 2’)... perl-5.44.0/dist/threads-shared/shared.c:1704:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1481:19: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1483:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1483:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_STORESIZE’ perl-5.44.0/dist/threads-shared/shared.xs:1483:9: return_function: returning to ‘XS_threads__shared__tie_STORESIZE’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1483:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1483:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1485:12: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1504:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1504:9: danger: argument 2 (‘ssv’) NULL where non-null expected # 1502| } # 1503| } # 1504|-> av_fill((AV*) ssv, count - 1); # 1505| SHARED_RELEASE; # 1506| Error: GCC_ANALYZER_WARNING (CWE-688): [#def38] perl-5.44.0/dist/threads-shared/shared.xs:1543:9: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1783:1: enter_function: entry to ‘XS_threads__shared__tie_FIRSTKEY’ perl-5.44.0/dist/threads-shared/shared.c:1786:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/dist/threads-shared/shared.c:1790:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1537:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1539:13: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1541:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_FIRSTKEY’ perl-5.44.0/dist/threads-shared/shared.xs:1541:9: return_function: returning to ‘XS_threads__shared__tie_FIRSTKEY’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1542:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1542:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1543:9: danger: argument 2 (‘sobj’) NULL where non-null expected # 1541| ENTER_LOCK; # 1542| SHARED_CONTEXT; # 1543|-> hv_iterinit((HV*) sobj); # 1544| entry = hv_iternext((HV*) sobj); # 1545| if (entry) { Error: GCC_ANALYZER_WARNING (CWE-688): [#def39] perl-5.44.0/dist/threads-shared/shared.xs:1571:17: warning[-Wanalyzer-null-argument]: use of NULL ‘sobj’ where non-null expected perl-5.44.0/dist/threads-shared/shared.c:1821:1: enter_function: entry to ‘XS_threads__shared__tie_NEXTKEY’ perl-5.44.0/dist/threads-shared/shared.c:1824:8: branch_false: following ‘false’ branch (when ‘items == 2’)... perl-5.44.0/dist/threads-shared/shared.c:1828:23: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1562:20: branch_false: following ‘false’ branch... perl-5.44.0/dist/threads-shared/shared.xs:1564:13: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1569:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_NEXTKEY’ perl-5.44.0/dist/threads-shared/shared.xs:1569:9: return_function: returning to ‘XS_threads__shared__tie_NEXTKEY’ from ‘recursive_lock_acquire’ perl-5.44.0/dist/threads-shared/shared.xs:1570:9: branch_false: following ‘false’ branch (when ‘eC_ == 0’)... perl-5.44.0/dist/threads-shared/shared.xs:1570:9: branch_false: ...to here perl-5.44.0/dist/threads-shared/shared.xs:1571:17: danger: argument 2 (‘sobj’) NULL where non-null expected # 1569| ENTER_LOCK; # 1570| SHARED_CONTEXT; # 1571|-> entry = hv_iternext((HV*) sobj); # 1572| if (entry) { # 1573| I32 utf8 = HeKUTF8(entry); Error: GCC_ANALYZER_WARNING (CWE-835): [#def40] perl-5.44.0/doio.c:638:17: warning[-Wanalyzer-infinite-loop]: infinite loop # 636| } # 637| do { # 638|-> type++; # 639| } while (isSPACE(*type)); # 640| if (!num_svs) { Error: GCC_ANALYZER_WARNING (CWE-835): [#def41] perl-5.44.0/doio.c:716:28: warning[-Wanalyzer-infinite-loop]: infinite loop # 714| croak("More than one argument to '%c&' open",IoTYPE(io)); # 715| } # 716|-> while (isSPACE(*type)) # 717| type++; # 718| if (num_svs && ( Error: GCC_ANALYZER_WARNING (CWE-835): [#def42] perl-5.44.0/doio.c:796:24: warning[-Wanalyzer-infinite-loop]: infinite loop # 794| } /* & */ # 795| else { # 796|-> while (isSPACE(*type)) # 797| type++; # 798| if (*type == IoTYPE_STD && (!type[1] || isSPACE(type[1]) || type[1] == ':')) { Error: GCC_ANALYZER_WARNING (CWE-835): [#def43] perl-5.44.0/doio.c:823:17: warning[-Wanalyzer-infinite-loop]: infinite loop # 821| else if (*type == IoTYPE_RDONLY) { # 822| do { # 823|-> type++; # 824| } while (isSPACE(*type)); # 825| mode[0] = 'r'; Error: GCC_ANALYZER_WARNING (CWE-835): [#def44] perl-5.44.0/doio.c:865:24: warning[-Wanalyzer-infinite-loop]: infinite loop # 863| while (tend > type && isSPACE(tend[-1])) # 864| *--tend = '\0'; # 865|-> for (; isSPACE(*type); type++) # 866| ; # 867| name = type; Error: GCC_ANALYZER_WARNING (CWE-835): [#def45] perl-5.44.0/doio.c:910:20: warning[-Wanalyzer-infinite-loop]: infinite loop # 908| name = type; # 909| IoTYPE(io) = IoTYPE_RDONLY; # 910|-> for (; isSPACE(*name); name++) # 911| ; # 912| mode[0] = 'r'; Error: GCC_ANALYZER_WARNING (CWE-775): [#def46] perl-5.44.0/doio.c:1031:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(Perl_PerlIO_fileno(my_perl, fp), savefd)’ perl-5.44.0/doio.c:3449:1: enter_function: entry to ‘Perl_start_glob’ perl-5.44.0/doio.c:3501:11: call_function: calling ‘Perl_do_open6’ from ‘Perl_start_glob’ # 1029| SETERRNO(EBADF,RMS_IFI); # 1030| goto say_false; # 1031|-> } else if (PerlLIO_dup2(fd, savefd) < 0) { # 1032| (void)PerlIO_close(fp); # 1033| goto say_false; Error: GCC_ANALYZER_WARNING (CWE-835): [#def47] perl-5.44.0/doio.c:1318:12: warning[-Wanalyzer-infinite-loop]: infinite loop # 1316| # 1317| /* return true if name matches /^\A\s*(\|\s+-|\-\s+|)\s*\z/ */ # 1318|-> while (isSPACE(*name)) # 1319| name++; # 1320| if (*name == '|') { Error: GCC_ANALYZER_WARNING (CWE-476): [#def48] perl-5.44.0/doio.c:2434:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/doio.c:2404:1: enter_function: entry to ‘Perl_do_aexec5’ perl-5.44.0/doio.c:2416:9: branch_false: following ‘false’ branch... perl-5.44.0/doio.c:2416:9: branch_false: ...to here perl-5.44.0/doio.c:2420:16: branch_true: following ‘true’ branch (when ‘sp >= mark’)... perl-5.44.0/doio.c:2421:17: branch_true: ...to here perl-5.44.0/doio.c:2421:16: branch_true: following ‘true’ branch... perl-5.44.0/doio.c:2422:29: call_function: inlined call to ‘Perl_SvPV_helper’ from ‘Perl_do_aexec5’ perl-5.44.0/doio.c:2422:29: call_function: calling ‘Perl_savepv’ from ‘Perl_do_aexec5’ perl-5.44.0/doio.c:2422:29: return_function: returning to ‘Perl_do_aexec5’ from ‘Perl_savepv’ perl-5.44.0/doio.c:2420:16: branch_false: following ‘false’ branch (when ‘sp < mark’)... perl-5.44.0/doio.c:2428:9: branch_false: ...to here perl-5.44.0/doio.c:2429:12: branch_true: following ‘true’ branch (when ‘really’ is non-NULL)... perl-5.44.0/doio.c:2430:20: call_function: inlined call to ‘Perl_SvPV_helper’ from ‘Perl_do_aexec5’ perl-5.44.0/doio.c:2430:20: call_function: calling ‘Perl_savepv’ from ‘Perl_do_aexec5’ perl-5.44.0/doio.c:2430:20: return_function: returning to ‘Perl_do_aexec5’ from ‘Perl_savepv’ perl-5.44.0/doio.c:2434:24: danger: dereference of NULL ‘Perl_savepv(my_perl, <unknown>)’ # 2432| } # 2433| if ((!really && argv[0] && *argv[0] != '/') || # 2434|-> (really && *tmps != '/')) /* will execvp use PATH? */ # 2435| TAINT_ENV(); /* testing IFS here is overkill, probably */ # 2436| PERL_FPU_PRE_EXEC Error: GCC_ANALYZER_WARNING (CWE-835): [#def49] perl-5.44.0/doio.c:2520:12: warning[-Wanalyzer-infinite-loop]: infinite loop perl-5.44.0/doio.c:2520:12: danger: infinite loop here perl-5.44.0/doio.c:2520:12: branch_true: if it ever follows ‘true’ branch, it will always do so... perl-5.44.0/doio.c:2521:9: branch_true: ...to here # 2518| # 2519| s = cmd; # 2520|-> while (isWORDCHAR(*s)) # 2521| s++; /* catch VAR=val gizmo */ # 2522| if (*s == '=') Error: GCC_ANALYZER_WARNING (CWE-775): [#def50] perl-5.44.0/doio.c:2541:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(1, 2)’ perl-5.44.0/doio.c:2522:8: branch_false: following ‘false’ branch... perl-5.44.0/doio.c:2522:8: branch_false: ...to here perl-5.44.0/doio.c:2525:19: branch_true: following ‘true’ branch... perl-5.44.0/doio.c:2526:12: branch_true: ...to here perl-5.44.0/doio.c:2533:16: branch_true: following ‘true’ branch... perl-5.44.0/doio.c:2533:17: branch_true: following ‘true’ branch... perl-5.44.0/doio.c:2541:20: branch_true: following ‘true’ branch... perl-5.44.0/doio.c:2541:29: branch_true: ...to here perl-5.44.0/doio.c:2541:29: acquire_resource: opened here perl-5.44.0/doio.c:2541:21: danger: ‘dup2(1, 2)’ leaks here; was opened at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10) # 2539| while (*t && isSPACE(*t)) # 2540| ++t; # 2541|-> if (!*t && (PerlLIO_dup2(1,2) != -1)) { # 2542| s[-2] = '\0'; # 2543| break; Error: GCC_ANALYZER_WARNING (CWE-835): [#def51] perl-5.44.0/ext/File-Glob/Glob.xs:198:28: warning[-Wanalyzer-infinite-loop]: infinite loop # 196| as a single token, but with whitespace stripped. */ # 197| piece = pat; # 198|-> while (isSPACE(*pat)) pat++; # 199| while (isSPACE(*(patend-1))) patend--; # 200| /* bsd_glob expects a trailing null, but we cannot mod- Error: GCC_ANALYZER_WARNING (CWE-688): [#def52] perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:133:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected # 131| dMY_CXT; # 132| AV* cont = HUF_get_trigger_content(aTHX_ trigger); # 133|-> SV* ob_id = *av_fetch(cont, 0, 0); # 134| HV* field_tab = (HV*) *av_fetch(cont, 1, 0); # 135| HE* ent; Error: GCC_ANALYZER_WARNING (CWE-688): [#def53] perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:194:28: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected # 192| HUF_mark_field(pTHX_ SV *trigger, SV *field) { # 193| AV* cont = HUF_get_trigger_content(aTHX_ trigger); # 194|-> HV* field_tab = (HV*) *av_fetch(cont, 1, 0); # 195| SV* field_ref = newRV_inc(field); # 196| UV field_addr = PTR2UV(field); Error: GCC_ANALYZER_WARNING (CWE-688): [#def54] perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:287:28: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected # 285| HUF_fix_trigger(pTHX_ SV *trigger, SV *new_id) { # 286| AV* cont = HUF_get_trigger_content(aTHX_ trigger); # 287|-> HV* field_tab = (HV*) *av_fetch(cont, 1, 0); # 288| HV* new_tab = newHV(); # 289| HE* ent; Error: GCC_ANALYZER_WARNING (CWE-688): [#def55] perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:290:19: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:285:1: enter_function: entry to ‘HUF_fix_trigger’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:288:19: call_function: calling ‘Perl_newSV_type’ from ‘HUF_fix_trigger’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:288:19: return_function: returning to ‘HUF_fix_trigger’ from ‘Perl_newSV_type’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:290:19: danger: argument 2 (‘HUF_get_trigger_content(my_perl, trigger)’) NULL where non-null expected # 288| HV* new_tab = newHV(); # 289| HE* ent; # 290|-> SV* old_id = *av_fetch(cont, 0, 0); # 291| I32 entries = hv_iterinit(field_tab); # 292| hv_ksplit(new_tab, entries); Error: GCC_ANALYZER_WARNING (CWE-688): [#def56] perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:447:36: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.c:660:1: enter_function: entry to ‘XS_Hash__Util__FieldHash__active_fields’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.c:663:8: branch_false: following ‘false’ branch (when ‘items == 1’)... perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.c:666:5: branch_false: ...to here perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:442:8: branch_true: following ‘true’ branch... perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:443:21: branch_true: ...to here perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:444:23: call_function: calling ‘HUF_ask_trigger’ from ‘XS_Hash__Util__FieldHash__active_fields’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:444:23: return_function: returning to ‘XS_Hash__Util__FieldHash__active_fields’ from ‘HUF_ask_trigger’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:445:12: branch_true: following ‘true’ branch... perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:446:24: branch_true: ...to here perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:446:24: call_function: calling ‘HUF_get_trigger_content’ from ‘XS_Hash__Util__FieldHash__active_fields’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:446:24: return_function: returning to ‘XS_Hash__Util__FieldHash__active_fields’ from ‘HUF_get_trigger_content’ perl-5.44.0/ext/Hash-Util-FieldHash/FieldHash.xs:447:36: danger: argument 2 (‘HUF_get_trigger_content(my_perl, HUF_ask_trigger(my_perl, HUF_obj_id(my_perl, obj)))’) NULL where non-null expected # 445| if (trigger) { # 446| AV* cont = HUF_get_trigger_content(aTHX_ trigger); # 447|-> HV* field_tab = (HV*) *av_fetch(cont, 1, 0); # 448| HE* ent; # 449| hv_iterinit(field_tab); Error: GCC_ANALYZER_WARNING (CWE-476): [#def57] perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmpSV’ perl-5.44.0/ext/ODBM_File/ODBM_File.c:360:1: enter_function: entry to ‘XS_ODBM_File_FETCH’ perl-5.44.0/ext/ODBM_File/ODBM_File.c:363:8: branch_false: following ‘false’ branch (when ‘items == 2’)... perl-5.44.0/ext/ODBM_File/ODBM_File.c:370:13: branch_false: ...to here perl-5.44.0/ext/ODBM_File/ODBM_File.c:370:12: branch_true: following ‘true’ branch... perl-5.44.0/ext/ODBM_File/ODBM_File.c:387:16: branch_true: following ‘true’ branch... perl-5.44.0/ext/ODBM_File/ODBM_File.c:388:25: branch_true: ...to here perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: branch_true: following ‘true’ branch... perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: branch_true: ...to here perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: branch_false: following ‘false’ branch... perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: branch_false: ...to here perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_ODBM_File_FETCH’ perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: branch_true: ...to here perl-5.44.0/ext/ODBM_File/ODBM_File.c:389:17: danger: dereference of NULL ‘tmpSV’ # 387| if (db->filter[store_key]){ # 388| tmpSV = sv_2mortal(newSVsv(ST(1))); # 389|-> DBM_ckFilter(tmpSV, filter[store_key], "filter_store_key"); # 390| } # 391| else Error: GCC_ANALYZER_WARNING (CWE-688): [#def58] perl-5.44.0/inline.h:60:12: warning[-Wanalyzer-null-argument]: use of NULL ‘av’ where non-null expected perl-5.44.0/perl.c:5181:1: enter_function: entry to ‘S_incpush’ perl-5.44.0/perl.c:5215:24: branch_false: following ‘false’ branch (when ‘using_sub_dirs == 0’)... perl-5.44.0/perl.c:5261:12: branch_false: ...to here perl-5.44.0/perl.c:5261:12: branch_true: following ‘true’ branch (when ‘unshift != 0’)... perl-5.44.0/perl.c:5265:28: call_function: inlined call to ‘Perl_av_count’ from ‘S_incpush’ # 58| PERL_ARGS_ASSERT_AV_COUNT; # 59| # 60|-> return AvFILL(av) + 1; # 61| } # 62| Error: GCC_ANALYZER_WARNING (CWE-476): [#def59] perl-5.44.0/inline.h:1231:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sv’ perl-5.44.0/pp.c:7668:1: enter_function: entry to ‘Perl_pp_lvref’ perl-5.44.0/pp.c:7673:22: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘Perl_pp_lvref’ perl-5.44.0/pp.c:7673:22: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘Perl_pp_lvref’ perl-5.44.0/pp.c:7674:23: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7674:59: branch_true: ...to here perl-5.44.0/pp.c:7675:22: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7676:24: branch_false: ...to here perl-5.44.0/pp.c:7680:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7681:10: branch_true: ...to here perl-5.44.0/pp.c:7681:10: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)... perl-5.44.0/pp.c:7684:39: branch_true: ...to here perl-5.44.0/pp.c:7684:39: call_function: calling ‘Perl_sv_can_existdelete’ from ‘Perl_pp_lvref’ # 1229| /* Anything without tie magic is fine */ # 1230| MAGIC *mg; # 1231|-> if(!SvRMAGICAL(sv) || !(mg = mg_find(sv, PERL_MAGIC_tied))) # 1232| return true; # 1233| Error: GCC_ANALYZER_WARNING (CWE-688): [#def60] perl-5.44.0/locale.c:2661:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/locale.c:3686:1: enter_function: entry to ‘S_new_ctype’ perl-5.44.0/locale.c:3724:9: branch_false: following ‘false’ branch (when the strings are non-equal)... perl-5.44.0/locale.c:3733:31: branch_false: ...to here perl-5.44.0/locale.c:3733:31: call_function: calling ‘S_is_locale_utf8’ from ‘S_new_ctype’ # 2659| * succeeding, Now have to switch back to the state upon entry. */ # 2660| if (! uselocale(entry_obj)) { # 2661|-> setlocale_failure_panic_i(index, "switching back to", # 2662| locale_on_entry, __LINE__, caller_line); # 2663| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def61] perl-5.44.0/pad.c:2211:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘o’ perl-5.44.0/pad.c:2341:1: enter_function: entry to ‘Perl_cv_clone_into’ perl-5.44.0/pad.c:2344:5: call_function: calling ‘Perl_cv_undef’ from ‘Perl_cv_clone_into’ perl-5.44.0/pad.c:2344:5: return_function: returning to ‘Perl_cv_clone_into’ from ‘Perl_cv_undef’ perl-5.44.0/pad.c:2345:12: call_function: calling ‘S_cv_clone’ from ‘Perl_cv_clone_into’ # 2209| break; # 2210| ASSUME(o->op_type == OP_PADSV); # 2211|-> const_sv = PAD_BASE_SV(CvPADLIST(cv), o->op_targ); # 2212| /* the candidate should have 1 ref from this pad and 1 ref # 2213| * from the parent */ Error: GCC_ANALYZER_WARNING (CWE-688): [#def62] perl-5.44.0/peep.c:81:12: warning[-Wanalyzer-null-argument]: use of NULL ‘varop’ where non-null expected perl-5.44.0/peep.c:1244:1: enter_function: entry to ‘S_finalize_op’ perl-5.44.0/peep.c:1324:17: call_function: calling ‘S_scalar_slice_warning’ from ‘S_finalize_op’ # 79| OP *varop = OpSIBLING(kid); # 80| assert(varop); # 81|-> name = op_varname(varop); # 82| if (!name) /* XS module fiddling with the op tree */ # 83| return; Error: GCC_ANALYZER_WARNING (CWE-476): [#def63] perl-5.44.0/peep.c:3620:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trueop’ perl-5.44.0/peep.c:2719:8: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:2728:12: branch_true: following ‘true’ branch (when ‘o’ is non-NULL)... perl-5.44.0/peep.c:2728:15: branch_true: ...to here perl-5.44.0/peep.c:2728:13: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:2730:12: branch_false: ...to here perl-5.44.0/peep.c:2730:12: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)... perl-5.44.0/peep.c:2730:12: branch_false: ...to here perl-5.44.0/peep.c:3619:31: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:3620:31: branch_false: ...to here perl-5.44.0/peep.c:3620:31: branch_true: following ‘true’ branch... perl-5.44.0/peep.c:3620:21: branch_true: ...to here perl-5.44.0/peep.c:3620:21: danger: dereference of NULL ‘trueop’ # 3618| OP *stub = cLOGOP->op_other; # 3619| OP *trueop = OpSIBLING( cLOGOP->op_first ); # 3620|-> OP *falseop = OpSIBLING(trueop); # 3621| # 3622| /* Is there an empty "if" block or ternary true branch? Error: GCC_ANALYZER_WARNING (CWE-476): [#def64] perl-5.44.0/peep.c:3631:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trueop’ perl-5.44.0/peep.c:2719:8: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:2728:12: branch_true: following ‘true’ branch (when ‘o’ is non-NULL)... perl-5.44.0/peep.c:2728:15: branch_true: ...to here perl-5.44.0/peep.c:2728:13: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:2730:12: branch_false: ...to here perl-5.44.0/peep.c:2730:12: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)... perl-5.44.0/peep.c:2730:12: branch_false: ...to here perl-5.44.0/peep.c:3619:31: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:3620:31: branch_false: ...to here perl-5.44.0/peep.c:3620:31: branch_false: following ‘false’ branch... perl-5.44.0/peep.c:3624:24: branch_false: ...to here perl-5.44.0/peep.c:3624:20: branch_true: following ‘true’ branch... perl-5.44.0/peep.c:3625:26: branch_true: ...to here perl-5.44.0/peep.c:3624:24: branch_true: following ‘true’ branch... perl-5.44.0/peep.c:3624:24: branch_true: ...to here perl-5.44.0/peep.c:3624:24: branch_false: following ‘false’ branch (when ‘trueop != stub’)... perl-5.44.0/peep.c:3630:32: branch_false: ...to here perl-5.44.0/peep.c:3630:32: branch_true: following ‘true’ branch... perl-5.44.0/peep.c:3631:40: branch_true: ...to here perl-5.44.0/peep.c:3631:40: danger: dereference of NULL ‘trueop’ # 3629| /* stub in scope/enter */ # 3630| || ( OP_TYPE_IS(trueop, OP_SCOPE) # 3631|-> && stub == cUNOPx(trueop)->op_first # 3632| /* doesn't yet handle trailing nulls */ # 3633| && !OpSIBLING(stub) Error: GCC_ANALYZER_WARNING (CWE-688): [#def65] perl-5.44.0/perl.c:3740:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/perl.c:3685:1: enter_function: entry to ‘Perl_moreswitches’ perl-5.44.0/perl.c:3731:18: branch_true: following ‘true’ branch... perl-5.44.0/perl.c:3732:28: branch_true: ...to here perl-5.44.0/perl.c:3740:10: call_function: calling ‘Perl_get_sv’ from ‘Perl_moreswitches’ perl-5.44.0/perl.c:3740:10: return_function: returning to ‘Perl_moreswitches’ from ‘Perl_get_sv’ perl-5.44.0/perl.c:3740:10: danger: argument 2 (‘Perl_get_sv(my_perl, "/", 1)’) NULL where non-null expected # 3738| } # 3739| } # 3740|-> sv_setsv(get_sv("/", GV_ADD), PL_rs); # 3741| return s + numlen; # 3742| } Error: GCC_ANALYZER_WARNING (CWE-688): [#def66] perl-5.44.0/perl.c:3832:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/perl.c:3685:1: enter_function: entry to ‘Perl_moreswitches’ perl-5.44.0/perl.c:3832:9: call_function: calling ‘Perl_get_sv’ from ‘Perl_moreswitches’ perl-5.44.0/perl.c:3832:9: return_function: returning to ‘Perl_moreswitches’ from ‘Perl_get_sv’ perl-5.44.0/perl.c:3832:9: danger: argument 2 (‘Perl_get_sv(my_perl, "/", 1)’) NULL where non-null expected # 3830| SvREFCNT_dec(PL_rs); # 3831| PL_rs = &PL_sv_undef; # 3832|-> sv_setsv(get_sv("/", GV_ADD), PL_rs); # 3833| return ++s; # 3834| Error: GCC_ANALYZER_WARNING (CWE-688): [#def67] perl-5.44.0/perl.c:4197:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/perl.c:4152:1: enter_function: entry to ‘S_init_main_stash’ perl-5.44.0/perl.c:4157:14: call_function: calling ‘Perl_newSV_type’ from ‘S_init_main_stash’ perl-5.44.0/perl.c:4157:14: return_function: returning to ‘S_init_main_stash’ from ‘Perl_newSV_type’ perl-5.44.0/perl.c:4197:5: call_function: calling ‘Perl_get_sv’ from ‘S_init_main_stash’ perl-5.44.0/perl.c:4197:5: return_function: returning to ‘S_init_main_stash’ from ‘Perl_get_sv’ perl-5.44.0/perl.c:4197:5: danger: argument 2 (‘Perl_get_sv(my_perl, "/", 1)’) NULL where non-null expected # 4195| SVt_PVHV)); # 4196| /* We must init $/ before switches are processed. */ # 4197|-> sv_setpvs(get_sv("/", GV_ADD), "\n"); # 4198| } # 4199| Error: GCC_ANALYZER_WARNING (CWE-688): [#def68] perl-5.44.0/perl.c:4680:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/perl.c:4673:1: enter_function: entry to ‘S_init_predump_symbols’ perl-5.44.0/perl.c:4680:5: call_function: calling ‘Perl_get_sv’ from ‘S_init_predump_symbols’ perl-5.44.0/perl.c:4680:5: return_function: returning to ‘S_init_predump_symbols’ from ‘Perl_get_sv’ perl-5.44.0/perl.c:4680:5: danger: argument 2 (‘Perl_get_sv(my_perl, "\"", 1)’) NULL where non-null expected # 4678| IO *io; # 4679| # 4680|-> sv_setpvs(get_sv("\"", GV_ADD), " "); # 4681| PL_ofsgv = (GV*)SvREFCNT_inc(gv_fetchpvs(",", GV_ADD|GV_NOTQUAL, SVt_PV)); # 4682| Error: GCC_ANALYZER_WARNING (CWE-688): [#def69] perl-5.44.0/perl.c:5231:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/perl.c:5181:1: enter_function: entry to ‘S_incpush’ perl-5.44.0/perl.c:5215:24: branch_true: following ‘true’ branch (when ‘using_sub_dirs != 0’)... perl-5.44.0/perl.c:5215:24: branch_true: ...to here perl-5.44.0/perl.c:5222:26: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘S_incpush’ perl-5.44.0/perl.c:5229:16: branch_true: ...to here perl-5.44.0/perl.c:5229:16: branch_true: following ‘true’ branch (when ‘add_versioned_sub_dirs != 0’)... perl-5.44.0/perl.c:5231:17: branch_true: ...to here perl-5.44.0/perl.c:5231:17: danger: argument 2 (‘<unknown>’) NULL where non-null expected # 5229| if (add_versioned_sub_dirs) { # 5230| /* .../version/archname if -d .../version/archname */ # 5231|-> sv_catpvs(subdir, "/" PERL_FS_VERSION "/" ARCHNAME); # 5232| subdir = S_incpush_if_exists(aTHX_ av, subdir, libdir); # 5233| Error: GCC_ANALYZER_WARNING (CWE-688): [#def70] perl-5.44.0/perl.c:5251:17: warning[-Wanalyzer-null-argument]: use of NULL ‘subdir’ where non-null expected perl-5.44.0/perl.c:5181:1: enter_function: entry to ‘S_incpush’ perl-5.44.0/perl.c:5215:24: branch_true: following ‘true’ branch (when ‘using_sub_dirs != 0’)... perl-5.44.0/perl.c:5215:24: branch_true: ...to here perl-5.44.0/perl.c:5222:26: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘S_incpush’ perl-5.44.0/perl.c:5229:16: branch_true: ...to here perl-5.44.0/perl.c:5229:16: branch_false: following ‘false’ branch (when ‘add_versioned_sub_dirs == 0’)... perl-5.44.0/perl.c:5249:16: branch_false: ...to here perl-5.44.0/perl.c:5249:16: branch_true: following ‘true’ branch (when ‘add_archonly_sub_dirs != 0’)... perl-5.44.0/perl.c:5251:17: branch_true: ...to here perl-5.44.0/perl.c:5251:17: danger: argument 2 (‘subdir’) NULL where non-null expected # 5249| if (add_archonly_sub_dirs) { # 5250| /* .../archname if -d .../archname */ # 5251|-> sv_catpvs(subdir, "/" ARCHNAME); # 5252| subdir = S_incpush_if_exists(aTHX_ av, subdir, libdir); # 5253| Error: GCC_ANALYZER_WARNING (CWE-476): [#def71] perl-5.44.0/pp.c:5611:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘unsliced_keysv’ perl-5.44.0/pp.c:5506:1: enter_function: entry to ‘S_do_delete_local’ perl-5.44.0/pp.c:5513:27: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:5514:22: branch_true: ...to here perl-5.44.0/pp.c:5517:23: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:5517:23: branch_false: ...to here perl-5.44.0/pp.c:5519:31: call_function: calling ‘Perl_sv_can_existdelete’ from ‘S_do_delete_local’ perl-5.44.0/pp.c:5519:31: return_function: returning to ‘S_do_delete_local’ from ‘Perl_sv_can_existdelete’ perl-5.44.0/pp.c:5525:20: branch_false: following ‘false’ branch (when ‘end < mark’)... perl-5.44.0/pp.c:5598:8: branch_false: ...to here perl-5.44.0/pp.c:5598:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:5610:13: branch_false: ...to here perl-5.44.0/pp.c:5610:13: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:5611:9: branch_true: ...to here perl-5.44.0/pp.c:5611:9: danger: dereference of NULL ‘unsliced_keysv’ # 5609| } # 5610| else if (gimme != G_VOID) # 5611|-> PUSHs(*unsliced_keysv); # 5612| # 5613| RETURN; Error: GCC_ANALYZER_WARNING (CWE-476): [#def72] perl-5.44.0/pp.c:6881:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ary’ perl-5.44.0/pp.c:6850:10: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:6850:10: branch_true: ...to here perl-5.44.0/pp.c:6856:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:6858:15: branch_true: ...to here perl-5.44.0/pp.c:6858:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:6881:15: branch_false: ...to here perl-5.44.0/pp.c:6881:15: danger: dereference of NULL ‘ary’ # 6879| # 6880| /* Some defence against stack-not-refcounted bugs */ # 6881|-> (void)sv_2mortal(SvREFCNT_inc_simple_NN(ary)); # 6882| # 6883| if ((mg = SvTIED_mg((const SV *)ary, PERL_MAGIC_tied))) { Error: GCC_ANALYZER_WARNING (CWE-688): [#def73] perl-5.44.0/pp.c:7530:24: warning[-Wanalyzer-null-argument]: use of NULL ‘keysv’ where non-null expected perl-5.44.0/pp.c:7575:1: enter_function: entry to ‘Perl_pp_refassign’ perl-5.44.0/pp.c:7582:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7588:9: branch_false: ...to here perl-5.44.0/pp.c:7588:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7589:16: branch_true: ...to here perl-5.44.0/pp.c:7597:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7598:5: branch_false: ...to here perl-5.44.0/pp.c:7612:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7619:13: branch_false: ...to here perl-5.44.0/pp.c:7619:13: branch_true: following ‘true’ branch (when ‘left’ is non-NULL)... perl-5.44.0/pp.c:7619:20: branch_true: ...to here perl-5.44.0/pp.c:7639:12: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7641:41: branch_true: ...to here perl-5.44.0/pp.c:7640:13: call_function: calling ‘S_localise_aelem_lval’ from ‘Perl_pp_refassign’ # 7528| const bool can_preserve) # 7529| { # 7530|-> const SSize_t ix = SvIV(keysv); # 7531| if (can_preserve ? av_exists(av, ix) : TRUE) { # 7532| SV ** const svp = av_fetch(av, ix, 1); Error: GCC_ANALYZER_WARNING (CWE-688): [#def74] perl-5.44.0/pp.c:7550:9: warning[-Wanalyzer-null-argument]: use of NULL ‘keysv’ where non-null expected perl-5.44.0/pp.c:7575:1: enter_function: entry to ‘Perl_pp_refassign’ perl-5.44.0/pp.c:7582:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7588:9: branch_false: ...to here perl-5.44.0/pp.c:7588:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7589:16: branch_true: ...to here perl-5.44.0/pp.c:7597:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7598:5: branch_false: ...to here perl-5.44.0/pp.c:7612:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7619:13: branch_false: ...to here perl-5.44.0/pp.c:7619:13: branch_true: following ‘true’ branch (when ‘left’ is non-NULL)... perl-5.44.0/pp.c:7619:20: branch_true: ...to here perl-5.44.0/pp.c:7646:12: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7649:41: branch_true: ...to here perl-5.44.0/pp.c:7648:13: call_function: calling ‘S_localise_helem_lval’ from ‘Perl_pp_refassign’ # 7548| if (!svp || !*svp) # 7549| croak(PL_no_helem_sv, SVfARG(keysv)); # 7550|-> save_helem_flags(hv, keysv, svp, 0); # 7551| } # 7552| else Error: GCC_ANALYZER_WARNING (CWE-688): [#def75] perl-5.44.0/pp.c:7553:9: warning[-Wanalyzer-null-argument]: use of NULL ‘keysv’ where non-null expected perl-5.44.0/pp.c:7575:1: enter_function: entry to ‘Perl_pp_refassign’ perl-5.44.0/pp.c:7582:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7588:9: branch_false: ...to here perl-5.44.0/pp.c:7588:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7589:16: branch_true: ...to here perl-5.44.0/pp.c:7597:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7598:5: branch_false: ...to here perl-5.44.0/pp.c:7612:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7619:13: branch_false: ...to here perl-5.44.0/pp.c:7619:13: branch_true: following ‘true’ branch (when ‘left’ is non-NULL)... perl-5.44.0/pp.c:7619:20: branch_true: ...to here perl-5.44.0/pp.c:7646:12: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7649:41: branch_true: ...to here perl-5.44.0/pp.c:7648:13: call_function: calling ‘S_localise_helem_lval’ from ‘Perl_pp_refassign’ # 7551| } # 7552| else # 7553|-> SAVEHDELETE(hv, keysv); # 7554| } # 7555| Error: GCC_ANALYZER_WARNING (CWE-688): [#def76] perl-5.44.0/pp.c:7643:9: warning[-Wanalyzer-null-argument]: use of NULL ‘key’ where non-null expected perl-5.44.0/pp.c:7582:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7588:9: branch_false: ...to here perl-5.44.0/pp.c:7588:8: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7589:16: branch_true: ...to here perl-5.44.0/pp.c:7597:8: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7598:5: branch_false: ...to here perl-5.44.0/pp.c:7612:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7619:13: branch_false: ...to here perl-5.44.0/pp.c:7619:13: branch_true: following ‘true’ branch (when ‘left’ is non-NULL)... perl-5.44.0/pp.c:7619:20: branch_true: ...to here perl-5.44.0/pp.c:7639:12: branch_false: following ‘false’ branch... perl-5.44.0/pp.c:7643:9: branch_false: ...to here perl-5.44.0/pp.c:7643:9: danger: argument 2 (‘key’) NULL where non-null expected # 7641| SvCANEXISTDELETE(left)); # 7642| } # 7643|-> av_store((AV *)left, SvIV(key), SvREFCNT_inc_simple_NN(SvRV(sv))); # 7644| break; # 7645| case SVt_PVHV: Error: GCC_ANALYZER_WARNING (CWE-688): [#def77] perl-5.44.0/pp.c:7797:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/pp.c:7790:1: enter_function: entry to ‘S_av_refresh_elements_range’ perl-5.44.0/pp.c:7792:26: branch_true: following ‘true’ branch (when ‘ix < endix’)... perl-5.44.0/pp.c:7793:20: branch_true: ...to here perl-5.44.0/pp.c:7794:21: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7794:21: branch_true: ...to here perl-5.44.0/pp.c:7794:21: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘S_av_refresh_elements_range’ perl-5.44.0/pp.c:7796:13: branch_true: ...to here perl-5.44.0/pp.c:7796:11: branch_true: following ‘true’ branch... perl-5.44.0/pp.c:7797:13: branch_true: ...to here perl-5.44.0/pp.c:7797:13: danger: argument 2 (‘<unknown>’) NULL where non-null expected # 7795| (SV_DO_COW_SVSETSV|SV_NOSTEAL)); # 7796| if(!av_store(av, ix, newsv)) # 7797|-> SvREFCNT_dec_NN(newsv); # 7798| } # 7799| } Error: COMPILER_WARNING: [#def78] perl-5.44.0/pp_ctl.c:97:44: warning: missing terminating ' character # 97 | bool is_bare_re= FALSE; # | ^ # 95| REGEXP *new_re; # 96| const regexp_engine *eng; # 97|-> bool is_bare_re= FALSE; # 98| # 99| if (PL_op->op_flags & OPf_STACKED) { Error: GCC_ANALYZER_WARNING (CWE-688): [#def79] perl-5.44.0/pp_hot.c:4529:18: warning[-Wanalyzer-null-argument]: use of NULL ‘sv’ where non-null expected # 4527| /* this is the OPpDEREF action normally found at the end of # 4528| * ops like aelem, helem, rv2sv */ # 4529|-> sv = vivify_ref(sv, OPpDEREF_AV); # 4530| /* FALLTHROUGH */ # 4531| Error: GCC_ANALYZER_WARNING (CWE-688): [#def80] perl-5.44.0/pp_hot.c:4720:18: warning[-Wanalyzer-null-argument]: use of NULL ‘sv’ where non-null expected # 4718| /* this is the OPpDEREF action normally found at the end of # 4719| * ops like aelem, helem, rv2sv */ # 4720|-> sv = vivify_ref(sv, OPpDEREF_HV); # 4721| /* FALLTHROUGH */ # 4722| Error: GCC_ANALYZER_WARNING (CWE-688): [#def81] perl-5.44.0/pp_hot.c:4840:29: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected perl-5.44.0/pp_hot.c:4475:1: enter_function: entry to ‘Perl_pp_multideref’ perl-5.44.0/pp_hot.c:4696:13: branch_false: following ‘false’ branch... perl-5.44.0/pp_hot.c:4696:23: branch_false: ...to here perl-5.44.0/pp_hot.c:4785:20: branch_false: following ‘false’ branch... perl-5.44.0/pp_hot.c:4792:21: branch_false: ...to here perl-5.44.0/pp_hot.c:4792:20: branch_false: following ‘false’ branch... perl-5.44.0/pp_hot.c:4809:38: branch_false: ...to here perl-5.44.0/pp_hot.c:4817:24: branch_false: following ‘false’ branch... perl-5.44.0/pp_hot.c:4825:26: branch_false: ...to here perl-5.44.0/pp_hot.c:4829:24: branch_true: following ‘true’ branch... perl-5.44.0/pp_hot.c:4830:28: branch_true: ...to here perl-5.44.0/pp_hot.c:4830:28: branch_true: following ‘true’ branch (when ‘svp’ is NULL)... perl-5.44.0/pp_hot.c:4833:32: branch_true: ...to here perl-5.44.0/pp_hot.c:4833:32: branch_false: following ‘false’ branch... perl-5.44.0/pp_hot.c:4835:34: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘Perl_pp_multideref’ perl-5.44.0/pp_hot.c:4835:34: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘Perl_pp_multideref’ perl-5.44.0/pp_hot.c:4837:29: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘Perl_pp_multideref’ perl-5.44.0/pp_hot.c:4837:29: branch_true: ...to here perl-5.44.0/pp_hot.c:4840:29: danger: argument 2 (‘<unknown>’) NULL where non-null expected # 4838| PERL_MAGIC_defelem, NULL, 0); # 4839| /* sv_magic() increments refcount */ # 4840|-> SvREFCNT_dec_NN(key2); # 4841| LvTARG(lv) = SvREFCNT_inc_simple_NN(hv); # 4842| LvTARGLEN(lv) = 1; Error: GCC_ANALYZER_WARNING (CWE-476): [#def82] perl-5.44.0/pp_hot.c:6812:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sv’ perl-5.44.0/pp_hot.c:4475:1: enter_function: entry to ‘Perl_pp_multideref’ perl-5.44.0/pp_hot.c:4529:18: call_function: calling ‘Perl_vivify_ref’ from ‘Perl_pp_multideref’ # 6810| break; # 6811| } # 6812|-> SvROK_on(sv); # 6813| SvSETMAGIC(sv); # 6814| SvGETMAGIC(sv); Error: GCC_ANALYZER_WARNING (CWE-476): [#def83] perl-5.44.0/pp_sort.c:749:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nullop’ perl-5.44.0/pp_sort.c:719:8: branch_false: following ‘false’ branch... perl-5.44.0/pp_sort.c:725:5: branch_false: ...to here perl-5.44.0/pp_sort.c:745:8: branch_true: following ‘true’ branch... perl-5.44.0/pp_sort.c:746:13: branch_true: ...to here perl-5.44.0/pp_sort.c:746:12: branch_true: following ‘true’ branch... perl-5.44.0/pp_sort.c:747:26: branch_true: ...to here perl-5.44.0/pp_sort.c:747:26: branch_false: following ‘false’ branch... perl-5.44.0/pp_sort.c:749:26: branch_false: ...to here perl-5.44.0/pp_sort.c:749:26: danger: dereference of NULL ‘nullop’ # 747| OP *nullop = OpSIBLING(cLISTOP->op_first); /* pass pushmark */ # 748| assert(nullop->op_type == OP_NULL); # 749|-> PL_sortcop = nullop->op_next; # 750| } # 751| else { Error: GCC_ANALYZER_WARNING (CWE-688): [#def84] perl-5.44.0/regcomp_study.c:1631:19: warning[-Wanalyzer-null-argument]: use of NULL ‘fake_last_close_op’ where non-null expected perl-5.44.0/regcomp_study.c:1476:1: enter_function: entry to ‘Perl_study_chunk’ perl-5.44.0/regcomp_study.c:1573:13: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1581:26: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1592:12: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1592:13: branch_true: ...to here perl-5.44.0/regcomp_study.c:1592:13: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1592:13: branch_true: ...to here perl-5.44.0/regcomp_study.c:1592:13: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1592:13: branch_true: ...to here perl-5.44.0/regcomp_study.c:1592:13: branch_true: following ‘true’ branch... perl-5.44.0/regcomp_study.c:1597:13: branch_true: ...to here perl-5.44.0/regcomp_study.c:1597:13: call_function: calling ‘Perl_join_exact’ from ‘Perl_study_chunk’ perl-5.44.0/regcomp_study.c:1597:13: return_function: returning to ‘Perl_study_chunk’ from ‘Perl_join_exact’ perl-5.44.0/regcomp_study.c:1604:9: call_function: calling ‘S_rck_elide_nothing’ from ‘Perl_study_chunk’ perl-5.44.0/regcomp_study.c:1604:9: return_function: returning to ‘Perl_study_chunk’ from ‘S_rck_elide_nothing’ perl-5.44.0/regcomp_study.c:1612:22: release_memory: ‘fake_last_close_op’ is NULL perl-5.44.0/regcomp_study.c:1616:20: call_function: calling ‘Perl_regnext’ from ‘Perl_study_chunk’ perl-5.44.0/regcomp_study.c:1616:20: return_function: returning to ‘Perl_study_chunk’ from ‘Perl_regnext’ perl-5.44.0/regcomp_study.c:1616:13: release_memory: ‘scan’ is NULL perl-5.44.0/regcomp_study.c:1623:20: call_function: calling ‘Perl_regnext’ from ‘Perl_study_chunk’ perl-5.44.0/regcomp_study.c:1623:20: return_function: returning to ‘Perl_study_chunk’ from ‘Perl_regnext’ perl-5.44.0/regcomp_study.c:1624:20: release_memory: ‘scan’ is NULL perl-5.44.0/regcomp_study.c:1631:19: danger: argument 6 (‘Perl_regnext(my_perl, Perl_regnext(my_perl, scan))’) NULL where non-null expected # 1629| * NOTE we dont use the return here! */ # 1630| /* DEFINEP study_chunk() recursion */ # 1631|-> (void)study_chunk(pRExC_state, &scan, &minlen, # 1632| &deltanext, next, &data_fake, stopparen, # 1633| recursed_depth, NULL, f, depth+1, mutate_ok); Error: GCC_ANALYZER_WARNING (CWE-476): [#def85] perl-5.44.0/sv_inline.h:945:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/cpan/Sys-Syslog/Syslog.c:377:1: enter_function: entry to ‘XS_Sys__Syslog_openlog_xs’ perl-5.44.0/cpan/Sys-Syslog/Syslog.c:380:8: branch_false: following ‘false’ branch (when ‘items == 3’)... perl-5.44.0/cpan/Sys-Syslog/Syslog.c:383:25: branch_false: ...to here perl-5.44.0/cpan/Sys-Syslog/Syslog.xs:108:23: call_function: inlined call to ‘Perl_newSVsv_flags’ from ‘XS_Sys__Syslog_openlog_xs’ perl-5.44.0/cpan/Sys-Syslog/Syslog.xs:108:9: branch_true: ...to here perl-5.44.0/cpan/Sys-Syslog/Syslog.xs:108:9: release_memory: using NULL here perl-5.44.0/cpan/Sys-Syslog/Syslog.xs:109:23: call_function: inlined call to ‘Perl_SvPV_helper’ from ‘XS_Sys__Syslog_openlog_xs’ # 943| || (type == SvPVforce_type_ && SvPOK_pure_nogthink(sv)) # 944| || (type == SvPVutf8_type_ && SvPOK_utf8_nog(sv)) # 945|-> || (type == SvPVnormal_type_ && SvPOK_nog(sv)) # 946| || (type == SvPVutf8_pure_type_ && SvPOK_utf8_pure_nogthink(sv)) # 947| || (type == SvPVbyte_pure_type_ && SvPOK_byte_pure_nogthink(sv)) Error: GCC_ANALYZER_WARNING (CWE-688): [#def86] perl-5.44.0/utf8.c:5093:21: warning[-Wanalyzer-null-argument]: use of NULL ‘e1’ where non-null expected perl-5.44.0/utf8.c:5021:8: branch_false: following ‘false’ branch (when ‘pe1’ is NULL)... perl-5.44.0/utf8.c:5025:8: branch_false: ...to here perl-5.44.0/utf8.c:5025:8: branch_false: following ‘false’ branch (when ‘l1 == 0’)... perl-5.44.0/utf8.c:5029:8: branch_false: ...to here perl-5.44.0/utf8.c:5029:8: branch_false: following ‘false’ branch (when ‘pe2’ is NULL)... perl-5.44.0/utf8.c:5033:8: branch_false: ...to here perl-5.44.0/utf8.c:5033:8: branch_false: following ‘false’ branch (when ‘l2 == 0’)... perl-5.44.0/utf8.c:5040:8: branch_false: ...to here perl-5.44.0/utf8.c:5040:8: branch_false: following ‘false’ branch (when ‘g1’ is NULL)... perl-5.44.0/utf8.c:5054:8: branch_false: ...to here perl-5.44.0/utf8.c:5054:8: branch_false: following ‘false’ branch (when ‘g2’ is NULL)... perl-5.44.0/utf8.c:5054:8: branch_false: ...to here perl-5.44.0/utf8.c:5067:12: branch_true: following ‘true’ branch... perl-5.44.0/utf8.c:5071:13: branch_true: ...to here perl-5.44.0/utf8.c:5071:12: branch_true: following ‘true’ branch... perl-5.44.0/utf8.c:5072:17: branch_true: ...to here perl-5.44.0/utf8.c:5072:16: branch_false: following ‘false’ branch... perl-5.44.0/utf8.c:5078:21: branch_false: ...to here perl-5.44.0/utf8.c:5092:25: branch_true: following ‘true’ branch (when ‘u1 != 0’)... perl-5.44.0/utf8.c:5093:21: branch_true: ...to here perl-5.44.0/utf8.c:5093:21: danger: argument 3 (‘e1’) NULL where non-null expected # 5091| } # 5092| else if (u1) { # 5093|-> toFOLD_utf8_flags_(p1, e1, foldbuf1, &n1, flags_for_folder); # 5094| } # 5095| else { /* Not UTF-8, get UTF-8 fold */ Error: GCC_ANALYZER_WARNING (CWE-476): [#def87] perl-5.44.0/util.c:1759:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ perl-5.44.0/util.c:5753:1: enter_function: entry to ‘Perl_api_version_assert’ perl-5.44.0/util.c:5759:8: branch_true: following ‘true’ branch (when ‘interp_size != 3776’)... perl-5.44.0/util.c:5762:9: branch_true: ...to here perl-5.44.0/util.c:5762:9: call_function: calling ‘Perl_croak_nocontext’ from ‘Perl_api_version_assert’ # 1757| # 1758| exarg = newSVsv(ex); # 1759|-> SvREADONLY_on(exarg); # 1760| SAVEFREESV(exarg); # 1761| Error: GCC_ANALYZER_WARNING (CWE-688): [#def88] perl-5.44.0/vxs.inc:247:9: warning[-Wanalyzer-null-argument]: use of NULL ‘classname’ where non-null expected perl-5.44.0/vxs.inc:230:8: branch_true: following ‘true’ branch... perl-5.44.0/vxs.inc:232:28: branch_true: ...to here perl-5.44.0/vxs.inc:245:8: branch_true: following ‘true’ branch... perl-5.44.0/vxs.inc:247:9: branch_true: ...to here perl-5.44.0/vxs.inc:247:9: danger: argument 2 (‘classname’) NULL where non-null expected # 245| if ( len != sizeof(VXS_CLASS)-1 # 246| || strcmp(classname,VXS_CLASS) != 0 ) /* inherited new() */ # 247|-> sv_bless(rv, gv_stashpvn(classname, len, GV_ADD | flags)); # 248| # 249| VXS_RETURN_M_SV(rv); Error: GCC_ANALYZER_WARNING (CWE-688): [#def89] perl-5.44.0/vxs.inc:470:13: warning[-Wanalyzer-null-argument]: use of NULL ‘classname’ where non-null expected perl-5.44.0/vxs.inc:439:12: branch_true: following ‘true’ branch (when ‘items == 2’)... perl-5.44.0/vxs.inc:440:24: branch_true: ...to here perl-5.44.0/vxs.inc:442:16: branch_true: following ‘true’ branch... perl-5.44.0/vxs.inc:448:18: branch_true: ...to here perl-5.44.0/vxs.inc:448:16: branch_true: following ‘true’ branch... perl-5.44.0/vxs.inc:449:36: branch_true: ...to here perl-5.44.0/vxs.inc:468:12: branch_true: following ‘true’ branch... perl-5.44.0/vxs.inc:470:13: danger: argument 2 (‘classname’) NULL where non-null expected # 468| if ( items == 2 && (len != 7 # 469| || strcmp(classname,"version")) ) { /* inherited new() */ # 470|-> sv_bless(rv, gv_stashpvn(classname, len, GV_ADD | flags)); # 471| } # 472| PUSHs(rv);
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-115.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | perl-5.42.1-523.fc44 |
| diffbase-store-results-to | /tmp/tmplrsmewfi/perl-5.42.1-523.fc44.tar.xz |
| diffbase-time-created | 2026-08-03 19:05:39 |
| diffbase-time-finished | 2026-08-03 19:14:05 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmplrsmewfi/perl-5.42.1-523.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmplrsmewfi/perl-5.42.1-523.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-115.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | perl-5.44.0-527.fc45 |
| store-results-to | /tmp/tmplq6oo2yz/perl-5.44.0-527.fc45.tar.xz |
| time-created | 2026-08-03 19:14:33 |
| time-finished | 2026-08-03 19:21:22 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmplq6oo2yz/perl-5.44.0-527.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmplq6oo2yz/perl-5.44.0-527.fc45.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |