Task #497 - added.err
back to task #497download
Error: GCC_ANALYZER_WARNING (CWE-401): guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:373:7: warning[-Wanalyzer-malloc-leak]: leak of 'str_cd_iconveh(src, & cd, handler)' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:66:7: note: in expansion of macro 'STRCASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:162:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:148:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:134:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:120:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:59: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:106:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:59: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:92:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:59: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:66:7: note: in expansion of macro 'STRCASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:81:7: note: in expansion of macro 'STRCASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:81:7: note: in expansion of macro 'STRCASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:162:7: note: in expansion of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h: scope_hint: In function 'str_cd_iconveh' guile30-3.0.9-build/guile-3.0.9/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ' guile30-3.0.9-build/guile-3.0.9/lib/striconveh.c:81:7: note: in expansion of macro 'STRCASEEQ' # 371| size_t last_length = (size_t)(-1); /* only needed if offsets != NULL */ # 372| # 373|-> if (*resultp != NULL && *lengthp >= sizeof (tmpbuf)) # 374| { # 375| initial_result = *resultp; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:743: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 741| # 742| size_t v_len = BITVECTOR_LENGTH (bv); # 743|-> const uint32_t *v_bits = BITVECTOR_BITS (bv); # 744| size_t kv_len = BITVECTOR_LENGTH (bits); # 745| const uint32_t *kv_bits = BITVECTOR_BITS (bits); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:744: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 742| size_t v_len = BITVECTOR_LENGTH (bv); # 743| const uint32_t *v_bits = BITVECTOR_BITS (bv); # 744|-> size_t kv_len = BITVECTOR_LENGTH (bits); # 745| const uint32_t *kv_bits = BITVECTOR_BITS (bits); # 746| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:745: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 743| const uint32_t *v_bits = BITVECTOR_BITS (bv); # 744| size_t kv_len = BITVECTOR_LENGTH (bits); # 745|-> const uint32_t *kv_bits = BITVECTOR_BITS (bits); # 746| # 747| if (v_len < kv_len) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:783: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 781| #define FUNC_NAME "bitvector-flip-all-bits!" # 782| { # 783|-> VALIDATE_MUTABLE_BITVECTOR (1, v); # 784| # 785| size_t len = BITVECTOR_LENGTH (v); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:785: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 783| VALIDATE_MUTABLE_BITVECTOR (1, v); # 784| # 785|-> size_t len = BITVECTOR_LENGTH (v); # 786| uint32_t *bits = BITVECTOR_BITS (v); # 787| size_t word_len = (len + 31) / 32; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.c:786: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 784| # 785| size_t len = BITVECTOR_LENGTH (v); # 786|-> uint32_t *bits = BITVECTOR_BITS (v); # 787| size_t word_len = (len + 31) / 32; # 788| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - len); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1901: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1899| #define FUNC_NAME s_scm_bytevector_ieee_double_ref # 1900| { # 1901|-> IEEE754_REF (double); # 1902| } # 1903| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1913: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1911| #define FUNC_NAME s_scm_bytevector_ieee_double_native_ref # 1912| { # 1913|-> IEEE754_NATIVE_REF (double); # 1914| } # 1915| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1925: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1923| #define FUNC_NAME s_scm_bytevector_ieee_double_set_x # 1924| { # 1925|-> IEEE754_SET (double); # 1926| } # 1927| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1937: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1935| #define FUNC_NAME s_scm_bytevector_ieee_double_native_set_x # 1936| { # 1937|-> IEEE754_NATIVE_SET (double); # 1938| } # 1939| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1995: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1993| : "??")))); # 1994| strcat (name, # 1995|-> ((scm_is_eq (endianness, sym_big)) # 1996| ? "BE" # 1997| : ((scm_is_eq (endianness, sym_little)) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:1997: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1995| ((scm_is_eq (endianness, sym_big)) # 1996| ? "BE" # 1997|-> : ((scm_is_eq (endianness, sym_little)) # 1998| ? "LE" # 1999| : "unknown"))); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2068: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2066| c_utf = (uint8_t *) scm_to_utf8_stringn (str, &c_utf_len); # 2067| utf = make_bytevector (c_utf_len, SCM_ARRAY_ELEMENT_TYPE_VU8); # 2068|-> memcpy (SCM_BYTEVECTOR_CONTENTS (utf), c_utf, c_utf_len); # 2069| free (c_utf); # 2070| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2082: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2080| #define FUNC_NAME s_scm_string_to_utf16 # 2081| { # 2082|-> STRING_TO_UTF (16); # 2083| } # 2084| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2107: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2105| wchars = scm_to_utf32_stringn (str, &wchar_len); # 2106| bytes_len = wchar_len * sizeof (scm_t_wchar); # 2107|-> if (!scm_is_eq (SCM_UNBNDP (endianness) ? scm_endianness_big : endianness, # 2108| scm_i_native_endianness)) # 2109| swap_u32 (wchars, wchar_len); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2112: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2110| # 2111| bv = make_bytevector (bytes_len, SCM_ARRAY_ELEMENT_TYPE_VU8); # 2112|-> memcpy (SCM_BYTEVECTOR_CONTENTS (bv), wchars, bytes_len); # 2113| free (wchars); # 2114| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2166: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2164| size_t c_utf_len = 0; # 2165| # 2166|-> SCM_VALIDATE_BYTEVECTOR (1, utf); # 2167| # 2168| c_utf_len = SCM_BYTEVECTOR_LENGTH (utf); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2168: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2166| SCM_VALIDATE_BYTEVECTOR (1, utf); # 2167| # 2168|-> c_utf_len = SCM_BYTEVECTOR_LENGTH (utf); # 2169| c_utf = (char *) SCM_BYTEVECTOR_CONTENTS (utf); # 2170| str = scm_from_utf8_stringn (c_utf, c_utf_len); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2169: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2167| # 2168| c_utf_len = SCM_BYTEVECTOR_LENGTH (utf); # 2169|-> c_utf = (char *) SCM_BYTEVECTOR_CONTENTS (utf); # 2170| str = scm_from_utf8_stringn (c_utf, c_utf_len); # 2171| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2183: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2181| #define FUNC_NAME s_scm_utf16_to_string # 2182| { # 2183|-> UTF_TO_STRING (16); # 2184| } # 2185| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.c:2194: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 2192| #define FUNC_NAME s_scm_utf32_to_string # 2193| { # 2194|-> UTF_TO_STRING (32); # 2195| } # 2196| #undef FUNC_NAME Error: CPPCHECK_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:613: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 611| # 612| ra = scm_i_shap2ra (bounds); # 613|-> s = SCM_I_ARRAY_DIMS (ra); # 614| k = SCM_I_ARRAY_NDIM (ra); # 615| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:614: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 612| ra = scm_i_shap2ra (bounds); # 613| s = SCM_I_ARRAY_DIMS (ra); # 614|-> k = SCM_I_ARRAY_NDIM (ra); # 615| # 616| while (k--) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:622: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 620| rlen = (s[k].ubnd - s[k].lbnd + 1) * s[k].inc; # 621| } # 622|-> SCM_I_ARRAY_SET_V (ra, scm_make_generalized_vector (type, scm_from_size_t (rlen), SCM_UNDEFINED)); # 623| # 624| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:650: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 648| memcpy (elts, bytes, byte_len); # 649| # 650|-> if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra)) # 651| if (0 == s->lbnd) # 652| return SCM_I_ARRAY_V (ra); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:652: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 650| if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra)) # 651| if (0 == s->lbnd) # 652|-> return SCM_I_ARRAY_V (ra); # 653| return ra; # 654| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:666: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 664| ("scm_make_srcprops is deprecated; use set-source-properties! instead"); # 665| # 666|-> alist = SCM_UNBNDP (copy) ? alist : scm_acons (scm_sym_copy, copy, alist); # 667| return scm_i_make_srcprops (scm_from_long (line), scm_from_int (col), # 668| filename, alist); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:692: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 690| #define FUNC_NAME s_scm_symbol_fref # 691| { # 692|-> SCM_VALIDATE_SYMBOL (1, s); # 693| return scm_object_property (s, symbol_function_slot); # 694| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:705: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 703| SCM result; # 704| # 705|-> SCM_VALIDATE_SYMBOL (1, s); # 706| result = scm_object_property (s, symbol_property_slot); # 707| return scm_is_false (result) ? SCM_EOL : result; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:707: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 705| SCM_VALIDATE_SYMBOL (1, s); # 706| result = scm_object_property (s, symbol_property_slot); # 707|-> return scm_is_false (result) ? SCM_EOL : result; # 708| } # 709| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:717: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 715| #define FUNC_NAME s_scm_symbol_fset_x # 716| { # 717|-> SCM_VALIDATE_SYMBOL (1, s); # 718| return scm_set_object_property_x (s, symbol_function_slot, val); # 719| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:728: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 726| #define FUNC_NAME s_scm_symbol_pset_x # 727| { # 728|-> SCM_VALIDATE_SYMBOL (1, s); # 729| return scm_set_object_property_x (s, symbol_property_slot, val); # 730| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:754: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 752| # 753| bignum = SCM_PACK_POINTER (ptr); # 754|-> mpz_clear (SCM_I_BIG_MPZ (bignum)); # 755| } # 756| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:788: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 786| /* Return a newly created bignum initialized to X. */ # 787| SCM z = make_bignum (); # 788|-> mpz_init_set_si (SCM_I_BIG_MPZ (z), x); # 789| return z; # 790| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:799: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 797| /* Return a newly created bignum initialized to X. */ # 798| SCM z = make_bignum (); # 799|-> mpz_init_set_ui (SCM_I_BIG_MPZ (z), x); # 800| return z; # 801| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:810: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 808| /* Copy src_big's value, negate it if same_sign_p is false, and return. */ # 809| SCM z = make_bignum (); # 810|-> scm_to_mpz (src_big, SCM_I_BIG_MPZ (z)); # 811| if (!same_sign_p) # 812| mpz_neg (SCM_I_BIG_MPZ (z), SCM_I_BIG_MPZ (z)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:812: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 810| scm_to_mpz (src_big, SCM_I_BIG_MPZ (z)); # 811| if (!same_sign_p) # 812|-> mpz_neg (SCM_I_BIG_MPZ (z), SCM_I_BIG_MPZ (z)); # 813| return z; # 814| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:824: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 822| /* convert a big back to a fixnum if it'll fit */ # 823| /* presume b is a bignum */ # 824|-> if (mpz_fits_slong_p (SCM_I_BIG_MPZ (b))) # 825| { # 826| scm_t_inum val = mpz_get_si (SCM_I_BIG_MPZ (b)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/deprecated.c:826: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 824| if (mpz_fits_slong_p (SCM_I_BIG_MPZ (b))) # 825| { # 826|-> scm_t_inum val = mpz_get_si (SCM_I_BIG_MPZ (b)); # 827| if (SCM_FIXABLE (val)) # 828| b = SCM_I_MAKINUM (val); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/eq.c:394: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 392| # 393| generic_equal: # 394|-> if (SCM_UNPACK (g_scm_i_equal_p)) # 395| return scm_call_2 (g_scm_i_equal_p, x, y); # 396| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:830: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 828| } # 829| else # 830|-> syntax_error (s_bad_formals, CAR (clause), SCM_UNDEFINED); # 831| # 832| inits = scm_cons (expand (init, env), inits); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:834: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 832| inits = scm_cons (expand (init, env), inits); # 833| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars); # 834|-> kw_canon = scm_cons (scm_list_3 (k, sym, CAR (vars)), kw_canon); # 835| env = scm_acons (sym, CAR (vars), env); # 836| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:835: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 833| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars); # 834| kw_canon = scm_cons (scm_list_3 (k, sym, CAR (vars)), kw_canon); # 835|-> env = scm_acons (sym, CAR (vars), env); # 836| } # 837| kw_canon = scm_reverse_x (kw_canon, SCM_UNDEFINED); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:848: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 846| body = expand_sequence (body, env); # 847| # 848|-> return LAMBDA_CASE (SCM_BOOL_F, req, opt, rest, kw, inits, vars, body, # 849| alternate); # 850| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:855: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 853| expand_lambda_star (SCM expr, SCM env) # 854| { # 855|-> return LAMBDA (scm_source_properties (expr), # 856| SCM_EOL, # 857| expand_lambda_star_case (CDR (expr), SCM_BOOL_F, env)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:866: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 864| # 865| if (scm_is_pair (rest)) # 866|-> alt = expand_case_lambda_clauses (CAR (rest), CDR (rest), env); # 867| else # 868| alt = SCM_BOOL_F; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:876: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 874| expand_case_lambda (SCM expr, SCM env) # 875| { # 876|-> ASSERT_SYNTAX (scm_is_pair (CDR (expr)), s_missing_expression, expr); # 877| # 878| return LAMBDA (scm_source_properties (expr), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:878: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 876| ASSERT_SYNTAX (scm_is_pair (CDR (expr)), s_missing_expression, expr); # 877| # 878|-> return LAMBDA (scm_source_properties (expr), # 879| SCM_EOL, # 880| expand_case_lambda_clauses (CADR (expr), CDDR (expr), env)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:889: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 887| # 888| if (scm_is_pair (rest)) # 889|-> alt = expand_case_lambda_star_clauses (CAR (rest), CDR (rest), env); # 890| else # 891| alt = SCM_BOOL_F; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:899: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 897| expand_case_lambda_star (SCM expr, SCM env) # 898| { # 899|-> ASSERT_SYNTAX (scm_is_pair (CDR (expr)), s_missing_expression, expr); # 900| # 901| return LAMBDA (scm_source_properties (expr), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:901: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 899| ASSERT_SYNTAX (scm_is_pair (CDR (expr)), s_missing_expression, expr); # 900| # 901|-> return LAMBDA (scm_source_properties (expr), # 902| SCM_EOL, # 903| expand_case_lambda_star_clauses (CADR (expr), CDDR (expr), env)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:916: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 914| # 915| binding_idx = bindings; # 916|-> for (; !scm_is_null (binding_idx); binding_idx = CDR (binding_idx)) # 917| { # 918| SCM name; /* const */ Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:920: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 918| SCM name; /* const */ # 919| # 920|-> const SCM binding = CAR (binding_idx); # 921| ASSERT_SYNTAX_2 (scm_ilength (binding) == 2, # 922| s_bad_binding, binding, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:924: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 922| s_bad_binding, binding, expr); # 923| # 924|-> name = CAR (binding); # 925| ASSERT_SYNTAX_2 (scm_is_symbol (name), s_bad_variable, name, expr); # 926| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:925: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 923| # 924| name = CAR (binding); # 925|-> ASSERT_SYNTAX_2 (scm_is_symbol (name), s_bad_variable, name, expr); # 926| } # 927| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:940: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 938| SCM rinits = SCM_EOL; # 939| SCM binding_idx = bindings; # 940|-> for (; !scm_is_null (binding_idx); binding_idx = CDR (binding_idx)) # 941| { # 942| const SCM binding = CAR (binding_idx); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:942: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 940| for (; !scm_is_null (binding_idx); binding_idx = CDR (binding_idx)) # 941| { # 942|-> const SCM binding = CAR (binding_idx); # 943| const SCM CDR_binding = CDR (binding); # 944| const SCM name = CAR (binding); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:943: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 941| { # 942| const SCM binding = CAR (binding_idx); # 943|-> const SCM CDR_binding = CDR (binding); # 944| const SCM name = CAR (binding); # 945| ASSERT_SYNTAX_2 (scm_is_false (scm_c_memq (name, rnames)), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:944: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 942| const SCM binding = CAR (binding_idx); # 943| const SCM CDR_binding = CDR (binding); # 944|-> const SCM name = CAR (binding); # 945| ASSERT_SYNTAX_2 (scm_is_false (scm_c_memq (name, rnames)), # 946| s_duplicate_binding, name, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:945: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 943| const SCM CDR_binding = CDR (binding); # 944| const SCM name = CAR (binding); # 945|-> ASSERT_SYNTAX_2 (scm_is_false (scm_c_memq (name, rnames)), # 946| s_duplicate_binding, name, expr); # 947| rnames = scm_cons (name, rnames); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:949: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 947| rnames = scm_cons (name, rnames); # 948| rvars = scm_cons (scm_gensym (SCM_UNDEFINED), rvars); # 949|-> rinits = scm_cons (CAR (CDR_binding), rinits); # 950| } # 951| *names = scm_reverse_x (rnames, SCM_UNDEFINED); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:964: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 962| SCM name_sym; # 963| # 964|-> const SCM cdr_expr = CDR (expr); # 965| const SCM name = CAR (cdr_expr); # 966| const SCM cddr_expr = CDR (cdr_expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:965: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 963| # 964| const SCM cdr_expr = CDR (expr); # 965|-> const SCM name = CAR (cdr_expr); # 966| const SCM cddr_expr = CDR (cdr_expr); # 967| const SCM bindings = CAR (cddr_expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:966: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 964| const SCM cdr_expr = CDR (expr); # 965| const SCM name = CAR (cdr_expr); # 966|-> const SCM cddr_expr = CDR (cdr_expr); # 967| const SCM bindings = CAR (cddr_expr); # 968| check_bindings (bindings, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:967: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 965| const SCM name = CAR (cdr_expr); # 966| const SCM cddr_expr = CDR (cdr_expr); # 967|-> const SCM bindings = CAR (cddr_expr); # 968| check_bindings (bindings, expr); # 969| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:975: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 973| inner_env = expand_env_extend (inner_env, var_names, var_syms); # 974| # 975|-> return LETREC # 976| (scm_source_properties (expr), SCM_BOOL_F, # 977| scm_list_1 (name), scm_list_1 (name_sym), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:994: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 992| SCM bindings; # 993| # 994|-> const SCM cdr_expr = CDR (expr); # 995| const long length = scm_ilength (cdr_expr); # 996| ASSERT_SYNTAX (length >= 0, s_bad_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:999: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 997| ASSERT_SYNTAX (length >= 2, s_missing_expression, expr); # 998| # 999|-> bindings = CAR (cdr_expr); # 1000| if (scm_is_symbol (bindings)) # 1001| { Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1000: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 998| # 999| bindings = CAR (cdr_expr); # 1000|-> if (scm_is_symbol (bindings)) # 1001| { # 1002| ASSERT_SYNTAX (length >= 3, s_missing_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1007: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1005| # 1006| check_bindings (bindings, expr); # 1007|-> if (scm_is_null (bindings)) # 1008| return expand_sequence (CDDR (expr), env); # 1009| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1008: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1006| check_bindings (bindings, expr); # 1007| if (scm_is_null (bindings)) # 1008|-> return expand_sequence (CDDR (expr), env); # 1009| else # 1010| { Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1013: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1011| SCM var_names, var_syms, inits; # 1012| transform_bindings (bindings, expr, &var_names, &var_syms, &inits); # 1013|-> return LET (SCM_BOOL_F, # 1014| var_names, var_syms, expand_exprs (inits, env), # 1015| expand_sequence (CDDR (expr), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1026: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1024| SCM bindings; # 1025| # 1026|-> const SCM cdr_expr = CDR (expr); # 1027| const long length = scm_ilength (cdr_expr); # 1028| ASSERT_SYNTAX (length >= 0, s_bad_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1031: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1029| ASSERT_SYNTAX (length >= 2, s_missing_expression, expr); # 1030| # 1031|-> bindings = CAR (cdr_expr); # 1032| check_bindings (bindings, expr); # 1033| if (scm_is_null (bindings)) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1033: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1031| bindings = CAR (cdr_expr); # 1032| check_bindings (bindings, expr); # 1033|-> if (scm_is_null (bindings)) # 1034| return expand_sequence (CDDR (expr), env); # 1035| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1034: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1032| check_bindings (bindings, expr); # 1033| if (scm_is_null (bindings)) # 1034|-> return expand_sequence (CDDR (expr), env); # 1035| else # 1036| { Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1040: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1038| transform_bindings (bindings, expr, &var_names, &var_syms, &inits); # 1039| env = expand_env_extend (env, var_names, var_syms); # 1040|-> return LETREC (SCM_BOOL_F, in_order_p, # 1041| var_names, var_syms, expand_exprs (inits, env), # 1042| expand_sequence (CDDR (expr), env)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1061: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1059| expand_letstar_clause (SCM bindings, SCM body, SCM env SCM_UNUSED) # 1060| { # 1061|-> if (scm_is_null (bindings)) # 1062| return expand_sequence (body, env); # 1063| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1068: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1066| # 1067| ASSERT_SYNTAX (scm_is_pair (bindings), s_bad_expression, bindings); # 1068|-> bind = CAR (bindings); # 1069| ASSERT_SYNTAX (scm_ilength (bind) == 2, s_bad_binding, bind); # 1070| name = CAR (bind); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1070: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1068| bind = CAR (bindings); # 1069| ASSERT_SYNTAX (scm_ilength (bind) == 2, s_bad_binding, bind); # 1070|-> name = CAR (bind); # 1071| sym = scm_gensym (SCM_UNDEFINED); # 1072| init = CADR (bind); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1072: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1070| name = CAR (bind); # 1071| sym = scm_gensym (SCM_UNDEFINED); # 1072|-> init = CADR (bind); # 1073| # 1074| return LET (SCM_BOOL_F, scm_list_1 (name), scm_list_1 (sym), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1074: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1072| init = CADR (bind); # 1073| # 1074|-> return LET (SCM_BOOL_F, scm_list_1 (name), scm_list_1 (sym), # 1075| scm_list_1 (expand (init, env)), # 1076| expand_letstar_clause (CDR (bindings), body, Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1084: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1082| expand_letstar (SCM expr, SCM env SCM_UNUSED) # 1083| { # 1084|-> const SCM cdr_expr = CDR (expr); # 1085| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 0, s_bad_expression, expr); # 1086| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 2, s_missing_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1088: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1086| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 2, s_missing_expression, expr); # 1087| # 1088|-> return expand_letstar_clause (CADR (expr), CDDR (expr), env); # 1089| } # 1090| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1094: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1092| expand_or (SCM expr, SCM env SCM_UNUSED) # 1093| { # 1094|-> SCM tail = CDR (expr); # 1095| const long length = scm_ilength (tail); # 1096| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1099: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1097| ASSERT_SYNTAX (length >= 0, s_bad_expression, expr); # 1098| # 1099|-> if (scm_is_null (CDR (expr))) # 1100| return CONST_ (SCM_BOOL_F, SCM_BOOL_F); # 1101| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1100: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1098| # 1099| if (scm_is_null (CDR (expr))) # 1100|-> return CONST_ (SCM_BOOL_F, SCM_BOOL_F); # 1101| else # 1102| { Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1104: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1102| { # 1103| SCM tmp = scm_gensym (SCM_UNDEFINED); # 1104|-> return LET (SCM_BOOL_F, # 1105| scm_list_1 (tmp), scm_list_1 (tmp), # 1106| scm_list_1 (expand (CADR (expr), env)), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1120: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1118| SCM quotee; # 1119| # 1120|-> const SCM cdr_expr = CDR (expr); # 1121| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 0, s_bad_expression, expr); # 1122| ASSERT_SYNTAX (scm_ilength (cdr_expr) == 1, s_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1123: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1121| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 0, s_bad_expression, expr); # 1122| ASSERT_SYNTAX (scm_ilength (cdr_expr) == 1, s_expression, expr); # 1123|-> quotee = CAR (cdr_expr); # 1124| return CONST_ (scm_source_properties (expr), quotee); # 1125| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1124: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1122| ASSERT_SYNTAX (scm_ilength (cdr_expr) == 1, s_expression, expr); # 1123| quotee = CAR (cdr_expr); # 1124|-> return CONST_ (scm_source_properties (expr), quotee); # 1125| } # 1126| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1133: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1131| SCM vmem; # 1132| # 1133|-> const SCM cdr_expr = CDR (expr); # 1134| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 0, s_bad_expression, expr); # 1135| ASSERT_SYNTAX (scm_ilength (cdr_expr) == 2, s_expression, expr); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1136: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1134| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 0, s_bad_expression, expr); # 1135| ASSERT_SYNTAX (scm_ilength (cdr_expr) == 2, s_expression, expr); # 1136|-> variable = CAR (cdr_expr); # 1137| vmem = expand (variable, env); # 1138| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1139: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1137| vmem = expand (variable, env); # 1138| # 1139|-> switch (SCM_EXPANDED_TYPE (vmem)) # 1140| { # 1141| case SCM_EXPANDED_LEXICAL_REF: Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1142: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1140| { # 1141| case SCM_EXPANDED_LEXICAL_REF: # 1142|-> return LEXICAL_SET (scm_source_properties (expr), # 1143| SCM_EXPANDED_REF (vmem, LEXICAL_REF, NAME), # 1144| SCM_EXPANDED_REF (vmem, LEXICAL_REF, GENSYM), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1147: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1145| expand (CADDR (expr), env)); # 1146| case SCM_EXPANDED_TOPLEVEL_REF: # 1147|-> return TOPLEVEL_SET (scm_source_properties (expr), # 1148| SCM_EXPANDED_REF (vmem, TOPLEVEL_REF, MOD), # 1149| SCM_EXPANDED_REF (vmem, TOPLEVEL_REF, NAME), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1150| expand (CADDR (expr), env)); # 1151| case SCM_EXPANDED_MODULE_REF: # 1152|-> return MODULE_SET (scm_source_properties (expr), # 1153| SCM_EXPANDED_REF (vmem, MODULE_REF, MOD), # 1154| SCM_EXPANDED_REF (vmem, MODULE_REF, NAME), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1180: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1178| #define FUNC_NAME s_scm_macroexpanded_p # 1179| { # 1180|-> return scm_from_bool (SCM_EXPANDED_P (exp)); # 1181| } # 1182| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1190: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1188| compute_assigned (SCM exp, SCM assigned) # 1189| { # 1190|-> if (scm_is_null (exp) || scm_is_false (exp)) # 1191| return; # 1192| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1195: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1193| if (scm_is_pair (exp)) # 1194| { # 1195|-> compute_assigned (CAR (exp), assigned); # 1196| compute_assigned (CDR (exp), assigned); # 1197| return; Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1196: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1194| { # 1195| compute_assigned (CAR (exp), assigned); # 1196|-> compute_assigned (CDR (exp), assigned); # 1197| return; # 1198| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1200: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1198| } # 1199| # 1200|-> if (!SCM_EXPANDED_P (exp)) # 1201| abort (); # 1202| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1203: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1201| abort (); # 1202| # 1203|-> switch (SCM_EXPANDED_TYPE (exp)) # 1204| { # 1205| case SCM_EXPANDED_VOID: Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1270: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1268| /* We lower letrec in this same pass, so mark these variables as # 1269| assigned. */ # 1270|-> for (; scm_is_pair (syms); syms = CDR (syms)) # 1271| scm_hashq_set_x (assigned, CAR (syms), SCM_BOOL_T); # 1272| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1271: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1269| assigned. */ # 1270| for (; scm_is_pair (syms); syms = CDR (syms)) # 1271|-> scm_hashq_set_x (assigned, CAR (syms), SCM_BOOL_T); # 1272| } # 1273| compute_assigned (REF (exp, LETREC, VALS), assigned); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1285: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1283| box_value (SCM exp) # 1284| { # 1285|-> return PRIMCALL (SCM_BOOL_F, scm_from_latin1_symbol ("make-variable"), # 1286| scm_list_1 (exp)); # 1287| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1292: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1290| box_lexical (SCM name, SCM sym) # 1291| { # 1292|-> return LEXICAL_SET (SCM_BOOL_F, name, sym, # 1293| box_value (LEXICAL_REF (SCM_BOOL_F, name, sym))); # 1294| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1299: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1297| init_if_unbound (SCM src, SCM name, SCM sym, SCM init) # 1298| { # 1299|-> return CONDITIONAL (src, # 1300| PRIMCALL (src, # 1301| scm_from_latin1_symbol ("eq?"), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1311: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1309| init_boxes (SCM names, SCM syms, SCM vals, SCM body) # 1310| { # 1311|-> if (scm_is_null (names)) return body; # 1312| # 1313| return SEQ (SCM_BOOL_F, Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1313: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1311| if (scm_is_null (names)) return body; # 1312| # 1313|-> return SEQ (SCM_BOOL_F, # 1314| PRIMCALL # 1315| (SCM_BOOL_F, Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1325: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1323| convert_assignment (SCM exp, SCM assigned) # 1324| { # 1325|-> if (scm_is_null (exp) || scm_is_false (exp)) # 1326| return exp; # 1327| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1329: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1327| # 1328| if (scm_is_pair (exp)) # 1329|-> return scm_cons (convert_assignment (CAR (exp), assigned), # 1330| convert_assignment (CDR (exp), assigned)); # 1331| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1330: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1328| if (scm_is_pair (exp)) # 1329| return scm_cons (convert_assignment (CAR (exp), assigned), # 1330|-> convert_assignment (CDR (exp), assigned)); # 1331| # 1332| if (!SCM_EXPANDED_P (exp)) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1332: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1330| convert_assignment (CDR (exp), assigned)); # 1331| # 1332|-> if (!SCM_EXPANDED_P (exp)) # 1333| abort (); # 1334| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1335: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1333| abort (); # 1334| # 1335|-> switch (SCM_EXPANDED_TYPE (exp)) # 1336| { # 1337| case SCM_EXPANDED_VOID: Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1348: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1346| SCM sym = REF (exp, LEXICAL_REF, GENSYM); # 1347| # 1348|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1349| return PRIMCALL # 1350| (REF (exp, LEXICAL_REF, SRC), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1349: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1347| # 1348| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1349|-> return PRIMCALL # 1350| (REF (exp, LEXICAL_REF, SRC), # 1351| scm_from_latin1_symbol ("variable-ref"), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1357: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1355| # 1356| case SCM_EXPANDED_LEXICAL_SET: # 1357|-> return PRIMCALL # 1358| (REF (exp, LEXICAL_SET, SRC), # 1359| scm_from_latin1_symbol ("variable-set!"), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1367: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1365| # 1366| case SCM_EXPANDED_MODULE_SET: # 1367|-> return MODULE_SET # 1368| (REF (exp, MODULE_SET, SRC), # 1369| REF (exp, MODULE_SET, MOD), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1375: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1373| # 1374| case SCM_EXPANDED_TOPLEVEL_SET: # 1375|-> return TOPLEVEL_SET # 1376| (REF (exp, TOPLEVEL_SET, SRC), # 1377| REF (exp, TOPLEVEL_SET, MOD), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1382: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1380| # 1381| case SCM_EXPANDED_TOPLEVEL_DEFINE: # 1382|-> return TOPLEVEL_DEFINE # 1383| (REF (exp, TOPLEVEL_DEFINE, SRC), # 1384| REF (exp, TOPLEVEL_DEFINE, MOD), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1390: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1388| # 1389| case SCM_EXPANDED_CONDITIONAL: # 1390|-> return CONDITIONAL # 1391| (REF (exp, CONDITIONAL, SRC), # 1392| convert_assignment (REF (exp, CONDITIONAL, TEST), assigned), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1397: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1395| # 1396| case SCM_EXPANDED_CALL: # 1397|-> return CALL # 1398| (REF (exp, CALL, SRC), # 1399| convert_assignment (REF (exp, CALL, PROC), assigned), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1403: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1401| # 1402| case SCM_EXPANDED_PRIMCALL: # 1403|-> return PRIMCALL # 1404| (REF (exp, PRIMCALL, SRC), # 1405| REF (exp, PRIMCALL, NAME), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1409: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1407| # 1408| case SCM_EXPANDED_SEQ: # 1409|-> return SEQ # 1410| (REF (exp, SEQ, SRC), # 1411| convert_assignment (REF (exp, SEQ, HEAD), assigned), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1415: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1413| # 1414| case SCM_EXPANDED_LAMBDA: # 1415|-> return LAMBDA # 1416| (REF (exp, LAMBDA, SRC), # 1417| REF (exp, LAMBDA, META), Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1460: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1458| for (namewalk = req; # 1459| scm_is_pair (namewalk); # 1460|-> namewalk = CDR (namewalk), symwalk = CDR (symwalk)) # 1461| { # 1462| SCM name = CAR (namewalk), sym = CAR (symwalk); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1462: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1460| namewalk = CDR (namewalk), symwalk = CDR (symwalk)) # 1461| { # 1462|-> SCM name = CAR (namewalk), sym = CAR (symwalk); # 1463| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1464| seq = scm_cons (box_lexical (name, sym), seq); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1463: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1461| { # 1462| SCM name = CAR (namewalk), sym = CAR (symwalk); # 1463|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1464| seq = scm_cons (box_lexical (name, sym), seq); # 1465| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1469: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1467| for (namewalk = opt; # 1468| scm_is_pair (namewalk); # 1469|-> namewalk = CDR (namewalk), symwalk = CDR (symwalk), # 1470| inits = CDR (inits)) # 1471| { Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1470: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1468| scm_is_pair (namewalk); # 1469| namewalk = CDR (namewalk), symwalk = CDR (symwalk), # 1470|-> inits = CDR (inits)) # 1471| { # 1472| SCM name = CAR (namewalk), sym = CAR (symwalk), init = CAR (inits); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1472: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1470| inits = CDR (inits)) # 1471| { # 1472|-> SCM name = CAR (namewalk), sym = CAR (symwalk), init = CAR (inits); # 1473| seq = scm_cons (init_if_unbound (src, name, sym, init), seq); # 1474| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1474: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1472| SCM name = CAR (namewalk), sym = CAR (symwalk), init = CAR (inits); # 1473| seq = scm_cons (init_if_unbound (src, name, sym, init), seq); # 1474|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1475| seq = scm_cons (box_lexical (name, sym), seq); # 1476| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1478: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1476| } # 1477| /* Rest arguments may need boxing. */ # 1478|-> if (scm_is_true (rest)) # 1479| { # 1480| SCM sym = CAR (symwalk); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1480: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1478| if (scm_is_true (rest)) # 1479| { # 1480|-> SCM sym = CAR (symwalk); # 1481| symwalk = CDR (symwalk); # 1482| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1481: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1479| { # 1480| SCM sym = CAR (symwalk); # 1481|-> symwalk = CDR (symwalk); # 1482| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1483| seq = scm_cons (box_lexical (rest, sym), seq); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1482: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1480| SCM sym = CAR (symwalk); # 1481| symwalk = CDR (symwalk); # 1482|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1483| seq = scm_cons (box_lexical (rest, sym), seq); # 1484| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1489: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1487| for (; # 1488| scm_is_pair (symwalk); # 1489|-> symwalk = CDR (symwalk), inits = CDR (inits)) # 1490| { # 1491| SCM sym = CAR (symwalk), init = CAR (inits); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1491: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1489| symwalk = CDR (symwalk), inits = CDR (inits)) # 1490| { # 1491|-> SCM sym = CAR (symwalk), init = CAR (inits); # 1492| seq = scm_cons (init_if_unbound (src, SCM_BOOL_F, sym, init), seq); # 1493| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1493: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1491| SCM sym = CAR (symwalk), init = CAR (inits); # 1492| seq = scm_cons (init_if_unbound (src, SCM_BOOL_F, sym, init), seq); # 1493|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1494| seq = scm_cons (box_lexical (SCM_BOOL_F, sym), seq); # 1495| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1497: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1495| } # 1496| # 1497|-> for (; scm_is_pair (seq); seq = CDR (seq)) # 1498| body = SEQ (src, CAR (seq), body); # 1499| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1498: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1496| # 1497| for (; scm_is_pair (seq); seq = CDR (seq)) # 1498|-> body = SEQ (src, CAR (seq), body); # 1499| # 1500| return LAMBDA_CASE Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1500: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1498| body = SEQ (src, CAR (seq), body); # 1499| # 1500|-> return LAMBDA_CASE # 1501| (src, req, opt, rest, kw, new_inits, syms, body, alt); # 1502| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1516: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1514| for (new_vals = SCM_EOL, walk = syms; # 1515| scm_is_pair (vals); # 1516|-> vals = CDR (vals), walk = CDR (walk)) # 1517| { # 1518| SCM sym = CAR (walk), val = CAR (vals); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1518: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1516| vals = CDR (vals), walk = CDR (walk)) # 1517| { # 1518|-> SCM sym = CAR (walk), val = CAR (vals); # 1519| if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1520| new_vals = scm_cons (box_value (val), new_vals); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1519: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1517| { # 1518| SCM sym = CAR (walk), val = CAR (vals); # 1519|-> if (scm_is_true (scm_hashq_ref (assigned, sym, SCM_BOOL_F))) # 1520| new_vals = scm_cons (box_value (val), new_vals); # 1521| else Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1526: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1524| new_vals = scm_reverse (new_vals); # 1525| # 1526|-> return LET (src, names, syms, new_vals, body); # 1527| } # 1528| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1540: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1538| # 1539| empty_box = # 1540|-> PRIMCALL (SCM_BOOL_F, # 1541| scm_from_latin1_symbol ("make-undefined-variable"), # 1542| SCM_EOL); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1545: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1543| boxes = scm_make_list (scm_length (names), empty_box); # 1544| # 1545|-> if (scm_is_true (REF (exp, LETREC, IN_ORDER_P))) # 1546| return LET # 1547| (src, names, syms, boxes, Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1546: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1544| # 1545| if (scm_is_true (REF (exp, LETREC, IN_ORDER_P))) # 1546|-> return LET # 1547| (src, names, syms, boxes, # 1548| init_boxes (names, syms, vals, body)); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1553: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1551| SCM walk, tmps = SCM_EOL, inits = SCM_EOL; # 1552| # 1553|-> for (walk = syms; scm_is_pair (walk); walk = CDR (walk)) # 1554| { # 1555| SCM tmp = scm_gensym (SCM_UNDEFINED); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1557: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1555| SCM tmp = scm_gensym (SCM_UNDEFINED); # 1556| tmps = scm_cons (tmp, tmps); # 1557|-> inits = scm_cons (LEXICAL_REF (SCM_BOOL_F, SCM_BOOL_F, tmp), # 1558| inits); # 1559| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1563: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1561| inits = scm_reverse (inits); # 1562| # 1563|-> return LET # 1564| (src, names, syms, boxes, # 1565| SEQ (src, Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1616: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1614| # 1615| return scm_c_make_struct (scm_exp_vtable_vtable, 0, 5, # 1616|-> SCM_UNPACK (layout), SCM_UNPACK (printer), SCM_UNPACK (name), # 1617| SCM_UNPACK (code), SCM_UNPACK (fields)); # 1618| } Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1617: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1615| return scm_c_make_struct (scm_exp_vtable_vtable, 0, 5, # 1616| SCM_UNPACK (layout), SCM_UNPACK (printer), SCM_UNPACK (name), # 1617|-> SCM_UNPACK (code), SCM_UNPACK (fields)); # 1618| } # 1619| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/expand.c:1657: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 1655| # 1656| const_unbound = # 1657|-> CONST_ (SCM_BOOL_F, scm_list_1 (scm_from_latin1_symbol ("unbound"))); # 1658| # 1659| scm_c_define_gsubr ("convert-assignment", 1, 0, 0, scm_convert_assignment); Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/foreign.c:129: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 127| { # 128| scm_t_pointer_finalizer finalizer = data; # 129|-> finalizer (SCM_POINTER_VALUE (SCM_PACK_POINTER (ptr))); # 130| } # 131| Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/foreign.c:138: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 136| #define FUNC_NAME s_scm_pointer_p # 137| { # 138|-> return scm_from_bool (SCM_POINTER_P (obj)); # 139| } # 140| #undef FUNC_NAME Error: CPPCHECK_WARNING (CWE-476): guile30-3.0.9-build/guile-3.0.9/libguile/foreign.c:154: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0 # 152| # 153| c_address = scm_to_uintptr_t (address); # 154|-> if (SCM_UNBNDP (finalizer)) # 155| c_finalizer = NULL; # 156| else Error: CPPCHECK_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/fports.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/frames.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/integers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:564: error[uninitvar]: Uninitialized variable: zx # 562| # 563| mpz_t zx, q; # 564|-> alias_bignum_to_mpz (x, zx); # 565| mpz_init (q); # 566| if (y > 0) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:581: error[uninitvar]: Uninitialized variable: zx # 579| { # 580| mpz_t zx, zy, q; # 581|-> alias_bignum_to_mpz (x, zx); # 582| alias_bignum_to_mpz (y, zy); # 583| mpz_init (q); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:582: error[uninitvar]: Uninitialized variable: zy # 580| mpz_t zx, zy, q; # 581| alias_bignum_to_mpz (x, zx); # 582|-> alias_bignum_to_mpz (y, zy); # 583| mpz_init (q); # 584| mpz_fdiv_q (q, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:610: error[uninitvar]: Uninitialized variable: zy # 608| mpz_t r, zy; # 609| mpz_init (r); # 610|-> alias_bignum_to_mpz (y, zy); # 611| mpz_sub_ui (r, zy, -x); # 612| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:624: error[uninitvar]: Uninitialized variable: zy # 622| mpz_t r, zy; # 623| mpz_init (r); # 624|-> alias_bignum_to_mpz (y, zy); # 625| mpz_add_ui (r, zy, x); # 626| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:640: error[uninitvar]: Uninitialized variable: zx # 638| scm_t_inum r; # 639| mpz_t zx; # 640|-> alias_bignum_to_mpz (x, zx); # 641| if (y > 0) # 642| r = mpz_fdiv_ui (zx, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:654: error[uninitvar]: Uninitialized variable: zx # 652| { # 653| mpz_t zx, zy, r; # 654|-> alias_bignum_to_mpz (x, zx); # 655| alias_bignum_to_mpz (y, zy); # 656| mpz_init (r); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:655: error[uninitvar]: Uninitialized variable: zy # 653| mpz_t zx, zy, r; # 654| alias_bignum_to_mpz (x, zx); # 655|-> alias_bignum_to_mpz (y, zy); # 656| mpz_init (r); # 657| mpz_fdiv_r (r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:690: error[uninitvar]: Uninitialized variable: zy # 688| { # 689| mpz_t zy, r; # 690|-> alias_bignum_to_mpz (y, zy); # 691| mpz_init (r); # 692| mpz_sub_ui (r, zy, -x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:711: error[uninitvar]: Uninitialized variable: zy # 709| { # 710| mpz_t zy, r; # 711|-> alias_bignum_to_mpz (y, zy); # 712| mpz_init (r); # 713| mpz_add_ui (r, zy, x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:727: error[uninitvar]: Uninitialized variable: zx # 725| # 726| mpz_t zx, q, r; # 727|-> alias_bignum_to_mpz (x, zx); # 728| mpz_init (q); # 729| mpz_init (r); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:748: error[uninitvar]: Uninitialized variable: zx # 746| mpz_init (q); # 747| mpz_init (r); # 748|-> alias_bignum_to_mpz (x, zx); # 749| alias_bignum_to_mpz (y, zy); # 750| mpz_fdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:749: error[uninitvar]: Uninitialized variable: zy # 747| mpz_init (r); # 748| alias_bignum_to_mpz (x, zx); # 749|-> alias_bignum_to_mpz (y, zy); # 750| mpz_fdiv_qr (q, r, zx, zy); # 751| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:808: error[uninitvar]: Uninitialized variable: zx # 806| mpz_t q, zx; # 807| mpz_init (q); # 808|-> alias_bignum_to_mpz (x, zx); # 809| if (y > 0) # 810| mpz_cdiv_q_ui (q, zx, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:826: error[uninitvar]: Uninitialized variable: zx # 824| mpz_t q, zx, zy; # 825| mpz_init (q); # 826|-> alias_bignum_to_mpz (x, zx); # 827| alias_bignum_to_mpz (y, zy); # 828| mpz_cdiv_q (q, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:827: error[uninitvar]: Uninitialized variable: zy # 825| mpz_init (q); # 826| alias_bignum_to_mpz (x, zx); # 827|-> alias_bignum_to_mpz (y, zy); # 828| mpz_cdiv_q (q, zx, zy); # 829| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:856: error[uninitvar]: Uninitialized variable: zy # 854| mpz_t r, zy; # 855| mpz_init (r); # 856|-> alias_bignum_to_mpz (y, zy); # 857| mpz_sub_ui (r, zy, x); # 858| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:878: error[uninitvar]: Uninitialized variable: zy # 876| mpz_t r, zy; # 877| mpz_init (r); # 878|-> alias_bignum_to_mpz (y, zy); # 879| mpz_add_ui (r, zy, -x); # 880| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:894: error[uninitvar]: Uninitialized variable: zx # 892| { # 893| mpz_t zx; # 894|-> alias_bignum_to_mpz (x, zx); # 895| scm_t_inum r; # 896| if (y > 0) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:910: error[uninitvar]: Uninitialized variable: zx # 908| mpz_t r, zx, zy; # 909| mpz_init (r); # 910|-> alias_bignum_to_mpz (x, zx); # 911| alias_bignum_to_mpz (y, zy); # 912| mpz_cdiv_r (r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:911: error[uninitvar]: Uninitialized variable: zy # 909| mpz_init (r); # 910| alias_bignum_to_mpz (x, zx); # 911|-> alias_bignum_to_mpz (y, zy); # 912| mpz_cdiv_r (r, zx, zy); # 913| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:952: error[uninitvar]: Uninitialized variable: zy # 950| mpz_t r, zy; # 951| mpz_init (r); # 952|-> alias_bignum_to_mpz (y, zy); # 953| mpz_sub_ui (r, zy, x); # 954| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:982: error[uninitvar]: Uninitialized variable: zy # 980| mpz_t r, zy; # 981| mpz_init (r); # 982|-> alias_bignum_to_mpz (y, zy); # 983| mpz_add_ui (r, zy, -x); # 984| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1001: error[uninitvar]: Uninitialized variable: zx # 999| mpz_init (q); # 1000| mpz_init (r); # 1001|-> alias_bignum_to_mpz (x, zx); # 1002| if (y > 0) # 1003| mpz_cdiv_qr_ui (q, r, zx, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1021: error[uninitvar]: Uninitialized variable: zx # 1019| mpz_init (q); # 1020| mpz_init (r); # 1021|-> alias_bignum_to_mpz (x, zx); # 1022| alias_bignum_to_mpz (y, zy); # 1023| mpz_cdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1022: error[uninitvar]: Uninitialized variable: zy # 1020| mpz_init (r); # 1021| alias_bignum_to_mpz (x, zx); # 1022|-> alias_bignum_to_mpz (y, zy); # 1023| mpz_cdiv_qr (q, r, zx, zy); # 1024| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1066: error[uninitvar]: Uninitialized variable: zx # 1064| mpz_t q, zx; # 1065| mpz_init (q); # 1066|-> alias_bignum_to_mpz (x, zx); # 1067| if (y > 0) # 1068| mpz_tdiv_q_ui (q, zx, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1084: error[uninitvar]: Uninitialized variable: zx # 1082| mpz_t q, zx, zy; # 1083| mpz_init (q); # 1084|-> alias_bignum_to_mpz (x, zx); # 1085| alias_bignum_to_mpz (y, zy); # 1086| mpz_tdiv_q (q, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1085: error[uninitvar]: Uninitialized variable: zy # 1083| mpz_init (q); # 1084| alias_bignum_to_mpz (x, zx); # 1085|-> alias_bignum_to_mpz (y, zy); # 1086| mpz_tdiv_q (q, zx, zy); # 1087| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1125: error[uninitvar]: Uninitialized variable: zx # 1123| { # 1124| mpz_t zx; # 1125|-> alias_bignum_to_mpz (x, zx); # 1126| scm_t_inum r = mpz_tdiv_ui (zx, (y > 0) ? y : -y) * mpz_sgn (zx); # 1127| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1137: error[uninitvar]: Uninitialized variable: zx # 1135| mpz_t r, zx, zy; # 1136| mpz_init (r); # 1137|-> alias_bignum_to_mpz (x, zx); # 1138| alias_bignum_to_mpz (y, zy); # 1139| mpz_tdiv_r (r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1138: error[uninitvar]: Uninitialized variable: zy # 1136| mpz_init (r); # 1137| alias_bignum_to_mpz (x, zx); # 1138|-> alias_bignum_to_mpz (y, zy); # 1139| mpz_tdiv_r (r, zx, zy); # 1140| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1185: error[uninitvar]: Uninitialized variable: zx # 1183| mpz_t q, zx; # 1184| mpz_init (q); # 1185|-> alias_bignum_to_mpz (x, zx); # 1186| scm_t_inum r; # 1187| if (y > 0) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1207: error[uninitvar]: Uninitialized variable: zx # 1205| mpz_init (q); # 1206| mpz_init (r); # 1207|-> alias_bignum_to_mpz (x, zx); # 1208| alias_bignum_to_mpz (y, zy); # 1209| mpz_tdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1208: error[uninitvar]: Uninitialized variable: zy # 1206| mpz_init (r); # 1207| alias_bignum_to_mpz (x, zx); # 1208|-> alias_bignum_to_mpz (y, zy); # 1209| mpz_tdiv_qr (q, r, zx, zy); # 1210| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1222: error[uninitvar]: Uninitialized variable: zx # 1220| mpz_init (r); # 1221| mpz_init (min_r); # 1222|-> alias_bignum_to_mpz (x, zx); # 1223| alias_bignum_to_mpz (y, zy); # 1224| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1223: error[uninitvar]: Uninitialized variable: zy # 1221| mpz_init (min_r); # 1222| alias_bignum_to_mpz (x, zx); # 1223|-> alias_bignum_to_mpz (y, zy); # 1224| # 1225| /* Note that x might be small enough to fit into a fixnum, so we must Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1308: error[uninitvar]: Uninitialized variable: zx # 1306| mpz_t q, zx; # 1307| mpz_init (q); # 1308|-> alias_bignum_to_mpz (x, zx); # 1309| scm_t_inum r; # 1310| /* Arrange for r to initially be non-positive, because that Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1344: error[uninitvar]: Uninitialized variable: zx # 1342| mpz_init (r); # 1343| mpz_init (min_r); # 1344|-> alias_bignum_to_mpz (x, zx); # 1345| alias_bignum_to_mpz (y, zy); # 1346| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1345: error[uninitvar]: Uninitialized variable: zy # 1343| mpz_init (min_r); # 1344| alias_bignum_to_mpz (x, zx); # 1345|-> alias_bignum_to_mpz (y, zy); # 1346| # 1347| /* Note that x might be small enough to fit into a Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1420: error[uninitvar]: Uninitialized variable: zx # 1418| { # 1419| mpz_t zx; # 1420|-> alias_bignum_to_mpz (x, zx); # 1421| # 1422| if (y == 0) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1458: error[uninitvar]: Uninitialized variable: zx # 1456| mpz_init (r); # 1457| mpz_init (min_r); # 1458|-> alias_bignum_to_mpz (x, zx); # 1459| alias_bignum_to_mpz (y, zy); # 1460| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1459: error[uninitvar]: Uninitialized variable: zy # 1457| mpz_init (min_r); # 1458| alias_bignum_to_mpz (x, zx); # 1459|-> alias_bignum_to_mpz (y, zy); # 1460| # 1461| /* Note that x might be small enough to fit into a fixnum, so we must Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1546: error[uninitvar]: Uninitialized variable: zx # 1544| mpz_t q, zx; # 1545| mpz_init (q); # 1546|-> alias_bignum_to_mpz (x, zx); # 1547| scm_t_inum r; # 1548| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1593: error[uninitvar]: Uninitialized variable: zx # 1591| mpz_init (r); # 1592| mpz_init (r2); # 1593|-> alias_bignum_to_mpz (x, zx); # 1594| alias_bignum_to_mpz (y, zy); # 1595| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1594: error[uninitvar]: Uninitialized variable: zy # 1592| mpz_init (r2); # 1593| alias_bignum_to_mpz (x, zx); # 1594|-> alias_bignum_to_mpz (y, zy); # 1595| # 1596| mpz_fdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1665: error[uninitvar]: Uninitialized variable: zx # 1663| mpz_t q, zx; # 1664| mpz_init (q); # 1665|-> alias_bignum_to_mpz (x, zx); # 1666| scm_t_inum r; # 1667| int needs_adjustment; Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1700: error[uninitvar]: Uninitialized variable: zx # 1698| mpz_init (q); # 1699| mpz_init (r); # 1700|-> alias_bignum_to_mpz (x, zx); # 1701| alias_bignum_to_mpz (y, zy); # 1702| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1701: error[uninitvar]: Uninitialized variable: zy # 1699| mpz_init (r); # 1700| alias_bignum_to_mpz (x, zx); # 1701|-> alias_bignum_to_mpz (y, zy); # 1702| # 1703| mpz_fdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1732: error[uninitvar]: Uninitialized variable: zx # 1730| mpz_init (r); # 1731| mpz_init (r2); # 1732|-> alias_bignum_to_mpz (x, zx); # 1733| alias_bignum_to_mpz (y, zy); # 1734| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1733: error[uninitvar]: Uninitialized variable: zy # 1731| mpz_init (r2); # 1732| alias_bignum_to_mpz (x, zx); # 1733|-> alias_bignum_to_mpz (y, zy); # 1734| # 1735| mpz_fdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1806: error[uninitvar]: Uninitialized variable: zx # 1804| # 1805| mpz_init (q); # 1806|-> alias_bignum_to_mpz (x, zx); # 1807| # 1808| if (y > 0) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1849: error[uninitvar]: Uninitialized variable: zx # 1847| mpz_init (r); # 1848| mpz_init (r2); # 1849|-> alias_bignum_to_mpz (x, zx); # 1850| alias_bignum_to_mpz (y, zy); # 1851| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1850: error[uninitvar]: Uninitialized variable: zy # 1848| mpz_init (r2); # 1849| alias_bignum_to_mpz (x, zx); # 1850|-> alias_bignum_to_mpz (y, zy); # 1851| # 1852| mpz_fdiv_qr (q, r, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:1923: error[uninitvar]: Uninitialized variable: zx # 1921| mpz_t q, zx; # 1922| mpz_init (q); # 1923|-> alias_bignum_to_mpz (x, zx); # 1924| scm_t_inum r; # 1925| int needs_adjustment; Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2019: error[uninitvar]: Uninitialized variable: zx # 2017| y = -y; # 2018| mpz_t zx; # 2019|-> alias_bignum_to_mpz (x, zx); # 2020| result = mpz_gcd_ui (NULL, zx, y); # 2021| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2030: error[uninitvar]: Uninitialized variable: zx # 2028| mpz_t result, zx, zy; # 2029| mpz_init (result); # 2030|-> alias_bignum_to_mpz (x, zx); # 2031| alias_bignum_to_mpz (y, zy); # 2032| mpz_gcd (result, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2031: error[uninitvar]: Uninitialized variable: zy # 2029| mpz_init (result); # 2030| alias_bignum_to_mpz (x, zx); # 2031|-> alias_bignum_to_mpz (y, zy); # 2032| mpz_gcd (result, zx, zy); # 2033| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2055: error[uninitvar]: Uninitialized variable: zx # 2053| mpz_t result, zx; # 2054| mpz_init (result); # 2055|-> alias_bignum_to_mpz (x, zx); # 2056| mpz_lcm_ui (result, zx, y); # 2057| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2066: error[uninitvar]: Uninitialized variable: zx # 2064| mpz_t result, zx, zy; # 2065| mpz_init (result); # 2066|-> alias_bignum_to_mpz (x, zx); # 2067| alias_bignum_to_mpz (y, zy); # 2068| mpz_lcm (result, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2067: error[uninitvar]: Uninitialized variable: zy # 2065| mpz_init (result); # 2066| alias_bignum_to_mpz (x, zx); # 2067|-> alias_bignum_to_mpz (y, zy); # 2068| mpz_lcm (result, zx, zy); # 2069| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2136: error[uninitvar]: Uninitialized variable: zx # 2134| mpz_t result, zx, zy; # 2135| mpz_init (result); # 2136|-> alias_bignum_to_mpz (x, zx); # 2137| mpz_init_set_si (zy, y); # 2138| mpz_and (result, zy, zx); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2149: error[uninitvar]: Uninitialized variable: zx # 2147| mpz_t result, zx, zy; # 2148| mpz_init (result); # 2149|-> alias_bignum_to_mpz (x, zx); # 2150| alias_bignum_to_mpz (y, zy); # 2151| mpz_and (result, zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2150: error[uninitvar]: Uninitialized variable: zy # 2148| mpz_init (result); # 2149| alias_bignum_to_mpz (x, zx); # 2150|-> alias_bignum_to_mpz (y, zy); # 2151| mpz_and (result, zx, zy); # 2152| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2170: error[uninitvar]: Uninitialized variable: zx # 2168| mpz_t result, zx, zy; # 2169| mpz_init (result); # 2170|-> alias_bignum_to_mpz (x, zx); # 2171| mpz_init_set_si (zy, y); # 2172| mpz_ior (result, zy, zx); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2183: error[uninitvar]: Uninitialized variable: zx # 2181| mpz_t result, zx, zy; # 2182| mpz_init (result); # 2183|-> alias_bignum_to_mpz (x, zx); # 2184| alias_bignum_to_mpz (y, zy); # 2185| mpz_ior (result, zy, zx); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2184: error[uninitvar]: Uninitialized variable: zy # 2182| mpz_init (result); # 2183| alias_bignum_to_mpz (x, zx); # 2184|-> alias_bignum_to_mpz (y, zy); # 2185| mpz_ior (result, zy, zx); # 2186| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2201: error[uninitvar]: Uninitialized variable: zx # 2199| mpz_t result, zx, zy; # 2200| mpz_init (result); # 2201|-> alias_bignum_to_mpz (x, zx); # 2202| mpz_init_set_si (zy, y); # 2203| mpz_xor (result, zy, zx); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2214: error[uninitvar]: Uninitialized variable: zx # 2212| mpz_t result, zx, zy; # 2213| mpz_init (result); # 2214|-> alias_bignum_to_mpz (x, zx); # 2215| alias_bignum_to_mpz (y, zy); # 2216| mpz_xor (result, zy, zx); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2215: error[uninitvar]: Uninitialized variable: zy # 2213| mpz_init (result); # 2214| alias_bignum_to_mpz (x, zx); # 2215|-> alias_bignum_to_mpz (y, zy); # 2216| mpz_xor (result, zy, zx); # 2217| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2253: error[uninitvar]: Uninitialized variable: zn # 2251| { # 2252| mpz_t zn; # 2253|-> alias_bignum_to_mpz (n, zn); # 2254| int val = mpz_tstbit (zn, index); # 2255| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2270: error[uninitvar]: Uninitialized variable: zn # 2268| mpz_t result, zn; # 2269| mpz_init (result); # 2270|-> alias_bignum_to_mpz (n, zn); # 2271| mpz_com (result, zn); # 2272| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2315: error[uninitvar]: Uninitialized variable: zn # 2313| mpz_t res, zn; # 2314| mpz_init (res); # 2315|-> alias_bignum_to_mpz (n, zn); # 2316| mpz_pow_ui (res, zn, k); # 2317| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2330: error[uninitvar]: Uninitialized variable: zn # 2328| ASSERT (SCM_BIGP (n)); # 2329| mpz_t zn; # 2330|-> alias_bignum_to_mpz (scm_bignum (n), zn); # 2331| mpz_init_set (z, zn); # 2332| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2344: error[uninitvar]: Uninitialized variable: n_tmp # 2342| mpz_t n_tmp, k_tmp, m_tmp; # 2343| # 2344|-> integer_init_mpz (n_tmp, n); # 2345| integer_init_mpz (k_tmp, k); # 2346| integer_init_mpz (m_tmp, m); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2345: error[uninitvar]: Uninitialized variable: k_tmp # 2343| # 2344| integer_init_mpz (n_tmp, n); # 2345|-> integer_init_mpz (k_tmp, k); # 2346| integer_init_mpz (m_tmp, m); # 2347| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2346: error[uninitvar]: Uninitialized variable: m_tmp # 2344| integer_init_mpz (n_tmp, n); # 2345| integer_init_mpz (k_tmp, k); # 2346|-> integer_init_mpz (m_tmp, m); # 2347| # 2348| /* if the exponent K is negative, and we simply call mpz_powm, we Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2414: error[uninitvar]: Uninitialized variable: zn # 2412| mpz_t result, zn; # 2413| mpz_init (result); # 2414|-> alias_bignum_to_mpz (n, zn); # 2415| mpz_mul_2exp (result, zn, count); # 2416| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2438: error[uninitvar]: Uninitialized variable: zn # 2436| mpz_t result, zn; # 2437| mpz_init (result); # 2438|-> alias_bignum_to_mpz (n, zn); # 2439| mpz_fdiv_q_2exp (result, zn, count); # 2440| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2471: error[uninitvar]: Uninitialized variable: zn # 2469| mpz_t q, zn; # 2470| mpz_init (q); # 2471|-> alias_bignum_to_mpz (n, zn); # 2472| mpz_fdiv_q_2exp (q, zn, count); # 2473| if (mpz_tstbit (zn, count-1) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2510: error[uninitvar]: Uninitialized variable: zn # 2508| { # 2509| mpz_t zn; # 2510|-> alias_bignum_to_mpz (n, zn); # 2511| # 2512| if (bits == 1) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2553: error[uninitvar]: Uninitialized variable: zn # 2551| unsigned long count; # 2552| mpz_t zn; # 2553|-> alias_bignum_to_mpz (n, zn); # 2554| if (mpz_sgn (zn) >= 0) # 2555| count = mpz_popcount (zn); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2594: error[uninitvar]: Uninitialized variable: zn # 2592| 1 too big, so check for that and adjust. */ # 2593| mpz_t zn; # 2594|-> alias_bignum_to_mpz (n, zn); # 2595| size_t size = mpz_sizeinbase (zn, 2); # 2596| /* If negative and no 0 bits above the lowest 1, adjust result. */ Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2616: error[uninitvar]: Uninitialized variable: zn # 2614| { # 2615| mpz_t zn; # 2616|-> alias_bignum_to_mpz (n, zn); # 2617| char *str = mpz_get_str (NULL, base, zn); # 2618| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2659: error[uninitvar]: Uninitialized variable: zx # 2657| { # 2658| mpz_t zx, zy; # 2659|-> alias_bignum_to_mpz (x, zx); # 2660| alias_bignum_to_mpz (y, zy); # 2661| int cmp = mpz_cmp (zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2660: error[uninitvar]: Uninitialized variable: zy # 2658| mpz_t zx, zy; # 2659| alias_bignum_to_mpz (x, zx); # 2660|-> alias_bignum_to_mpz (y, zy); # 2661| int cmp = mpz_cmp (zx, zy); # 2662| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2672: error[uninitvar]: Uninitialized variable: zx # 2670| return 0; # 2671| mpz_t zx; # 2672|-> alias_bignum_to_mpz (x, zx); # 2673| int cmp = mpz_cmp_d (zx, y); # 2674| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2732: error[uninitvar]: Uninitialized variable: zx # 2730| { # 2731| mpz_t zx, zy; # 2732|-> alias_bignum_to_mpz (x, zx); # 2733| alias_bignum_to_mpz (y, zy); # 2734| int cmp = mpz_cmp (zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2733: error[uninitvar]: Uninitialized variable: zy # 2731| mpz_t zx, zy; # 2732| alias_bignum_to_mpz (x, zx); # 2733|-> alias_bignum_to_mpz (y, zy); # 2734| int cmp = mpz_cmp (zx, zy); # 2735| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2745: error[uninitvar]: Uninitialized variable: zx # 2743| return 0; # 2744| mpz_t zx; # 2745|-> alias_bignum_to_mpz (x, zx); # 2746| int cmp = mpz_cmp_d (zx, y); # 2747| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2757: error[uninitvar]: Uninitialized variable: zy # 2755| return 0; # 2756| mpz_t zy; # 2757|-> alias_bignum_to_mpz (y, zy); # 2758| int cmp = mpz_cmp_d (zy, x); # 2759| scm_remember_upto_here_1 (y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:2791: error[uninitvar]: Uninitialized variable: zx # 2789| { # 2790| mpz_t zx; # 2791|-> alias_bignum_to_mpz (x, zx); # 2792| # 2793| size_t bits = mpz_sizeinbase (zx, 2); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3156: error[uninitvar]: Uninitialized variable: zx # 3154| scm_t_inum abs_y = y < 0 ? -y : y; # 3155| mpz_t zx; # 3156|-> alias_bignum_to_mpz (x, zx); # 3157| int divisible = mpz_divisible_ui_p (zx, abs_y); # 3158| scm_remember_upto_here_1 (x); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3168: error[uninitvar]: Uninitialized variable: zx # 3166| { # 3167| mpz_t zx, zy; # 3168|-> alias_bignum_to_mpz (x, zx); # 3169| alias_bignum_to_mpz (y, zy); # 3170| int divisible_p = mpz_divisible_p (zx, zy); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3169: error[uninitvar]: Uninitialized variable: zy # 3167| mpz_t zx, zy; # 3168| alias_bignum_to_mpz (x, zx); # 3169|-> alias_bignum_to_mpz (y, zy); # 3170| int divisible_p = mpz_divisible_p (zx, zy); # 3171| scm_remember_upto_here_2 (x, y); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3209: error[uninitvar]: Uninitialized variable: zn # 3207| mpz_t q, zn; # 3208| mpz_init (q); # 3209|-> alias_bignum_to_mpz (n, zn); # 3210| if (d > 0) # 3211| mpz_divexact_ui (q, zn, d); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3226: error[uninitvar]: Uninitialized variable: zn # 3224| mpz_t q, zn, zd; # 3225| mpz_init (q); # 3226|-> alias_bignum_to_mpz (n, zn); # 3227| alias_bignum_to_mpz (d, zd); # 3228| Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3227: error[uninitvar]: Uninitialized variable: zd # 3225| mpz_init (q); # 3226| alias_bignum_to_mpz (n, zn); # 3227|-> alias_bignum_to_mpz (d, zd); # 3228| # 3229| mpz_divexact (q, zn, zd); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3296: error[uninitvar]: Uninitialized variable: zn # 3294| { # 3295| mpz_t zn; # 3296|-> alias_bignum_to_mpz (z, zn); # 3297| mpz_set (n, zn); # 3298| scm_remember_upto_here_1 (z); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3328: error[uninitvar]: Uninitialized variable: zk # 3326| { # 3327| mpz_t zk, zs, zr; # 3328|-> alias_bignum_to_mpz (k, zk); # 3329| mpz_init (zs); # 3330| mpz_init (zr); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3353: error[uninitvar]: Uninitialized variable: zk # 3351| { # 3352| mpz_t zk; # 3353|-> alias_bignum_to_mpz (k, zk); # 3354| int result = mpz_perfect_square_p (zk); # 3355| scm_remember_upto_here_1 (k); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3374: error[uninitvar]: Uninitialized variable: zk # 3372| { # 3373| mpz_t zk, zs; # 3374|-> alias_bignum_to_mpz (k, zk); # 3375| mpz_init (zs); # 3376| mpz_sqrt (zs, zk); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/integers.c:3420: error[uninitvar]: Uninitialized variable: zn # 3418| { # 3419| mpz_t zn; # 3420|-> alias_bignum_to_mpz (n, zn); # 3421| unsigned long pos = mpz_scan1 (zn, 0L); # 3422| scm_remember_upto_here_1 (n); Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/numbers.c:301: error[uninitvar]: Uninitialized variable: dd # 299| } # 300| else # 301|-> scm_integer_init_set_mpz_z (scm_bignum (d), dd); # 302| # 303| if (SCM_I_INUMP (n)) Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/numbers.c:306: error[uninitvar]: Uninitialized variable: nn # 304| mpz_init_set_si (nn, SCM_I_INUM (n)); # 305| else # 306|-> scm_integer_init_set_mpz_z (scm_bignum (n), nn); # 307| # 308| neg = (mpz_sgn (nn) < 0) ^ (mpz_sgn (dd) < 0); Error: GCC_ANALYZER_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/posix.c: scope_hint: In function 'do_spawn' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1396:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'fd_slot[0]' guile30-3.0.9-build/guile-3.0.9/libguile/array-handle.h:27: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/bitvectors.h:25: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:60: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1530:16: note: in expansion of macro 'scm_to_int' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:24: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/config.h:1962:34: note: in definition of macro '__builtin_expect' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:188:7: note: in expansion of macro 'SCM_UNLIKELY' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c: scope_hint: In function 'do_spawn' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1531:16: note: in expansion of macro 'scm_to_int' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:123:41: note: in definition of macro 'SCM_VALIDATE_PAIR' guile30-3.0.9-build/guile-3.0.9/libguile/gc.h:61:31: note: in expansion of macro 'SCM_GC_CELL_OBJECT' guile30-3.0.9-build/guile-3.0.9/libguile/gc.h:63:30: note: in expansion of macro 'SCM_CELL_OBJECT' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:71:56: note: in expansion of macro 'SCM_CELL_OBJECT_1' guile30-3.0.9-build/guile-3.0.9/libguile/pairs.h:198:10: note: in expansion of macro 'SCM_CDR' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c: scope_hint: In function 'do_spawn' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE' guile30-3.0.9-build/guile-3.0.9/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:49:29: note: in expansion of macro 'SCM_OPFPORTP' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1545:9: note: in expansion of macro 'SCM_OPOUTFPORTP' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP' guile30-3.0.9-build/guile-3.0.9/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE' guile30-3.0.9-build/guile-3.0.9/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:48:28: note: in expansion of macro 'SCM_OPFPORTP' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1549:21: note: in expansion of macro 'SCM_OPINFPORTP' # 1394| to 0, 1, 2 don't trample each other */ # 1395| # 1396|-> posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397| posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398| posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); Error: COMPILER_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/posix.c: scope_hint: In function 'do_spawn' guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1396:3: warning[-Wmaybe-uninitialized]: 'fd_slot' may be used uninitialized # 1396 | posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1382:7: note: 'fd_slot' declared here # 1382 | int fd_slot[3]; # | ^~~~~~~ # 1394| to 0, 1, 2 don't trample each other */ # 1395| # 1396|-> posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397| posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398| posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); Error: CLANG_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1396:3: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value # 1394| to 0, 1, 2 don't trample each other */ # 1395| # 1396|-> posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397| posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398| posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); Error: COMPILER_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1397:3: warning[-Wmaybe-uninitialized]: 'fd_slot' may be used uninitialized # 1397 | posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1382:7: note: 'fd_slot' declared here # 1382 | int fd_slot[3]; # | ^~~~~~~ # 1395| # 1396| posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397|-> posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398| posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); # 1399| posix_spawn_file_actions_adddup2 (&actions, fd_slot[0], 0); Error: CLANG_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1397:3: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value # 1395| # 1396| posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397|-> posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398| posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); # 1399| posix_spawn_file_actions_adddup2 (&actions, fd_slot[0], 0); Error: COMPILER_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1398:3: warning[-Wmaybe-uninitialized]: 'fd_slot' may be used uninitialized # 1398 | posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1382:7: note: 'fd_slot' declared here # 1382 | int fd_slot[3]; # | ^~~~~~~ # 1396| posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397| posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398|-> posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); # 1399| posix_spawn_file_actions_adddup2 (&actions, fd_slot[0], 0); # 1400| posix_spawn_file_actions_adddup2 (&actions, fd_slot[1], 1); Error: CLANG_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/posix.c:1398:3: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value # 1396| posix_spawn_file_actions_adddup2 (&actions, in, fd_slot[0]); # 1397| posix_spawn_file_actions_adddup2 (&actions, out, fd_slot[1]); # 1398|-> posix_spawn_file_actions_adddup2 (&actions, err, fd_slot[2]); # 1399| posix_spawn_file_actions_adddup2 (&actions, fd_slot[0], 0); # 1400| posix_spawn_file_actions_adddup2 (&actions, fd_slot[1], 1); Error: GCC_ANALYZER_WARNING (CWE-126): guile30-3.0.9-build/guile-3.0.9/libguile/socket.c: scope_hint: In function 'scm_getsockopt' guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:536:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read guile30-3.0.9-build/guile-3.0.9/libguile/chars.h:25: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/print.h:25: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/arrays.h:25: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:59: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE' guile30-3.0.9-build/guile-3.0.9/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2' guile30-3.0.9-build/guile-3.0.9/libguile/fports.h:54:3: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG' guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:523:3: note: in expansion of macro 'SCM_VALIDATE_OPFPORT' guile30-3.0.9-build/guile-3.0.9/libguile/array-handle.h:27: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/uniform.h:25: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/bytevectors.h:28: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:61: included_from: Included from here. guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:524:12: note: in expansion of macro 'scm_to_int' guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:536:14: note: read of 8 bytes from after the end of 'optval' # └─────────────────────────────────┘ # ^ # 534| struct timeval *opt_time = (struct timeval *) &optval; # 535| # 536|-> return scm_cons (scm_from_long (opt_time->tv_sec), # 537| scm_from_long (opt_time->tv_usec)); # 538| } Error: COMPILER_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:536:47: warning[-Warray-bounds=]: array subscript 'struct timeval[0]' is partly outside array bounds of 'union scm_t_getsockopt_result[1]' # 536 | return scm_cons (scm_from_long (opt_time->tv_sec), # | ^~ guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:516:27: note: object 'optval' of size 8 # 516 | scm_t_getsockopt_result optval; # | ^~~~~~ # 534| struct timeval *opt_time = (struct timeval *) &optval; # 535| # 536|-> return scm_cons (scm_from_long (opt_time->tv_sec), # 537| scm_from_long (opt_time->tv_usec)); # 538| } Error: COMPILER_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/socket.c: scope_hint: In function 'scm_getsockopt' guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:537:47: warning[-Warray-bounds=]: array subscript 'struct timeval[0]' is partly outside array bounds of 'union scm_t_getsockopt_result[1]' # 537 | scm_from_long (opt_time->tv_usec)); # | ^~ guile30-3.0.9-build/guile-3.0.9/libguile/socket.c:516:27: note: object 'optval' of size 8 # 516 | scm_t_getsockopt_result optval; # | ^~~~~~ # 535| # 536| return scm_cons (scm_from_long (opt_time->tv_sec), # 537|-> scm_from_long (opt_time->tv_usec)); # 538| } # 539| #endif Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/srfi-60.c:182: error[uninitvar]: Uninitialized variable: zn # 180| if (cc == 0) # 181| return n; # 182|-> scm_integer_init_set_mpz_z (scm_bignum (n), zn); # 183| } # 184| else Error: CPPCHECK_WARNING (CWE-457): guile30-3.0.9-build/guile-3.0.9/libguile/srfi-60.c:272: error[uninitvar]: Uninitialized variable: b # 270| if (ee - ss <= 1) # 271| return n; # 272|-> scm_integer_init_set_mpz_z (scm_bignum (n), b); # 273| } # 274| else Error: CPPCHECK_WARNING: guile30-3.0.9-build/guile-3.0.9/libguile/vectors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.