guile30-3.0.7-12.fc40
List of Defects
Error: CPPCHECK_WARNING: [#def1]
guile30-3.0.7-build/guile-3.0.7/guile-readline/readline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
guile30-3.0.7-build/guile-3.0.7/lib/localcharset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def3]
guile30-3.0.7-build/guile-3.0.7/lib/localcharset.c: scope_hint: In function 'environ_locale_charset'
guile30-3.0.7-build/guile-3.0.7/lib/localcharset.c:1167:25: warning[-Wunused-variable]: unused variable 'aliases'
# 1167 | const char *codeset, *aliases;
# | ^~~~~~~
# 1165| {
# 1166| static char buf[2 + 10 + 1];
# 1167|-> const char *codeset, *aliases;
# 1168| const char *locale = NULL;
# 1169|
Error: CPPCHECK_WARNING (CWE-457): [#def4]
guile30-3.0.7-build/guile-3.0.7/lib/localcharset.c:1262: error[legacyUninitvar]: Uninitialized variable: codeset
# 1260| the empty string as denoting "the locale's character encoding",
# 1261| thus GNU libiconv would call this function a second time. */
# 1262|-> if (codeset[0] == '\0')
# 1263| codeset = "ASCII";
# 1264| # endif
Error: CLANG_WARNING: [#def5]
guile30-3.0.7-build/guile-3.0.7/lib/localcharset.c:1262:13: warning[core.NullDereference]: Array access (from variable 'codeset') results in an undefined pointer dereference
# 1260| the empty string as denoting "the locale's character encoding",
# 1261| thus GNU libiconv would call this function a second time. */
# 1262|-> if (codeset[0] == '\0')
# 1263| codeset = "ASCII";
# 1264| # endif
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
guile30-3.0.7-build/guile-3.0.7/lib/malloca.c: scope_hint: In function 'mmalloca'
guile30-3.0.7-build/guile-3.0.7/lib/malloca.c:65:31: warning[-Wanalyzer-malloc-leak]: leak of 'mem'
# 63| So, the memory range [p, p+n) lies in the allocated memory range
# 64| [mem, mem + nplus). */
# 65|-> ((small_t *) p)[-1] = p - mem;
# 66| /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */
# 67| return p;
Error: CPPCHECK_WARNING (CWE-401): [#def7]
guile30-3.0.7-build/guile-3.0.7/lib/malloca.c:67: error[memleak]: Memory leak: mem
# 65| ((small_t *) p)[-1] = p - mem;
# 66| /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */
# 67|-> return p;
# 68| }
# 69| }
Error: CPPCHECK_WARNING: [#def8]
guile30-3.0.7-build/guile-3.0.7/lib/nproc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
guile30-3.0.7-build/guile-3.0.7/lib/nstrftime.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:986:14: warning[-Wanalyzer-malloc-leak]: leak of '*set.elems'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1287:7: note: in expansion of macro '__glibc_unlikely'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1300:19: note: in expansion of macro 're_realloc'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1300:19: note: in expansion of macro 're_realloc'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
# 984| set->alloc = 1;
# 985| set->nelem = 1;
# 986|-> set->elems = re_malloc (Idx, 1);
# 987| if (__glibc_unlikely (set->elems == NULL))
# 988| {
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:986:14: warning[-Wanalyzer-malloc-leak]: leak of 'new_nodes.elems'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.h:46:26: note: in expansion of macro 'assume'
guile30-3.0.7-build/guile-3.0.7/lib/regexec.c:3080:3: note: in expansion of macro 'DEBUG_ASSERT'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:973:16: note: in expansion of macro 're_malloc'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1287:7: note: in expansion of macro '__glibc_unlikely'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
# 984| set->alloc = 1;
# 985| set->nelem = 1;
# 986|-> set->elems = re_malloc (Idx, 1);
# 987| if (__glibc_unlikely (set->elems == NULL))
# 988| {
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
guile30-3.0.7-build/guile-3.0.7/lib/regex.c:72: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c: scope_hint: In function 're_node_set_init_1'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:986:14: warning[-Wanalyzer-malloc-leak]: leak of 'union_set.elems'
guile30-3.0.7-build/guile-3.0.7/lib/regex.c:74: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.h:40: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regex.c:70: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.h:46:26: note: in expansion of macro 'assume'
guile30-3.0.7-build/guile-3.0.7/lib/regexec.c:3011:7: note: in expansion of macro 'DEBUG_ASSERT'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1205:25: note: in expansion of macro 're_realloc'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1205:25: note: in expansion of macro 're_realloc'
guile30-3.0.7-build/guile-3.0.7/lib/libc-config.h:157: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regex.c:23: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:443:52: note: in definition of macro '__glibc_likely'
# 984| set->alloc = 1;
# 985| set->nelem = 1;
# 986|-> set->elems = re_malloc (Idx, 1);
# 987| if (__glibc_unlikely (set->elems == NULL))
# 988| {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def13]
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c: scope_hint: In function 're_node_set_merge'
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.c:1215:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
guile30-3.0.7-build/guile-3.0.7/lib/regex_internal.h:46:26: note: in expansion of macro 'assume'
guile30-3.0.7-build/guile-3.0.7/lib/regexec.c:3011:7: note: in expansion of macro 'DEBUG_ASSERT'
guile30-3.0.7-build/guile-3.0.7/lib/cdefs.h:442:52: note: in definition of macro '__glibc_unlikely'
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
# 1213| {
# 1214| dest->nelem = src->nelem;
# 1215|-> memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx));
# 1216| return REG_NOERROR;
# 1217| }
Error: CLANG_WARNING: [#def14]
guile30-3.0.7-build/guile-3.0.7/lib/regex.c:74: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/regexec.c:819:5: warning[deadcode.DeadStores]: Value stored to 'match_last' is never read
# 817| if (__glibc_unlikely (err != REG_NOMATCH))
# 818| goto free_return;
# 819|-> match_last = -1;
# 820| }
# 821| else
Error: CPPCHECK_WARNING: [#def15]
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:72:10: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", from_codeset)'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:67:7: note: in expansion of macro 'STRCASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:162:7: note: in expansion of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h: scope_hint: In function 'iconveh_open'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:67:7: note: in expansion of macro 'STRCASEEQ'
# 70| {
# 71| cd1 = iconv_open ("UTF-8", from_codeset);
# 72|-> if (cd1 == (iconv_t)(-1))
# 73| {
# 74| int saved_errno = errno;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:93:10: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(to_codeset, "UTF-8")'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:67:7: note: in expansion of macro 'STRCASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:162:7: note: in expansion of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h: scope_hint: In function 'iconveh_open'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:67:7: note: in expansion of macro 'STRCASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:82:7: note: in expansion of macro 'STRCASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:82:7: note: in expansion of macro 'STRCASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:162:7: note: in expansion of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h: scope_hint: In function 'iconveh_open'
guile30-3.0.7-build/guile-3.0.7/lib/c-strcaseeq.h:35:29: note: in definition of macro 'CASEEQ'
guile30-3.0.7-build/guile-3.0.7/lib/striconveh.c:82:7: note: in expansion of macro 'STRCASEEQ'
# 91| {
# 92| cd2 = iconv_open (to_codeset, "UTF-8");
# 93|-> if (cd2 == (iconv_t)(-1))
# 94| {
# 95| int saved_errno = errno;
Error: CPPCHECK_WARNING: [#def18]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c: scope_hint: In function 'set_tz'
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:68:47: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:27: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:29: included_from: Included from here.
# 66| tzalloc (char const *name)
# 67| {
# 68|-> size_t name_size = name ? strlen (name) + 1 : 0;
# 69| size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1;
# 70| timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size));
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:69:64: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
# 67| {
# 68| size_t name_size = name ? strlen (name) + 1 : 0;
# 69|-> size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1;
# 70| timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size));
# 71| if (tz)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c: scope_hint: In function 'mktime_z'
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:211:11: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
# 209| char *env_tz = getenv_TZ ();
# 210| if (env_tz
# 211|-> ? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0
# 212| : !tz->tz_is_set)
# 213| return local_tz;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:212:12: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
# 210| if (env_tz
# 211| ? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0
# 212|-> : !tz->tz_is_set)
# 213| return local_tz;
# 214| else
Error: CLANG_WARNING: [#def23]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:223:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'old_tz'
# 221| int saved_errno = errno;
# 222| tzfree (old_tz);
# 223|-> errno = saved_errno;
# 224| return NULL;
# 225| }
Error: CLANG_WARNING: [#def24]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:277:37: warning[unix.Malloc]: Potential leak of memory pointed to by 'old_tz'
# 275| {
# 276| bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm);
# 277|-> if (revert_tz (old_tz) && abbr_saved)
# 278| return tm;
# 279| }
Error: CLANG_WARNING: [#def25]
guile30-3.0.7-build/guile-3.0.7/lib/time_rz.c:309:37: warning[unix.Malloc]: Potential leak of memory pointed to by 'old_tz'
# 307| ok = ok && save_abbr (tz, &tm_1);
# 308| #endif
# 309|-> if (revert_tz (old_tz) && ok)
# 310| {
# 311| *tm = tm_1;
Error: CPPCHECK_WARNING (CWE-476): [#def26]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:59: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 57| #define FUNC_NAME s_scm_sloppy_assq
# 58| {
# 59|-> for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 60| {
# 61| SCM tmp = SCM_CAR (alist);
Error: CPPCHECK_WARNING (CWE-476): [#def27]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:61: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 59| for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 60| {
# 61|-> SCM tmp = SCM_CAR (alist);
# 62| if (scm_is_pair (tmp) && scm_is_eq (SCM_CAR (tmp), key))
# 63| return tmp;
Error: CPPCHECK_WARNING (CWE-476): [#def28]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:62: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 60| {
# 61| SCM tmp = SCM_CAR (alist);
# 62|-> if (scm_is_pair (tmp) && scm_is_eq (SCM_CAR (tmp), key))
# 63| return tmp;
# 64| }
Error: CPPCHECK_WARNING (CWE-476): [#def29]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:79: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 77| /* In Guile, `assv' is the same as `assq' for keys of all types except
# 78| numbers. */
# 79|-> if (!SCM_NUMP (key))
# 80| return scm_sloppy_assq (key, alist);
# 81|
Error: CPPCHECK_WARNING (CWE-476): [#def30]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:82: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 80| return scm_sloppy_assq (key, alist);
# 81|
# 82|-> for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 83| {
# 84| SCM tmp = SCM_CAR (alist);
Error: CPPCHECK_WARNING (CWE-476): [#def31]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:84: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 82| for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 83| {
# 84|-> SCM tmp = SCM_CAR (alist);
# 85| if (scm_is_pair (tmp)
# 86| && scm_is_true (scm_eqv_p (SCM_CAR (tmp), key)))
Error: CPPCHECK_WARNING (CWE-476): [#def32]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:86: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 84| SCM tmp = SCM_CAR (alist);
# 85| if (scm_is_pair (tmp)
# 86|-> && scm_is_true (scm_eqv_p (SCM_CAR (tmp), key)))
# 87| return tmp;
# 88| }
Error: CPPCHECK_WARNING (CWE-476): [#def33]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:101: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 99| {
# 100| /* Immediate values can be checked using `eq?'. */
# 101|-> if (SCM_IMP (key))
# 102| return scm_sloppy_assq (key, alist);
# 103|
Error: CPPCHECK_WARNING (CWE-476): [#def34]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:104: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 102| return scm_sloppy_assq (key, alist);
# 103|
# 104|-> for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 105| {
# 106| SCM tmp = SCM_CAR (alist);
Error: CPPCHECK_WARNING (CWE-476): [#def35]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:106: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 104| for (; scm_is_pair (alist); alist = SCM_CDR (alist))
# 105| {
# 106|-> SCM tmp = SCM_CAR (alist);
# 107| if (scm_is_pair (tmp)
# 108| && scm_is_true (scm_equal_p (SCM_CAR (tmp), key)))
Error: CPPCHECK_WARNING (CWE-476): [#def36]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:108: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 106| SCM tmp = SCM_CAR (alist);
# 107| if (scm_is_pair (tmp)
# 108|-> && scm_is_true (scm_equal_p (SCM_CAR (tmp), key)))
# 109| return tmp;
# 110| }
Error: CPPCHECK_WARNING (CWE-476): [#def37]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:132: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 130| {
# 131| SCM ls = alist;
# 132|-> for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 133| {
# 134| SCM tmp = SCM_CAR (ls);
Error: CPPCHECK_WARNING (CWE-476): [#def38]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:134: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 132| for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 133| {
# 134|-> SCM tmp = SCM_CAR (ls);
# 135| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 136| "association list");
Error: CPPCHECK_WARNING (CWE-476): [#def39]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:137: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 135| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 136| "association list");
# 137|-> if (scm_is_eq (SCM_CAR (tmp), key))
# 138| return tmp;
# 139| }
Error: CPPCHECK_WARNING (CWE-476): [#def40]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:140: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 138| return tmp;
# 139| }
# 140|-> SCM_ASSERT_TYPE (SCM_NULL_OR_NIL_P (ls), alist, SCM_ARG2, FUNC_NAME,
# 141| "association list");
# 142| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def41]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:156: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 154| /* In Guile, `assv' is the same as `assq' for keys of all types except
# 155| numbers. */
# 156|-> if (!SCM_NUMP (key))
# 157| return scm_assq (key, alist);
# 158|
Error: CPPCHECK_WARNING (CWE-476): [#def42]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:159: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 157| return scm_assq (key, alist);
# 158|
# 159|-> for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 160| {
# 161| SCM tmp = SCM_CAR (ls);
Error: CPPCHECK_WARNING (CWE-476): [#def43]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:161: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 159| for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 160| {
# 161|-> SCM tmp = SCM_CAR (ls);
# 162| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 163| "association list");
Error: CPPCHECK_WARNING (CWE-476): [#def44]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:164: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 162| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 163| "association list");
# 164|-> if (scm_is_true (scm_eqv_p (SCM_CAR (tmp), key)))
# 165| return tmp;
# 166| }
Error: CPPCHECK_WARNING (CWE-476): [#def45]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:167: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 165| return tmp;
# 166| }
# 167|-> SCM_ASSERT_TYPE (SCM_NULL_OR_NIL_P (ls), alist, SCM_ARG2, FUNC_NAME,
# 168| "association list");
# 169| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def46]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:182: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 180|
# 181| /* Immediate values can be checked using `eq?'. */
# 182|-> if (SCM_IMP (key))
# 183| return scm_assq (key, alist);
# 184|
Error: CPPCHECK_WARNING (CWE-476): [#def47]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:185: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 183| return scm_assq (key, alist);
# 184|
# 185|-> for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 186| {
# 187| SCM tmp = SCM_CAR (ls);
Error: CPPCHECK_WARNING (CWE-476): [#def48]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:187: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 185| for(; scm_is_pair (ls); ls = SCM_CDR (ls))
# 186| {
# 187|-> SCM tmp = SCM_CAR (ls);
# 188| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 189| "association list");
Error: CPPCHECK_WARNING (CWE-476): [#def49]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:190: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 188| SCM_ASSERT_TYPE (scm_is_pair (tmp), alist, SCM_ARG2, FUNC_NAME,
# 189| "association list");
# 190|-> if (scm_is_true (scm_equal_p (SCM_CAR (tmp), key)))
# 191| return tmp;
# 192| }
Error: CPPCHECK_WARNING (CWE-476): [#def50]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:193: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 191| return tmp;
# 192| }
# 193|-> SCM_ASSERT_TYPE (SCM_NULL_OR_NIL_P (ls), alist, SCM_ARG2, FUNC_NAME,
# 194| "association list");
# 195| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def51]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:233: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 231| if (scm_is_pair (handle))
# 232| {
# 233|-> return SCM_CDR (handle);
# 234| }
# 235| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def52]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:250: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 248| if (scm_is_pair (handle))
# 249| {
# 250|-> return SCM_CDR (handle);
# 251| }
# 252| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def53]
guile30-3.0.7-build/guile-3.0.7/libguile/alist.c:267: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 265| if (scm_is_pair (handle))
# 266| {
# 267|-> return SCM_CDR (handle);
# 268| }
# 269| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def54]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:81: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 79| float real, imag;
# 80|
# 81|-> if (!SCM_BYTEVECTOR_P (bv))
# 82| abort ();
# 83| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def55]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:83: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 81| if (!SCM_BYTEVECTOR_P (bv))
# 82| abort ();
# 83|-> c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 84| pos *= 2 * sizeof (float);
# 85| if (pos + 2 * sizeof (float) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
Error: CPPCHECK_WARNING (CWE-476): [#def56]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:85: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 83| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 84| pos *= 2 * sizeof (float);
# 85|-> if (pos + 2 * sizeof (float) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
# 86| abort ();
# 87|
Error: CPPCHECK_WARNING (CWE-476): [#def57]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:99: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 97| double real, imag;
# 98|
# 99|-> if (!SCM_BYTEVECTOR_P (bv))
# 100| abort ();
# 101| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def58]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:101: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 99| if (!SCM_BYTEVECTOR_P (bv))
# 100| abort ();
# 101|-> c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 102| pos *= 2 * sizeof (double);
# 103| if (pos + 2 * sizeof (double) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
Error: CPPCHECK_WARNING (CWE-476): [#def59]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:103: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 101| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 102| pos *= 2 * sizeof (double);
# 103|-> if (pos + 2 * sizeof (double) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
# 104| abort ();
# 105|
Error: CPPCHECK_WARNING (CWE-476): [#def60]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:117: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 115| float real, imag;
# 116|
# 117|-> if (!SCM_BYTEVECTOR_P (bv))
# 118| abort ();
# 119| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def61]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:119: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 117| if (!SCM_BYTEVECTOR_P (bv))
# 118| abort ();
# 119|-> c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 120| pos *= 2 * sizeof (float);
# 121| if (pos + 2 * sizeof (float) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
Error: CPPCHECK_WARNING (CWE-476): [#def62]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 120| pos *= 2 * sizeof (float);
# 121|-> if (pos + 2 * sizeof (float) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
# 122| abort ();
# 123|
Error: CPPCHECK_WARNING (CWE-476): [#def63]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:136: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 134| double real, imag;
# 135|
# 136|-> if (!SCM_BYTEVECTOR_P (bv))
# 137| abort ();
# 138| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def64]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:138: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 136| if (!SCM_BYTEVECTOR_P (bv))
# 137| abort ();
# 138|-> c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 139| pos *= 2 * sizeof (double);
# 140| if (pos + 2 * sizeof (double) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
Error: CPPCHECK_WARNING (CWE-476): [#def65]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:140: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 138| c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
# 139| pos *= 2 * sizeof (double);
# 140|-> if (pos + 2 * sizeof (double) - 1 >= SCM_BYTEVECTOR_LENGTH (bv))
# 141| abort ();
# 142|
Error: CPPCHECK_WARNING (CWE-476): [#def66]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:180: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 178| bitvector_set_x (SCM bv, size_t idx, SCM val)
# 179| {
# 180|-> if (scm_is_true (val))
# 181| scm_c_bitvector_set_bit_x (bv, idx);
# 182| else
Error: CPPCHECK_WARNING (CWE-476): [#def67]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:189: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 187| scm_array_get_handle (SCM array, scm_t_array_handle *h)
# 188| {
# 189|-> if (!SCM_HEAP_OBJECT_P (array))
# 190| scm_wrong_type_arg_msg (NULL, 0, array, "array");
# 191|
Error: CPPCHECK_WARNING (CWE-476): [#def68]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:194: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 192| h->array = array;
# 193|
# 194|-> switch (SCM_TYP7 (array))
# 195| {
# 196| case scm_tc7_string:
Error: CPPCHECK_WARNING (CWE-476): [#def69]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:207: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 205| SCM_ARRAY_ELEMENT_TYPE_SCM,
# 206| scm_c_vector_ref, scm_c_vector_set_x,
# 207|-> SCM_I_VECTOR_WELTS (array),
# 208| SCM_I_IS_MUTABLE_VECTOR (array));
# 209| break;
Error: CPPCHECK_WARNING (CWE-476): [#def70]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:208: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 206| scm_c_vector_ref, scm_c_vector_set_x,
# 207| SCM_I_VECTOR_WELTS (array),
# 208|-> SCM_I_IS_MUTABLE_VECTOR (array));
# 209| break;
# 210| case scm_tc7_bitvector:
Error: CPPCHECK_WARNING (CWE-476): [#def71]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:225: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 223| scm_t_vector_set vset;
# 224|
# 225|-> element_type = SCM_BYTEVECTOR_ELEMENT_TYPE (array);
# 226| length = SCM_BYTEVECTOR_TYPED_LENGTH (array);
# 227|
Error: CPPCHECK_WARNING (CWE-476): [#def72]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:226: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 224|
# 225| element_type = SCM_BYTEVECTOR_ELEMENT_TYPE (array);
# 226|-> length = SCM_BYTEVECTOR_TYPED_LENGTH (array);
# 227|
# 228| switch (element_type)
Error: CPPCHECK_WARNING (CWE-476): [#def73]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:260: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 258|
# 259| initialize_vector_handle (h, length, element_type, vref, vset,
# 260|-> SCM_BYTEVECTOR_CONTENTS (array),
# 261| SCM_MUTABLE_BYTEVECTOR_P (array));
# 262| }
Error: CPPCHECK_WARNING (CWE-476): [#def74]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:261: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 259| initialize_vector_handle (h, length, element_type, vref, vset,
# 260| SCM_BYTEVECTOR_CONTENTS (array),
# 261|-> SCM_MUTABLE_BYTEVECTOR_P (array));
# 262| }
# 263| break;
Error: CPPCHECK_WARNING (CWE-476): [#def75]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:265: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 263| break;
# 264| case scm_tc7_array:
# 265|-> scm_array_get_handle (SCM_I_ARRAY_V (array), h);
# 266| h->array = array;
# 267| h->base = SCM_I_ARRAY_BASE (array);
Error: CPPCHECK_WARNING (CWE-476): [#def76]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:267: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 265| scm_array_get_handle (SCM_I_ARRAY_V (array), h);
# 266| h->array = array;
# 267|-> h->base = SCM_I_ARRAY_BASE (array);
# 268| h->ndims = SCM_I_ARRAY_NDIM (array);
# 269| h->dims = SCM_I_ARRAY_DIMS (array);
Error: CPPCHECK_WARNING (CWE-476): [#def77]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:268: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 266| h->array = array;
# 267| h->base = SCM_I_ARRAY_BASE (array);
# 268|-> h->ndims = SCM_I_ARRAY_NDIM (array);
# 269| h->dims = SCM_I_ARRAY_DIMS (array);
# 270| break;
Error: CPPCHECK_WARNING (CWE-476): [#def78]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:269: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 267| h->base = SCM_I_ARRAY_BASE (array);
# 268| h->ndims = SCM_I_ARRAY_NDIM (array);
# 269|-> h->dims = SCM_I_ARRAY_DIMS (array);
# 270| break;
# 271| default:
Error: CPPCHECK_WARNING (CWE-476): [#def79]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:285: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 283| while (k > 0 && scm_is_pair (indices))
# 284| {
# 285|-> i = scm_to_signed_integer (SCM_CAR (indices), s->lbnd, s->ubnd);
# 286| pos += (i - s->lbnd) * s->inc;
# 287| k--;
Error: CPPCHECK_WARNING (CWE-476): [#def80]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:289: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 287| k--;
# 288| s++;
# 289|-> indices = SCM_CDR (indices);
# 290| }
# 291| if (k > 0 || !scm_is_null (indices))
Error: CPPCHECK_WARNING (CWE-476): [#def81]
guile30-3.0.7-build/guile-3.0.7/libguile/array-handle.c:291: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 289| indices = SCM_CDR (indices);
# 290| }
# 291|-> if (k > 0 || !scm_is_null (indices))
# 292| scm_misc_error (NULL, "wrong number of indices, expecting ~a",
# 293| scm_list_1 (scm_from_size_t (scm_array_handle_rank (h))));
Error: CPPCHECK_WARNING: [#def82]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def83]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:61: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 59| {
# 60| SCM a = scm_i_make_array (1);
# 61|-> SCM_I_ARRAY_SET_BASE (a, 0);
# 62| SCM_I_ARRAY_DIMS (a)->lbnd = 0;
# 63| SCM_I_ARRAY_DIMS (a)->ubnd = scm_c_array_length (v) - 1;
Error: CPPCHECK_WARNING (CWE-476): [#def84]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:62: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 60| SCM a = scm_i_make_array (1);
# 61| SCM_I_ARRAY_SET_BASE (a, 0);
# 62|-> SCM_I_ARRAY_DIMS (a)->lbnd = 0;
# 63| SCM_I_ARRAY_DIMS (a)->ubnd = scm_c_array_length (v) - 1;
# 64| SCM_I_ARRAY_DIMS (a)->inc = inc;
Error: CPPCHECK_WARNING (CWE-476): [#def85]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:63: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 61| SCM_I_ARRAY_SET_BASE (a, 0);
# 62| SCM_I_ARRAY_DIMS (a)->lbnd = 0;
# 63|-> SCM_I_ARRAY_DIMS (a)->ubnd = scm_c_array_length (v) - 1;
# 64| SCM_I_ARRAY_DIMS (a)->inc = inc;
# 65| SCM_I_ARRAY_SET_V (a, v);
Error: CPPCHECK_WARNING (CWE-476): [#def86]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:64: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 62| SCM_I_ARRAY_DIMS (a)->lbnd = 0;
# 63| SCM_I_ARRAY_DIMS (a)->ubnd = scm_c_array_length (v) - 1;
# 64|-> SCM_I_ARRAY_DIMS (a)->inc = inc;
# 65| SCM_I_ARRAY_SET_V (a, v);
# 66| return a;
Error: CPPCHECK_WARNING (CWE-476): [#def87]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:65: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 63| SCM_I_ARRAY_DIMS (a)->ubnd = scm_c_array_length (v) - 1;
# 64| SCM_I_ARRAY_DIMS (a)->inc = inc;
# 65|-> SCM_I_ARRAY_SET_V (a, v);
# 66| return a;
# 67| }
Error: CPPCHECK_WARNING (CWE-476): [#def88]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:73: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 71| cindk (SCM ra, ssize_t *ve, int kend)
# 72| {
# 73|-> if (SCM_I_ARRAYP (ra))
# 74| {
# 75| int k;
Error: CPPCHECK_WARNING (CWE-476): [#def89]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:76: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 74| {
# 75| int k;
# 76|-> size_t i = SCM_I_ARRAY_BASE (ra);
# 77| for (k = 0; k < kend; ++k)
# 78| i += (ve[k] - SCM_I_ARRAY_DIMS (ra)[k].lbnd) * SCM_I_ARRAY_DIMS (ra)[k].inc;
Error: CPPCHECK_WARNING (CWE-476): [#def90]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:78: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 76| size_t i = SCM_I_ARRAY_BASE (ra);
# 77| for (k = 0; k < kend; ++k)
# 78|-> i += (ve[k] - SCM_I_ARRAY_DIMS (ra)[k].lbnd) * SCM_I_ARRAY_DIMS (ra)[k].inc;
# 79| return i;
# 80| }
Error: CPPCHECK_WARNING (CWE-476): [#def91]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:112: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 110|
# 111| /* Prepare reference argument. */
# 112|-> if (SCM_I_ARRAYP (ra0))
# 113| {
# 114| kmax = SCM_I_ARRAY_NDIM (ra0)-1;
Error: CPPCHECK_WARNING (CWE-476): [#def92]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:114: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 112| if (SCM_I_ARRAYP (ra0))
# 113| {
# 114|-> kmax = SCM_I_ARRAY_NDIM (ra0)-1;
# 115| inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra0)[kmax].inc;
# 116| va0 = make1array (SCM_I_ARRAY_V (ra0), inc);
Error: CPPCHECK_WARNING (CWE-476): [#def93]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:115: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 113| {
# 114| kmax = SCM_I_ARRAY_NDIM (ra0)-1;
# 115|-> inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra0)[kmax].inc;
# 116| va0 = make1array (SCM_I_ARRAY_V (ra0), inc);
# 117|
Error: CPPCHECK_WARNING (CWE-476): [#def94]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:116: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 114| kmax = SCM_I_ARRAY_NDIM (ra0)-1;
# 115| inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra0)[kmax].inc;
# 116|-> va0 = make1array (SCM_I_ARRAY_V (ra0), inc);
# 117|
# 118| /* Find unroll depth */
Error: CPPCHECK_WARNING (CWE-476): [#def95]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| for (kroll = MAX (0, kmax); kroll > 0; --kroll)
# 120| {
# 121|-> inc *= (UBND (ra0, kroll) - LBND (ra0, kroll) + 1);
# 122| if (inc != SCM_I_ARRAY_DIMS (ra0)[kroll-1].inc)
# 123| break;
Error: CPPCHECK_WARNING (CWE-476): [#def96]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:122: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 120| {
# 121| inc *= (UBND (ra0, kroll) - LBND (ra0, kroll) + 1);
# 122|-> if (inc != SCM_I_ARRAY_DIMS (ra0)[kroll-1].inc)
# 123| break;
# 124| }
Error: CPPCHECK_WARNING (CWE-476): [#def97]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:135: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 133| lva = SCM_EOL;
# 134| plva = &lva;
# 135|-> for (z = lra; !scm_is_null (z); z = SCM_CDR (z))
# 136| {
# 137| SCM va1, ra1 = SCM_CAR (z);
Error: CPPCHECK_WARNING (CWE-476): [#def98]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:137: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 135| for (z = lra; !scm_is_null (z); z = SCM_CDR (z))
# 136| {
# 137|-> SCM va1, ra1 = SCM_CAR (z);
# 138| if (SCM_I_ARRAYP (ra1))
# 139| {
Error: CPPCHECK_WARNING (CWE-476): [#def99]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:138: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 136| {
# 137| SCM va1, ra1 = SCM_CAR (z);
# 138|-> if (SCM_I_ARRAYP (ra1))
# 139| {
# 140| if (kmax != SCM_I_ARRAY_NDIM (ra1) - 1)
Error: CPPCHECK_WARNING (CWE-476): [#def100]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:140: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 138| if (SCM_I_ARRAYP (ra1))
# 139| {
# 140|-> if (kmax != SCM_I_ARRAY_NDIM (ra1) - 1)
# 141| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 142| inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra1)[kmax].inc;
Error: CPPCHECK_WARNING (CWE-476): [#def101]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:142: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 140| if (kmax != SCM_I_ARRAY_NDIM (ra1) - 1)
# 141| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 142|-> inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra1)[kmax].inc;
# 143| va1 = make1array (SCM_I_ARRAY_V (ra1), inc);
# 144|
Error: CPPCHECK_WARNING (CWE-476): [#def102]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:143: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 141| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 142| inc = kmax < 0 ? 0 : SCM_I_ARRAY_DIMS (ra1)[kmax].inc;
# 143|-> va1 = make1array (SCM_I_ARRAY_V (ra1), inc);
# 144|
# 145| /* Check unroll depth. */
Error: CPPCHECK_WARNING (CWE-476): [#def103]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:148: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 146| for (k = kmax; k > kroll; --k)
# 147| {
# 148|-> ssize_t l0 = LBND (ra0, k), u0 = UBND (ra0, k);
# 149| if (l0 < LBND (ra1, k) || u0 > UBND (ra1, k))
# 150| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
Error: CPPCHECK_WARNING (CWE-476): [#def104]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:149: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 147| {
# 148| ssize_t l0 = LBND (ra0, k), u0 = UBND (ra0, k);
# 149|-> if (l0 < LBND (ra1, k) || u0 > UBND (ra1, k))
# 150| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 151| inc *= (u0 - l0 + 1);
Error: CPPCHECK_WARNING (CWE-476): [#def105]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 150| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 151| inc *= (u0 - l0 + 1);
# 152|-> if (inc != SCM_I_ARRAY_DIMS (ra1)[k-1].inc)
# 153| {
# 154| kroll = k;
Error: CPPCHECK_WARNING (CWE-476): [#def106]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:161: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 159| /* Check matching of not-unrolled axes. */
# 160| for (; k>=0; --k)
# 161|-> if (LBND (ra0, k) < LBND (ra1, k) || UBND (ra0, k) > UBND (ra1, k))
# 162| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 163| }
Error: CPPCHECK_WARNING (CWE-476): [#def107]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:170: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 168| va1 = make1array (ra1, 1);
# 169|
# 170|-> if (LBND (ra0, 0) < 0 /* LBND (va1, 0) */ || UBND (ra0, 0) > UBND (va1, 0))
# 171| scm_misc_error (what, "array shape mismatch: ~S", scm_list_1 (ra0));
# 172| }
Error: CPPCHECK_WARNING (CWE-476): [#def108]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:174: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 172| }
# 173| *plva = scm_cons (va1, SCM_EOL);
# 174|-> plva = SCM_CDRLOC (*plva);
# 175| }
# 176|
Error: CPPCHECK_WARNING (CWE-476): [#def109]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:179: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 177| /* Check emptiness of not-unrolled axes. */
# 178| for (k = 0; k < kroll; ++k)
# 179|-> if (0 == (UBND (ra0, k) - LBND (ra0, k) + 1))
# 180| return 1;
# 181|
Error: CPPCHECK_WARNING (CWE-476): [#def110]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:184: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 182| /* Set unrolled size. */
# 183| for (len = 1; k <= kmax; ++k)
# 184|-> len *= (UBND (ra0, k) - LBND (ra0, k) + 1);
# 185| UBND (va0, 0) = len - 1;
# 186| for (z = lva; !scm_is_null (z); z = SCM_CDR (z))
Error: CPPCHECK_WARNING (CWE-476): [#def111]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:185: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 183| for (len = 1; k <= kmax; ++k)
# 184| len *= (UBND (ra0, k) - LBND (ra0, k) + 1);
# 185|-> UBND (va0, 0) = len - 1;
# 186| for (z = lva; !scm_is_null (z); z = SCM_CDR (z))
# 187| UBND (SCM_CAR (z), 0) = len - 1;
Error: CPPCHECK_WARNING (CWE-476): [#def112]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:186: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 184| len *= (UBND (ra0, k) - LBND (ra0, k) + 1);
# 185| UBND (va0, 0) = len - 1;
# 186|-> for (z = lva; !scm_is_null (z); z = SCM_CDR (z))
# 187| UBND (SCM_CAR (z), 0) = len - 1;
# 188|
Error: CPPCHECK_WARNING (CWE-476): [#def113]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:187: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 185| UBND (va0, 0) = len - 1;
# 186| for (z = lva; !scm_is_null (z); z = SCM_CDR (z))
# 187|-> UBND (SCM_CAR (z), 0) = len - 1;
# 188|
# 189| /* Set starting indices and go. */
Error: CPPCHECK_WARNING (CWE-476): [#def114]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:192: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 190| vi = scm_gc_malloc_pointerless (sizeof(ssize_t) * kroll, vi_gc_hint);
# 191| for (k = 0; k < kroll; ++k)
# 192|-> vi[k] = LBND (ra0, k);
# 193| do
# 194| {
Error: CPPCHECK_WARNING (CWE-476): [#def115]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:198: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 196| {
# 197| SCM y = lra;
# 198|-> SCM_I_ARRAY_SET_BASE (va0, cindk (ra0, vi, kroll));
# 199| for (z = lva; !scm_is_null (z); z = SCM_CDR (z), y = SCM_CDR (y))
# 200| SCM_I_ARRAY_SET_BASE (SCM_CAR (z), cindk (SCM_CAR (y), vi, kroll));
Error: CPPCHECK_WARNING (CWE-476): [#def116]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:199: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 197| SCM y = lra;
# 198| SCM_I_ARRAY_SET_BASE (va0, cindk (ra0, vi, kroll));
# 199|-> for (z = lva; !scm_is_null (z); z = SCM_CDR (z), y = SCM_CDR (y))
# 200| SCM_I_ARRAY_SET_BASE (SCM_CAR (z), cindk (SCM_CAR (y), vi, kroll));
# 201| if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc (va0, data, lva)))
Error: CPPCHECK_WARNING (CWE-476): [#def117]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:200: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 198| SCM_I_ARRAY_SET_BASE (va0, cindk (ra0, vi, kroll));
# 199| for (z = lva; !scm_is_null (z); z = SCM_CDR (z), y = SCM_CDR (y))
# 200|-> SCM_I_ARRAY_SET_BASE (SCM_CAR (z), cindk (SCM_CAR (y), vi, kroll));
# 201| if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc (va0, data, lva)))
# 202| return 0;
Error: CPPCHECK_WARNING (CWE-476): [#def118]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:201: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 199| for (z = lva; !scm_is_null (z); z = SCM_CDR (z), y = SCM_CDR (y))
# 200| SCM_I_ARRAY_SET_BASE (SCM_CAR (z), cindk (SCM_CAR (y), vi, kroll));
# 201|-> if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc (va0, data, lva)))
# 202| return 0;
# 203| --k;
Error: CPPCHECK_WARNING (CWE-476): [#def119]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:205: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 203| --k;
# 204| }
# 205|-> else if (vi[k] < UBND (ra0, k))
# 206| {
# 207| ++vi[k];
Error: CPPCHECK_WARNING (CWE-476): [#def120]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:212: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 210| else
# 211| {
# 212|-> vi[k] = LBND (ra0, k) - 1;
# 213| --k;
# 214| }
Error: CPPCHECK_WARNING (CWE-476): [#def121]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:227: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 225| rafill (SCM dst, SCM fill)
# 226| {
# 227|-> size_t n = SCM_I_ARRAY_DIMS (dst)->ubnd + 1;
# 228| size_t i = SCM_I_ARRAY_BASE (dst);
# 229| ssize_t inc = SCM_I_ARRAY_DIMS (dst)->inc;
Error: CPPCHECK_WARNING (CWE-476): [#def122]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:228: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 226| {
# 227| size_t n = SCM_I_ARRAY_DIMS (dst)->ubnd + 1;
# 228|-> size_t i = SCM_I_ARRAY_BASE (dst);
# 229| ssize_t inc = SCM_I_ARRAY_DIMS (dst)->inc;
# 230| scm_t_array_handle h;
Error: CPPCHECK_WARNING (CWE-476): [#def123]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:229: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 227| size_t n = SCM_I_ARRAY_DIMS (dst)->ubnd + 1;
# 228| size_t i = SCM_I_ARRAY_BASE (dst);
# 229|-> ssize_t inc = SCM_I_ARRAY_DIMS (dst)->inc;
# 230| scm_t_array_handle h;
# 231| dst = SCM_I_ARRAY_V (dst);
Error: CPPCHECK_WARNING (CWE-476): [#def124]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:231: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 229| ssize_t inc = SCM_I_ARRAY_DIMS (dst)->inc;
# 230| scm_t_array_handle h;
# 231|-> dst = SCM_I_ARRAY_V (dst);
# 232| scm_array_get_handle (dst, &h);
# 233|
Error: CPPCHECK_WARNING (CWE-476): [#def125]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:259: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 257| ssize_t inc_s, inc_d;
# 258| scm_t_array_handle h_s, h_d;
# 259|-> dst = SCM_CAR (dst);
# 260| i_s = SCM_I_ARRAY_BASE (src);
# 261| i_d = SCM_I_ARRAY_BASE (dst);
Error: CPPCHECK_WARNING (CWE-476): [#def126]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:260: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 258| scm_t_array_handle h_s, h_d;
# 259| dst = SCM_CAR (dst);
# 260|-> i_s = SCM_I_ARRAY_BASE (src);
# 261| i_d = SCM_I_ARRAY_BASE (dst);
# 262| n = (SCM_I_ARRAY_DIMS (src)->ubnd + 1);
Error: CPPCHECK_WARNING (CWE-476): [#def127]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:261: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 259| dst = SCM_CAR (dst);
# 260| i_s = SCM_I_ARRAY_BASE (src);
# 261|-> i_d = SCM_I_ARRAY_BASE (dst);
# 262| n = (SCM_I_ARRAY_DIMS (src)->ubnd + 1);
# 263| inc_s = SCM_I_ARRAY_DIMS (src)->inc;
Error: CPPCHECK_WARNING (CWE-476): [#def128]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:262: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 260| i_s = SCM_I_ARRAY_BASE (src);
# 261| i_d = SCM_I_ARRAY_BASE (dst);
# 262|-> n = (SCM_I_ARRAY_DIMS (src)->ubnd + 1);
# 263| inc_s = SCM_I_ARRAY_DIMS (src)->inc;
# 264| inc_d = SCM_I_ARRAY_DIMS (dst)->inc;
Error: CPPCHECK_WARNING (CWE-476): [#def129]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:263: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 261| i_d = SCM_I_ARRAY_BASE (dst);
# 262| n = (SCM_I_ARRAY_DIMS (src)->ubnd + 1);
# 263|-> inc_s = SCM_I_ARRAY_DIMS (src)->inc;
# 264| inc_d = SCM_I_ARRAY_DIMS (dst)->inc;
# 265| src = SCM_I_ARRAY_V (src);
Error: CPPCHECK_WARNING (CWE-476): [#def130]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:264: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 262| n = (SCM_I_ARRAY_DIMS (src)->ubnd + 1);
# 263| inc_s = SCM_I_ARRAY_DIMS (src)->inc;
# 264|-> inc_d = SCM_I_ARRAY_DIMS (dst)->inc;
# 265| src = SCM_I_ARRAY_V (src);
# 266| dst = SCM_I_ARRAY_V (dst);
Error: CPPCHECK_WARNING (CWE-476): [#def131]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:265: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 263| inc_s = SCM_I_ARRAY_DIMS (src)->inc;
# 264| inc_d = SCM_I_ARRAY_DIMS (dst)->inc;
# 265|-> src = SCM_I_ARRAY_V (src);
# 266| dst = SCM_I_ARRAY_V (dst);
# 267| scm_array_get_handle (src, &h_s);
Error: CPPCHECK_WARNING (CWE-476): [#def132]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:266: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 264| inc_d = SCM_I_ARRAY_DIMS (dst)->inc;
# 265| src = SCM_I_ARRAY_V (src);
# 266|-> dst = SCM_I_ARRAY_V (dst);
# 267| scm_array_get_handle (src, &h_s);
# 268| scm_array_get_handle (dst, &h_d);
Error: CPPCHECK_WARNING (CWE-476): [#def133]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:311: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 309| ramap (SCM ra0, SCM proc, SCM ras)
# 310| {
# 311|-> size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 312| ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 313| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
Error: CPPCHECK_WARNING (CWE-476): [#def134]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:312: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 310| {
# 311| size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 312|-> ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 313| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 314| scm_t_array_handle h0;
Error: CPPCHECK_WARNING (CWE-476): [#def135]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:313: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 311| size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 312| ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 313|-> size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 314| scm_t_array_handle h0;
# 315| ra0 = SCM_I_ARRAY_V (ra0);
Error: CPPCHECK_WARNING (CWE-476): [#def136]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:315: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 313| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 314| scm_t_array_handle h0;
# 315|-> ra0 = SCM_I_ARRAY_V (ra0);
# 316| scm_array_get_handle (ra0, &h0);
# 317|
Error: CPPCHECK_WARNING (CWE-476): [#def137]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:318: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 316| scm_array_get_handle (ra0, &h0);
# 317|
# 318|-> if (scm_is_null (ras))
# 319| for (; n--; i0 += inc0)
# 320| h0.vset (h0.vector, i0, scm_call_0 (proc));
Error: CPPCHECK_WARNING (CWE-476): [#def138]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:323: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 321| else
# 322| {
# 323|-> SCM ra1 = SCM_CAR (ras);
# 324| size_t i1 = SCM_I_ARRAY_BASE (ra1);
# 325| ssize_t inc1 = SCM_I_ARRAY_DIMS (ra1)->inc;
Error: CPPCHECK_WARNING (CWE-476): [#def139]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:324: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 322| {
# 323| SCM ra1 = SCM_CAR (ras);
# 324|-> size_t i1 = SCM_I_ARRAY_BASE (ra1);
# 325| ssize_t inc1 = SCM_I_ARRAY_DIMS (ra1)->inc;
# 326| scm_t_array_handle h1;
Error: CPPCHECK_WARNING (CWE-476): [#def140]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:325: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 323| SCM ra1 = SCM_CAR (ras);
# 324| size_t i1 = SCM_I_ARRAY_BASE (ra1);
# 325|-> ssize_t inc1 = SCM_I_ARRAY_DIMS (ra1)->inc;
# 326| scm_t_array_handle h1;
# 327| ra1 = SCM_I_ARRAY_V (ra1);
Error: CPPCHECK_WARNING (CWE-476): [#def141]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:327: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 325| ssize_t inc1 = SCM_I_ARRAY_DIMS (ra1)->inc;
# 326| scm_t_array_handle h1;
# 327|-> ra1 = SCM_I_ARRAY_V (ra1);
# 328| scm_array_get_handle (ra1, &h1);
# 329| ras = SCM_CDR (ras);
Error: CPPCHECK_WARNING (CWE-476): [#def142]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:329: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 327| ra1 = SCM_I_ARRAY_V (ra1);
# 328| scm_array_get_handle (ra1, &h1);
# 329|-> ras = SCM_CDR (ras);
# 330| if (scm_is_null (ras))
# 331| for (; n--; i0 += inc0, i1 += inc1)
Error: CPPCHECK_WARNING (CWE-476): [#def143]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:330: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 328| scm_array_get_handle (ra1, &h1);
# 329| ras = SCM_CDR (ras);
# 330|-> if (scm_is_null (ras))
# 331| for (; n--; i0 += inc0, i1 += inc1)
# 332| h0.vset (h0.vector, i0, scm_call_1 (proc, h1.vref (h1.vector, i1)));
Error: CPPCHECK_WARNING (CWE-476): [#def144]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:335: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 333| else
# 334| {
# 335|-> SCM ra2 = SCM_CAR (ras);
# 336| size_t i2 = SCM_I_ARRAY_BASE (ra2);
# 337| ssize_t inc2 = SCM_I_ARRAY_DIMS (ra2)->inc;
Error: CPPCHECK_WARNING (CWE-476): [#def145]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:336: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 334| {
# 335| SCM ra2 = SCM_CAR (ras);
# 336|-> size_t i2 = SCM_I_ARRAY_BASE (ra2);
# 337| ssize_t inc2 = SCM_I_ARRAY_DIMS (ra2)->inc;
# 338| scm_t_array_handle h2;
Error: CPPCHECK_WARNING (CWE-476): [#def146]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:337: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 335| SCM ra2 = SCM_CAR (ras);
# 336| size_t i2 = SCM_I_ARRAY_BASE (ra2);
# 337|-> ssize_t inc2 = SCM_I_ARRAY_DIMS (ra2)->inc;
# 338| scm_t_array_handle h2;
# 339| ra2 = SCM_I_ARRAY_V (ra2);
Error: CPPCHECK_WARNING (CWE-476): [#def147]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:339: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 337| ssize_t inc2 = SCM_I_ARRAY_DIMS (ra2)->inc;
# 338| scm_t_array_handle h2;
# 339|-> ra2 = SCM_I_ARRAY_V (ra2);
# 340| scm_array_get_handle (ra2, &h2);
# 341| ras = SCM_CDR (ras);
Error: CPPCHECK_WARNING (CWE-476): [#def148]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:341: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 339| ra2 = SCM_I_ARRAY_V (ra2);
# 340| scm_array_get_handle (ra2, &h2);
# 341|-> ras = SCM_CDR (ras);
# 342| if (scm_is_null (ras))
# 343| for (; n--; i0 += inc0, i1 += inc1, i2 += inc2)
Error: CPPCHECK_WARNING (CWE-476): [#def149]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:342: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 340| scm_array_get_handle (ra2, &h2);
# 341| ras = SCM_CDR (ras);
# 342|-> if (scm_is_null (ras))
# 343| for (; n--; i0 += inc0, i1 += inc1, i2 += inc2)
# 344| h0.vset (h0.vector, i0, scm_call_2 (proc, h1.vref (h1.vector, i1), h2.vref (h2.vector, i2)));
Error: CPPCHECK_WARNING (CWE-476): [#def150]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:358: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 356| {
# 357| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 358|-> sa[k] = SCM_CARLOC (*p);
# 359| p = SCM_CDRLOC (*p);
# 360| }
Error: CPPCHECK_WARNING (CWE-476): [#def151]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:359: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 357| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 358| sa[k] = SCM_CARLOC (*p);
# 359|-> p = SCM_CDRLOC (*p);
# 360| }
# 361|
Error: CPPCHECK_WARNING (CWE-476): [#def152]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:401: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 399| #define FUNC_NAME s_scm_array_map_x
# 400| {
# 401|-> SCM_VALIDATE_PROC (2, proc);
# 402| SCM_VALIDATE_REST_ARGUMENT (lra);
# 403|
Error: CPPCHECK_WARNING (CWE-476): [#def153]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:413: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 411| rafe (SCM ra0, SCM proc, SCM ras)
# 412| {
# 413|-> size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 414| ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 415| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
Error: CPPCHECK_WARNING (CWE-476): [#def154]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:414: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 412| {
# 413| size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 414|-> ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 415| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 416| scm_t_array_handle h0;
Error: CPPCHECK_WARNING (CWE-476): [#def155]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:415: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 413| size_t i0 = SCM_I_ARRAY_BASE (ra0);
# 414| ssize_t inc0 = SCM_I_ARRAY_DIMS (ra0)->inc;
# 415|-> size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 416| scm_t_array_handle h0;
# 417| ra0 = SCM_I_ARRAY_V (ra0);
Error: CPPCHECK_WARNING (CWE-476): [#def156]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:417: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 415| size_t n = SCM_I_ARRAY_DIMS (ra0)->ubnd + 1;
# 416| scm_t_array_handle h0;
# 417|-> ra0 = SCM_I_ARRAY_V (ra0);
# 418| scm_array_get_handle (ra0, &h0);
# 419|
Error: CPPCHECK_WARNING (CWE-476): [#def157]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:420: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 418| scm_array_get_handle (ra0, &h0);
# 419|
# 420|-> if (scm_is_null (ras))
# 421| for (; n--; i0 += inc0)
# 422| scm_call_1 (proc, h0.vref (h0.vector, i0));
Error: CPPCHECK_WARNING (CWE-476): [#def158]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:434: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 432| {
# 433| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 434|-> sa[k] = SCM_CARLOC (*p);
# 435| p = SCM_CDRLOC (*p);
# 436| }
Error: CPPCHECK_WARNING (CWE-476): [#def159]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:435: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 433| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 434| sa[k] = SCM_CARLOC (*p);
# 435|-> p = SCM_CDRLOC (*p);
# 436| }
# 437|
Error: CPPCHECK_WARNING (CWE-476): [#def160]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:462: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 460| #define FUNC_NAME s_scm_array_for_each
# 461| {
# 462|-> SCM_VALIDATE_PROC (1, proc);
# 463| SCM_VALIDATE_REST_ARGUMENT (lra);
# 464| scm_ramapc (rafe, proc, ra0, lra, FUNC_NAME);
Error: CPPCHECK_WARNING (CWE-476): [#def161]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:488: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 486| {
# 487| scm_t_array_handle h;
# 488|-> int k, kmax = SCM_I_ARRAY_NDIM (ra) - 1;
# 489| SCM args = SCM_EOL;
# 490| SCM *p = &args;
Error: CPPCHECK_WARNING (CWE-476): [#def162]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:497: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 495| for (k = 0; k <= kmax; k++)
# 496| {
# 497|-> vi[k] = SCM_I_ARRAY_DIMS (ra)[k].lbnd;
# 498| if (vi[k] > SCM_I_ARRAY_DIMS (ra)[k].ubnd)
# 499| return;
Error: CPPCHECK_WARNING (CWE-476): [#def163]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:498: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 496| {
# 497| vi[k] = SCM_I_ARRAY_DIMS (ra)[k].lbnd;
# 498|-> if (vi[k] > SCM_I_ARRAY_DIMS (ra)[k].ubnd)
# 499| return;
# 500| *p = scm_cons (scm_from_ssize_t (vi[k]), SCM_EOL);
Error: CPPCHECK_WARNING (CWE-476): [#def164]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:501: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 499| return;
# 500| *p = scm_cons (scm_from_ssize_t (vi[k]), SCM_EOL);
# 501|-> si[k] = SCM_CARLOC (*p);
# 502| p = SCM_CDRLOC (*p);
# 503| }
Error: CPPCHECK_WARNING (CWE-476): [#def165]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:502: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 500| *p = scm_cons (scm_from_ssize_t (vi[k]), SCM_EOL);
# 501| si[k] = SCM_CARLOC (*p);
# 502|-> p = SCM_CDRLOC (*p);
# 503| }
# 504|
Error: CPPCHECK_WARNING (CWE-476): [#def166]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:512: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 510| {
# 511| size_t i;
# 512|-> vi[kmax] = SCM_I_ARRAY_DIMS (ra)[kmax].lbnd;
# 513| i = cindk (ra, vi, kmax+1);
# 514| for (; vi[kmax] <= SCM_I_ARRAY_DIMS (ra)[kmax].ubnd; ++vi[kmax])
Error: CPPCHECK_WARNING (CWE-476): [#def167]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:514: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 512| vi[kmax] = SCM_I_ARRAY_DIMS (ra)[kmax].lbnd;
# 513| i = cindk (ra, vi, kmax+1);
# 514|-> for (; vi[kmax] <= SCM_I_ARRAY_DIMS (ra)[kmax].ubnd; ++vi[kmax])
# 515| {
# 516| *(si[kmax]) = scm_from_ssize_t (vi[kmax]);
Error: CPPCHECK_WARNING (CWE-476): [#def168]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:518: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 516| *(si[kmax]) = scm_from_ssize_t (vi[kmax]);
# 517| h.vset (h.vector, i, scm_apply_0 (proc, args));
# 518|-> i += SCM_I_ARRAY_DIMS (ra)[kmax].inc;
# 519| }
# 520| k--;
Error: CPPCHECK_WARNING (CWE-476): [#def169]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:522: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 520| k--;
# 521| }
# 522|-> else if (vi[k] < SCM_I_ARRAY_DIMS (ra)[k].ubnd)
# 523| {
# 524| *(si[k]) = scm_from_ssize_t (++vi[k]);
Error: CPPCHECK_WARNING (CWE-476): [#def170]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:529: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 527| else
# 528| {
# 529|-> vi[k] = SCM_I_ARRAY_DIMS (ra)[k].lbnd - 1;
# 530| k--;
# 531| }
Error: CPPCHECK_WARNING (CWE-476): [#def171]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:558: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 556| #define FUNC_NAME s_scm_array_index_map_x
# 557| {
# 558|-> SCM_VALIDATE_PROC (2, proc);
# 559|
# 560| switch (scm_c_array_rank (ra))
Error: CPPCHECK_WARNING (CWE-476): [#def172]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:583: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 581| {
# 582| if (dim == scm_array_handle_rank (hx))
# 583|-> return scm_is_true (scm_equal_p (scm_array_handle_ref (hx, posx),
# 584| scm_array_handle_ref (hy, posy)));
# 585| else
Error: CPPCHECK_WARNING (CWE-476): [#def173]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:632: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 630| res = scm_from_bool (hx.ndims == hy.ndims && t1 == t2);
# 631|
# 632|-> if (scm_is_true (res))
# 633| res = scm_from_bool (array_compare (&hx, &hy, 0, 0, 0));
# 634|
Error: CPPCHECK_WARNING (CWE-476): [#def174]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:650: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 648| #define FUNC_NAME s_scm_i_array_equal_p
# 649| {
# 650|-> if (SCM_UNBNDP (ra0) || SCM_UNBNDP (ra1))
# 651| return SCM_BOOL_T;
# 652|
Error: CPPCHECK_WARNING (CWE-476): [#def175]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:653: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 651| return SCM_BOOL_T;
# 652|
# 653|-> while (!scm_is_null (rest))
# 654| {
# 655| if (scm_is_false (scm_array_equal_p (ra0, ra1)))
Error: CPPCHECK_WARNING (CWE-476): [#def176]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:655: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 653| while (!scm_is_null (rest))
# 654| {
# 655|-> if (scm_is_false (scm_array_equal_p (ra0, ra1)))
# 656| return SCM_BOOL_F;
# 657| ra0 = ra1;
Error: CPPCHECK_WARNING (CWE-476): [#def177]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:670: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 668| scm_i_array_rebase (SCM a, size_t base)
# 669| {
# 670|-> size_t ndim = SCM_I_ARRAY_NDIM (a);
# 671| SCM b = scm_words (((scm_t_bits) ndim << 17) + scm_tc7_array, 3 + ndim*3);
# 672| SCM_I_ARRAY_SET_V (b, SCM_I_ARRAY_V (a));
Error: CPPCHECK_WARNING (CWE-476): [#def178]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:672: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 670| size_t ndim = SCM_I_ARRAY_NDIM (a);
# 671| SCM b = scm_words (((scm_t_bits) ndim << 17) + scm_tc7_array, 3 + ndim*3);
# 672|-> SCM_I_ARRAY_SET_V (b, SCM_I_ARRAY_V (a));
# 673| /* FIXME do check base */
# 674| SCM_I_ARRAY_SET_BASE (b, base);
Error: CPPCHECK_WARNING (CWE-476): [#def179]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:674: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 672| SCM_I_ARRAY_SET_V (b, SCM_I_ARRAY_V (a));
# 673| /* FIXME do check base */
# 674|-> SCM_I_ARRAY_SET_BASE (b, base);
# 675| memcpy (SCM_I_ARRAY_DIMS (b), SCM_I_ARRAY_DIMS (a), sizeof (scm_t_array_dim)*ndim);
# 676| return b;
Error: CPPCHECK_WARNING (CWE-476): [#def180]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:675: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 673| /* FIXME do check base */
# 674| SCM_I_ARRAY_SET_BASE (b, base);
# 675|-> memcpy (SCM_I_ARRAY_DIMS (b), SCM_I_ARRAY_DIMS (a), sizeof (scm_t_array_dim)*ndim);
# 676| return b;
# 677| }
Error: CPPCHECK_WARNING (CWE-476): [#def181]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:815: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 813| {
# 814| ai[n] = scm_i_make_array(rank[n]-frank);
# 815|-> SCM_I_ARRAY_SET_V (ai[n], scm_shared_array_root(args_[n]));
# 816| /* FIXME scm_array_handle_base (ah+n) should be in Guile */
# 817| SCM_I_ARRAY_SET_BASE (ai[n], ah[n].base);
Error: CPPCHECK_WARNING (CWE-476): [#def182]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:817: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 815| SCM_I_ARRAY_SET_V (ai[n], scm_shared_array_root(args_[n]));
# 816| /* FIXME scm_array_handle_base (ah+n) should be in Guile */
# 817|-> SCM_I_ARRAY_SET_BASE (ai[n], ah[n].base);
# 818| ais = SCM_I_ARRAY_DIMS(ai[n]);
# 819| for (k=frank; k!=rank[n]; ++k)
Error: CPPCHECK_WARNING (CWE-476): [#def183]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:818: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 816| /* FIXME scm_array_handle_base (ah+n) should be in Guile */
# 817| SCM_I_ARRAY_SET_BASE (ai[n], ah[n].base);
# 818|-> ais = SCM_I_ARRAY_DIMS(ai[n]);
# 819| for (k=frank; k!=rank[n]; ++k)
# 820| {
Error: CPPCHECK_WARNING (CWE-476): [#def184]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:830: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 828| {
# 829| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 830|-> dargs[n] = SCM_CARLOC (*p);
# 831| p = SCM_CDRLOC (*p);
# 832| }
Error: CPPCHECK_WARNING (CWE-476): [#def185]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:831: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 829| *p = scm_cons (SCM_UNSPECIFIED, SCM_EOL);
# 830| dargs[n] = SCM_CARLOC (*p);
# 831|-> p = SCM_CDRLOC (*p);
# 832| }
# 833| }
Error: CPPCHECK_WARNING (CWE-476): [#def186]
guile30-3.0.7-build/guile-3.0.7/libguile/array-map.c:860: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 858| /* rank loop. */
# 859| for (n=0; n!=N; ++n)
# 860|-> base[n] = SCM_I_ARRAY_BASE(ai[n]);
# 861| for (;;)
# 862| {
Error: CPPCHECK_WARNING: [#def187]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def188]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:63: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 61| scm_c_array_rank (SCM array)
# 62| {
# 63|-> if (SCM_I_ARRAYP (array))
# 64| return SCM_I_ARRAY_NDIM (array);
# 65| else if (scm_is_array (array))
Error: CPPCHECK_WARNING (CWE-476): [#def189]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:64: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 62| {
# 63| if (SCM_I_ARRAYP (array))
# 64|-> return SCM_I_ARRAY_NDIM (array);
# 65| else if (scm_is_array (array))
# 66| return 1;
Error: CPPCHECK_WARNING (CWE-476): [#def190]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:86: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 84| #define FUNC_NAME s_scm_shared_array_root
# 85| {
# 86|-> if (SCM_I_ARRAYP (ra))
# 87| return SCM_I_ARRAY_V (ra);
# 88| else if (scm_is_array (ra))
Error: CPPCHECK_WARNING (CWE-476): [#def191]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:87: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 85| {
# 86| if (SCM_I_ARRAYP (ra))
# 87|-> return SCM_I_ARRAY_V (ra);
# 88| else if (scm_is_array (ra))
# 89| return ra;
Error: CPPCHECK_WARNING (CWE-476): [#def192]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:101: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 99| #define FUNC_NAME s_scm_shared_array_offset
# 100| {
# 101|-> if (SCM_I_ARRAYP (ra))
# 102| return scm_from_size_t (SCM_I_ARRAY_BASE (ra));
# 103| else if (scm_is_array (ra))
Error: CPPCHECK_WARNING (CWE-476): [#def193]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:102: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 100| {
# 101| if (SCM_I_ARRAYP (ra))
# 102|-> return scm_from_size_t (SCM_I_ARRAY_BASE (ra));
# 103| else if (scm_is_array (ra))
# 104| return scm_from_size_t (0);
Error: CPPCHECK_WARNING (CWE-476): [#def194]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:116: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 114| #define FUNC_NAME s_scm_shared_array_increments
# 115| {
# 116|-> if (SCM_I_ARRAYP (ra))
# 117| {
# 118| size_t k = SCM_I_ARRAY_NDIM (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def195]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:118: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 116| if (SCM_I_ARRAYP (ra))
# 117| {
# 118|-> size_t k = SCM_I_ARRAY_NDIM (ra);
# 119| SCM res = SCM_EOL;
# 120| scm_t_array_dim *dims = SCM_I_ARRAY_DIMS (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def196]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:120: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 118| size_t k = SCM_I_ARRAY_NDIM (ra);
# 119| SCM res = SCM_EOL;
# 120|-> scm_t_array_dim *dims = SCM_I_ARRAY_DIMS (ra);
# 121| while (k--)
# 122| res = scm_cons (scm_from_ssize_t (dims[k].inc), res);
Error: CPPCHECK_WARNING (CWE-476): [#def197]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:142: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 140| {
# 141| SCM ra = scm_words (((scm_t_bits) ndim << 17) + scm_tc7_array, 3 + ndim*3);
# 142|-> SCM_I_ARRAY_SET_V (ra, SCM_BOOL_F);
# 143| SCM_I_ARRAY_SET_BASE (ra, 0);
# 144| /* dimensions are unset */
Error: CPPCHECK_WARNING (CWE-476): [#def198]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:143: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 141| SCM ra = scm_words (((scm_t_bits) ndim << 17) + scm_tc7_array, 3 + ndim*3);
# 142| SCM_I_ARRAY_SET_V (ra, SCM_BOOL_F);
# 143|-> SCM_I_ARRAY_SET_BASE (ra, 0);
# 144| /* dimensions are unset */
# 145| return ra;
Error: CPPCHECK_WARNING (CWE-476): [#def199]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:163: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 161|
# 162| ra = scm_i_make_array (ndim);
# 163|-> SCM_I_ARRAY_SET_BASE (ra, 0);
# 164| s = SCM_I_ARRAY_DIMS (ra);
# 165| for (; !scm_is_null (args); s++, args = SCM_CDR (args))
Error: CPPCHECK_WARNING (CWE-476): [#def200]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:164: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 162| ra = scm_i_make_array (ndim);
# 163| SCM_I_ARRAY_SET_BASE (ra, 0);
# 164|-> s = SCM_I_ARRAY_DIMS (ra);
# 165| for (; !scm_is_null (args); s++, args = SCM_CDR (args))
# 166| {
Error: CPPCHECK_WARNING (CWE-476): [#def201]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:165: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 163| SCM_I_ARRAY_SET_BASE (ra, 0);
# 164| s = SCM_I_ARRAY_DIMS (ra);
# 165|-> for (; !scm_is_null (args); s++, args = SCM_CDR (args))
# 166| {
# 167| spec = SCM_CAR (args);
Error: CPPCHECK_WARNING (CWE-476): [#def202]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:167: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 165| for (; !scm_is_null (args); s++, args = SCM_CDR (args))
# 166| {
# 167|-> spec = SCM_CAR (args);
# 168| if (scm_is_integer (spec))
# 169| {
Error: CPPCHECK_WARNING (CWE-476): [#def203]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:178: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 176| else
# 177| {
# 178|-> if (!scm_is_pair (spec) || !scm_is_integer (SCM_CAR (spec)))
# 179| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
# 180| s->lbnd = scm_to_ssize_t (SCM_CAR (spec));
Error: CPPCHECK_WARNING (CWE-476): [#def204]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:180: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 178| if (!scm_is_pair (spec) || !scm_is_integer (SCM_CAR (spec)))
# 179| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
# 180|-> s->lbnd = scm_to_ssize_t (SCM_CAR (spec));
# 181| spec = SCM_CDR (spec);
# 182| if (!scm_is_pair (spec)
Error: CPPCHECK_WARNING (CWE-476): [#def205]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:181: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 179| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
# 180| s->lbnd = scm_to_ssize_t (SCM_CAR (spec));
# 181|-> spec = SCM_CDR (spec);
# 182| if (!scm_is_pair (spec)
# 183| || !scm_is_integer (SCM_CAR (spec))
Error: CPPCHECK_WARNING (CWE-476): [#def206]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:183: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 181| spec = SCM_CDR (spec);
# 182| if (!scm_is_pair (spec)
# 183|-> || !scm_is_integer (SCM_CAR (spec))
# 184| || !scm_is_null (SCM_CDR (spec)))
# 185| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
Error: CPPCHECK_WARNING (CWE-476): [#def207]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:184: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 182| if (!scm_is_pair (spec)
# 183| || !scm_is_integer (SCM_CAR (spec))
# 184|-> || !scm_is_null (SCM_CDR (spec)))
# 185| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
# 186| s->ubnd = scm_to_ssize_t (SCM_CAR (spec));
Error: CPPCHECK_WARNING (CWE-476): [#def208]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:186: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 184| || !scm_is_null (SCM_CDR (spec)))
# 185| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
# 186|-> s->ubnd = scm_to_ssize_t (SCM_CAR (spec));
# 187| if (s->ubnd - s->lbnd < -1)
# 188| scm_misc_error (NULL, s_bad_spec, SCM_EOL);
Error: CPPCHECK_WARNING (CWE-476): [#def209]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:205: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 203|
# 204| ra = scm_i_shap2ra (bounds);
# 205|-> SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 206| s = SCM_I_ARRAY_DIMS (ra);
# 207| k = SCM_I_ARRAY_NDIM (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def210]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:206: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 204| ra = scm_i_shap2ra (bounds);
# 205| SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 206|-> s = SCM_I_ARRAY_DIMS (ra);
# 207| k = SCM_I_ARRAY_NDIM (ra);
# 208|
Error: CPPCHECK_WARNING (CWE-476): [#def211]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:207: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 205| SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 206| s = SCM_I_ARRAY_DIMS (ra);
# 207|-> k = SCM_I_ARRAY_NDIM (ra);
# 208|
# 209| while (k--)
Error: CPPCHECK_WARNING (CWE-476): [#def212]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:216: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 214| }
# 215|
# 216|-> if (scm_is_eq (fill, SCM_UNSPECIFIED))
# 217| fill = SCM_UNDEFINED;
# 218|
Error: CPPCHECK_WARNING (CWE-476): [#def213]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:219: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 217| fill = SCM_UNDEFINED;
# 218|
# 219|-> SCM_I_ARRAY_SET_V (ra, scm_make_generalized_vector (type, scm_from_size_t (rlen), fill));
# 220|
# 221| if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
Error: CPPCHECK_WARNING (CWE-476): [#def214]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:221: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 219| SCM_I_ARRAY_SET_V (ra, scm_make_generalized_vector (type, scm_from_size_t (rlen), fill));
# 220|
# 221|-> if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 222| if (0 == s->lbnd)
# 223| return SCM_I_ARRAY_V (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def215]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:223: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 221| if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 222| if (0 == s->lbnd)
# 223|-> return SCM_I_ARRAY_V (ra);
# 224|
# 225| return ra;
Error: CPPCHECK_WARNING (CWE-476): [#def216]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:242: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 240|
# 241| ra = scm_i_shap2ra (bounds);
# 242|-> SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 243| s = SCM_I_ARRAY_DIMS (ra);
# 244| k = SCM_I_ARRAY_NDIM (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def217]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:243: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 241| ra = scm_i_shap2ra (bounds);
# 242| SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 243|-> s = SCM_I_ARRAY_DIMS (ra);
# 244| k = SCM_I_ARRAY_NDIM (ra);
# 245|
Error: CPPCHECK_WARNING (CWE-476): [#def218]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:244: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 242| SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 243| s = SCM_I_ARRAY_DIMS (ra);
# 244|-> k = SCM_I_ARRAY_NDIM (ra);
# 245|
# 246| while (k--)
Error: CPPCHECK_WARNING (CWE-476): [#def219]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:252: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 250| rlen = (s[k].ubnd - s[k].lbnd + 1) * s[k].inc;
# 251| }
# 252|-> SCM_I_ARRAY_SET_V (ra, scm_make_generalized_vector (type, scm_from_size_t (rlen), SCM_UNDEFINED));
# 253|
# 254|
Error: CPPCHECK_WARNING (CWE-476): [#def220]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:280: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 278| memcpy (elts, bytes, byte_len);
# 279|
# 280|-> if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 281| if (0 == s->lbnd)
# 282| return SCM_I_ARRAY_V (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def221]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:282: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 280| if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 281| if (0 == s->lbnd)
# 282|-> return SCM_I_ARRAY_V (ra);
# 283| return ra;
# 284| }
Error: CPPCHECK_WARNING (CWE-476): [#def222]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:300: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 298| scm_i_ra_set_contp (SCM ra)
# 299| {
# 300|-> size_t k = SCM_I_ARRAY_NDIM (ra);
# 301| if (k)
# 302| {
Error: CPPCHECK_WARNING (CWE-476): [#def223]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:303: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 301| if (k)
# 302| {
# 303|-> ssize_t inc = SCM_I_ARRAY_DIMS (ra)[k - 1].inc;
# 304| while (k--)
# 305| {
Error: CPPCHECK_WARNING (CWE-476): [#def224]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:306: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 304| while (k--)
# 305| {
# 306|-> if (inc != SCM_I_ARRAY_DIMS (ra)[k].inc)
# 307| {
# 308| SCM_CLR_ARRAY_CONTIGUOUS_FLAG (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def225]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:308: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 306| if (inc != SCM_I_ARRAY_DIMS (ra)[k].inc)
# 307| {
# 308|-> SCM_CLR_ARRAY_CONTIGUOUS_FLAG (ra);
# 309| return;
# 310| }
Error: CPPCHECK_WARNING (CWE-476): [#def226]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:311: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 309| return;
# 310| }
# 311|-> inc *= (SCM_I_ARRAY_DIMS (ra)[k].ubnd
# 312| - SCM_I_ARRAY_DIMS (ra)[k].lbnd + 1);
# 313| }
Error: CPPCHECK_WARNING (CWE-476): [#def227]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:312: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 310| }
# 311| inc *= (SCM_I_ARRAY_DIMS (ra)[k].ubnd
# 312|-> - SCM_I_ARRAY_DIMS (ra)[k].lbnd + 1);
# 313| }
# 314| }
Error: CPPCHECK_WARNING (CWE-476): [#def228]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:315: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 313| }
# 314| }
# 315|-> SCM_SET_ARRAY_CONTIGUOUS_FLAG (ra);
# 316| }
# 317|
Error: CPPCHECK_WARNING (CWE-476): [#def229]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:349: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 347|
# 348| SCM_VALIDATE_REST_ARGUMENT (dims);
# 349|-> SCM_VALIDATE_PROC (2, mapfunc);
# 350| ra = scm_i_shap2ra (dims);
# 351|
Error: CPPCHECK_WARNING (CWE-476): [#def230]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:354: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 352| scm_array_get_handle (oldra, &old_handle);
# 353|
# 354|-> if (SCM_I_ARRAYP (oldra))
# 355| {
# 356| SCM_I_ARRAY_SET_V (ra, SCM_I_ARRAY_V (oldra));
Error: CPPCHECK_WARNING (CWE-476): [#def231]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:356: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 354| if (SCM_I_ARRAYP (oldra))
# 355| {
# 356|-> SCM_I_ARRAY_SET_V (ra, SCM_I_ARRAY_V (oldra));
# 357| old_base = old_min = old_max = SCM_I_ARRAY_BASE (oldra);
# 358| s = scm_array_handle_dims (&old_handle);
Error: CPPCHECK_WARNING (CWE-476): [#def232]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:357: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 355| {
# 356| SCM_I_ARRAY_SET_V (ra, SCM_I_ARRAY_V (oldra));
# 357|-> old_base = old_min = old_max = SCM_I_ARRAY_BASE (oldra);
# 358| s = scm_array_handle_dims (&old_handle);
# 359| k = scm_array_handle_rank (&old_handle);
Error: CPPCHECK_WARNING (CWE-476): [#def233]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:370: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 368| else
# 369| {
# 370|-> SCM_I_ARRAY_SET_V (ra, oldra);
# 371| old_base = old_min = 0;
# 372| old_max = scm_c_array_length (oldra) - 1;
Error: CPPCHECK_WARNING (CWE-476): [#def234]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:376: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 374|
# 375| inds = SCM_EOL;
# 376|-> s = SCM_I_ARRAY_DIMS (ra);
# 377| for (k = 0; k < SCM_I_ARRAY_NDIM (ra); k++)
# 378| {
Error: CPPCHECK_WARNING (CWE-476): [#def235]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:377: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 375| inds = SCM_EOL;
# 376| s = SCM_I_ARRAY_DIMS (ra);
# 377|-> for (k = 0; k < SCM_I_ARRAY_NDIM (ra); k++)
# 378| {
# 379| inds = scm_cons (scm_from_ssize_t (s[k].lbnd), inds);
Error: CPPCHECK_WARNING (CWE-476): [#def236]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:382: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 380| if (s[k].ubnd < s[k].lbnd)
# 381| {
# 382|-> if (1 == SCM_I_ARRAY_NDIM (ra))
# 383| ra = scm_make_generalized_vector (scm_array_type (ra),
# 384| SCM_INUM0, SCM_UNDEFINED);
Error: CPPCHECK_WARNING (CWE-476): [#def237]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:386: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 384| SCM_INUM0, SCM_UNDEFINED);
# 385| else
# 386|-> SCM_I_ARRAY_SET_V (ra, scm_make_generalized_vector (scm_array_type (ra),
# 387| SCM_INUM0, SCM_UNDEFINED));
# 388| scm_array_handle_release (&old_handle);
Error: CPPCHECK_WARNING (CWE-476): [#def238]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:396: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 394| i = scm_array_handle_pos (&old_handle, imap);
# 395| new_min = new_max = i + old_base;
# 396|-> SCM_I_ARRAY_SET_BASE (ra, new_min);
# 397| indptr = inds;
# 398| k = SCM_I_ARRAY_NDIM (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def239]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:398: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 396| SCM_I_ARRAY_SET_BASE (ra, new_min);
# 397| indptr = inds;
# 398|-> k = SCM_I_ARRAY_NDIM (ra);
# 399| while (k--)
# 400| {
Error: CPPCHECK_WARNING (CWE-476): [#def240]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:403: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 401| if (s[k].ubnd > s[k].lbnd)
# 402| {
# 403|-> SCM_SETCAR (indptr, scm_sum (SCM_CAR (indptr), scm_from_int (1)));
# 404| imap = scm_apply_0 (mapfunc, scm_reverse (inds));
# 405| s[k].inc = scm_array_handle_pos (&old_handle, imap) - i;
Error: CPPCHECK_WARNING (CWE-476): [#def241]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:414: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 412| else
# 413| s[k].inc = new_max - new_min + 1; /* contiguous by default */
# 414|-> indptr = SCM_CDR (indptr);
# 415| }
# 416|
Error: CPPCHECK_WARNING (CWE-476): [#def242]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:421: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 419| if (old_min > new_min || old_max < new_max)
# 420| SCM_MISC_ERROR ("mapping out of range", SCM_EOL);
# 421|-> if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 422| {
# 423| SCM v = SCM_I_ARRAY_V (ra);
Error: CPPCHECK_WARNING (CWE-476): [#def243]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:423: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 421| if (1 == SCM_I_ARRAY_NDIM (ra) && 0 == SCM_I_ARRAY_BASE (ra))
# 422| {
# 423|-> SCM v = SCM_I_ARRAY_V (ra);
# 424| size_t length = scm_c_array_length (v);
# 425| if (1 == s->inc && 0 == s->lbnd && length == 1 + s->ubnd)
Error: CPPCHECK_WARNING (CWE-476): [#def244]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:461: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 459| scm_t_array_dim * os;
# 460| *o = scm_i_make_array (k);
# 461|-> SCM_I_ARRAY_SET_V (*o, handle->vector);
# 462| SCM_I_ARRAY_SET_BASE (*o, pos + handle->base);
# 463| os = SCM_I_ARRAY_DIMS (*o);
Error: CPPCHECK_WARNING (CWE-476): [#def245]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:462: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 460| *o = scm_i_make_array (k);
# 461| SCM_I_ARRAY_SET_V (*o, handle->vector);
# 462|-> SCM_I_ARRAY_SET_BASE (*o, pos + handle->base);
# 463| os = SCM_I_ARRAY_DIMS (*o);
# 464| for (; k>0; --k, ++s, ++os)
Error: CPPCHECK_WARNING (CWE-476): [#def246]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:463: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 461| SCM_I_ARRAY_SET_V (*o, handle->vector);
# 462| SCM_I_ARRAY_SET_BASE (*o, pos + handle->base);
# 463|-> os = SCM_I_ARRAY_DIMS (*o);
# 464| for (; k>0; --k, ++s, ++os)
# 465| {
Error: CPPCHECK_WARNING (CWE-476): [#def247]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:495: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 493| if (k==ndim)
# 494| o = ra;
# 495|-> else if (scm_is_null (i))
# 496| {
# 497| array_from_get_o(&handle, k, s, pos, &o);
Error: CPPCHECK_WARNING (CWE-476): [#def248]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:539: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 537| array_from_get_o(&handle, k, s, pos, &o);
# 538| }
# 539|-> else if (scm_is_null(i))
# 540| o = scm_array_handle_ref (&handle, pos);
# 541| else
Error: CPPCHECK_WARNING (CWE-476): [#def249]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:591: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 589| scm_array_copy_x(b, o);
# 590| }
# 591|-> else if (scm_is_null(i))
# 592| {
# 593| scm_array_handle_set (&handle, pos, b); /* ra may be non-ARRAYP */
Error: CPPCHECK_WARNING (CWE-476): [#def250]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:638: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 636|
# 637| SCM_VALIDATE_REST_ARGUMENT (args);
# 638|-> SCM_ASSERT (SCM_HEAP_OBJECT_P (ra), ra, SCM_ARG1, FUNC_NAME);
# 639|
# 640| switch (scm_c_array_rank (ra))
Error: CPPCHECK_WARNING (CWE-476): [#def251]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:643: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 641| {
# 642| case 0:
# 643|-> if (!scm_is_null (args))
# 644| SCM_WRONG_NUM_ARGS ();
# 645| return ra;
Error: CPPCHECK_WARNING (CWE-476): [#def252]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:650: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 648| arguments.
# 649| */
# 650|-> if (scm_is_null (args) || !scm_is_null (SCM_CDR (args)))
# 651| SCM_WRONG_NUM_ARGS ();
# 652| SCM_VALIDATE_INT_COPY (SCM_ARG2, SCM_CAR (args), i);
Error: CPPCHECK_WARNING (CWE-476): [#def253]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:652: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 650| if (scm_is_null (args) || !scm_is_null (SCM_CDR (args)))
# 651| SCM_WRONG_NUM_ARGS ();
# 652|-> SCM_VALIDATE_INT_COPY (SCM_ARG2, SCM_CAR (args), i);
# 653| SCM_ASSERT_RANGE (SCM_ARG2, SCM_CAR (args), i == 0);
# 654| return ra;
Error: CPPCHECK_WARNING (CWE-476): [#def254]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:653: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 651| SCM_WRONG_NUM_ARGS ();
# 652| SCM_VALIDATE_INT_COPY (SCM_ARG2, SCM_CAR (args), i);
# 653|-> SCM_ASSERT_RANGE (SCM_ARG2, SCM_CAR (args), i == 0);
# 654| return ra;
# 655| default:
Error: CPPCHECK_WARNING (CWE-476): [#def255]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:657: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 655| default:
# 656| vargs = scm_vector (args);
# 657|-> if (SCM_SIMPLE_VECTOR_LENGTH (vargs) != SCM_I_ARRAY_NDIM (ra))
# 658| SCM_WRONG_NUM_ARGS ();
# 659| ndim = 0;
Error: CPPCHECK_WARNING (CWE-476): [#def256]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:660: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 658| SCM_WRONG_NUM_ARGS ();
# 659| ndim = 0;
# 660|-> for (k = 0; k < SCM_I_ARRAY_NDIM (ra); k++)
# 661| {
# 662| i = scm_to_signed_integer (SCM_SIMPLE_VECTOR_REF (vargs, k),
Error: CPPCHECK_WARNING (CWE-476): [#def257]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:662: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 660| for (k = 0; k < SCM_I_ARRAY_NDIM (ra); k++)
# 661| {
# 662|-> i = scm_to_signed_integer (SCM_SIMPLE_VECTOR_REF (vargs, k),
# 663| 0, SCM_I_ARRAY_NDIM(ra));
# 664| if (ndim < i)
Error: CPPCHECK_WARNING (CWE-476): [#def258]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:663: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 661| {
# 662| i = scm_to_signed_integer (SCM_SIMPLE_VECTOR_REF (vargs, k),
# 663|-> 0, SCM_I_ARRAY_NDIM(ra));
# 664| if (ndim < i)
# 665| ndim = i;
Error: CPPCHECK_WARNING (CWE-476): [#def259]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:669: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 667| ndim++;
# 668| res = scm_i_make_array (ndim);
# 669|-> SCM_I_ARRAY_SET_V (res, SCM_I_ARRAY_V (ra));
# 670| SCM_I_ARRAY_SET_BASE (res, SCM_I_ARRAY_BASE (ra));
# 671| for (k = ndim; k--;)
Error: CPPCHECK_WARNING (CWE-476): [#def260]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:670: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 668| res = scm_i_make_array (ndim);
# 669| SCM_I_ARRAY_SET_V (res, SCM_I_ARRAY_V (ra));
# 670|-> SCM_I_ARRAY_SET_BASE (res, SCM_I_ARRAY_BASE (ra));
# 671| for (k = ndim; k--;)
# 672| {
Error: CPPCHECK_WARNING (CWE-476): [#def261]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:673: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 671| for (k = ndim; k--;)
# 672| {
# 673|-> SCM_I_ARRAY_DIMS (res)[k].lbnd = 0;
# 674| SCM_I_ARRAY_DIMS (res)[k].ubnd = -1;
# 675| }
Error: CPPCHECK_WARNING (CWE-476): [#def262]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:674: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 672| {
# 673| SCM_I_ARRAY_DIMS (res)[k].lbnd = 0;
# 674|-> SCM_I_ARRAY_DIMS (res)[k].ubnd = -1;
# 675| }
# 676| for (k = SCM_I_ARRAY_NDIM (ra); k--;)
Error: CPPCHECK_WARNING (CWE-476): [#def263]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:676: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 674| SCM_I_ARRAY_DIMS (res)[k].ubnd = -1;
# 675| }
# 676|-> for (k = SCM_I_ARRAY_NDIM (ra); k--;)
# 677| {
# 678| i = scm_to_int (SCM_SIMPLE_VECTOR_REF (vargs, k));
Error: CPPCHECK_WARNING (CWE-476): [#def264]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:678: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 676| for (k = SCM_I_ARRAY_NDIM (ra); k--;)
# 677| {
# 678|-> i = scm_to_int (SCM_SIMPLE_VECTOR_REF (vargs, k));
# 679| s = &(SCM_I_ARRAY_DIMS (ra)[k]);
# 680| r = &(SCM_I_ARRAY_DIMS (res)[i]);
Error: CPPCHECK_WARNING (CWE-476): [#def265]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:679: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 677| {
# 678| i = scm_to_int (SCM_SIMPLE_VECTOR_REF (vargs, k));
# 679|-> s = &(SCM_I_ARRAY_DIMS (ra)[k]);
# 680| r = &(SCM_I_ARRAY_DIMS (res)[i]);
# 681| if (r->ubnd < r->lbnd)
Error: CPPCHECK_WARNING (CWE-476): [#def266]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:680: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 678| i = scm_to_int (SCM_SIMPLE_VECTOR_REF (vargs, k));
# 679| s = &(SCM_I_ARRAY_DIMS (ra)[k]);
# 680|-> r = &(SCM_I_ARRAY_DIMS (res)[i]);
# 681| if (r->ubnd < r->lbnd)
# 682| {
Error: CPPCHECK_WARNING (CWE-476): [#def267]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:694: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 692| if (r->lbnd < s->lbnd)
# 693| {
# 694|-> SCM_I_ARRAY_SET_BASE (res, SCM_I_ARRAY_BASE (res) + (s->lbnd - r->lbnd) * r->inc);
# 695| r->lbnd = s->lbnd;
# 696| }
Error: CPPCHECK_WARNING (CWE-476): [#def268]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:725: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 723| #define FUNC_NAME s_scm_array_contents
# 724| {
# 725|-> if (SCM_I_ARRAYP (ra))
# 726| {
# 727| SCM v;
Error: CPPCHECK_WARNING (CWE-476): [#def269]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:728: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 726| {
# 727| SCM v;
# 728|-> size_t ndim = SCM_I_ARRAY_NDIM (ra);
# 729| scm_t_array_dim *s = SCM_I_ARRAY_DIMS (ra);
# 730| size_t k = ndim;
Error: CPPCHECK_WARNING (CWE-476): [#def270]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:729: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 727| SCM v;
# 728| size_t ndim = SCM_I_ARRAY_NDIM (ra);
# 729|-> scm_t_array_dim *s = SCM_I_ARRAY_DIMS (ra);
# 730| size_t k = ndim;
# 731| size_t len = 1;
Error: CPPCHECK_WARNING (CWE-476): [#def271]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:744: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 742| }
# 743|
# 744|-> if (!SCM_UNBNDP (strict) && scm_is_true (strict))
# 745| {
# 746| if (ndim && (1 != s[ndim - 1].inc))
Error: CPPCHECK_WARNING (CWE-476): [#def272]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:748: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 746| if (ndim && (1 != s[ndim - 1].inc))
# 747| return SCM_BOOL_F;
# 748|-> if (scm_is_bitvector (SCM_I_ARRAY_V (ra))
# 749| && (len != scm_c_bitvector_length (SCM_I_ARRAY_V (ra)) ||
# 750| SCM_I_ARRAY_BASE (ra) % SCM_LONG_BIT ||
Error: CPPCHECK_WARNING (CWE-476): [#def273]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:749: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 747| return SCM_BOOL_F;
# 748| if (scm_is_bitvector (SCM_I_ARRAY_V (ra))
# 749|-> && (len != scm_c_bitvector_length (SCM_I_ARRAY_V (ra)) ||
# 750| SCM_I_ARRAY_BASE (ra) % SCM_LONG_BIT ||
# 751| len % SCM_LONG_BIT))
Error: CPPCHECK_WARNING (CWE-476): [#def274]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:750: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 748| if (scm_is_bitvector (SCM_I_ARRAY_V (ra))
# 749| && (len != scm_c_bitvector_length (SCM_I_ARRAY_V (ra)) ||
# 750|-> SCM_I_ARRAY_BASE (ra) % SCM_LONG_BIT ||
# 751| len % SCM_LONG_BIT))
# 752| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def275]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:755: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 753| }
# 754|
# 755|-> v = SCM_I_ARRAY_V (ra);
# 756| if ((len == scm_c_array_length (v)) && (0 == SCM_I_ARRAY_BASE (ra)))
# 757| return v;
Error: CPPCHECK_WARNING (CWE-476): [#def276]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:756: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 754|
# 755| v = SCM_I_ARRAY_V (ra);
# 756|-> if ((len == scm_c_array_length (v)) && (0 == SCM_I_ARRAY_BASE (ra)))
# 757| return v;
# 758| else
Error: CPPCHECK_WARNING (CWE-476): [#def277]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:761: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 759| {
# 760| SCM sra = scm_i_make_array (1);
# 761|-> SCM_I_ARRAY_DIMS (sra)->lbnd = 0;
# 762| SCM_I_ARRAY_DIMS (sra)->ubnd = len - 1;
# 763| SCM_I_ARRAY_SET_V (sra, v);
Error: CPPCHECK_WARNING (CWE-476): [#def278]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:762: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 760| SCM sra = scm_i_make_array (1);
# 761| SCM_I_ARRAY_DIMS (sra)->lbnd = 0;
# 762|-> SCM_I_ARRAY_DIMS (sra)->ubnd = len - 1;
# 763| SCM_I_ARRAY_SET_V (sra, v);
# 764| SCM_I_ARRAY_SET_BASE (sra, SCM_I_ARRAY_BASE (ra));
Error: CPPCHECK_WARNING (CWE-476): [#def279]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:763: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 761| SCM_I_ARRAY_DIMS (sra)->lbnd = 0;
# 762| SCM_I_ARRAY_DIMS (sra)->ubnd = len - 1;
# 763|-> SCM_I_ARRAY_SET_V (sra, v);
# 764| SCM_I_ARRAY_SET_BASE (sra, SCM_I_ARRAY_BASE (ra));
# 765| SCM_I_ARRAY_DIMS (sra)->inc = (ndim ? SCM_I_ARRAY_DIMS (ra)[ndim - 1].inc : 1);
Error: CPPCHECK_WARNING (CWE-476): [#def280]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:764: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 762| SCM_I_ARRAY_DIMS (sra)->ubnd = len - 1;
# 763| SCM_I_ARRAY_SET_V (sra, v);
# 764|-> SCM_I_ARRAY_SET_BASE (sra, SCM_I_ARRAY_BASE (ra));
# 765| SCM_I_ARRAY_DIMS (sra)->inc = (ndim ? SCM_I_ARRAY_DIMS (ra)[ndim - 1].inc : 1);
# 766| return sra;
Error: CPPCHECK_WARNING (CWE-476): [#def281]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:765: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 763| SCM_I_ARRAY_SET_V (sra, v);
# 764| SCM_I_ARRAY_SET_BASE (sra, SCM_I_ARRAY_BASE (ra));
# 765|-> SCM_I_ARRAY_DIMS (sra)->inc = (ndim ? SCM_I_ARRAY_DIMS (ra)[ndim - 1].inc : 1);
# 766| return sra;
# 767| }
Error: CPPCHECK_WARNING (CWE-476): [#def282]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:792: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 790| while (n > 0 && scm_is_pair (lst))
# 791| {
# 792|-> list_to_array (SCM_CAR (lst), handle, pos, k + 1);
# 793| pos += inc;
# 794| lst = SCM_CDR (lst);
Error: CPPCHECK_WARNING (CWE-476): [#def283]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:794: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 792| list_to_array (SCM_CAR (lst), handle, pos, k + 1);
# 793| pos += inc;
# 794|-> lst = SCM_CDR (lst);
# 795| n -= 1;
# 796| }
Error: CPPCHECK_WARNING (CWE-476): [#def284]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:799: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 797| if (n != 0)
# 798| errmsg = "too few elements for array dimension ~a, need ~a";
# 799|-> if (!scm_is_null (lst))
# 800| errmsg = "too many elements for array dimension ~a, want ~a";
# 801| if (errmsg)
Error: CPPCHECK_WARNING (CWE-476): [#def285]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:837: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 835| {
# 836| shape = scm_cons (scm_length (row), shape);
# 837|-> if (k > 0 && !scm_is_null (row))
# 838| row = scm_car (row);
# 839| }
Error: CPPCHECK_WARNING (CWE-476): [#def286]
guile30-3.0.7-build/guile-3.0.7/libguile/arrays.c:859: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 857| if (scm_is_pair (shape_spec))
# 858| {
# 859|-> if (!scm_is_null (row))
# 860| row = scm_car (row);
# 861| }
Error: CPPCHECK_WARNING (CWE-476): [#def287]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:95: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 93| for (walk = asyncs;
# 94| scm_is_pair (walk);
# 95|-> walk = scm_atomic_ref_scm (SCM_CDRLOC (walk)))
# 96| if (scm_is_eq (SCM_CAR (walk), proc))
# 97| return;
Error: CPPCHECK_WARNING (CWE-476): [#def288]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:96: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 94| scm_is_pair (walk);
# 95| walk = scm_atomic_ref_scm (SCM_CDRLOC (walk)))
# 96|-> if (scm_is_eq (SCM_CAR (walk), proc))
# 97| return;
# 98|
Error: CPPCHECK_WARNING (CWE-476): [#def289]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:102: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 100| asyncs = scm_atomic_compare_and_swap_scm
# 101| (&t->pending_asyncs, asyncs, scm_cons (proc, asyncs));
# 102|-> if (scm_is_eq (asyncs, expected))
# 103| return;
# 104| }
Error: CPPCHECK_WARNING (CWE-476): [#def290]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| pairs were given to us after an atomic update to t->pending_asyncs,
# 120| no need to use atomic ops to traverse the list. */
# 121|-> while (scm_is_pair (SCM_CDR (last_pair)))
# 122| {
# 123| penultimate_pair = last_pair;
Error: CPPCHECK_WARNING (CWE-476): [#def291]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:124: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 122| {
# 123| penultimate_pair = last_pair;
# 124|-> last_pair = SCM_CDR (last_pair);
# 125| }
# 126|
Error: CPPCHECK_WARNING (CWE-476): [#def292]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:128: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 126|
# 127| /* Sever the tail. */
# 128|-> if (scm_is_false (penultimate_pair))
# 129| {
# 130| if (!scm_is_eq (asyncs,
Error: CPPCHECK_WARNING (CWE-476): [#def293]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:130: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 128| if (scm_is_false (penultimate_pair))
# 129| {
# 130|-> if (!scm_is_eq (asyncs,
# 131| scm_atomic_compare_and_swap_scm (&t->pending_asyncs,
# 132| asyncs, SCM_EOL)))
Error: CPPCHECK_WARNING (CWE-476): [#def294]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:136: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 134| }
# 135| else
# 136|-> scm_atomic_set_scm (SCM_CDRLOC (penultimate_pair), SCM_EOL);
# 137|
# 138| /* Disable it. */
Error: CPPCHECK_WARNING (CWE-476): [#def295]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:139: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 137|
# 138| /* Disable it. */
# 139|-> scm_atomic_set_scm (SCM_CDRLOC (last_pair), SCM_BOOL_F);
# 140|
# 141| return SCM_CAR (last_pair);
Error: CPPCHECK_WARNING (CWE-476): [#def296]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:141: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 139| scm_atomic_set_scm (SCM_CDRLOC (last_pair), SCM_BOOL_F);
# 140|
# 141|-> return SCM_CAR (last_pair);
# 142| }
# 143| }
Error: CPPCHECK_WARNING (CWE-476): [#def297]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:153: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 151| return;
# 152|
# 153|-> while (!scm_is_null (scm_atomic_ref_scm (&t->pending_asyncs)))
# 154| scm_call_0 (scm_i_async_pop (t));
# 155| }
Error: CPPCHECK_WARNING (CWE-476): [#def298]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:181: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 179| /* If no interrupt was registered in the meantime, then any future
# 180| wakeup will signal the FD or cond var. */
# 181|-> if (scm_is_null (scm_atomic_ref_scm (&t->pending_asyncs)))
# 182| return 0;
# 183|
Error: CPPCHECK_WARNING (CWE-476): [#def299]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:253: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 251| struct scm_thread_wake_data *wake;
# 252|
# 253|-> if (SCM_UNBNDP (thread))
# 254| t = SCM_I_CURRENT_THREAD;
# 255| else
Error: CPPCHECK_WARNING (CWE-476): [#def300]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:258: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 256| {
# 257| SCM_VALIDATE_THREAD (2, thread);
# 258|-> t = SCM_I_THREAD_DATA (thread);
# 259| }
# 260|
Error: CPPCHECK_WARNING (CWE-476): [#def301]
guile30-3.0.7-build/guile-3.0.7/libguile/async.c:319: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 317| {
# 318| SCM_VALIDATE_REST_ARGUMENT (args);
# 319|-> return (SCM_NULL_OR_NIL_P (args) ? SCM_BOOL_F : SCM_CAR (args));
# 320| }
# 321| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def302]
guile30-3.0.7-build/guile-3.0.7/libguile/atomic.c:44: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 42| #define FUNC_NAME s_scm_make_atomic_box
# 43| {
# 44|-> SCM ret = scm_cell (scm_tc7_atomic_box, SCM_UNPACK (SCM_UNDEFINED));
# 45| scm_atomic_box_set_x (ret, init);
# 46| return ret;
Error: CPPCHECK_WARNING (CWE-476): [#def303]
guile30-3.0.7-build/guile-3.0.7/libguile/atomic.c:115: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 113| {
# 114| scm_puts ("#<atomic-box ", port);
# 115|-> scm_uintprint (SCM_UNPACK (exp), 16, port);
# 116| scm_puts (" value: ", port);
# 117| scm_iprin1 (scm_atomic_box_ref (exp), port, pstate);
Error: CPPCHECK_WARNING (CWE-476): [#def304]
guile30-3.0.7-build/guile-3.0.7/libguile/atomic.h:32: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 30| scm_is_atomic_box (SCM obj)
# 31| {
# 32|-> return SCM_HAS_TYP7 (obj, scm_tc7_atomic_box);
# 33| }
# 34|
Error: CPPCHECK_WARNING (CWE-476): [#def305]
guile30-3.0.7-build/guile-3.0.7/libguile/atomic.h:38: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 36| scm_atomic_box_loc (SCM obj)
# 37| {
# 38|-> return SCM_CELL_OBJECT_LOC (obj, 1);
# 39| }
# 40|
Error: CPPCHECK_WARNING (CWE-476): [#def306]
guile30-3.0.7-build/guile-3.0.7/libguile/atomics-internal.h:64: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 62| {
# 63| atomic_uintptr_t *a_loc = (atomic_uintptr_t *) loc;
# 64|-> atomic_store (a_loc, SCM_UNPACK (val));
# 65| }
# 66| static inline SCM
Error: CPPCHECK_WARNING (CWE-476): [#def307]
guile30-3.0.7-build/guile-3.0.7/libguile/atomics-internal.h:76: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 74| {
# 75| atomic_uintptr_t *a_loc = (atomic_uintptr_t *) loc;
# 76|-> return SCM_PACK (atomic_exchange (a_loc, SCM_UNPACK (val)));
# 77| }
# 78| static inline SCM
Error: CPPCHECK_WARNING (CWE-476): [#def308]
guile30-3.0.7-build/guile-3.0.7/libguile/atomics-internal.h:84: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 82| SCM result = expected;
# 83| atomic_compare_exchange_strong (a_loc, (uintptr_t *) &result,
# 84|-> SCM_UNPACK (desired));
# 85| return result;
# 86| }
Error: CPPCHECK_WARNING (CWE-476): [#def309]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:115: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 113| scm_i_pthread_once (&once, init_print_exception_var);
# 114|
# 115|-> SCM_VALIDATE_OPOUTPORT (1, port);
# 116| if (scm_is_true (frame))
# 117| SCM_VALIDATE_FRAME (2, frame);
Error: CPPCHECK_WARNING (CWE-476): [#def310]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:116: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 114|
# 115| SCM_VALIDATE_OPOUTPORT (1, port);
# 116|-> if (scm_is_true (frame))
# 117| SCM_VALIDATE_FRAME (2, frame);
# 118| SCM_VALIDATE_SYMBOL (3, key);
Error: CPPCHECK_WARNING (CWE-476): [#def311]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:117: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 115| SCM_VALIDATE_OPOUTPORT (1, port);
# 116| if (scm_is_true (frame))
# 117|-> SCM_VALIDATE_FRAME (2, frame);
# 118| SCM_VALIDATE_SYMBOL (3, key);
# 119| SCM_VALIDATE_LIST (4, args);
Error: CPPCHECK_WARNING (CWE-476): [#def312]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:118: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 116| if (scm_is_true (frame))
# 117| SCM_VALIDATE_FRAME (2, frame);
# 118|-> SCM_VALIDATE_SYMBOL (3, key);
# 119| SCM_VALIDATE_LIST (4, args);
# 120|
Error: CPPCHECK_WARNING (CWE-476): [#def313]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:179: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 177| #define FUNC_NAME s_scm_display_error
# 178| {
# 179|-> SCM_VALIDATE_OUTPUT_PORT (2, port);
# 180|
# 181| scm_i_display_error (frame, port, subr, message, args, rest);
Error: CPPCHECK_WARNING (CWE-476): [#def314]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:221: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 219| init_print_frames_var_and_frame_to_stack_vector_var);
# 220|
# 221|-> a->port = SCM_COERCE_OUTPORT (a->port);
# 222|
# 223| /* Argument checking and extraction. */
Error: CPPCHECK_WARNING (CWE-476): [#def315]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:224: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 222|
# 223| /* Argument checking and extraction. */
# 224|-> SCM_VALIDATE_STACK (1, a->stack);
# 225| SCM_VALIDATE_OPOUTPORT (2, a->port);
# 226|
Error: CPPCHECK_WARNING (CWE-476): [#def316]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:225: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 223| /* Argument checking and extraction. */
# 224| SCM_VALIDATE_STACK (1, a->stack);
# 225|-> SCM_VALIDATE_OPOUTPORT (2, a->port);
# 226|
# 227| if (scm_is_false (a->first))
Error: CPPCHECK_WARNING (CWE-476): [#def317]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:227: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 225| SCM_VALIDATE_OPOUTPORT (2, a->port);
# 226|
# 227|-> if (scm_is_false (a->first))
# 228| a->first = SCM_INUM0;
# 229| if (scm_is_false (a->depth))
Error: CPPCHECK_WARNING (CWE-476): [#def318]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:229: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 227| if (scm_is_false (a->first))
# 228| a->first = SCM_INUM0;
# 229|-> if (scm_is_false (a->depth))
# 230| a->depth = scm_from_int (SCM_BACKTRACE_DEPTH);
# 231|
Error: CPPCHECK_WARNING (CWE-476): [#def319]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:232: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 230| a->depth = scm_from_int (SCM_BACKTRACE_DEPTH);
# 231|
# 232|-> if (scm_is_false (scm_less_p (a->first, scm_stack_length (a->stack))))
# 233| return SCM_UNSPECIFIED;
# 234|
Error: CPPCHECK_WARNING (CWE-476): [#def320]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:273: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 271| a.stack = stack;
# 272| a.port = port;
# 273|-> a.first = SCM_UNBNDP (first) ? SCM_BOOL_F : first;
# 274| a.depth = SCM_UNBNDP (depth) ? SCM_BOOL_F : depth;
# 275| a.highlight_objects = SCM_UNBNDP (highlights) ? SCM_EOL : highlights;
Error: CPPCHECK_WARNING (CWE-476): [#def321]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:274: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 272| a.port = port;
# 273| a.first = SCM_UNBNDP (first) ? SCM_BOOL_F : first;
# 274|-> a.depth = SCM_UNBNDP (depth) ? SCM_BOOL_F : depth;
# 275| a.highlight_objects = SCM_UNBNDP (highlights) ? SCM_EOL : highlights;
# 276|
Error: CPPCHECK_WARNING (CWE-476): [#def322]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:275: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 273| a.first = SCM_UNBNDP (first) ? SCM_BOOL_F : first;
# 274| a.depth = SCM_UNBNDP (depth) ? SCM_BOOL_F : depth;
# 275|-> a.highlight_objects = SCM_UNBNDP (highlights) ? SCM_EOL : highlights;
# 276|
# 277| scm_internal_catch (SCM_BOOL_T,
Error: CPPCHECK_WARNING (CWE-476): [#def323]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:279: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 277| scm_internal_catch (SCM_BOOL_T,
# 278| (scm_t_catch_body) display_backtrace_body, &a,
# 279|-> (scm_t_catch_handler) error_during_backtrace, SCM_UNPACK_POINTER (port));
# 280|
# 281| return SCM_UNSPECIFIED;
Error: CPPCHECK_WARNING (CWE-476): [#def324]
guile30-3.0.7-build/guile-3.0.7/libguile/backtrace.c:305: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 303| SCM stack = scm_make_stack (SCM_BOOL_T, SCM_EOL);
# 304|
# 305|-> if (SCM_UNBNDP (highlights))
# 306| highlights = SCM_EOL;
# 307|
Error: CPPCHECK_WARNING: [#def325]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def326]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:71: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 69| scm_i_bitvector_bits (SCM vec)
# 70| {
# 71|-> if (!IS_BITVECTOR (vec))
# 72| abort ();
# 73| return BITVECTOR_BITS (vec);
Error: CPPCHECK_WARNING (CWE-476): [#def327]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:73: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 71| if (!IS_BITVECTOR (vec))
# 72| abort ();
# 73|-> return BITVECTOR_BITS (vec);
# 74| }
# 75|
Error: CPPCHECK_WARNING (CWE-476): [#def328]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:79: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 77| scm_i_is_mutable_bitvector (SCM vec)
# 78| {
# 79|-> return IS_MUTABLE_BITVECTOR (vec);
# 80| }
# 81|
Error: CPPCHECK_WARNING (CWE-476): [#def329]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:85: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 83| scm_i_print_bitvector (SCM vec, SCM port, scm_print_state *pstate)
# 84| {
# 85|-> size_t bit_len = BITVECTOR_LENGTH (vec);
# 86| size_t word_len = (bit_len+31)/32;
# 87| uint32_t *bits = BITVECTOR_BITS (vec);
Error: CPPCHECK_WARNING (CWE-476): [#def330]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:87: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 85| size_t bit_len = BITVECTOR_LENGTH (vec);
# 86| size_t word_len = (bit_len+31)/32;
# 87|-> uint32_t *bits = BITVECTOR_BITS (vec);
# 88| size_t i, j;
# 89|
Error: CPPCHECK_WARNING (CWE-476): [#def331]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:104: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 102| scm_i_bitvector_equal_p (SCM vec1, SCM vec2)
# 103| {
# 104|-> size_t bit_len = BITVECTOR_LENGTH (vec1);
# 105| size_t word_len = (bit_len + 31) / 32;
# 106| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - bit_len);
Error: CPPCHECK_WARNING (CWE-476): [#def332]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:107: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 105| size_t word_len = (bit_len + 31) / 32;
# 106| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - bit_len);
# 107|-> uint32_t *bits1 = BITVECTOR_BITS (vec1);
# 108| uint32_t *bits2 = BITVECTOR_BITS (vec2);
# 109|
Error: CPPCHECK_WARNING (CWE-476): [#def333]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:108: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 106| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - bit_len);
# 107| uint32_t *bits1 = BITVECTOR_BITS (vec1);
# 108|-> uint32_t *bits2 = BITVECTOR_BITS (vec2);
# 109|
# 110| /* compare lengths */
Error: CPPCHECK_WARNING (CWE-476): [#def334]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:111: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 109|
# 110| /* compare lengths */
# 111|-> if (BITVECTOR_LENGTH (vec2) != bit_len)
# 112| return SCM_BOOL_F;
# 113| /* avoid underflow in word_len-1 below. */
Error: CPPCHECK_WARNING (CWE-476): [#def335]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:128: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 126| scm_is_bitvector (SCM vec)
# 127| {
# 128|-> return IS_BITVECTOR (vec);
# 129| }
# 130|
Error: CPPCHECK_WARNING (CWE-476): [#def336]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 150| res = scm_double_cell (scm_tc7_bitvector, len, (scm_t_bits)bits, 0);
# 151|
# 152|-> if (SCM_UNBNDP (fill) || !scm_is_true (fill))
# 153| scm_c_bitvector_clear_all_bits_x (res);
# 154| else
Error: CPPCHECK_WARNING (CWE-476): [#def337]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:182: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 180| scm_c_bitvector_length (SCM vec)
# 181| {
# 182|-> if (!IS_BITVECTOR (vec))
# 183| scm_wrong_type_arg_msg (NULL, 0, vec, "bitvector");
# 184| return BITVECTOR_LENGTH (vec);
Error: CPPCHECK_WARNING (CWE-476): [#def338]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:184: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 182| if (!IS_BITVECTOR (vec))
# 183| scm_wrong_type_arg_msg (NULL, 0, vec, "bitvector");
# 184|-> return BITVECTOR_LENGTH (vec);
# 185| }
# 186|
Error: CPPCHECK_WARNING (CWE-476): [#def339]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:261: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 259| #define FUNC_NAME "bitvector-bit-set?"
# 260| {
# 261|-> VALIDATE_BITVECTOR (1, vec);
# 262| if (idx >= BITVECTOR_LENGTH (vec))
# 263| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
Error: CPPCHECK_WARNING (CWE-476): [#def340]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:262: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 260| {
# 261| VALIDATE_BITVECTOR (1, vec);
# 262|-> if (idx >= BITVECTOR_LENGTH (vec))
# 263| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 264|
Error: CPPCHECK_WARNING (CWE-476): [#def341]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:265: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 263| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 264|
# 265|-> const uint32_t *bits = BITVECTOR_BITS (vec);
# 266| return (bits[idx/32] & (1L << (idx%32))) ? 1 : 0;
# 267| }
Error: CPPCHECK_WARNING (CWE-476): [#def342]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:301: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 299| #define FUNC_NAME "bitvector-set-bit!"
# 300| {
# 301|-> VALIDATE_MUTABLE_BITVECTOR (1, vec);
# 302| if (idx >= BITVECTOR_LENGTH (vec))
# 303| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
Error: CPPCHECK_WARNING (CWE-476): [#def343]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:302: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 300| {
# 301| VALIDATE_MUTABLE_BITVECTOR (1, vec);
# 302|-> if (idx >= BITVECTOR_LENGTH (vec))
# 303| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 304|
Error: CPPCHECK_WARNING (CWE-476): [#def344]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:305: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 303| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 304|
# 305|-> uint32_t *bits = BITVECTOR_BITS (vec);
# 306| uint32_t mask = 1L << (idx%32);
# 307| bits[idx/32] |= mask;
Error: CPPCHECK_WARNING (CWE-476): [#def345]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:315: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 313| #define FUNC_NAME "bitvector-clear-bit!"
# 314| {
# 315|-> VALIDATE_MUTABLE_BITVECTOR (1, vec);
# 316| if (idx >= BITVECTOR_LENGTH (vec))
# 317| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
Error: CPPCHECK_WARNING (CWE-476): [#def346]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:316: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 314| {
# 315| VALIDATE_MUTABLE_BITVECTOR (1, vec);
# 316|-> if (idx >= BITVECTOR_LENGTH (vec))
# 317| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 318|
Error: CPPCHECK_WARNING (CWE-476): [#def347]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:319: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 317| SCM_OUT_OF_RANGE (2, scm_from_size_t (idx));
# 318|
# 319|-> uint32_t *bits = BITVECTOR_BITS (vec);
# 320| uint32_t mask = 1L << (idx%32);
# 321| bits[idx/32] &= ~mask;
Error: CPPCHECK_WARNING (CWE-476): [#def348]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:351: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 349| #define FUNC_NAME "bitvector-set-all-bits!"
# 350| {
# 351|-> VALIDATE_MUTABLE_BITVECTOR (1, bv);
# 352| size_t len = BITVECTOR_LENGTH (bv);
# 353|
Error: CPPCHECK_WARNING (CWE-476): [#def349]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:352: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 350| {
# 351| VALIDATE_MUTABLE_BITVECTOR (1, bv);
# 352|-> size_t len = BITVECTOR_LENGTH (bv);
# 353|
# 354| if (len > 0)
Error: CPPCHECK_WARNING (CWE-476): [#def350]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:356: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 354| if (len > 0)
# 355| {
# 356|-> uint32_t *bits = BITVECTOR_BITS (bv);
# 357| size_t word_len = (len + 31) / 32;
# 358| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - len);
Error: CPPCHECK_WARNING (CWE-476): [#def351]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:370: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 368| #define FUNC_NAME "bitvector-clear-all-bits!"
# 369| {
# 370|-> VALIDATE_MUTABLE_BITVECTOR (1, bv);
# 371| size_t len = BITVECTOR_LENGTH (bv);
# 372|
Error: CPPCHECK_WARNING (CWE-476): [#def352]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:371: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 369| {
# 370| VALIDATE_MUTABLE_BITVECTOR (1, bv);
# 371|-> size_t len = BITVECTOR_LENGTH (bv);
# 372|
# 373| if (len > 0)
Error: CPPCHECK_WARNING (CWE-476): [#def353]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:375: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 373| if (len > 0)
# 374| {
# 375|-> uint32_t *bits = BITVECTOR_BITS (bv);
# 376| size_t word_len = (len + 31) / 32;
# 377| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - len);
Error: CPPCHECK_WARNING (CWE-476): [#def354]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:410: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 408| SCM vec = scm_c_make_bitvector (bit_len, SCM_UNDEFINED);
# 409| size_t word_len = (bit_len+31)/32;
# 410|-> uint32_t *bits = BITVECTOR_BITS (vec);
# 411| size_t i, j;
# 412|
Error: CPPCHECK_WARNING (CWE-476): [#def355]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:418: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 416| bits[i] = 0;
# 417| for (j = 0; j < 32 && j < bit_len;
# 418|-> j++, mask <<= 1, list = SCM_CDR (list))
# 419| if (scm_is_true (SCM_CAR (list)))
# 420| bits[i] |= mask;
Error: CPPCHECK_WARNING (CWE-476): [#def356]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:419: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 417| for (j = 0; j < 32 && j < bit_len;
# 418| j++, mask <<= 1, list = SCM_CDR (list))
# 419|-> if (scm_is_true (SCM_CAR (list)))
# 420| bits[i] |= mask;
# 421| }
Error: CPPCHECK_WARNING (CWE-476): [#def357]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:435: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 433| SCM res = SCM_EOL;
# 434|
# 435|-> if (IS_BITVECTOR (vec))
# 436| {
# 437| const uint32_t *bits = BITVECTOR_BITS (vec);
Error: CPPCHECK_WARNING (CWE-476): [#def358]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:437: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 435| if (IS_BITVECTOR (vec))
# 436| {
# 437|-> const uint32_t *bits = BITVECTOR_BITS (vec);
# 438| size_t len = BITVECTOR_LENGTH (vec);
# 439| size_t word_len = (len + 31) / 32;
Error: CPPCHECK_WARNING (CWE-476): [#def359]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:438: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 436| {
# 437| const uint32_t *bits = BITVECTOR_BITS (vec);
# 438|-> size_t len = BITVECTOR_LENGTH (vec);
# 439| size_t word_len = (len + 31) / 32;
# 440|
Error: CPPCHECK_WARNING (CWE-476): [#def360]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:497: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 495| #define FUNC_NAME "bitvector-count"
# 496| {
# 497|-> VALIDATE_BITVECTOR (1, bitvector);
# 498|
# 499| size_t len = BITVECTOR_LENGTH (bitvector);
Error: CPPCHECK_WARNING (CWE-476): [#def361]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:499: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 497| VALIDATE_BITVECTOR (1, bitvector);
# 498|
# 499|-> size_t len = BITVECTOR_LENGTH (bitvector);
# 500|
# 501| if (len == 0)
Error: CPPCHECK_WARNING (CWE-476): [#def362]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:504: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 502| return 0;
# 503|
# 504|-> const uint32_t *bits = BITVECTOR_BITS (bitvector);
# 505| size_t count = 0;
# 506|
Error: CPPCHECK_WARNING (CWE-476): [#def363]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:561: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 559| #define FUNC_NAME s_scm_bitvector_position
# 560| {
# 561|-> VALIDATE_BITVECTOR (1, v);
# 562|
# 563| size_t len = BITVECTOR_LENGTH (v);
Error: CPPCHECK_WARNING (CWE-476): [#def364]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:563: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 561| VALIDATE_BITVECTOR (1, v);
# 562|
# 563|-> size_t len = BITVECTOR_LENGTH (v);
# 564| int c_bit = scm_to_bool (bit);
# 565| size_t first_bit =
Error: CPPCHECK_WARNING (CWE-476): [#def365]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:566: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 564| int c_bit = scm_to_bool (bit);
# 565| size_t first_bit =
# 566|-> SCM_UNBNDP (start) ? 0 : scm_to_unsigned_integer (start, 0, len);
# 567|
# 568| if (first_bit == len)
Error: CPPCHECK_WARNING (CWE-476): [#def366]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:571: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 569| return SCM_BOOL_F;
# 570|
# 571|-> const uint32_t *bits = BITVECTOR_BITS (v);
# 572| size_t word_len = (len + 31) / 32;
# 573| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - len);
Error: CPPCHECK_WARNING (CWE-476): [#def367]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:597: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 595| #define FUNC_NAME "bitvector-set-bits!"
# 596| {
# 597|-> VALIDATE_MUTABLE_BITVECTOR (1, v);
# 598| VALIDATE_BITVECTOR (2, bits);
# 599| size_t v_len = BITVECTOR_LENGTH (v);
Error: CPPCHECK_WARNING (CWE-476): [#def368]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:598: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 596| {
# 597| VALIDATE_MUTABLE_BITVECTOR (1, v);
# 598|-> VALIDATE_BITVECTOR (2, bits);
# 599| size_t v_len = BITVECTOR_LENGTH (v);
# 600| uint32_t *v_bits = BITVECTOR_BITS (v);
Error: CPPCHECK_WARNING (CWE-476): [#def369]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:599: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 597| VALIDATE_MUTABLE_BITVECTOR (1, v);
# 598| VALIDATE_BITVECTOR (2, bits);
# 599|-> size_t v_len = BITVECTOR_LENGTH (v);
# 600| uint32_t *v_bits = BITVECTOR_BITS (v);
# 601| size_t kv_len = BITVECTOR_LENGTH (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def370]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:600: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 598| VALIDATE_BITVECTOR (2, bits);
# 599| size_t v_len = BITVECTOR_LENGTH (v);
# 600|-> uint32_t *v_bits = BITVECTOR_BITS (v);
# 601| size_t kv_len = BITVECTOR_LENGTH (bits);
# 602| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def371]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:601: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 599| size_t v_len = BITVECTOR_LENGTH (v);
# 600| uint32_t *v_bits = BITVECTOR_BITS (v);
# 601|-> size_t kv_len = BITVECTOR_LENGTH (bits);
# 602| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 603|
Error: CPPCHECK_WARNING (CWE-476): [#def372]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:602: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 600| uint32_t *v_bits = BITVECTOR_BITS (v);
# 601| size_t kv_len = BITVECTOR_LENGTH (bits);
# 602|-> const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 603|
# 604| if (v_len < kv_len)
Error: CPPCHECK_WARNING (CWE-476): [#def373]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:625: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 623| #define FUNC_NAME "bitvector-clear-bits!"
# 624| {
# 625|-> VALIDATE_MUTABLE_BITVECTOR (1, v);
# 626| VALIDATE_BITVECTOR (2, bits);
# 627| size_t v_len = BITVECTOR_LENGTH (v);
Error: CPPCHECK_WARNING (CWE-476): [#def374]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:626: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 624| {
# 625| VALIDATE_MUTABLE_BITVECTOR (1, v);
# 626|-> VALIDATE_BITVECTOR (2, bits);
# 627| size_t v_len = BITVECTOR_LENGTH (v);
# 628| uint32_t *v_bits = BITVECTOR_BITS (v);
Error: CPPCHECK_WARNING (CWE-476): [#def375]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:627: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 625| VALIDATE_MUTABLE_BITVECTOR (1, v);
# 626| VALIDATE_BITVECTOR (2, bits);
# 627|-> size_t v_len = BITVECTOR_LENGTH (v);
# 628| uint32_t *v_bits = BITVECTOR_BITS (v);
# 629| size_t kv_len = BITVECTOR_LENGTH (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def376]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:628: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 626| VALIDATE_BITVECTOR (2, bits);
# 627| size_t v_len = BITVECTOR_LENGTH (v);
# 628|-> uint32_t *v_bits = BITVECTOR_BITS (v);
# 629| size_t kv_len = BITVECTOR_LENGTH (bits);
# 630| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def377]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:629: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 627| size_t v_len = BITVECTOR_LENGTH (v);
# 628| uint32_t *v_bits = BITVECTOR_BITS (v);
# 629|-> size_t kv_len = BITVECTOR_LENGTH (bits);
# 630| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 631|
Error: CPPCHECK_WARNING (CWE-476): [#def378]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:630: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 628| uint32_t *v_bits = BITVECTOR_BITS (v);
# 629| size_t kv_len = BITVECTOR_LENGTH (bits);
# 630|-> const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 631|
# 632| if (v_len < kv_len)
Error: CPPCHECK_WARNING (CWE-476): [#def379]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:692: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 690| #define FUNC_NAME "bitvector-count-bits"
# 691| {
# 692|-> VALIDATE_BITVECTOR (1, bv);
# 693| VALIDATE_BITVECTOR (2, bits);
# 694|
Error: CPPCHECK_WARNING (CWE-476): [#def380]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:693: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 691| {
# 692| VALIDATE_BITVECTOR (1, bv);
# 693|-> VALIDATE_BITVECTOR (2, bits);
# 694|
# 695| size_t v_len = BITVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def381]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:695: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 693| VALIDATE_BITVECTOR (2, bits);
# 694|
# 695|-> size_t v_len = BITVECTOR_LENGTH (bv);
# 696| const uint32_t *v_bits = BITVECTOR_BITS (bv);
# 697| size_t kv_len = BITVECTOR_LENGTH (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def382]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:696: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 694|
# 695| size_t v_len = BITVECTOR_LENGTH (bv);
# 696|-> const uint32_t *v_bits = BITVECTOR_BITS (bv);
# 697| size_t kv_len = BITVECTOR_LENGTH (bits);
# 698| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
Error: CPPCHECK_WARNING (CWE-476): [#def383]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:697: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 695| size_t v_len = BITVECTOR_LENGTH (bv);
# 696| const uint32_t *v_bits = BITVECTOR_BITS (bv);
# 697|-> size_t kv_len = BITVECTOR_LENGTH (bits);
# 698| const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 699|
Error: CPPCHECK_WARNING (CWE-476): [#def384]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:698: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 696| const uint32_t *v_bits = BITVECTOR_BITS (bv);
# 697| size_t kv_len = BITVECTOR_LENGTH (bits);
# 698|-> const uint32_t *kv_bits = BITVECTOR_BITS (bits);
# 699|
# 700| if (v_len < kv_len)
Error: CPPCHECK_WARNING (CWE-476): [#def385]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:736: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 734| #define FUNC_NAME "bitvector-flip-all-bits!"
# 735| {
# 736|-> VALIDATE_MUTABLE_BITVECTOR (1, v);
# 737|
# 738| size_t len = BITVECTOR_LENGTH (v);
Error: CPPCHECK_WARNING (CWE-476): [#def386]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:738: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 736| VALIDATE_MUTABLE_BITVECTOR (1, v);
# 737|
# 738|-> size_t len = BITVECTOR_LENGTH (v);
# 739| uint32_t *bits = BITVECTOR_BITS (v);
# 740| size_t word_len = (len + 31) / 32;
Error: CPPCHECK_WARNING (CWE-476): [#def387]
guile30-3.0.7-build/guile-3.0.7/libguile/bitvectors.c:739: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 737|
# 738| size_t len = BITVECTOR_LENGTH (v);
# 739|-> uint32_t *bits = BITVECTOR_BITS (v);
# 740| size_t word_len = (len + 31) / 32;
# 741| uint32_t last_mask = ((uint32_t)-1) >> (32*word_len - len);
Error: CPPCHECK_WARNING (CWE-476): [#def388]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:62: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 60| #define FUNC_NAME s_scm_not
# 61| {
# 62|-> return scm_from_bool (scm_is_false (x));
# 63| }
# 64| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def389]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:79: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 77| #define FUNC_NAME s_scm_nil_p
# 78| {
# 79|-> return scm_from_bool (scm_is_lisp_false (x));
# 80| }
# 81| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def390]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:88: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 86| #define FUNC_NAME s_scm_boolean_p
# 87| {
# 88|-> return scm_from_bool (scm_is_bool (obj));
# 89| }
# 90| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def391]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:95: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 93| scm_to_bool (SCM x)
# 94| {
# 95|-> if (scm_is_false (x))
# 96| return 0;
# 97| else if (scm_is_eq (x, SCM_BOOL_T))
Error: CPPCHECK_WARNING (CWE-476): [#def392]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:97: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 95| if (scm_is_false (x))
# 96| return 0;
# 97|-> else if (scm_is_eq (x, SCM_BOOL_T))
# 98| return 1;
# 99| else
Error: CPPCHECK_WARNING (CWE-476): [#def393]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.c:111: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 109| {
# 110| /* This must match the macro definition of `scm_is_bool ()'. */
# 111|-> return scm_is_bool_or_nil (obj);
# 112| }
# 113|
Error: CPPCHECK_WARNING: [#def394]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def395]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:236: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 234| scm_num_overflow ("make-bytevector");
# 235|
# 236|-> if (SCM_UNLIKELY (len == 0 && element_type == SCM_ARRAY_ELEMENT_TYPE_VU8
# 237| && SCM_BYTEVECTOR_P (scm_null_bytevector)))
# 238| ret = scm_null_bytevector;
Error: CPPCHECK_WARNING (CWE-476): [#def396]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:250: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 248| contents += SCM_BYTEVECTOR_HEADER_BYTES;
# 249|
# 250|-> SCM_SET_BYTEVECTOR_FLAGS (ret,
# 251| element_type | SCM_F_BYTEVECTOR_CONTIGUOUS);
# 252| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
Error: CPPCHECK_WARNING (CWE-476): [#def397]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:252: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 250| SCM_SET_BYTEVECTOR_FLAGS (ret,
# 251| element_type | SCM_F_BYTEVECTOR_CONTIGUOUS);
# 252|-> SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 253| SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 254| SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
Error: CPPCHECK_WARNING (CWE-476): [#def398]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:253: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 251| element_type | SCM_F_BYTEVECTOR_CONTIGUOUS);
# 252| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 253|-> SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 254| SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
# 255| }
Error: CPPCHECK_WARNING (CWE-476): [#def399]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:254: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 252| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 253| SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 254|-> SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
# 255| }
# 256|
Error: CPPCHECK_WARNING (CWE-476): [#def400]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:280: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 278| c_len = len * (scm_i_array_element_type_sizes[element_type] / 8);
# 279|
# 280|-> SCM_SET_BYTEVECTOR_FLAGS (ret, element_type);
# 281| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 282| SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
Error: CPPCHECK_WARNING (CWE-476): [#def401]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:281: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 279|
# 280| SCM_SET_BYTEVECTOR_FLAGS (ret, element_type);
# 281|-> SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 282| SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 283| SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
Error: CPPCHECK_WARNING (CWE-476): [#def402]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:282: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 280| SCM_SET_BYTEVECTOR_FLAGS (ret, element_type);
# 281| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 282|-> SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 283| SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
# 284| }
Error: CPPCHECK_WARNING (CWE-476): [#def403]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:283: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 281| SCM_BYTEVECTOR_SET_LENGTH (ret, c_len);
# 282| SCM_BYTEVECTOR_SET_CONTENTS (ret, contents);
# 283|-> SCM_BYTEVECTOR_SET_PARENT (ret, SCM_BOOL_F);
# 284| }
# 285|
Error: CPPCHECK_WARNING (CWE-476): [#def404]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:314: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 312|
# 313| ret = make_bytevector_from_buffer (len, contents, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 314|-> SCM_BYTEVECTOR_SET_PARENT (ret, parent);
# 315|
# 316| return ret;
Error: CPPCHECK_WARNING (CWE-476): [#def405]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:326: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 324|
# 325| ret = make_bytevector_from_buffer (len, contents, element_type);
# 326|-> SCM_BYTEVECTOR_SET_PARENT (ret, parent);
# 327|
# 328| return ret;
Error: CPPCHECK_WARNING (CWE-476): [#def406]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:339: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 337| size_t c_len;
# 338|
# 339|-> if (SCM_UNLIKELY (c_new_len % SCM_BYTEVECTOR_TYPE_SIZE (bv)))
# 340| /* This would be an internal Guile programming error */
# 341| abort ();
Error: CPPCHECK_WARNING (CWE-476): [#def407]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:343: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 341| abort ();
# 342|
# 343|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 344| if (SCM_UNLIKELY (c_new_len > c_len))
# 345| abort ();
Error: CPPCHECK_WARNING (CWE-476): [#def408]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:347: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 345| abort ();
# 346|
# 347|-> SCM_BYTEVECTOR_SET_LENGTH (bv, c_new_len);
# 348|
# 349| if (SCM_BYTEVECTOR_CONTIGUOUS_P (bv))
Error: CPPCHECK_WARNING (CWE-476): [#def409]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:349: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 347| SCM_BYTEVECTOR_SET_LENGTH (bv, c_new_len);
# 348|
# 349|-> if (SCM_BYTEVECTOR_CONTIGUOUS_P (bv))
# 350| {
# 351| signed char *c_bv;
Error: CPPCHECK_WARNING (CWE-476): [#def410]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:353: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 351| signed char *c_bv;
# 352|
# 353|-> c_bv = scm_gc_realloc (SCM2PTR (bv),
# 354| c_len + SCM_BYTEVECTOR_HEADER_BYTES,
# 355| c_new_len + SCM_BYTEVECTOR_HEADER_BYTES,
Error: CPPCHECK_WARNING (CWE-476): [#def411]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:358: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 356| SCM_GC_BYTEVECTOR);
# 357| new_bv = PTR2SCM (c_bv);
# 358|-> SCM_BYTEVECTOR_SET_CONTENTS (new_bv, c_bv + SCM_BYTEVECTOR_HEADER_BYTES);
# 359| }
# 360| else
Error: CPPCHECK_WARNING (CWE-476): [#def412]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:364: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 362| signed char *c_bv;
# 363|
# 364|-> c_bv = scm_gc_realloc (SCM_BYTEVECTOR_CONTENTS (bv),
# 365| c_len, c_new_len, SCM_GC_BYTEVECTOR);
# 366| SCM_BYTEVECTOR_SET_CONTENTS (bv, c_bv);
Error: CPPCHECK_WARNING (CWE-476): [#def413]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:366: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 364| c_bv = scm_gc_realloc (SCM_BYTEVECTOR_CONTENTS (bv),
# 365| c_len, c_new_len, SCM_GC_BYTEVECTOR);
# 366|-> SCM_BYTEVECTOR_SET_CONTENTS (bv, c_bv);
# 367|
# 368| new_bv = bv;
Error: CPPCHECK_WARNING (CWE-476): [#def414]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:377: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 375| scm_is_bytevector (SCM obj)
# 376| {
# 377|-> return SCM_BYTEVECTOR_P (obj);
# 378| }
# 379|
Error: CPPCHECK_WARNING (CWE-476): [#def415]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:384: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 382| #define FUNC_NAME "scm_c_bytevector_length"
# 383| {
# 384|-> SCM_VALIDATE_BYTEVECTOR (1, bv);
# 385|
# 386| return SCM_BYTEVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def416]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:386: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 384| SCM_VALIDATE_BYTEVECTOR (1, bv);
# 385|
# 386|-> return SCM_BYTEVECTOR_LENGTH (bv);
# 387| }
# 388| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def417]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:397: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 395| const uint8_t *c_bv;
# 396|
# 397|-> SCM_VALIDATE_BYTEVECTOR (1, bv);
# 398|
# 399| c_len = SCM_BYTEVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def418]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:399: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 397| SCM_VALIDATE_BYTEVECTOR (1, bv);
# 398|
# 399|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 400| c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 401|
Error: CPPCHECK_WARNING (CWE-476): [#def419]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:400: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 398|
# 399| c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 400|-> c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 401|
# 402| if (SCM_UNLIKELY (index >= c_len))
Error: CPPCHECK_WARNING (CWE-476): [#def420]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:416: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 414| uint8_t *c_bv;
# 415|
# 416|-> SCM_VALIDATE_MUTABLE_BYTEVECTOR (1, bv);
# 417|
# 418| c_len = SCM_BYTEVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def421]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:418: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 416| SCM_VALIDATE_MUTABLE_BYTEVECTOR (1, bv);
# 417|
# 418|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 419| c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 420|
Error: CPPCHECK_WARNING (CWE-476): [#def422]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:419: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 417|
# 418| c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 419|-> c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 420|
# 421| if (SCM_UNLIKELY (index >= c_len))
Error: CPPCHECK_WARNING (CWE-476): [#def423]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:502: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 500|
# 501| SCM_VALIDATE_SIZE_COPY (1, len, c_len);
# 502|-> if (!scm_is_eq (fill, SCM_UNDEFINED))
# 503| {
# 504| int value;
Error: CPPCHECK_WARNING (CWE-476): [#def424]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:513: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 511|
# 512| bv = make_bytevector (c_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 513|-> if (!scm_is_eq (fill, SCM_UNDEFINED))
# 514| {
# 515| size_t i;
Error: CPPCHECK_WARNING (CWE-476): [#def425]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:518: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 516| uint8_t *contents;
# 517|
# 518|-> contents = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 519| for (i = 0; i < c_len; i++)
# 520| contents[i] = c_fill;
Error: CPPCHECK_WARNING (CWE-476): [#def426]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:523: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 521| }
# 522| else
# 523|-> memset (SCM_BYTEVECTOR_CONTENTS (bv), 0, c_len);
# 524|
# 525| return bv;
Error: CPPCHECK_WARNING (CWE-476): [#def427]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:547: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 545| size_t c_len1, c_len2;
# 546|
# 547|-> SCM_VALIDATE_BYTEVECTOR (1, bv1);
# 548| SCM_VALIDATE_BYTEVECTOR (2, bv2);
# 549|
Error: CPPCHECK_WARNING (CWE-476): [#def428]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:548: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 546|
# 547| SCM_VALIDATE_BYTEVECTOR (1, bv1);
# 548|-> SCM_VALIDATE_BYTEVECTOR (2, bv2);
# 549|
# 550| c_len1 = SCM_BYTEVECTOR_LENGTH (bv1);
Error: CPPCHECK_WARNING (CWE-476): [#def429]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:550: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 548| SCM_VALIDATE_BYTEVECTOR (2, bv2);
# 549|
# 550|-> c_len1 = SCM_BYTEVECTOR_LENGTH (bv1);
# 551| c_len2 = SCM_BYTEVECTOR_LENGTH (bv2);
# 552|
Error: CPPCHECK_WARNING (CWE-476): [#def430]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:551: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 549|
# 550| c_len1 = SCM_BYTEVECTOR_LENGTH (bv1);
# 551|-> c_len2 = SCM_BYTEVECTOR_LENGTH (bv2);
# 552|
# 553| if (c_len1 == c_len2 && (SCM_BYTEVECTOR_ELEMENT_TYPE (bv1)
Error: CPPCHECK_WARNING (CWE-476): [#def431]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:553: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 551| c_len2 = SCM_BYTEVECTOR_LENGTH (bv2);
# 552|
# 553|-> if (c_len1 == c_len2 && (SCM_BYTEVECTOR_ELEMENT_TYPE (bv1)
# 554| == SCM_BYTEVECTOR_ELEMENT_TYPE (bv2)))
# 555| {
Error: CPPCHECK_WARNING (CWE-476): [#def432]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:554: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 552|
# 553| if (c_len1 == c_len2 && (SCM_BYTEVECTOR_ELEMENT_TYPE (bv1)
# 554|-> == SCM_BYTEVECTOR_ELEMENT_TYPE (bv2)))
# 555| {
# 556| signed char *c_bv1, *c_bv2;
Error: CPPCHECK_WARNING (CWE-476): [#def433]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:558: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 556| signed char *c_bv1, *c_bv2;
# 557|
# 558|-> c_bv1 = SCM_BYTEVECTOR_CONTENTS (bv1);
# 559| c_bv2 = SCM_BYTEVECTOR_CONTENTS (bv2);
# 560|
Error: CPPCHECK_WARNING (CWE-476): [#def434]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:559: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 557|
# 558| c_bv1 = SCM_BYTEVECTOR_CONTENTS (bv1);
# 559|-> c_bv2 = SCM_BYTEVECTOR_CONTENTS (bv2);
# 560|
# 561| result = scm_from_bool (!memcmp (c_bv1, c_bv2, c_len1));
Error: CPPCHECK_WARNING (CWE-476): [#def435]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:577: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 575| int value;
# 576|
# 577|-> SCM_VALIDATE_MUTABLE_BYTEVECTOR (1, bv);
# 578|
# 579| value = scm_to_int (fill);
Error: CPPCHECK_WARNING (CWE-476): [#def436]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:584: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 582| c_fill = (uint8_t) value;
# 583|
# 584|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 585| c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 586|
Error: CPPCHECK_WARNING (CWE-476): [#def437]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:585: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 583|
# 584| c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 585|-> c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 586|
# 587| for (i = 0; i < c_len; i++)
Error: CPPCHECK_WARNING (CWE-476): [#def438]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:607: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 605| signed char *c_source, *c_target;
# 606|
# 607|-> SCM_VALIDATE_BYTEVECTOR (1, source);
# 608| SCM_VALIDATE_MUTABLE_BYTEVECTOR (3, target);
# 609|
Error: CPPCHECK_WARNING (CWE-476): [#def439]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:608: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 606|
# 607| SCM_VALIDATE_BYTEVECTOR (1, source);
# 608|-> SCM_VALIDATE_MUTABLE_BYTEVECTOR (3, target);
# 609|
# 610| c_len = scm_to_size_t (len);
Error: CPPCHECK_WARNING (CWE-476): [#def440]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:614: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 612| c_target_start = scm_to_size_t (target_start);
# 613|
# 614|-> c_source = SCM_BYTEVECTOR_CONTENTS (source);
# 615| c_target = SCM_BYTEVECTOR_CONTENTS (target);
# 616| c_source_len = SCM_BYTEVECTOR_LENGTH (source);
Error: CPPCHECK_WARNING (CWE-476): [#def441]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:615: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 613|
# 614| c_source = SCM_BYTEVECTOR_CONTENTS (source);
# 615|-> c_target = SCM_BYTEVECTOR_CONTENTS (target);
# 616| c_source_len = SCM_BYTEVECTOR_LENGTH (source);
# 617| c_target_len = SCM_BYTEVECTOR_LENGTH (target);
Error: CPPCHECK_WARNING (CWE-476): [#def442]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:616: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 614| c_source = SCM_BYTEVECTOR_CONTENTS (source);
# 615| c_target = SCM_BYTEVECTOR_CONTENTS (target);
# 616|-> c_source_len = SCM_BYTEVECTOR_LENGTH (source);
# 617| c_target_len = SCM_BYTEVECTOR_LENGTH (target);
# 618|
Error: CPPCHECK_WARNING (CWE-476): [#def443]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:617: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 615| c_target = SCM_BYTEVECTOR_CONTENTS (target);
# 616| c_source_len = SCM_BYTEVECTOR_LENGTH (source);
# 617|-> c_target_len = SCM_BYTEVECTOR_LENGTH (target);
# 618|
# 619| if (SCM_UNLIKELY (c_source_len < c_source_start
Error: CPPCHECK_WARNING (CWE-476): [#def444]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:643: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 641| signed char *c_bv, *c_copy;
# 642|
# 643|-> SCM_VALIDATE_BYTEVECTOR (1, bv);
# 644|
# 645| c_len = SCM_BYTEVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def445]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:645: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 643| SCM_VALIDATE_BYTEVECTOR (1, bv);
# 644|
# 645|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 646| c_bv = SCM_BYTEVECTOR_CONTENTS (bv);
# 647|
Error: CPPCHECK_WARNING (CWE-476): [#def446]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:646: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 644|
# 645| c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 646|-> c_bv = SCM_BYTEVECTOR_CONTENTS (bv);
# 647|
# 648| copy = make_bytevector (c_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
Error: CPPCHECK_WARNING (CWE-476): [#def447]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:649: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 647|
# 648| copy = make_bytevector (c_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 649|-> c_copy = SCM_BYTEVECTOR_CONTENTS (copy);
# 650| memcpy (c_copy, c_bv, c_len);
# 651|
Error: CPPCHECK_WARNING (CWE-476): [#def448]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:668: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 666|
# 667| contents = scm_array_contents (array, SCM_BOOL_T);
# 668|-> if (scm_is_false (contents))
# 669| scm_wrong_type_arg_msg (FUNC_NAME, 0, array, "uniform contiguous array");
# 670|
Error: CPPCHECK_WARNING (CWE-457): [#def449]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:687: error[legacyUninitvar]: Uninitialized variable: byte_len
# 685| SCM_MISC_ERROR ("uniform elements larger than 8 bits must fill whole bytes", SCM_EOL);
# 686|
# 687|-> ret = make_bytevector (byte_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 688| if (byte_len != 0)
# 689| /* Empty arrays may have elements == NULL. We must avoid passing
Error: CPPCHECK_WARNING (CWE-476): [#def450]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:692: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 690| NULL to memcpy, even if the length is zero, to avoid undefined
# 691| behavior. */
# 692|-> memcpy (SCM_BYTEVECTOR_CONTENTS (ret), elts, byte_len);
# 693|
# 694| scm_array_handle_release (&h);
Error: CPPCHECK_WARNING (CWE-476): [#def451]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:708: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 706| #define FUNC_NAME s_scm_bytevector_u8_ref
# 707| {
# 708|-> INTEGER_NATIVE_REF (8, unsigned);
# 709| }
# 710| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def452]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:717: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 715| #define FUNC_NAME s_scm_bytevector_s8_ref
# 716| {
# 717|-> INTEGER_NATIVE_REF (8, signed);
# 718| }
# 719| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def453]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:726: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 724| #define FUNC_NAME s_scm_bytevector_u8_set_x
# 725| {
# 726|-> INTEGER_NATIVE_SET (8, unsigned);
# 727| }
# 728| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def454]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:735: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 733| #define FUNC_NAME s_scm_bytevector_s8_set_x
# 734| {
# 735|-> INTEGER_NATIVE_SET (8, signed);
# 736| }
# 737| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def455]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:750: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 748| uint8_t *c_bv;
# 749|
# 750|-> SCM_VALIDATE_BYTEVECTOR (1, bv);
# 751|
# 752| c_len = SCM_BYTEVECTOR_LENGTH (bv);
Error: CPPCHECK_WARNING (CWE-476): [#def456]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:752: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 750| SCM_VALIDATE_BYTEVECTOR (1, bv);
# 751|
# 752|-> c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 753| c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 754|
Error: CPPCHECK_WARNING (CWE-476): [#def457]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:753: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 751|
# 752| c_len = SCM_BYTEVECTOR_LENGTH (bv);
# 753|-> c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 754|
# 755| lst = scm_make_list (scm_from_size_t (c_len), SCM_UNSPECIFIED);
Error: CPPCHECK_WARNING (CWE-476): [#def458]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:758: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 756| for (i = 0, pair = lst;
# 757| i < c_len;
# 758|-> i++, pair = SCM_CDR (pair))
# 759| {
# 760| SCM_SETCAR (pair, SCM_I_MAKINUM (c_bv[i]));
Error: CPPCHECK_WARNING (CWE-476): [#def459]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:760: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 758| i++, pair = SCM_CDR (pair))
# 759| {
# 760|-> SCM_SETCAR (pair, SCM_I_MAKINUM (c_bv[i]));
# 761| }
# 762|
Error: CPPCHECK_WARNING (CWE-476): [#def460]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:779: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 777|
# 778| bv = make_bytevector (c_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 779|-> c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 780|
# 781| for (i = 0; i < c_len; lst = SCM_CDR (lst), i++)
Error: CPPCHECK_WARNING (CWE-476): [#def461]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:781: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 779| c_bv = (uint8_t *) SCM_BYTEVECTOR_CONTENTS (bv);
# 780|
# 781|-> for (i = 0; i < c_len; lst = SCM_CDR (lst), i++)
# 782| {
# 783| item = SCM_CAR (lst);
Error: CPPCHECK_WARNING (CWE-476): [#def462]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:783: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 781| for (i = 0; i < c_len; lst = SCM_CDR (lst), i++)
# 782| {
# 783|-> item = SCM_CAR (lst);
# 784|
# 785| if (SCM_LIKELY (SCM_I_INUMP (item)))
Error: CPPCHECK_WARNING (CWE-476): [#def463]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:785: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 783| item = SCM_CAR (lst);
# 784|
# 785|-> if (SCM_LIKELY (SCM_I_INUMP (item)))
# 786| {
# 787| scm_t_signed_bits c_item;
Error: CPPCHECK_WARNING (CWE-476): [#def464]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:789: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 787| scm_t_signed_bits c_item;
# 788|
# 789|-> c_item = SCM_I_INUM (item);
# 790| if (SCM_LIKELY ((c_item >= 0) && (c_item < 256)))
# 791| c_bv[i] = (uint8_t) c_item;
Error: CPPCHECK_WARNING (CWE-476): [#def465]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:842: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 840| if (signed_p)
# 841| {
# 842|-> if (scm_is_eq (endianness, sym_big))
# 843| negative_p = c_bv[0] & 0x80;
# 844| else
Error: CPPCHECK_WARNING (CWE-476): [#def466]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:848: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 846| }
# 847|
# 848|-> c_endianness = scm_is_eq (endianness, sym_big) ? 1 : -1;
# 849|
# 850| mpz_init (c_mpz);
Error: CPPCHECK_WARNING (CWE-476): [#def467]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:875: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 873| int c_endianness, c_sign, err = 0;
# 874|
# 875|-> c_endianness = scm_is_eq (endianness, sym_big) ? 1 : -1;
# 876|
# 877| mpz_init (c_mpz);
Error: CPPCHECK_WARNING (CWE-476): [#def468]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:995: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 993| bytevector_signed_ref (const char *c_bv, size_t c_size, SCM endianness)
# 994| {
# 995|-> GENERIC_INTEGER_REF (signed);
# 996| }
# 997|
Error: CPPCHECK_WARNING (CWE-476): [#def469]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1001: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 999| bytevector_unsigned_ref (const char *c_bv, size_t c_size, SCM endianness)
# 1000| {
# 1001|-> GENERIC_INTEGER_REF (unsigned);
# 1002| }
# 1003|
Error: CPPCHECK_WARNING (CWE-476): [#def470]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1074: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1072| #define FUNC_NAME func_name
# 1073| {
# 1074|-> GENERIC_INTEGER_SET (signed);
# 1075| }
# 1076| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def471]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1084: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1082| #define FUNC_NAME func_name
# 1083| {
# 1084|-> GENERIC_INTEGER_SET (unsigned);
# 1085| }
# 1086| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def472]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1098: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1096| #define FUNC_NAME s_scm_bytevector_uint_ref
# 1097| {
# 1098|-> GENERIC_INTEGER_GETTER_PROLOGUE (unsigned);
# 1099|
# 1100| return (bytevector_unsigned_ref (&c_bv[c_index], c_size, endianness));
Error: CPPCHECK_WARNING (CWE-476): [#def473]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1110: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1108| #define FUNC_NAME s_scm_bytevector_sint_ref
# 1109| {
# 1110|-> GENERIC_INTEGER_GETTER_PROLOGUE (signed);
# 1111|
# 1112| return (bytevector_signed_ref (&c_bv[c_index], c_size, endianness));
Error: CPPCHECK_WARNING (CWE-476): [#def474]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1122: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1120| #define FUNC_NAME s_scm_bytevector_uint_set_x
# 1121| {
# 1122|-> GENERIC_INTEGER_SETTER_PROLOGUE (unsigned);
# 1123|
# 1124| bytevector_unsigned_set (&c_bv[c_index], c_size, value, endianness,
Error: CPPCHECK_WARNING (CWE-476): [#def475]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1137: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1135| #define FUNC_NAME s_scm_bytevector_sint_set_x
# 1136| {
# 1137|-> GENERIC_INTEGER_SETTER_PROLOGUE (signed);
# 1138|
# 1139| bytevector_signed_set (&c_bv[c_index], c_size, value, endianness,
Error: CPPCHECK_WARNING (CWE-476): [#def476]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1192: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1190| #define FUNC_NAME s_scm_bytevector_to_sint_list
# 1191| {
# 1192|-> INTEGERS_TO_LIST (signed);
# 1193| }
# 1194| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def477]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1203: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1201| #define FUNC_NAME s_scm_bytevector_to_uint_list
# 1202| {
# 1203|-> INTEGERS_TO_LIST (unsigned);
# 1204| }
# 1205| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def478]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1246: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1244| #define FUNC_NAME s_scm_uint_list_to_bytevector
# 1245| {
# 1246|-> INTEGER_LIST_TO_BYTEVECTOR (unsigned);
# 1247| }
# 1248| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def479]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1258: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1256| #define FUNC_NAME s_scm_sint_list_to_bytevector
# 1257| {
# 1258|-> INTEGER_LIST_TO_BYTEVECTOR (signed);
# 1259| }
# 1260| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def480]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1275: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1273| #define FUNC_NAME s_scm_bytevector_u16_ref
# 1274| {
# 1275|-> INTEGER_REF (16, unsigned);
# 1276| }
# 1277| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def481]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1286: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1284| #define FUNC_NAME s_scm_bytevector_s16_ref
# 1285| {
# 1286|-> INTEGER_REF (16, signed);
# 1287| }
# 1288| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def482]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1297: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1295| #define FUNC_NAME s_scm_bytevector_u16_native_ref
# 1296| {
# 1297|-> INTEGER_NATIVE_REF (16, unsigned);
# 1298| }
# 1299| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def483]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1308: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1306| #define FUNC_NAME s_scm_bytevector_s16_native_ref
# 1307| {
# 1308|-> INTEGER_NATIVE_REF (16, signed);
# 1309| }
# 1310| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def484]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1319: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1317| #define FUNC_NAME s_scm_bytevector_u16_set_x
# 1318| {
# 1319|-> INTEGER_SET (16, unsigned);
# 1320| }
# 1321| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def485]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1330: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1328| #define FUNC_NAME s_scm_bytevector_s16_set_x
# 1329| {
# 1330|-> INTEGER_SET (16, signed);
# 1331| }
# 1332| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def486]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1341: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1339| #define FUNC_NAME s_scm_bytevector_u16_native_set_x
# 1340| {
# 1341|-> INTEGER_NATIVE_SET (16, unsigned);
# 1342| }
# 1343| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def487]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1352: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1350| #define FUNC_NAME s_scm_bytevector_s16_native_set_x
# 1351| {
# 1352|-> INTEGER_NATIVE_SET (16, signed);
# 1353| }
# 1354| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def488]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1409: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1407| {
# 1408| #if SIZEOF_VOID_P > 4
# 1409|-> INTEGER_REF (32, unsigned);
# 1410| #else
# 1411| LARGE_INTEGER_REF (32, unsigned);
Error: CPPCHECK_WARNING (CWE-476): [#def489]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1424: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1422| {
# 1423| #if SIZEOF_VOID_P > 4
# 1424|-> INTEGER_REF (32, signed);
# 1425| #else
# 1426| LARGE_INTEGER_REF (32, signed);
Error: CPPCHECK_WARNING (CWE-476): [#def490]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1439: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1437| {
# 1438| #if SIZEOF_VOID_P > 4
# 1439|-> INTEGER_NATIVE_REF (32, unsigned);
# 1440| #else
# 1441| LARGE_INTEGER_NATIVE_REF (32, unsigned);
Error: CPPCHECK_WARNING (CWE-476): [#def491]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1454: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1452| {
# 1453| #if SIZEOF_VOID_P > 4
# 1454|-> INTEGER_NATIVE_REF (32, signed);
# 1455| #else
# 1456| LARGE_INTEGER_NATIVE_REF (32, signed);
Error: CPPCHECK_WARNING (CWE-476): [#def492]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1469: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1467| {
# 1468| #if SIZEOF_VOID_P > 4
# 1469|-> INTEGER_SET (32, unsigned);
# 1470| #else
# 1471| LARGE_INTEGER_SET (32, unsigned);
Error: CPPCHECK_WARNING (CWE-476): [#def493]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1484: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1482| {
# 1483| #if SIZEOF_VOID_P > 4
# 1484|-> INTEGER_SET (32, signed);
# 1485| #else
# 1486| LARGE_INTEGER_SET (32, signed);
Error: CPPCHECK_WARNING (CWE-476): [#def494]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1499: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1497| {
# 1498| #if SIZEOF_VOID_P > 4
# 1499|-> INTEGER_NATIVE_SET (32, unsigned);
# 1500| #else
# 1501| LARGE_INTEGER_NATIVE_SET (32, unsigned);
Error: CPPCHECK_WARNING (CWE-476): [#def495]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1514: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1512| {
# 1513| #if SIZEOF_VOID_P > 4
# 1514|-> INTEGER_NATIVE_SET (32, signed);
# 1515| #else
# 1516| LARGE_INTEGER_NATIVE_SET (32, signed);
Error: CPPCHECK_WARNING (CWE-476): [#def496]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1534: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1532| #define FUNC_NAME s_scm_bytevector_u64_ref
# 1533| {
# 1534|-> LARGE_INTEGER_REF (64, unsigned);
# 1535| }
# 1536| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def497]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1545: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1543| #define FUNC_NAME s_scm_bytevector_s64_ref
# 1544| {
# 1545|-> LARGE_INTEGER_REF (64, signed);
# 1546| }
# 1547| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def498]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1556: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1554| #define FUNC_NAME s_scm_bytevector_u64_native_ref
# 1555| {
# 1556|-> LARGE_INTEGER_NATIVE_REF (64, unsigned);
# 1557| }
# 1558| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def499]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1567: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1565| #define FUNC_NAME s_scm_bytevector_s64_native_ref
# 1566| {
# 1567|-> LARGE_INTEGER_NATIVE_REF (64, signed);
# 1568| }
# 1569| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def500]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1578: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1576| #define FUNC_NAME s_scm_bytevector_u64_set_x
# 1577| {
# 1578|-> LARGE_INTEGER_SET (64, unsigned);
# 1579| }
# 1580| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def501]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1589: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1587| #define FUNC_NAME s_scm_bytevector_s64_set_x
# 1588| {
# 1589|-> LARGE_INTEGER_SET (64, signed);
# 1590| }
# 1591| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def502]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1600: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1598| #define FUNC_NAME s_scm_bytevector_u64_native_set_x
# 1599| {
# 1600|-> LARGE_INTEGER_NATIVE_SET (64, unsigned);
# 1601| }
# 1602| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def503]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1611: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1609| #define FUNC_NAME s_scm_bytevector_s64_native_set_x
# 1610| {
# 1611|-> LARGE_INTEGER_NATIVE_SET (64, signed);
# 1612| }
# 1613| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def504]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1774: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1772| #define FUNC_NAME s_scm_bytevector_ieee_single_ref
# 1773| {
# 1774|-> IEEE754_REF (float);
# 1775| }
# 1776| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def505]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1786: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1784| #define FUNC_NAME s_scm_bytevector_ieee_single_native_ref
# 1785| {
# 1786|-> IEEE754_NATIVE_REF (float);
# 1787| }
# 1788| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def506]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1798: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1796| #define FUNC_NAME s_scm_bytevector_ieee_single_set_x
# 1797| {
# 1798|-> IEEE754_SET (float);
# 1799| }
# 1800| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def507]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1810: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1808| #define FUNC_NAME s_scm_bytevector_ieee_single_native_set_x
# 1809| {
# 1810|-> IEEE754_NATIVE_SET (float);
# 1811| }
# 1812| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def508]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1825: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1823| #define FUNC_NAME s_scm_bytevector_ieee_double_ref
# 1824| {
# 1825|-> IEEE754_REF (double);
# 1826| }
# 1827| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def509]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1837: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1835| #define FUNC_NAME s_scm_bytevector_ieee_double_native_ref
# 1836| {
# 1837|-> IEEE754_NATIVE_REF (double);
# 1838| }
# 1839| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def510]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1849: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1847| #define FUNC_NAME s_scm_bytevector_ieee_double_set_x
# 1848| {
# 1849|-> IEEE754_SET (double);
# 1850| }
# 1851| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def511]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1861: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1859| #define FUNC_NAME s_scm_bytevector_ieee_double_native_set_x
# 1860| {
# 1861|-> IEEE754_NATIVE_SET (double);
# 1862| }
# 1863| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def512]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1919: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1917| : "??"))));
# 1918| strcat (name,
# 1919|-> ((scm_is_eq (endianness, sym_big))
# 1920| ? "BE"
# 1921| : ((scm_is_eq (endianness, sym_little))
Error: CPPCHECK_WARNING (CWE-476): [#def513]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1921: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1919| ((scm_is_eq (endianness, sym_big))
# 1920| ? "BE"
# 1921|-> : ((scm_is_eq (endianness, sym_little))
# 1922| ? "LE"
# 1923| : "unknown")));
Error: CPPCHECK_WARNING (CWE-476): [#def514]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:1992: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1990| c_utf = (uint8_t *) scm_to_utf8_stringn (str, &c_utf_len);
# 1991| utf = make_bytevector (c_utf_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 1992|-> memcpy (SCM_BYTEVECTOR_CONTENTS (utf), c_utf, c_utf_len);
# 1993| free (c_utf);
# 1994|
Error: CPPCHECK_WARNING (CWE-476): [#def515]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2006: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2004| #define FUNC_NAME s_scm_string_to_utf16
# 2005| {
# 2006|-> STRING_TO_UTF (16);
# 2007| }
# 2008| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def516]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2031: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2029| wchars = scm_to_utf32_stringn (str, &wchar_len);
# 2030| bytes_len = wchar_len * sizeof (scm_t_wchar);
# 2031|-> if (!scm_is_eq (SCM_UNBNDP (endianness) ? scm_endianness_big : endianness,
# 2032| scm_i_native_endianness))
# 2033| swap_u32 (wchars, wchar_len);
Error: CPPCHECK_WARNING (CWE-476): [#def517]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2036: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2034|
# 2035| bv = make_bytevector (bytes_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
# 2036|-> memcpy (SCM_BYTEVECTOR_CONTENTS (bv), wchars, bytes_len);
# 2037| free (wchars);
# 2038|
Error: CPPCHECK_WARNING (CWE-476): [#def518]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2090: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2088| size_t c_utf_len = 0;
# 2089|
# 2090|-> SCM_VALIDATE_BYTEVECTOR (1, utf);
# 2091|
# 2092| c_utf_len = SCM_BYTEVECTOR_LENGTH (utf);
Error: CPPCHECK_WARNING (CWE-476): [#def519]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2092: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2090| SCM_VALIDATE_BYTEVECTOR (1, utf);
# 2091|
# 2092|-> c_utf_len = SCM_BYTEVECTOR_LENGTH (utf);
# 2093| c_utf = (char *) SCM_BYTEVECTOR_CONTENTS (utf);
# 2094| str = scm_from_utf8_stringn (c_utf, c_utf_len);
Error: CPPCHECK_WARNING (CWE-476): [#def520]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2093: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2091|
# 2092| c_utf_len = SCM_BYTEVECTOR_LENGTH (utf);
# 2093|-> c_utf = (char *) SCM_BYTEVECTOR_CONTENTS (utf);
# 2094| str = scm_from_utf8_stringn (c_utf, c_utf_len);
# 2095|
Error: CPPCHECK_WARNING (CWE-476): [#def521]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2107: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2105| #define FUNC_NAME s_scm_utf16_to_string
# 2106| {
# 2107|-> UTF_TO_STRING (16);
# 2108| }
# 2109| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def522]
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.c:2118: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 2116| #define FUNC_NAME s_scm_utf32_to_string
# 2117| {
# 2118|-> UTF_TO_STRING (32);
# 2119| }
# 2120| #undef FUNC_NAME
Error: CPPCHECK_WARNING: [#def523]
guile30-3.0.7-build/guile-3.0.7/libguile/c-tokenize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def524]
guile30-3.0.7-build/guile-3.0.7/libguile/cache-internal.h:79: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 77| scm_cache_lookup (struct scm_cache *cache, SCM k)
# 78| {
# 79|-> scm_t_bits k_bits = SCM_UNPACK (k);
# 80| struct scm_cache_entry *entry = cache->entries;
# 81| /* Unrolled binary search, compiled to branchless cmp + cmov chain. */
Error: CPPCHECK_WARNING (CWE-476): [#def525]
guile30-3.0.7-build/guile-3.0.7/libguile/cache-internal.h:98: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 96| scm_cache_evict_1 (cache, evicted);
# 97| entry = scm_cache_lookup (cache, k);
# 98|-> if (entry->key == SCM_UNPACK (k))
# 99| {
# 100| entry->value = SCM_UNPACK (v);
Error: CPPCHECK_WARNING (CWE-476): [#def526]
guile30-3.0.7-build/guile-3.0.7/libguile/cache-internal.h:100: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 98| if (entry->key == SCM_UNPACK (k))
# 99| {
# 100|-> entry->value = SCM_UNPACK (v);
# 101| return;
# 102| }
Error: CPPCHECK_WARNING (CWE-476): [#def527]
guile30-3.0.7-build/guile-3.0.7/libguile/cache-internal.h:106: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 104| cache->entries + 1,
# 105| (entry - cache->entries) * sizeof (*entry));
# 106|-> entry->key = SCM_UNPACK (k);
# 107| entry->value = SCM_UNPACK (v);
# 108| }
Error: CPPCHECK_WARNING (CWE-476): [#def528]
guile30-3.0.7-build/guile-3.0.7/libguile/cache-internal.h:107: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 105| (entry - cache->entries) * sizeof (*entry));
# 106| entry->key = SCM_UNPACK (k);
# 107|-> entry->value = SCM_UNPACK (v);
# 108| }
# 109|
Error: CPPCHECK_WARNING: [#def529]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def530]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:50: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 48| #define FUNC_NAME s_scm_char_p
# 49| {
# 50|-> return scm_from_bool (SCM_CHARP(x));
# 51| }
# 52| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def531]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:61: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 59| #define FUNC_NAME s_scm_i_char_eq_p
# 60| {
# 61|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 62| return SCM_BOOL_T;
# 63| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def532]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:63: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 61| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 62| return SCM_BOOL_T;
# 63|-> while (!scm_is_null (rest))
# 64| {
# 65| if (scm_is_false (scm_char_eq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def533]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:65: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 63| while (!scm_is_null (rest))
# 64| {
# 65|-> if (scm_is_false (scm_char_eq_p (x, y)))
# 66| return SCM_BOOL_F;
# 67| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def534]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:78: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 76| #define FUNC_NAME s_scm_i_char_eq_p
# 77| {
# 78|-> SCM_VALIDATE_CHAR (1, x);
# 79| SCM_VALIDATE_CHAR (2, y);
# 80| return scm_from_bool (scm_is_eq (x, y));
Error: CPPCHECK_WARNING (CWE-476): [#def535]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:79: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 77| {
# 78| SCM_VALIDATE_CHAR (1, x);
# 79|-> SCM_VALIDATE_CHAR (2, y);
# 80| return scm_from_bool (scm_is_eq (x, y));
# 81| }
Error: CPPCHECK_WARNING (CWE-476): [#def536]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:80: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 78| SCM_VALIDATE_CHAR (1, x);
# 79| SCM_VALIDATE_CHAR (2, y);
# 80|-> return scm_from_bool (scm_is_eq (x, y));
# 81| }
# 82| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def537]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:92: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 90| #define FUNC_NAME s_scm_i_char_less_p
# 91| {
# 92|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 93| return SCM_BOOL_T;
# 94| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def538]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:94: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 92| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 93| return SCM_BOOL_T;
# 94|-> while (!scm_is_null (rest))
# 95| {
# 96| if (scm_is_false (scm_char_less_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def539]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:96: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 94| while (!scm_is_null (rest))
# 95| {
# 96|-> if (scm_is_false (scm_char_less_p (x, y)))
# 97| return SCM_BOOL_F;
# 98| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def540]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:109: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 107| #define FUNC_NAME s_scm_i_char_less_p
# 108| {
# 109|-> SCM_VALIDATE_CHAR (1, x);
# 110| SCM_VALIDATE_CHAR (2, y);
# 111| return scm_from_bool (SCM_CHAR(x) < SCM_CHAR(y));
Error: CPPCHECK_WARNING (CWE-476): [#def541]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:110: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 108| {
# 109| SCM_VALIDATE_CHAR (1, x);
# 110|-> SCM_VALIDATE_CHAR (2, y);
# 111| return scm_from_bool (SCM_CHAR(x) < SCM_CHAR(y));
# 112| }
Error: CPPCHECK_WARNING (CWE-476): [#def542]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:111: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 109| SCM_VALIDATE_CHAR (1, x);
# 110| SCM_VALIDATE_CHAR (2, y);
# 111|-> return scm_from_bool (SCM_CHAR(x) < SCM_CHAR(y));
# 112| }
# 113| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def543]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:122: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 120| #define FUNC_NAME s_scm_i_char_leq_p
# 121| {
# 122|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 123| return SCM_BOOL_T;
# 124| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def544]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:124: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 122| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 123| return SCM_BOOL_T;
# 124|-> while (!scm_is_null (rest))
# 125| {
# 126| if (scm_is_false (scm_char_leq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def545]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:126: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 124| while (!scm_is_null (rest))
# 125| {
# 126|-> if (scm_is_false (scm_char_leq_p (x, y)))
# 127| return SCM_BOOL_F;
# 128| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def546]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:139: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 137| #define FUNC_NAME s_scm_i_char_leq_p
# 138| {
# 139|-> SCM_VALIDATE_CHAR (1, x);
# 140| SCM_VALIDATE_CHAR (2, y);
# 141| return scm_from_bool (SCM_CHAR(x) <= SCM_CHAR(y));
Error: CPPCHECK_WARNING (CWE-476): [#def547]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:140: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 138| {
# 139| SCM_VALIDATE_CHAR (1, x);
# 140|-> SCM_VALIDATE_CHAR (2, y);
# 141| return scm_from_bool (SCM_CHAR(x) <= SCM_CHAR(y));
# 142| }
Error: CPPCHECK_WARNING (CWE-476): [#def548]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:141: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 139| SCM_VALIDATE_CHAR (1, x);
# 140| SCM_VALIDATE_CHAR (2, y);
# 141|-> return scm_from_bool (SCM_CHAR(x) <= SCM_CHAR(y));
# 142| }
# 143| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def549]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 150| #define FUNC_NAME s_scm_i_char_gr_p
# 151| {
# 152|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 153| return SCM_BOOL_T;
# 154| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def550]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:154: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 152| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 153| return SCM_BOOL_T;
# 154|-> while (!scm_is_null (rest))
# 155| {
# 156| if (scm_is_false (scm_char_gr_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def551]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:156: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 154| while (!scm_is_null (rest))
# 155| {
# 156|-> if (scm_is_false (scm_char_gr_p (x, y)))
# 157| return SCM_BOOL_F;
# 158| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def552]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:169: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 167| #define FUNC_NAME s_scm_i_char_gr_p
# 168| {
# 169|-> SCM_VALIDATE_CHAR (1, x);
# 170| SCM_VALIDATE_CHAR (2, y);
# 171| return scm_from_bool (SCM_CHAR(x) > SCM_CHAR(y));
Error: CPPCHECK_WARNING (CWE-476): [#def553]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:170: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 168| {
# 169| SCM_VALIDATE_CHAR (1, x);
# 170|-> SCM_VALIDATE_CHAR (2, y);
# 171| return scm_from_bool (SCM_CHAR(x) > SCM_CHAR(y));
# 172| }
Error: CPPCHECK_WARNING (CWE-476): [#def554]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:171: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 169| SCM_VALIDATE_CHAR (1, x);
# 170| SCM_VALIDATE_CHAR (2, y);
# 171|-> return scm_from_bool (SCM_CHAR(x) > SCM_CHAR(y));
# 172| }
# 173| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def555]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:182: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 180| #define FUNC_NAME s_scm_i_char_geq_p
# 181| {
# 182|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 183| return SCM_BOOL_T;
# 184| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def556]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:184: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 182| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 183| return SCM_BOOL_T;
# 184|-> while (!scm_is_null (rest))
# 185| {
# 186| if (scm_is_false (scm_char_geq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def557]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:186: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 184| while (!scm_is_null (rest))
# 185| {
# 186|-> if (scm_is_false (scm_char_geq_p (x, y)))
# 187| return SCM_BOOL_F;
# 188| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def558]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:199: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 197| #define FUNC_NAME s_scm_i_char_geq_p
# 198| {
# 199|-> SCM_VALIDATE_CHAR (1, x);
# 200| SCM_VALIDATE_CHAR (2, y);
# 201| return scm_from_bool (SCM_CHAR(x) >= SCM_CHAR(y));
Error: CPPCHECK_WARNING (CWE-476): [#def559]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:200: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 198| {
# 199| SCM_VALIDATE_CHAR (1, x);
# 200|-> SCM_VALIDATE_CHAR (2, y);
# 201| return scm_from_bool (SCM_CHAR(x) >= SCM_CHAR(y));
# 202| }
Error: CPPCHECK_WARNING (CWE-476): [#def560]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:201: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 199| SCM_VALIDATE_CHAR (1, x);
# 200| SCM_VALIDATE_CHAR (2, y);
# 201|-> return scm_from_bool (SCM_CHAR(x) >= SCM_CHAR(y));
# 202| }
# 203| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def561]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:219: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 217| #define FUNC_NAME s_scm_i_char_ci_eq_p
# 218| {
# 219|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 220| return SCM_BOOL_T;
# 221| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def562]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:221: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 219| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 220| return SCM_BOOL_T;
# 221|-> while (!scm_is_null (rest))
# 222| {
# 223| if (scm_is_false (scm_char_ci_eq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def563]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:223: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 221| while (!scm_is_null (rest))
# 222| {
# 223|-> if (scm_is_false (scm_char_ci_eq_p (x, y)))
# 224| return SCM_BOOL_F;
# 225| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def564]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:236: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 234| #define FUNC_NAME s_scm_i_char_ci_eq_p
# 235| {
# 236|-> SCM_VALIDATE_CHAR (1, x);
# 237| SCM_VALIDATE_CHAR (2, y);
# 238| return scm_from_bool (scm_c_upcase(SCM_CHAR(x))==scm_c_upcase(SCM_CHAR(y)));
Error: CPPCHECK_WARNING (CWE-476): [#def565]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:237: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 235| {
# 236| SCM_VALIDATE_CHAR (1, x);
# 237|-> SCM_VALIDATE_CHAR (2, y);
# 238| return scm_from_bool (scm_c_upcase(SCM_CHAR(x))==scm_c_upcase(SCM_CHAR(y)));
# 239| }
Error: CPPCHECK_WARNING (CWE-476): [#def566]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:238: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 236| SCM_VALIDATE_CHAR (1, x);
# 237| SCM_VALIDATE_CHAR (2, y);
# 238|-> return scm_from_bool (scm_c_upcase(SCM_CHAR(x))==scm_c_upcase(SCM_CHAR(y)));
# 239| }
# 240| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def567]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:249: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 247| #define FUNC_NAME s_scm_i_char_ci_less_p
# 248| {
# 249|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 250| return SCM_BOOL_T;
# 251| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def568]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:251: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 249| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 250| return SCM_BOOL_T;
# 251|-> while (!scm_is_null (rest))
# 252| {
# 253| if (scm_is_false (scm_char_ci_less_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def569]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:253: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 251| while (!scm_is_null (rest))
# 252| {
# 253|-> if (scm_is_false (scm_char_ci_less_p (x, y)))
# 254| return SCM_BOOL_F;
# 255| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def570]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:266: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 264| #define FUNC_NAME s_scm_i_char_ci_less_p
# 265| {
# 266|-> SCM_VALIDATE_CHAR (1, x);
# 267| SCM_VALIDATE_CHAR (2, y);
# 268| return scm_from_bool ((scm_c_upcase(SCM_CHAR(x))) < scm_c_upcase(SCM_CHAR(y)));
Error: CPPCHECK_WARNING (CWE-476): [#def571]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:267: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 265| {
# 266| SCM_VALIDATE_CHAR (1, x);
# 267|-> SCM_VALIDATE_CHAR (2, y);
# 268| return scm_from_bool ((scm_c_upcase(SCM_CHAR(x))) < scm_c_upcase(SCM_CHAR(y)));
# 269| }
Error: CPPCHECK_WARNING (CWE-476): [#def572]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:268: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 266| SCM_VALIDATE_CHAR (1, x);
# 267| SCM_VALIDATE_CHAR (2, y);
# 268|-> return scm_from_bool ((scm_c_upcase(SCM_CHAR(x))) < scm_c_upcase(SCM_CHAR(y)));
# 269| }
# 270| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def573]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:280: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 278| #define FUNC_NAME s_scm_i_char_ci_leq_p
# 279| {
# 280|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 281| return SCM_BOOL_T;
# 282| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def574]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:282: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 280| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 281| return SCM_BOOL_T;
# 282|-> while (!scm_is_null (rest))
# 283| {
# 284| if (scm_is_false (scm_char_ci_leq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def575]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:284: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 282| while (!scm_is_null (rest))
# 283| {
# 284|-> if (scm_is_false (scm_char_ci_leq_p (x, y)))
# 285| return SCM_BOOL_F;
# 286| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def576]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:297: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 295| #define FUNC_NAME s_scm_i_char_ci_leq_p
# 296| {
# 297|-> SCM_VALIDATE_CHAR (1, x);
# 298| SCM_VALIDATE_CHAR (2, y);
# 299| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) <= scm_c_upcase(SCM_CHAR(y)));
Error: CPPCHECK_WARNING (CWE-476): [#def577]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:298: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 296| {
# 297| SCM_VALIDATE_CHAR (1, x);
# 298|-> SCM_VALIDATE_CHAR (2, y);
# 299| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) <= scm_c_upcase(SCM_CHAR(y)));
# 300| }
Error: CPPCHECK_WARNING (CWE-476): [#def578]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:299: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 297| SCM_VALIDATE_CHAR (1, x);
# 298| SCM_VALIDATE_CHAR (2, y);
# 299|-> return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) <= scm_c_upcase(SCM_CHAR(y)));
# 300| }
# 301| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def579]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:310: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 308| #define FUNC_NAME s_scm_i_char_ci_gr_p
# 309| {
# 310|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 311| return SCM_BOOL_T;
# 312| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def580]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:312: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 310| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 311| return SCM_BOOL_T;
# 312|-> while (!scm_is_null (rest))
# 313| {
# 314| if (scm_is_false (scm_char_ci_gr_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def581]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:314: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 312| while (!scm_is_null (rest))
# 313| {
# 314|-> if (scm_is_false (scm_char_ci_gr_p (x, y)))
# 315| return SCM_BOOL_F;
# 316| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def582]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:327: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 325| #define FUNC_NAME s_scm_i_char_ci_gr_p
# 326| {
# 327|-> SCM_VALIDATE_CHAR (1, x);
# 328| SCM_VALIDATE_CHAR (2, y);
# 329| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) > scm_c_upcase(SCM_CHAR(y)));
Error: CPPCHECK_WARNING (CWE-476): [#def583]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:328: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 326| {
# 327| SCM_VALIDATE_CHAR (1, x);
# 328|-> SCM_VALIDATE_CHAR (2, y);
# 329| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) > scm_c_upcase(SCM_CHAR(y)));
# 330| }
Error: CPPCHECK_WARNING (CWE-476): [#def584]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:329: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 327| SCM_VALIDATE_CHAR (1, x);
# 328| SCM_VALIDATE_CHAR (2, y);
# 329|-> return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) > scm_c_upcase(SCM_CHAR(y)));
# 330| }
# 331| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def585]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:341: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 339| #define FUNC_NAME s_scm_i_char_ci_geq_p
# 340| {
# 341|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 342| return SCM_BOOL_T;
# 343| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def586]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:343: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 341| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 342| return SCM_BOOL_T;
# 343|-> while (!scm_is_null (rest))
# 344| {
# 345| if (scm_is_false (scm_char_ci_geq_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def587]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:345: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 343| while (!scm_is_null (rest))
# 344| {
# 345|-> if (scm_is_false (scm_char_ci_geq_p (x, y)))
# 346| return SCM_BOOL_F;
# 347| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def588]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:358: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 356| #define FUNC_NAME s_scm_i_char_ci_geq_p
# 357| {
# 358|-> SCM_VALIDATE_CHAR (1, x);
# 359| SCM_VALIDATE_CHAR (2, y);
# 360| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) >= scm_c_upcase(SCM_CHAR(y)));
Error: CPPCHECK_WARNING (CWE-476): [#def589]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:359: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 357| {
# 358| SCM_VALIDATE_CHAR (1, x);
# 359|-> SCM_VALIDATE_CHAR (2, y);
# 360| return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) >= scm_c_upcase(SCM_CHAR(y)));
# 361| }
Error: CPPCHECK_WARNING (CWE-476): [#def590]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:360: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 358| SCM_VALIDATE_CHAR (1, x);
# 359| SCM_VALIDATE_CHAR (2, y);
# 360|-> return scm_from_bool (scm_c_upcase(SCM_CHAR(x)) >= scm_c_upcase(SCM_CHAR(y)));
# 361| }
# 362| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def591]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:418: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 416| #define FUNC_NAME s_scm_char_is_both_p
# 417| {
# 418|-> if (scm_is_true (scm_char_set_contains_p (scm_char_set_lower_case, chr)))
# 419| return SCM_BOOL_T;
# 420| return scm_char_set_contains_p (scm_char_set_upper_case, chr);
Error: CPPCHECK_WARNING (CWE-476): [#def592]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:430: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 428| #define FUNC_NAME s_scm_char_to_integer
# 429| {
# 430|-> SCM_VALIDATE_CHAR (1, chr);
# 431| return scm_from_uint32 (SCM_CHAR(chr));
# 432| }
Error: CPPCHECK_WARNING (CWE-476): [#def593]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:431: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 429| {
# 430| SCM_VALIDATE_CHAR (1, chr);
# 431|-> return scm_from_uint32 (SCM_CHAR(chr));
# 432| }
# 433| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def594]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:462: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 460| #define FUNC_NAME s_scm_char_upcase
# 461| {
# 462|-> SCM_VALIDATE_CHAR (1, chr);
# 463| return scm_c_make_char (scm_c_upcase (SCM_CHAR (chr)));
# 464| }
Error: CPPCHECK_WARNING (CWE-476): [#def595]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:463: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 461| {
# 462| SCM_VALIDATE_CHAR (1, chr);
# 463|-> return scm_c_make_char (scm_c_upcase (SCM_CHAR (chr)));
# 464| }
# 465| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def596]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:473: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 471| #define FUNC_NAME s_scm_char_downcase
# 472| {
# 473|-> SCM_VALIDATE_CHAR (1, chr);
# 474| return scm_c_make_char (scm_c_downcase (SCM_CHAR(chr)));
# 475| }
Error: CPPCHECK_WARNING (CWE-476): [#def597]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:474: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 472| {
# 473| SCM_VALIDATE_CHAR (1, chr);
# 474|-> return scm_c_make_char (scm_c_downcase (SCM_CHAR(chr)));
# 475| }
# 476| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def598]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:483: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 481| #define FUNC_NAME s_scm_char_titlecase
# 482| {
# 483|-> SCM_VALIDATE_CHAR (1, chr);
# 484| return scm_c_make_char (scm_c_titlecase (SCM_CHAR(chr)));
# 485| }
Error: CPPCHECK_WARNING (CWE-476): [#def599]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:484: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 482| {
# 483| SCM_VALIDATE_CHAR (1, chr);
# 484|-> return scm_c_make_char (scm_c_titlecase (SCM_CHAR(chr)));
# 485| }
# 486| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def600]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:497: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 495| uc_general_category_t cat;
# 496|
# 497|-> SCM_VALIDATE_CHAR (1, chr);
# 498| cat = uc_general_category (SCM_CHAR (chr));
# 499| sym = uc_general_category_name (cat);
Error: CPPCHECK_WARNING (CWE-476): [#def601]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:498: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 496|
# 497| SCM_VALIDATE_CHAR (1, chr);
# 498|-> cat = uc_general_category (SCM_CHAR (chr));
# 499| sym = uc_general_category_name (cat);
# 500|
Error: CPPCHECK_WARNING (CWE-476): [#def602]
guile30-3.0.7-build/guile-3.0.7/libguile/chars.c:610: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 608| {
# 609| size_t c;
# 610|-> uint32_t i = SCM_CHAR (chr);
# 611|
# 612| for (c = 0; c < SCM_N_R5RS_CHARNAMES; c++)
Error: CPPCHECK_WARNING (CWE-476): [#def603]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:107: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 105|
# 106| ret = scm_words (scm_tc7_program | (nfree << 16) | flags, nfree + 2);
# 107|-> SCM_SET_CELL_WORD_1 (ret, goto_continuation_code.code);
# 108| SCM_PROGRAM_FREE_VARIABLE_SET (ret, 0, contregs);
# 109|
Error: CPPCHECK_WARNING (CWE-476): [#def604]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:108: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 106| ret = scm_words (scm_tc7_program | (nfree << 16) | flags, nfree + 2);
# 107| SCM_SET_CELL_WORD_1 (ret, goto_continuation_code.code);
# 108|-> SCM_PROGRAM_FREE_VARIABLE_SET (ret, 0, contregs);
# 109|
# 110| return ret;
Error: CPPCHECK_WARNING (CWE-476): [#def605]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| continuation_print (SCM obj, SCM port, scm_print_state *state SCM_UNUSED)
# 120| {
# 121|-> scm_t_contregs *continuation = SCM_CONTREGS (obj);
# 122|
# 123| scm_puts ("#<continuation ", port);
Error: CPPCHECK_WARNING (CWE-476): [#def606]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:126: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 124| scm_intprint (continuation->num_stack_items, 10, port);
# 125| scm_puts (" @ ", port);
# 126|-> scm_uintprint (SCM_SMOB_DATA_1 (obj), 16, port);
# 127| scm_putc ('>', port);
# 128| return 1;
Error: CPPCHECK_WARNING (CWE-476): [#def607]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:221: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 219| scm_t_contregs *cont;
# 220|
# 221|-> contregs = SCM_PROGRAM_FREE_VARIABLE_REF (continuation, 0);
# 222| cont = SCM_CONTREGS (contregs);
# 223|
Error: CPPCHECK_WARNING (CWE-476): [#def608]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:222: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 220|
# 221| contregs = SCM_PROGRAM_FREE_VARIABLE_REF (continuation, 0);
# 222|-> cont = SCM_CONTREGS (contregs);
# 223|
# 224| if (scm_is_true (cont->vm_cont))
Error: CPPCHECK_WARNING (CWE-476): [#def609]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:224: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 222| cont = SCM_CONTREGS (contregs);
# 223|
# 224|-> if (scm_is_true (cont->vm_cont))
# 225| {
# 226| struct scm_vm_cont *data = SCM_VM_CONT_DATA (cont->vm_cont);
Error: CPPCHECK_WARNING (CWE-476): [#def610]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:226: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 224| if (scm_is_true (cont->vm_cont))
# 225| {
# 226|-> struct scm_vm_cont *data = SCM_VM_CONT_DATA (cont->vm_cont);
# 227|
# 228| frame->stack_holder = data;
Error: CPPCHECK_WARNING (CWE-476): [#def611]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:242: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 240| scm_i_contregs (SCM contregs)
# 241| {
# 242|-> if (!SCM_CONTREGSP (contregs))
# 243| abort ();
# 244|
Error: CPPCHECK_WARNING (CWE-476): [#def612]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:245: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 243| abort ();
# 244|
# 245|-> return SCM_CONTREGS (contregs);
# 246| }
# 247|
Error: CPPCHECK_WARNING (CWE-476): [#def613]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:298: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 296| scm_thread *thread = SCM_I_CURRENT_THREAD;
# 297|
# 298|-> dynstack = SCM_VM_CONT_DATA (continuation->vm_cont)->dynstack;
# 299|
# 300| joint = scm_dynstack_unwind_fork (&thread->dynstack, dynstack);
Error: CPPCHECK_WARNING (CWE-476): [#def614]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:320: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 318| {
# 319| scm_thread *thread = SCM_I_CURRENT_THREAD;
# 320|-> scm_t_contregs *continuation = SCM_CONTREGS (cont);
# 321| SCM_STACKITEM *dst = thread->continuation_base;
# 322| SCM_STACKITEM stack_top_element;
Error: CPPCHECK_WARNING (CWE-476): [#def615]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:387: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 385| {
# 386| return SCM_BACKTRACE_P
# 387|-> && scm_is_true (stack)
# 388| && scm_initialized_p
# 389| /* It's generally not useful to print backtraces for errors reading
Error: CPPCHECK_WARNING (CWE-476): [#def616]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:391: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 389| /* It's generally not useful to print backtraces for errors reading
# 390| or expanding code in these fallback catch statements. */
# 391|-> && !scm_is_eq (tag, scm_from_latin1_symbol ("read-error"))
# 392| && !scm_is_eq (tag, scm_from_latin1_symbol ("syntax-error"));
# 393| }
Error: CPPCHECK_WARNING (CWE-476): [#def617]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:392: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 390| or expanding code in these fallback catch statements. */
# 391| && !scm_is_eq (tag, scm_from_latin1_symbol ("read-error"))
# 392|-> && !scm_is_eq (tag, scm_from_latin1_symbol ("syntax-error"));
# 393| }
# 394|
Error: CPPCHECK_WARNING (CWE-476): [#def618]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:404: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 402| frames. */
# 403| stack = scm_make_stack (SCM_BOOL_T, scm_list_1 (scm_from_int (2)));
# 404|-> frame = scm_is_true (stack) ? scm_stack_ref (stack, SCM_INUM0) : SCM_BOOL_F;
# 405|
# 406| if (should_print_backtrace (tag, stack))
Error: CPPCHECK_WARNING (CWE-476): [#def619]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:440: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 438|
# 439| /* If TAG is `quit', exit() the process. */
# 440|-> if (scm_is_eq (tag, scm_from_latin1_symbol ("quit")))
# 441| exit (scm_exit_status (args));
# 442|
Error: CPPCHECK_WARNING (CWE-476): [#def620]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:452: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 450| {
# 451| /* Print the exception unless TAG is `quit'. */
# 452|-> if (!scm_is_eq (tag, scm_from_latin1_symbol ("quit")))
# 453| print_exception_and_backtrace (SCM_PACK_POINTER (error_port), tag, args);
# 454|
Error: CPPCHECK_WARNING (CWE-476): [#def621]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:467: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 465| c_handler, &c_data,
# 466| pre_unwind_handler,
# 467|-> SCM_UNPACK_POINTER (scm_current_error_port ()));
# 468| return c_data.result;
# 469| }
Error: CPPCHECK_WARNING (CWE-476): [#def622]
guile30-3.0.7-build/guile-3.0.7/libguile/continuations.c:511: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 509| scm_handler, &scm_data,
# 510| pre_unwind_handler,
# 511|-> SCM_UNPACK_POINTER (scm_current_error_port ()));
# 512| }
# 513| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def623]
guile30-3.0.7-build/guile-3.0.7/libguile/control.c:101: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 99|
# 100| ret = scm_words (scm_tc7_program | (nfree << 16) | flags, nfree + 2);
# 101|-> SCM_SET_CELL_WORD_1 (ret, compose_continuation_code.code);
# 102| SCM_PROGRAM_FREE_VARIABLE_SET (ret, 0, vmcont);
# 103|
Error: CPPCHECK_WARNING (CWE-476): [#def624]
guile30-3.0.7-build/guile-3.0.7/libguile/control.c:102: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 100| ret = scm_words (scm_tc7_program | (nfree << 16) | flags, nfree + 2);
# 101| SCM_SET_CELL_WORD_1 (ret, compose_continuation_code.code);
# 102|-> SCM_PROGRAM_FREE_VARIABLE_SET (ret, 0, vmcont);
# 103|
# 104| return ret;
Error: CPPCHECK_WARNING (CWE-476): [#def625]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:133: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 131| scm_reverse_lookup (SCM env, SCM data)
# 132| {
# 133|-> while (scm_is_pair (env) && scm_is_pair (SCM_CAR (env)))
# 134| {
# 135| SCM names = SCM_CAAR (env);
Error: CPPCHECK_WARNING (CWE-476): [#def626]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:135: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 133| while (scm_is_pair (env) && scm_is_pair (SCM_CAR (env)))
# 134| {
# 135|-> SCM names = SCM_CAAR (env);
# 136| SCM values = SCM_CDAR (env);
# 137| while (scm_is_pair (names))
Error: CPPCHECK_WARNING (CWE-476): [#def627]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:136: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 134| {
# 135| SCM names = SCM_CAAR (env);
# 136|-> SCM values = SCM_CDAR (env);
# 137| while (scm_is_pair (names))
# 138| {
Error: CPPCHECK_WARNING (CWE-476): [#def628]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:139: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 137| while (scm_is_pair (names))
# 138| {
# 139|-> if (scm_is_eq (SCM_CAR (values), data))
# 140| return SCM_CAR (names);
# 141| names = SCM_CDR (names);
Error: CPPCHECK_WARNING (CWE-476): [#def629]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:140: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 138| {
# 139| if (scm_is_eq (SCM_CAR (values), data))
# 140|-> return SCM_CAR (names);
# 141| names = SCM_CDR (names);
# 142| values = SCM_CDR (values);
Error: CPPCHECK_WARNING (CWE-476): [#def630]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:141: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 139| if (scm_is_eq (SCM_CAR (values), data))
# 140| return SCM_CAR (names);
# 141|-> names = SCM_CDR (names);
# 142| values = SCM_CDR (values);
# 143| }
Error: CPPCHECK_WARNING (CWE-476): [#def631]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:142: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 140| return SCM_CAR (names);
# 141| names = SCM_CDR (names);
# 142|-> values = SCM_CDR (values);
# 143| }
# 144| if (!scm_is_null (names) && scm_is_eq (values, data))
Error: CPPCHECK_WARNING (CWE-476): [#def632]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:144: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 142| values = SCM_CDR (values);
# 143| }
# 144|-> if (!scm_is_null (names) && scm_is_eq (values, data))
# 145| return names;
# 146| env = SCM_CDR (env);
Error: CPPCHECK_WARNING (CWE-476): [#def633]
guile30-3.0.7-build/guile-3.0.7/libguile/debug.c:146: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 144| if (!scm_is_null (names) && scm_is_eq (values, data))
# 145| return names;
# 146|-> env = SCM_CDR (env);
# 147| }
# 148| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def634]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:180: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 178| if (scm_is_bitvector (vec))
# 179| {
# 180|-> if (scm_is_true (val))
# 181| scm_c_bitvector_set_bit_x (vec, idx);
# 182| else
Error: CPPCHECK_WARNING (CWE-476): [#def635]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:198: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 196|
# 197| mask = 1L << (idx%32);
# 198|-> if (scm_is_true (val))
# 199| bits[idx/32] |= mask;
# 200| else
Error: CPPCHECK_WARNING (CWE-476): [#def636]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:230: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 228| if (scm_is_bitvector (vec))
# 229| {
# 230|-> if (scm_is_true (val))
# 231| scm_c_bitvector_set_all_bits_x (vec);
# 232| else
Error: CPPCHECK_WARNING (CWE-476): [#def637]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:310: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 308|
# 309| for (size_t i = 0; i < len; i++)
# 310|-> if (scm_is_true (scm_array_handle_ref (&handle, i*inc)))
# 311| count++;
# 312|
Error: CPPCHECK_WARNING (CWE-476): [#def638]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:374: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 372| {
# 373| SCM elt = scm_array_handle_ref (&v_handle, i*v_inc);
# 374|-> if ((bit && scm_is_true (elt)) || (!bit && scm_is_false (elt)))
# 375| count++;
# 376| }
Error: CPPCHECK_WARNING (CWE-476): [#def639]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:378: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 376| }
# 377| }
# 378|-> else if (scm_is_true (scm_u32vector_p (kv)))
# 379| {
# 380| scm_t_array_handle kv_handle;
Error: CPPCHECK_WARNING (CWE-476): [#def640]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:390: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 388| {
# 389| SCM elt = scm_array_handle_ref (&v_handle, (*kv_elts)*v_inc);
# 390|-> if ((bit && scm_is_true (elt)) || (!bit && scm_is_false (elt)))
# 391| count++;
# 392| }
Error: CPPCHECK_WARNING (CWE-476): [#def641]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:436: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 434| {
# 435| SCM elt = scm_array_handle_ref (&handle, i*inc);
# 436|-> if ((bit && scm_is_true (elt)) || (!bit && scm_is_false (elt)))
# 437| {
# 438| res = scm_from_size_t (i);
Error: CPPCHECK_WARNING (CWE-476): [#def642]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:509: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 507|
# 508| for (size_t i = 0; i < kv_len; i++)
# 509|-> if (scm_is_true (scm_c_bitvector_ref (kv, i)))
# 510| scm_array_handle_set (&v_handle, i*v_inc, obj);
# 511| }
Error: CPPCHECK_WARNING (CWE-476): [#def643]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:512: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 510| scm_array_handle_set (&v_handle, i*v_inc, obj);
# 511| }
# 512|-> else if (scm_is_true (scm_u32vector_p (kv)))
# 513| {
# 514| scm_t_array_handle kv_handle;
Error: CPPCHECK_WARNING (CWE-476): [#def644]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecated.c:588: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 586| ("scm_make_srcprops is deprecated; use set-source-properties! instead");
# 587|
# 588|-> alist = SCM_UNBNDP (copy) ? alist : scm_acons (scm_sym_copy, copy, alist);
# 589| return scm_i_make_srcprops (scm_from_long (line), scm_from_int (col),
# 590| filename, alist);
Error: CPPCHECK_WARNING (CWE-476): [#def645]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecation.c:123: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 121| while (scm_is_pair (msgs))
# 122| {
# 123|-> if (!scm_is_null (msgs_nl))
# 124| msgs_nl = scm_cons (nl, msgs_nl);
# 125| msgs_nl = scm_cons (SCM_CAR (msgs), msgs_nl);
Error: CPPCHECK_WARNING (CWE-476): [#def646]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecation.c:125: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 123| if (!scm_is_null (msgs_nl))
# 124| msgs_nl = scm_cons (nl, msgs_nl);
# 125|-> msgs_nl = scm_cons (SCM_CAR (msgs), msgs_nl);
# 126| msgs = SCM_CDR (msgs);
# 127| }
Error: CPPCHECK_WARNING (CWE-476): [#def647]
guile30-3.0.7-build/guile-3.0.7/libguile/deprecation.c:126: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 124| msgs_nl = scm_cons (nl, msgs_nl);
# 125| msgs_nl = scm_cons (SCM_CAR (msgs), msgs_nl);
# 126|-> msgs = SCM_CDR (msgs);
# 127| }
# 128| msgs_nl = scm_string_append (scm_reverse_x (msgs_nl, SCM_EOL));
Error: CPPCHECK_WARNING: [#def648]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def649]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:182: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 180| SCM value_box;
# 181|
# 182|-> if (SCM_UNLIKELY (!SCM_FLUID_P (fluid)))
# 183| scm_wrong_type_arg ("with-fluid*", 0, fluid);
# 184|
Error: CPPCHECK_WARNING (CWE-476): [#def650]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:189: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 187| words = push_dynstack_entry (dynstack, SCM_DYNSTACK_TYPE_WITH_FLUID, 0,
# 188| WITH_FLUID_WORDS);
# 189|-> words[0] = SCM_UNPACK (fluid);
# 190| words[1] = SCM_UNPACK (value_box);
# 191|
Error: CPPCHECK_WARNING (CWE-476): [#def651]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:190: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 188| WITH_FLUID_WORDS);
# 189| words[0] = SCM_UNPACK (fluid);
# 190|-> words[1] = SCM_UNPACK (value_box);
# 191|
# 192| /* Go ahead and swap them. */
Error: CPPCHECK_WARNING (CWE-476): [#def652]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:207: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 205| words = push_dynstack_entry (dynstack, SCM_DYNSTACK_TYPE_PROMPT, flags,
# 206| PROMPT_WORDS);
# 207|-> words[0] = SCM_UNPACK (key);
# 208| words[1] = (scm_t_bits) fp_offset;
# 209| words[2] = (scm_t_bits) sp_offset;
Error: CPPCHECK_WARNING (CWE-476): [#def653]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:222: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 220| words = push_dynstack_entry (dynstack, SCM_DYNSTACK_TYPE_DYNWIND, 0,
# 221| DYNWIND_WORDS);
# 222|-> words[0] = SCM_UNPACK (enter);
# 223| words[1] = SCM_UNPACK (leave);
# 224| }
Error: CPPCHECK_WARNING (CWE-476): [#def654]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:223: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 221| DYNWIND_WORDS);
# 222| words[0] = SCM_UNPACK (enter);
# 223|-> words[1] = SCM_UNPACK (leave);
# 224| }
# 225|
Error: CPPCHECK_WARNING (CWE-476): [#def655]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:252: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 250| SCM state_box;
# 251|
# 252|-> if (SCM_UNLIKELY (scm_is_false (scm_dynamic_state_p (state))))
# 253| scm_wrong_type_arg ("with-dynamic-state", 0, state);
# 254|
Error: CPPCHECK_WARNING (CWE-476): [#def656]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:258: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 256| words = push_dynstack_entry (dynstack, SCM_DYNSTACK_TYPE_DYNAMIC_STATE, 0,
# 257| DYNAMIC_STATE_WORDS);
# 258|-> words[0] = SCM_UNPACK (state_box);
# 259| }
# 260|
Error: CPPCHECK_WARNING (CWE-476): [#def657]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:515: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 513|
# 514| if (SCM_DYNSTACK_TAG_TYPE (tag) == SCM_DYNSTACK_TYPE_PROMPT
# 515|-> && scm_is_eq (PROMPT_KEY (walk), key))
# 516| {
# 517| if (flags)
Error: CPPCHECK_WARNING (CWE-476): [#def658]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:551: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 549| case SCM_DYNSTACK_TYPE_WITH_FLUID:
# 550| {
# 551|-> if (scm_is_eq (WITH_FLUID_FLUID (walk), fluid))
# 552| {
# 553| if (depth == 0)
Error: CPPCHECK_WARNING (CWE-476): [#def659]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:554: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 552| {
# 553| if (depth == 0)
# 554|-> return SCM_VARIABLE_REF (WITH_FLUID_VALUE_BOX (walk));
# 555| else
# 556| depth--;
Error: CPPCHECK_WARNING (CWE-476): [#def660]
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:568: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 566| state = scm_variable_ref (DYNAMIC_STATE_STATE_BOX (walk));
# 567| val = scm_dynamic_state_ref (state, fluid, SCM_UNDEFINED);
# 568|-> if (!SCM_UNBNDP (val))
# 569| {
# 570| if (depth == 0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:27: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:34: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c: scope_hint: In function 'scm_dynstack_wind'
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.h:75:37: warning[-Wanalyzer-null-dereference]: dereference of NULL 'item'
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:435:10: note: in expansion of macro 'SCM_DYNSTACK_TAG'
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:435:10: note: in expansion of macro 'SCM_DYNSTACK_TAG'
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:435:42: note: in expansion of macro 'SCM_DYNSTACK_NEXT'
guile30-3.0.7-build/guile-3.0.7/libguile/dynstack.c:435:10: note: in expansion of macro 'SCM_DYNSTACK_TAG'
# 73| #define SCM_DYNSTACK_SET_PREV_OFFSET(top, offset) (top)[-2] = (offset)
# 74|
# 75|-> #define SCM_DYNSTACK_TAG(top) ((top)[-1])
# 76| #define SCM_DYNSTACK_SET_TAG(top, tag) (top)[-1] = (tag)
# 77|
Error: CPPCHECK_WARNING (CWE-476): [#def662]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:44: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 42| scm_thread *thread = SCM_I_CURRENT_THREAD;
# 43|
# 44|-> SCM_ASSERT (scm_is_true (scm_thunk_p (out_guard)), out_guard,
# 45| SCM_ARG3, FUNC_NAME);
# 46|
Error: CPPCHECK_WARNING (CWE-476): [#def663]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:102: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 100| {
# 101| /* FIXME: This is not a safe cast. */
# 102|-> scm_dynwind_unwind_handler ((scm_t_guard) proc, SCM2PTR (data), flags);
# 103| }
# 104|
Error: CPPCHECK_WARNING (CWE-476): [#def664]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:110: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 108| {
# 109| /* FIXME: This is not a safe cast. */
# 110|-> scm_dynwind_rewind_handler ((scm_t_guard) proc, SCM2PTR (data), flags);
# 111| }
# 112|
Error: CPPCHECK_WARNING (CWE-476): [#def665]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:125: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 123| while (scm_is_pair (vals))
# 124| {
# 125|-> tmp = SCM_VARIABLE_REF (SCM_CAR (vars));
# 126| SCM_VARIABLE_SET (SCM_CAR (vars), SCM_CAR (vals));
# 127| SCM_SETCAR (vals, tmp);
Error: CPPCHECK_WARNING (CWE-476): [#def666]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:126: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 124| {
# 125| tmp = SCM_VARIABLE_REF (SCM_CAR (vars));
# 126|-> SCM_VARIABLE_SET (SCM_CAR (vars), SCM_CAR (vals));
# 127| SCM_SETCAR (vals, tmp);
# 128| vars = SCM_CDR (vars);
Error: CPPCHECK_WARNING (CWE-476): [#def667]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:127: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 125| tmp = SCM_VARIABLE_REF (SCM_CAR (vars));
# 126| SCM_VARIABLE_SET (SCM_CAR (vars), SCM_CAR (vals));
# 127|-> SCM_SETCAR (vals, tmp);
# 128| vars = SCM_CDR (vars);
# 129| vals = SCM_CDR (vals);
Error: CPPCHECK_WARNING (CWE-476): [#def668]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:128: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 126| SCM_VARIABLE_SET (SCM_CAR (vars), SCM_CAR (vals));
# 127| SCM_SETCAR (vals, tmp);
# 128|-> vars = SCM_CDR (vars);
# 129| vals = SCM_CDR (vals);
# 130| }
Error: CPPCHECK_WARNING (CWE-476): [#def669]
guile30-3.0.7-build/guile-3.0.7/libguile/dynwind.c:129: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 127| SCM_SETCAR (vals, tmp);
# 128| vars = SCM_CDR (vars);
# 129|-> vals = SCM_CDR (vals);
# 130| }
# 131| }
Error: CPPCHECK_WARNING (CWE-476): [#def670]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:96: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 94| #define FUNC_NAME s_scm_i_eq_p
# 95| {
# 96|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 97| return SCM_BOOL_T;
# 98| while (scm_is_pair (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def671]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:100: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 98| while (scm_is_pair (rest))
# 99| {
# 100|-> if (!scm_is_eq (x, y))
# 101| return SCM_BOOL_F;
# 102| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def672]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:106: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 104| rest = scm_cdr (rest);
# 105| }
# 106|-> return scm_from_bool (scm_is_eq (x, y));
# 107| }
# 108| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def673]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:113: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 111| scm_eq_p (SCM x, SCM y)
# 112| {
# 113|-> return scm_from_bool (scm_is_eq (x, y));
# 114| }
# 115|
Error: CPPCHECK_WARNING (CWE-476): [#def674]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:130: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 128| scm_real_equalp (SCM x, SCM y)
# 129| {
# 130|-> return scm_from_bool (real_eqv (SCM_REAL_VALUE (x),
# 131| SCM_REAL_VALUE (y)));
# 132| }
Error: CPPCHECK_WARNING (CWE-476): [#def675]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:143: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 141| scm_complex_equalp (SCM x, SCM y)
# 142| {
# 143|-> return scm_from_bool (real_eqv (SCM_COMPLEX_REAL (x),
# 144| SCM_COMPLEX_REAL (y))
# 145| && real_eqv (SCM_COMPLEX_IMAG (x),
Error: CPPCHECK_WARNING (CWE-476): [#def676]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 150| scm_i_fraction_equalp (SCM x, SCM y)
# 151| {
# 152|-> return scm_from_bool
# 153| (scm_is_true (scm_equal_p (SCM_FRACTION_NUMERATOR (x),
# 154| SCM_FRACTION_NUMERATOR (y)))
Error: CPPCHECK_WARNING (CWE-476): [#def677]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:162: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 160| scm_i_heap_numbers_equal_p (SCM x, SCM y)
# 161| {
# 162|-> if (SCM_IMP (x)) abort();
# 163| switch (SCM_TYP16 (x))
# 164| {
Error: CPPCHECK_WARNING (CWE-476): [#def678]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:163: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 161| {
# 162| if (SCM_IMP (x)) abort();
# 163|-> switch (SCM_TYP16 (x))
# 164| {
# 165| case scm_tc16_big:
Error: CPPCHECK_WARNING (CWE-476): [#def679]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:166: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 164| {
# 165| case scm_tc16_big:
# 166|-> return scm_is_true (scm_bigequal (x, y));
# 167| case scm_tc16_real:
# 168| return scm_is_true (scm_real_equalp (x, y));
Error: CPPCHECK_WARNING (CWE-476): [#def680]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:168: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 166| return scm_is_true (scm_bigequal (x, y));
# 167| case scm_tc16_real:
# 168|-> return scm_is_true (scm_real_equalp (x, y));
# 169| case scm_tc16_complex:
# 170| return scm_is_true (scm_complex_equalp (x, y));
Error: CPPCHECK_WARNING (CWE-476): [#def681]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:170: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 168| return scm_is_true (scm_real_equalp (x, y));
# 169| case scm_tc16_complex:
# 170|-> return scm_is_true (scm_complex_equalp (x, y));
# 171| case scm_tc16_fraction:
# 172| return scm_is_true (scm_i_fraction_equalp (x, y));
Error: CPPCHECK_WARNING (CWE-476): [#def682]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:172: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 170| return scm_is_true (scm_complex_equalp (x, y));
# 171| case scm_tc16_fraction:
# 172|-> return scm_is_true (scm_i_fraction_equalp (x, y));
# 173| default:
# 174| abort ();
Error: CPPCHECK_WARNING (CWE-476): [#def683]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:200: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 198| #define FUNC_NAME s_scm_i_eqv_p
# 199| {
# 200|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 201| return SCM_BOOL_T;
# 202| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def684]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:202: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 200| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 201| return SCM_BOOL_T;
# 202|-> while (!scm_is_null (rest))
# 203| {
# 204| if (!scm_is_true (scm_eqv_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def685]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:204: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 202| while (!scm_is_null (rest))
# 203| {
# 204|-> if (!scm_is_true (scm_eqv_p (x, y)))
# 205| return SCM_BOOL_F;
# 206| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def686]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:217: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 215| #define FUNC_NAME s_scm_i_eqv_p
# 216| {
# 217|-> if (scm_is_eq (x, y))
# 218| return SCM_BOOL_T;
# 219| if (SCM_IMP (x))
Error: CPPCHECK_WARNING (CWE-476): [#def687]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:219: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 217| if (scm_is_eq (x, y))
# 218| return SCM_BOOL_T;
# 219|-> if (SCM_IMP (x))
# 220| return SCM_BOOL_F;
# 221| if (SCM_IMP (y))
Error: CPPCHECK_WARNING (CWE-476): [#def688]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:221: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 219| if (SCM_IMP (x))
# 220| return SCM_BOOL_F;
# 221|-> if (SCM_IMP (y))
# 222| return SCM_BOOL_F;
# 223|
Error: CPPCHECK_WARNING (CWE-476): [#def689]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:225: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 223|
# 224| /* this ensures that types and scm_length are the same. */
# 225|-> if (SCM_CELL_TYPE (x) != SCM_CELL_TYPE (y))
# 226| return SCM_BOOL_F;
# 227| switch (SCM_TYP7 (x))
Error: CPPCHECK_WARNING (CWE-476): [#def690]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:227: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 225| if (SCM_CELL_TYPE (x) != SCM_CELL_TYPE (y))
# 226| return SCM_BOOL_F;
# 227|-> switch (SCM_TYP7 (x))
# 228| {
# 229| default:
Error: CPPCHECK_WARNING (CWE-476): [#def691]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:279: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 277| #define FUNC_NAME s_scm_i_equal_p
# 278| {
# 279|-> if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 280| return SCM_BOOL_T;
# 281| while (!scm_is_null (rest))
Error: CPPCHECK_WARNING (CWE-476): [#def692]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:281: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 279| if (SCM_UNBNDP (x) || SCM_UNBNDP (y))
# 280| return SCM_BOOL_T;
# 281|-> while (!scm_is_null (rest))
# 282| {
# 283| if (!scm_is_true (scm_equal_p (x, y)))
Error: CPPCHECK_WARNING (CWE-476): [#def693]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:283: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 281| while (!scm_is_null (rest))
# 282| {
# 283|-> if (!scm_is_true (scm_equal_p (x, y)))
# 284| return SCM_BOOL_F;
# 285| x = y;
Error: CPPCHECK_WARNING (CWE-476): [#def694]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:287: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 285| x = y;
# 286| y = scm_car (rest);
# 287|-> rest = SCM_CDR (rest);
# 288| }
# 289| return scm_equal_p (x, y);
Error: CPPCHECK_WARNING (CWE-476): [#def695]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:300: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 298| tailrecurse:
# 299| SCM_TICK;
# 300|-> if (scm_is_eq (x, y))
# 301| return SCM_BOOL_T;
# 302| if (SCM_IMP (x))
Error: CPPCHECK_WARNING (CWE-476): [#def696]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:302: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 300| if (scm_is_eq (x, y))
# 301| return SCM_BOOL_T;
# 302|-> if (SCM_IMP (x))
# 303| return SCM_BOOL_F;
# 304| if (SCM_IMP (y))
Error: CPPCHECK_WARNING (CWE-476): [#def697]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:304: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 302| if (SCM_IMP (x))
# 303| return SCM_BOOL_F;
# 304|-> if (SCM_IMP (y))
# 305| return SCM_BOOL_F;
# 306| if (scm_is_pair (x) && scm_is_pair (y))
Error: CPPCHECK_WARNING (CWE-476): [#def698]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:308: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 306| if (scm_is_pair (x) && scm_is_pair (y))
# 307| {
# 308|-> if (scm_is_false (scm_equal_p (SCM_CAR (x), SCM_CAR (y))))
# 309| return SCM_BOOL_F;
# 310| x = SCM_CDR(x);
Error: CPPCHECK_WARNING (CWE-476): [#def699]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:310: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 308| if (scm_is_false (scm_equal_p (SCM_CAR (x), SCM_CAR (y))))
# 309| return SCM_BOOL_F;
# 310|-> x = SCM_CDR(x);
# 311| y = SCM_CDR(y);
# 312| goto tailrecurse;
Error: CPPCHECK_WARNING (CWE-476): [#def700]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:311: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 309| return SCM_BOOL_F;
# 310| x = SCM_CDR(x);
# 311|-> y = SCM_CDR(y);
# 312| goto tailrecurse;
# 313| }
Error: CPPCHECK_WARNING (CWE-476): [#def701]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:314: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 312| goto tailrecurse;
# 313| }
# 314|-> if (SCM_TYP7 (x) == scm_tc7_smob && SCM_TYP16 (x) == SCM_TYP16 (y))
# 315| {
# 316| int i = SCM_SMOBNUM (x);
Error: CPPCHECK_WARNING (CWE-476): [#def702]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:316: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 314| if (SCM_TYP7 (x) == scm_tc7_smob && SCM_TYP16 (x) == SCM_TYP16 (y))
# 315| {
# 316|-> int i = SCM_SMOBNUM (x);
# 317| if (!(i < scm_numsmob))
# 318| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def703]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:326: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 324|
# 325| /* This ensures that types and scm_length are the same. */
# 326|-> if (SCM_CELL_TYPE (x) != SCM_CELL_TYPE (y))
# 327| {
# 328| /* Vectors can be equal to one-dimensional arrays.
Error: CPPCHECK_WARNING (CWE-476): [#def704]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:335: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 333| return SCM_BOOL_F;
# 334| }
# 335|-> switch (SCM_TYP7 (x))
# 336| {
# 337| default:
Error: CPPCHECK_WARNING (CWE-476): [#def705]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:339: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 337| default:
# 338| /* Check equality between structs of equal type (see cell-type test above). */
# 339|-> if (SCM_STRUCTP (x))
# 340| {
# 341| if (SCM_INSTANCEP (x))
Error: CPPCHECK_WARNING (CWE-476): [#def706]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:341: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 339| if (SCM_STRUCTP (x))
# 340| {
# 341|-> if (SCM_INSTANCEP (x))
# 342| goto generic_equal;
# 343| else
Error: CPPCHECK_WARNING (CWE-476): [#def707]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:348: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 346| break;
# 347| case scm_tc7_number:
# 348|-> switch SCM_TYP16 (x)
# 349| {
# 350| case scm_tc16_big:
Error: CPPCHECK_WARNING (CWE-476): [#def708]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:363: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 361| }
# 362| case scm_tc7_pointer:
# 363|-> return scm_from_bool (SCM_POINTER_VALUE (x) == SCM_POINTER_VALUE (y));
# 364| case scm_tc7_string:
# 365| return scm_string_equal_p (x, y);
Error: CPPCHECK_WARNING (CWE-476): [#def709]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:376: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 374| return scm_i_vector_equal_p (x, y);
# 375| case scm_tc7_syntax:
# 376|-> if (scm_is_false (scm_equal_p (scm_syntax_wrap (x),
# 377| scm_syntax_wrap (y))))
# 378| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def710]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:379: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 377| scm_syntax_wrap (y))))
# 378| return SCM_BOOL_F;
# 379|-> if (scm_is_false (scm_equal_p (scm_syntax_module (x),
# 380| scm_syntax_module (y))))
# 381| return SCM_BOOL_F;
Error: CPPCHECK_WARNING (CWE-476): [#def711]
guile30-3.0.7-build/guile-3.0.7/libguile/eq.c:393: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 391|
# 392| generic_equal:
# 393|-> if (SCM_UNPACK (g_scm_i_equal_p))
# 394| return scm_call_2 (g_scm_i_equal_p, x, y);
# 395| else
Error: CPPCHECK_WARNING (CWE-476): [#def712]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:46: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 44| SCM var;
# 45|
# 46|-> SCM_VALIDATE_SYMBOL (1, sym);
# 47|
# 48| if (SCM_UNBNDP (module))
Error: CPPCHECK_WARNING (CWE-476): [#def713]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:48: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 46| SCM_VALIDATE_SYMBOL (1, sym);
# 47|
# 48|-> if (SCM_UNBNDP (module))
# 49| module = scm_current_module ();
# 50| else
Error: CPPCHECK_WARNING (CWE-476): [#def714]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:51: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 49| module = scm_current_module ();
# 50| else
# 51|-> SCM_VALIDATE_MODULE (2, module);
# 52|
# 53| var = scm_module_variable (module, sym);
Error: CPPCHECK_WARNING (CWE-476): [#def715]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:55: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 53| var = scm_module_variable (module, sym);
# 54|
# 55|-> return (scm_is_false (var) || SCM_UNBNDP (SCM_VARIABLE_REF (var))
# 56| ? SCM_BOOL_F
# 57| : SCM_BOOL_T);
Error: CPPCHECK_WARNING (CWE-476): [#def716]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:67: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 65| #define FUNC_NAME s_scm_self_evaluating_p
# 66| {
# 67|-> switch (SCM_ITAG3 (obj))
# 68| {
# 69| case scm_tc3_int_1:
Error: CPPCHECK_WARNING (CWE-476): [#def717]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:75: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 73| case scm_tc3_imm24:
# 74| /* characters, booleans, other immediates */
# 75|-> return scm_from_bool (!scm_is_null_and_not_nil (obj));
# 76| case scm_tc3_cons:
# 77| switch (SCM_TYP7 (obj))
Error: CPPCHECK_WARNING (CWE-476): [#def718]
guile30-3.0.7-build/guile-3.0.7/libguile/evalext.c:77: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 75| return scm_from_bool (!scm_is_null_and_not_nil (obj));
# 76| case scm_tc3_cons:
# 77|-> switch (SCM_TYP7 (obj))
# 78| {
# 79| case scm_tc7_vector:
Error: CPPCHECK_WARNING (CWE-476): [#def719]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:88: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 86| call_thunk (SCM clo)
# 87| {
# 88|-> scm_t_thunk thunk = (void*)SCM_SMOB_DATA (clo);
# 89| void *data = (void*)SCM_SMOB_DATA_2 (clo);
# 90|
Error: CPPCHECK_WARNING (CWE-476): [#def720]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:89: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 87| {
# 88| scm_t_thunk thunk = (void*)SCM_SMOB_DATA (clo);
# 89|-> void *data = (void*)SCM_SMOB_DATA_2 (clo);
# 90|
# 91| return thunk (data);
Error: CPPCHECK_WARNING (CWE-476): [#def721]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:97: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 95| call_exception_handler (SCM clo, SCM exn)
# 96| {
# 97|-> scm_t_exception_handler handler = (void*)SCM_SMOB_DATA (clo);
# 98| void *data = (void*)SCM_SMOB_DATA_2 (clo);
# 99|
Error: CPPCHECK_WARNING (CWE-476): [#def722]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:98: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 96| {
# 97| scm_t_exception_handler handler = (void*)SCM_SMOB_DATA (clo);
# 98|-> void *data = (void*)SCM_SMOB_DATA_2 (clo);
# 99|
# 100| return handler (data, exn);
Error: CPPCHECK_WARNING (CWE-476): [#def723]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| scm_t_thunk thunk, void *thunk_data)
# 120| {
# 121|-> if (!scm_is_eq (type, SCM_BOOL_T) && !scm_is_symbol (type))
# 122| scm_wrong_type_arg ("%with-exception-handler", 1, type);
# 123|
Error: CPPCHECK_WARNING (CWE-476): [#def724]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:165: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 163| args = scm_cdr (args);
# 164| SCM exn = scm_car (args);
# 165|-> if (!scm_is_null (scm_cdr (args)))
# 166| abort ();
# 167| return handler (handler_data, exn);
Error: CPPCHECK_WARNING (CWE-476): [#def725]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:206: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 204| extract_exception (SCM obj, SCM non_extensible_vtable)
# 205| {
# 206|-> if (!SCM_STRUCTP (obj)) {
# 207| return SCM_BOOL_F;
# 208| }
Error: CPPCHECK_WARNING (CWE-476): [#def726]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:209: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 207| return SCM_BOOL_F;
# 208| }
# 209|-> if (scm_is_eq (SCM_STRUCT_VTABLE (obj), non_extensible_vtable)) {
# 210| return obj;
# 211| }
Error: CPPCHECK_WARNING (CWE-476): [#def727]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:212: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 210| return obj;
# 211| }
# 212|-> if (!scm_is_eq (SCM_STRUCT_VTABLE (obj), compound_exception)) {
# 213| return SCM_BOOL_F;
# 214| }
Error: CPPCHECK_WARNING (CWE-476): [#def728]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:216: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 214| }
# 215|
# 216|-> SCM exns = SCM_STRUCT_SLOT_REF (obj, 0);
# 217| while (!scm_is_null (exns)) {
# 218| SCM exn = scm_car (exns);
Error: CPPCHECK_WARNING (CWE-476): [#def729]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:217: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 215|
# 216| SCM exns = SCM_STRUCT_SLOT_REF (obj, 0);
# 217|-> while (!scm_is_null (exns)) {
# 218| SCM exn = scm_car (exns);
# 219| if (scm_is_eq (SCM_STRUCT_VTABLE (exn), non_extensible_vtable)) {
Error: CPPCHECK_WARNING (CWE-476): [#def730]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:219: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 217| while (!scm_is_null (exns)) {
# 218| SCM exn = scm_car (exns);
# 219|-> if (scm_is_eq (SCM_STRUCT_VTABLE (exn), non_extensible_vtable)) {
# 220| return exn;
# 221| }
Error: CPPCHECK_WARNING (CWE-476): [#def731]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:231: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 229| {
# 230| SCM exn = extract_exception (obj, exception_with_kind_and_args);
# 231|-> if (scm_is_false (exn)) {
# 232| return sys_exception_sym;
# 233| }
Error: CPPCHECK_WARNING (CWE-476): [#def732]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:234: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 232| return sys_exception_sym;
# 233| }
# 234|-> return SCM_STRUCT_SLOT_REF (exn, 0);
# 235| }
# 236|
Error: CPPCHECK_WARNING (CWE-476): [#def733]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:241: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 239| {
# 240| SCM exn = extract_exception (obj, exception_with_kind_and_args);
# 241|-> if (scm_is_false (exn)) {
# 242| return scm_list_1 (obj);
# 243| }
Error: CPPCHECK_WARNING (CWE-476): [#def734]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:244: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 242| return scm_list_1 (obj);
# 243| }
# 244|-> return SCM_STRUCT_SLOT_REF (exn, 1);
# 245| }
# 246|
Error: CPPCHECK_WARNING (CWE-476): [#def735]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:250: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 248| exception_has_type (SCM exn, SCM type)
# 249| {
# 250|-> return scm_is_eq (type, SCM_BOOL_T) ||
# 251| scm_is_eq (type, scm_exception_kind (exn));
# 252| }
Error: CPPCHECK_WARNING (CWE-476): [#def736]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:251: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 249| {
# 250| return scm_is_eq (type, SCM_BOOL_T) ||
# 251|-> scm_is_eq (type, scm_exception_kind (exn));
# 252| }
# 253|
Error: CPPCHECK_WARNING (CWE-476): [#def737]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:274: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 272| if (scm_is_pair (args))
# 273| {
# 274|-> SCM cqa = SCM_CAR (args);
# 275|
# 276| if (scm_is_integer (cqa))
Error: CPPCHECK_WARNING (CWE-476): [#def738]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:278: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 276| if (scm_is_integer (cqa))
# 277| return scm_to_int (cqa);
# 278|-> else if (scm_is_false (cqa))
# 279| return EXIT_FAILURE;
# 280| else
Error: CPPCHECK_WARNING (CWE-476): [#def739]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:283: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 281| return EXIT_SUCCESS;
# 282| }
# 283|-> else if (scm_is_null (args))
# 284| return EXIT_SUCCESS;
# 285| else
Error: CPPCHECK_WARNING (CWE-476): [#def740]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:299: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 297| quit_exception_code (SCM exn)
# 298| {
# 299|-> return scm_to_int (SCM_STRUCT_SLOT_REF (exn, 0));
# 300| }
# 301|
Error: CPPCHECK_WARNING (CWE-476): [#def741]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:328: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 326| scm_newline (scm_current_error_port ());
# 327| }
# 328|-> else if (scm_is_true (get_quit_exception (exn)))
# 329| {
# 330| exit (quit_exception_code (get_quit_exception (exn)));
Error: CPPCHECK_WARNING (CWE-476): [#def742]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:382: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 380| SCM eh = scm_fluid_ref_star (exception_handler_fluid,
# 381| scm_from_size_t (depth++));
# 382|-> if (scm_is_false (eh)) {
# 383| default_exception_handler (exn);
# 384| abort ();
Error: CPPCHECK_WARNING (CWE-476): [#def743]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:433: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 431| scm_report_stack_overflow (void)
# 432| {
# 433|-> if (scm_is_false (stack_overflow_exn))
# 434| abort ();
# 435| emergency_raise (stack_overflow_exn, "stack overflow");
Error: CPPCHECK_WARNING (CWE-476): [#def744]
guile30-3.0.7-build/guile-3.0.7/libguile/exceptions.c:444: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 442| scm_report_out_of_memory (void)
# 443| {
# 444|-> if (scm_is_false (out_of_memory_exn))
# 445| abort ();
# 446| emergency_raise (out_of_memory_exn, "out of memory");
Error: CPPCHECK_WARNING: [#def745]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def746]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:240: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 238| }
# 239|
# 240|-> if (scm_is_false (filename) && scm_is_false (linenr) && scm_is_pair (expr))
# 241| {
# 242| filename = scm_source_property (expr, scm_sym_filename);
Error: CPPCHECK_WARNING (CWE-476): [#def747]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:246: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 244| }
# 245|
# 246|-> if (!SCM_UNBNDP (expr))
# 247| {
# 248| if (scm_is_true (filename))
Error: CPPCHECK_WARNING (CWE-476): [#def748]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:248: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 246| if (!SCM_UNBNDP (expr))
# 247| {
# 248|-> if (scm_is_true (filename))
# 249| {
# 250| format = "In file ~S, line ~S: ~A ~S in expression ~S.";
Error: CPPCHECK_WARNING (CWE-476): [#def749]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:253: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 251| args = scm_list_5 (filename, linenr, msg_string, form, expr);
# 252| }
# 253|-> else if (scm_is_true (linenr))
# 254| {
# 255| format = "In line ~S: ~A ~S in expression ~S.";
Error: CPPCHECK_WARNING (CWE-476): [#def750]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:266: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 264| else
# 265| {
# 266|-> if (scm_is_true (filename))
# 267| {
# 268| format = "In file ~S, line ~S: ~A ~S.";
Error: CPPCHECK_WARNING (CWE-476): [#def751]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:271: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 269| args = scm_list_4 (filename, linenr, msg_string, form);
# 270| }
# 271|-> else if (scm_is_true (linenr))
# 272| {
# 273| format = "In line ~S: ~A ~S.";
Error: CPPCHECK_WARNING (CWE-476): [#def752]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:293: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 291| expand_env_var_is_free (SCM env, SCM x)
# 292| {
# 293|-> for (; scm_is_pair (env); env = CDR (env))
# 294| if (scm_is_eq (x, CAAR (env)))
# 295| return 0; /* bound */
Error: CPPCHECK_WARNING (CWE-476): [#def753]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:294: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 292| {
# 293| for (; scm_is_pair (env); env = CDR (env))
# 294|-> if (scm_is_eq (x, CAAR (env)))
# 295| return 0; /* bound */
# 296| return 1; /* free */
Error: CPPCHECK_WARNING (CWE-476): [#def754]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:307: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 305|
# 306| var = scm_module_variable (scm_current_module (), x);
# 307|-> if (scm_is_true (var) && scm_is_true (scm_variable_bound_p (var))
# 308| && scm_is_true (scm_macro_p (scm_variable_ref (var))))
# 309| return scm_variable_ref (var);
Error: CPPCHECK_WARNING (CWE-476): [#def755]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:308: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 306| var = scm_module_variable (scm_current_module (), x);
# 307| if (scm_is_true (var) && scm_is_true (scm_variable_bound_p (var))
# 308|-> && scm_is_true (scm_macro_p (scm_variable_ref (var))))
# 309| return scm_variable_ref (var);
# 310| else
Error: CPPCHECK_WARNING (CWE-476): [#def756]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:317: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 315| expand_env_lexical_gensym (SCM env, SCM name)
# 316| {
# 317|-> for (; scm_is_pair (env); env = CDR (env))
# 318| if (scm_is_eq (name, CAAR (env)))
# 319| return CDAR (env); /* bound */
Error: CPPCHECK_WARNING (CWE-476): [#def757]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:318: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 316| {
# 317| for (; scm_is_pair (env); env = CDR (env))
# 318|-> if (scm_is_eq (name, CAAR (env)))
# 319| return CDAR (env); /* bound */
# 320| return SCM_BOOL_F; /* free */
Error: CPPCHECK_WARNING (CWE-476): [#def758]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:319: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 317| for (; scm_is_pair (env); env = CDR (env))
# 318| if (scm_is_eq (name, CAAR (env)))
# 319|-> return CDAR (env); /* bound */
# 320| return SCM_BOOL_F; /* free */
# 321| }
Error: CPPCHECK_WARNING (CWE-476): [#def759]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:328: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 326| while (scm_is_pair (names))
# 327| {
# 328|-> env = scm_acons (CAR (names), CAR (vars), env);
# 329| names = CDR (names);
# 330| vars = CDR (vars);
Error: CPPCHECK_WARNING (CWE-476): [#def760]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:329: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 327| {
# 328| env = scm_acons (CAR (names), CAR (vars), env);
# 329|-> names = CDR (names);
# 330| vars = CDR (vars);
# 331| }
Error: CPPCHECK_WARNING (CWE-476): [#def761]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:330: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 328| env = scm_acons (CAR (names), CAR (vars), env);
# 329| names = CDR (names);
# 330|-> vars = CDR (vars);
# 331| }
# 332| return env;
Error: CPPCHECK_WARNING (CWE-476): [#def762]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:344: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 342| SCM macro = SCM_BOOL_F;
# 343|
# 344|-> car = CAR (exp);
# 345| if (scm_is_symbol (car))
# 346| macro = expand_env_ref_macro (env, car);
Error: CPPCHECK_WARNING (CWE-476): [#def763]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:345: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 343|
# 344| car = CAR (exp);
# 345|-> if (scm_is_symbol (car))
# 346| macro = expand_env_ref_macro (env, car);
# 347|
Error: CPPCHECK_WARNING (CWE-476): [#def764]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:348: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 346| macro = expand_env_ref_macro (env, car);
# 347|
# 348|-> if (scm_is_true (macro))
# 349| trans = scm_i_macro_primitive (macro);
# 350|
Error: CPPCHECK_WARNING (CWE-476): [#def765]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:357: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 355| SCM arg_exps = SCM_EOL;
# 356| SCM args = SCM_EOL;
# 357|-> SCM proc = expand (CAR (exp), env);
# 358|
# 359| for (arg_exps = CDR (exp); scm_is_pair (arg_exps);
Error: CPPCHECK_WARNING (CWE-476): [#def766]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:359: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 357| SCM proc = expand (CAR (exp), env);
# 358|
# 359|-> for (arg_exps = CDR (exp); scm_is_pair (arg_exps);
# 360| arg_exps = CDR (arg_exps))
# 361| args = scm_cons (expand (CAR (arg_exps), env), args);
Error: CPPCHECK_WARNING (CWE-476): [#def767]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:360: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 358|
# 359| for (arg_exps = CDR (exp); scm_is_pair (arg_exps);
# 360|-> arg_exps = CDR (arg_exps))
# 361| args = scm_cons (expand (CAR (arg_exps), env), args);
# 362| args = scm_reverse_x (args, SCM_UNDEFINED);
Error: CPPCHECK_WARNING (CWE-476): [#def768]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:361: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 359| for (arg_exps = CDR (exp); scm_is_pair (arg_exps);
# 360| arg_exps = CDR (arg_exps))
# 361|-> args = scm_cons (expand (CAR (arg_exps), env), args);
# 362| args = scm_reverse_x (args, SCM_UNDEFINED);
# 363|
Error: CPPCHECK_WARNING (CWE-476): [#def769]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:364: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 362| args = scm_reverse_x (args, SCM_UNDEFINED);
# 363|
# 364|-> if (!scm_is_null (arg_exps))
# 365| syntax_error ("expected a proper list", exp, SCM_UNDEFINED);
# 366|
Error: CPPCHECK_WARNING (CWE-476): [#def770]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:367: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 365| syntax_error ("expected a proper list", exp, SCM_UNDEFINED);
# 366|
# 367|-> if (SCM_EXPANDED_TYPE (proc) == SCM_EXPANDED_PRIMITIVE_REF)
# 368| return PRIMCALL (scm_source_properties (exp),
# 369| SCM_EXPANDED_REF (proc, PRIMITIVE_REF, NAME),
Error: CPPCHECK_WARNING (CWE-476): [#def771]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:368: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 366|
# 367| if (SCM_EXPANDED_TYPE (proc) == SCM_EXPANDED_PRIMITIVE_REF)
# 368|-> return PRIMCALL (scm_source_properties (exp),
# 369| SCM_EXPANDED_REF (proc, PRIMITIVE_REF, NAME),
# 370| args);
Error: CPPCHECK_WARNING (CWE-476): [#def772]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:372: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 370| args);
# 371| else
# 372|-> return CALL (scm_source_properties (exp), proc, args);
# 373| }
# 374| }
Error: CPPCHECK_WARNING (CWE-476): [#def773]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:375: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 373| }
# 374| }
# 375|-> else if (scm_is_symbol (exp))
# 376| {
# 377| SCM gensym = expand_env_lexical_gensym (env, exp);
Error: CPPCHECK_WARNING (CWE-476): [#def774]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:378: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 376| {
# 377| SCM gensym = expand_env_lexical_gensym (env, exp);
# 378|-> if (scm_is_true (gensym))
# 379| return LEXICAL_REF (SCM_BOOL_F, exp, gensym);
# 380| else
Error: CPPCHECK_WARNING (CWE-476): [#def775]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:379: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 377| SCM gensym = expand_env_lexical_gensym (env, exp);
# 378| if (scm_is_true (gensym))
# 379|-> return LEXICAL_REF (SCM_BOOL_F, exp, gensym);
# 380| else
# 381| return TOPLEVEL_REF (SCM_BOOL_F, SCM_BOOL_F, exp);
Error: CPPCHECK_WARNING (CWE-476): [#def776]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:381: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 379| return LEXICAL_REF (SCM_BOOL_F, exp, gensym);
# 380| else
# 381|-> return TOPLEVEL_REF (SCM_BOOL_F, SCM_BOOL_F, exp);
# 382| }
# 383| else
Error: CPPCHECK_WARNING (CWE-476): [#def777]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:384: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 382| }
# 383| else
# 384|-> return CONST_ (SCM_BOOL_F, exp);
# 385| }
# 386|
Error: CPPCHECK_WARNING (CWE-476): [#def778]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:392: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 390| SCM ret = SCM_EOL;
# 391|
# 392|-> for (; !scm_is_null (forms); forms = CDR (forms))
# 393| ret = scm_cons (expand (CAR (forms), env), ret);
# 394| return scm_reverse_x (ret, SCM_UNDEFINED);
Error: CPPCHECK_WARNING (CWE-476): [#def779]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:393: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 391|
# 392| for (; !scm_is_null (forms); forms = CDR (forms))
# 393|-> ret = scm_cons (expand (CAR (forms), env), ret);
# 394| return scm_reverse_x (ret, SCM_UNDEFINED);
# 395| }
Error: CPPCHECK_WARNING (CWE-476): [#def780]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:402: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 400| ASSERT_SYNTAX (scm_ilength (forms) >= 1, s_bad_expression,
# 401| scm_cons (scm_sym_begin, forms));
# 402|-> if (scm_is_null (CDR (forms)))
# 403| return expand (CAR (forms), env);
# 404| else
Error: CPPCHECK_WARNING (CWE-476): [#def781]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:403: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 401| scm_cons (scm_sym_begin, forms));
# 402| if (scm_is_null (CDR (forms)))
# 403|-> return expand (CAR (forms), env);
# 404| else
# 405| return SEQ (scm_source_properties (forms),
Error: CPPCHECK_WARNING (CWE-476): [#def782]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:405: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 403| return expand (CAR (forms), env);
# 404| else
# 405|-> return SEQ (scm_source_properties (forms),
# 406| expand (CAR (forms), env),
# 407| expand_sequence (CDR (forms), env));
Error: CPPCHECK_WARNING (CWE-476): [#def783]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:418: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 416| {
# 417| ASSERT_SYNTAX (scm_ilength (expr) == 3, s_bad_expression, expr);
# 418|-> ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 419| ASSERT_SYNTAX (scm_is_symbol (CADDR (expr)), s_bad_expression, expr);
# 420|
Error: CPPCHECK_WARNING (CWE-476): [#def784]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:419: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 417| ASSERT_SYNTAX (scm_ilength (expr) == 3, s_bad_expression, expr);
# 418| ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 419|-> ASSERT_SYNTAX (scm_is_symbol (CADDR (expr)), s_bad_expression, expr);
# 420|
# 421| return MODULE_REF (scm_source_properties (expr),
Error: CPPCHECK_WARNING (CWE-476): [#def785]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:421: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 419| ASSERT_SYNTAX (scm_is_symbol (CADDR (expr)), s_bad_expression, expr);
# 420|
# 421|-> return MODULE_REF (scm_source_properties (expr),
# 422| CADR (expr), CADDR (expr), SCM_BOOL_T);
# 423| }
Error: CPPCHECK_WARNING (CWE-476): [#def786]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:429: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 427| {
# 428| ASSERT_SYNTAX (scm_ilength (expr) == 3, s_bad_expression, expr);
# 429|-> ASSERT_SYNTAX (scm_is_symbol (CADDR (expr)), s_bad_expression, expr);
# 430|
# 431| if (scm_is_eq (CADR (expr), sym_primitive))
Error: CPPCHECK_WARNING (CWE-476): [#def787]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:431: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 429| ASSERT_SYNTAX (scm_is_symbol (CADDR (expr)), s_bad_expression, expr);
# 430|
# 431|-> if (scm_is_eq (CADR (expr), sym_primitive))
# 432| return PRIMITIVE_REF (scm_source_properties (expr), CADDR (expr));
# 433|
Error: CPPCHECK_WARNING (CWE-476): [#def788]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:432: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 430|
# 431| if (scm_is_eq (CADR (expr), sym_primitive))
# 432|-> return PRIMITIVE_REF (scm_source_properties (expr), CADDR (expr));
# 433|
# 434| ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
Error: CPPCHECK_WARNING (CWE-476): [#def789]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:434: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 432| return PRIMITIVE_REF (scm_source_properties (expr), CADDR (expr));
# 433|
# 434|-> ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 435| return MODULE_REF (scm_source_properties (expr),
# 436| CADR (expr), CADDR (expr), SCM_BOOL_F);
Error: CPPCHECK_WARNING (CWE-476): [#def790]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:435: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 433|
# 434| ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 435|-> return MODULE_REF (scm_source_properties (expr),
# 436| CADR (expr), CADDR (expr), SCM_BOOL_F);
# 437| }
Error: CPPCHECK_WARNING (CWE-476): [#def791]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:442: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 440| expand_and (SCM expr, SCM env)
# 441| {
# 442|-> const SCM cdr_expr = CDR (expr);
# 443|
# 444| if (scm_is_null (cdr_expr))
Error: CPPCHECK_WARNING (CWE-476): [#def792]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:444: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 442| const SCM cdr_expr = CDR (expr);
# 443|
# 444|-> if (scm_is_null (cdr_expr))
# 445| return CONST_ (SCM_BOOL_F, SCM_BOOL_T);
# 446|
Error: CPPCHECK_WARNING (CWE-476): [#def793]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:445: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 443|
# 444| if (scm_is_null (cdr_expr))
# 445|-> return CONST_ (SCM_BOOL_F, SCM_BOOL_T);
# 446|
# 447| ASSERT_SYNTAX (scm_is_pair (cdr_expr), s_bad_expression, expr);
Error: CPPCHECK_WARNING (CWE-476): [#def794]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:449: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 447| ASSERT_SYNTAX (scm_is_pair (cdr_expr), s_bad_expression, expr);
# 448|
# 449|-> if (scm_is_null (CDR (cdr_expr)))
# 450| return expand (CAR (cdr_expr), env);
# 451| else
Error: CPPCHECK_WARNING (CWE-476): [#def795]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:450: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 448|
# 449| if (scm_is_null (CDR (cdr_expr)))
# 450|-> return expand (CAR (cdr_expr), env);
# 451| else
# 452| return CONDITIONAL (scm_source_properties (expr),
Error: CPPCHECK_WARNING (CWE-476): [#def796]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:452: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 450| return expand (CAR (cdr_expr), env);
# 451| else
# 452|-> return CONDITIONAL (scm_source_properties (expr),
# 453| expand (CAR (cdr_expr), env),
# 454| expand_and (cdr_expr, env),
Error: CPPCHECK_WARNING (CWE-476): [#def797]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:461: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 459| expand_begin (SCM expr, SCM env)
# 460| {
# 461|-> const SCM cdr_expr = CDR (expr);
# 462| ASSERT_SYNTAX (scm_ilength (cdr_expr) >= 1, s_bad_expression, expr);
# 463| return expand_sequence (cdr_expr, env);
Error: CPPCHECK_WARNING (CWE-476): [#def798]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:473: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 471| ASSERT_SYNTAX (length >= 1, s_bad_cond_clause, clause);
# 472|
# 473|-> test = CAR (clause);
# 474| if (scm_is_eq (test, scm_sym_else) && elp)
# 475| {
Error: CPPCHECK_WARNING (CWE-476): [#def799]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:474: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 472|
# 473| test = CAR (clause);
# 474|-> if (scm_is_eq (test, scm_sym_else) && elp)
# 475| {
# 476| const int last_clause_p = scm_is_null (rest);
Error: CPPCHECK_WARNING (CWE-476): [#def800]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:476: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 474| if (scm_is_eq (test, scm_sym_else) && elp)
# 475| {
# 476|-> const int last_clause_p = scm_is_null (rest);
# 477| ASSERT_SYNTAX (length >= 2, s_bad_cond_clause, clause);
# 478| ASSERT_SYNTAX (last_clause_p, s_misplaced_else_clause, clause);
Error: CPPCHECK_WARNING (CWE-476): [#def801]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:479: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 477| ASSERT_SYNTAX (length >= 2, s_bad_cond_clause, clause);
# 478| ASSERT_SYNTAX (last_clause_p, s_misplaced_else_clause, clause);
# 479|-> return expand_sequence (CDR (clause), env);
# 480| }
# 481|
Error: CPPCHECK_WARNING (CWE-476): [#def802]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:482: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 480| }
# 481|
# 482|-> if (scm_is_null (rest))
# 483| rest = VOID_ (SCM_BOOL_F);
# 484| else
Error: CPPCHECK_WARNING (CWE-476): [#def803]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:483: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 481|
# 482| if (scm_is_null (rest))
# 483|-> rest = VOID_ (SCM_BOOL_F);
# 484| else
# 485| rest = expand_cond_clauses (CAR (rest), CDR (rest), elp, alp, env);
Error: CPPCHECK_WARNING (CWE-476): [#def804]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:485: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 483| rest = VOID_ (SCM_BOOL_F);
# 484| else
# 485|-> rest = expand_cond_clauses (CAR (rest), CDR (rest), elp, alp, env);
# 486|
# 487| if (length >= 2
Error: CPPCHECK_WARNING (CWE-476): [#def805]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:488: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 486|
# 487| if (length >= 2
# 488|-> && scm_is_eq (CADR (clause), scm_sym_arrow)
# 489| && alp)
# 490| {
Error: CPPCHECK_WARNING (CWE-476): [#def806]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:495: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 493| ASSERT_SYNTAX (length > 2, s_missing_recipient, clause);
# 494| ASSERT_SYNTAX (length == 3, s_extra_expression, clause);
# 495|-> return LET (SCM_BOOL_F,
# 496| scm_list_1 (tmp),
# 497| scm_list_1 (tmp),
Error: CPPCHECK_WARNING (CWE-476): [#def807]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:509: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 507| /* FIXME length == 1 case */
# 508| else
# 509|-> return CONDITIONAL (SCM_BOOL_F,
# 510| expand (test, env),
# 511| expand_sequence (CDR (clause), env),
Error: CPPCHECK_WARNING (CWE-476): [#def808]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:520: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 518| const int else_literal_p = expand_env_var_is_free (env, scm_sym_else);
# 519| const int arrow_literal_p = expand_env_var_is_free (env, scm_sym_arrow);
# 520|-> const SCM clauses = CDR (expr);
# 521|
# 522| ASSERT_SYNTAX (scm_ilength (clauses) >= 0, s_bad_expression, expr);
Error: CPPCHECK_WARNING (CWE-476): [#def809]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:525: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 523| ASSERT_SYNTAX (scm_ilength (clauses) >= 1, s_missing_clauses, expr);
# 524|
# 525|-> return expand_cond_clauses (CAR (clauses), CDR (clauses),
# 526| else_literal_p, arrow_literal_p, env);
# 527| }
Error: CPPCHECK_WARNING (CWE-476): [#def810]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:540: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 538| expand_define (SCM expr, SCM env)
# 539| {
# 540|-> const SCM cdr_expr = CDR (expr);
# 541| SCM body;
# 542| SCM variable;
Error: CPPCHECK_WARNING (CWE-476): [#def811]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:548: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 546| ASSERT_SYNTAX (!scm_is_pair (env), s_bad_define, expr);
# 547|
# 548|-> body = CDR (cdr_expr);
# 549| variable = CAR (cdr_expr);
# 550|
Error: CPPCHECK_WARNING (CWE-476): [#def812]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:549: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 547|
# 548| body = CDR (cdr_expr);
# 549|-> variable = CAR (cdr_expr);
# 550|
# 551| if (scm_is_pair (variable))
Error: CPPCHECK_WARNING (CWE-476): [#def813]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:553: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 551| if (scm_is_pair (variable))
# 552| {
# 553|-> ASSERT_SYNTAX_2 (scm_is_symbol (CAR (variable)), s_bad_variable, variable, expr);
# 554| return TOPLEVEL_DEFINE
# 555| (scm_source_properties (expr),
Error: CPPCHECK_WARNING (CWE-476): [#def814]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:554: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 552| {
# 553| ASSERT_SYNTAX_2 (scm_is_symbol (CAR (variable)), s_bad_variable, variable, expr);
# 554|-> return TOPLEVEL_DEFINE
# 555| (scm_source_properties (expr),
# 556| SCM_BOOL_F,
Error: CPPCHECK_WARNING (CWE-476): [#def815]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:561: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 559| env));
# 560| }
# 561|-> ASSERT_SYNTAX_2 (scm_is_symbol (variable), s_bad_variable, variable, expr);
# 562| ASSERT_SYNTAX (scm_ilength (body) == 1, s_expression, expr);
# 563| return TOPLEVEL_DEFINE (scm_source_properties (expr), SCM_BOOL_F, variable,
Error: CPPCHECK_WARNING (CWE-476): [#def816]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:563: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 561| ASSERT_SYNTAX_2 (scm_is_symbol (variable), s_bad_variable, variable, expr);
# 562| ASSERT_SYNTAX (scm_ilength (body) == 1, s_expression, expr);
# 563|-> return TOPLEVEL_DEFINE (scm_source_properties (expr), SCM_BOOL_F, variable,
# 564| expand (CAR (body), env));
# 565| }
Error: CPPCHECK_WARNING (CWE-476): [#def817]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:571: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 569| {
# 570| ASSERT_SYNTAX (scm_ilength (expr) >= 3, s_bad_expression, expr);
# 571|-> ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 572|
# 573| if (scm_is_true (scm_memq (sym_eval, CADR (expr)))
Error: CPPCHECK_WARNING (CWE-476): [#def818]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:573: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 571| ASSERT_SYNTAX (scm_ilength (CADR (expr)) > 0, s_bad_expression, expr);
# 572|
# 573|-> if (scm_is_true (scm_memq (sym_eval, CADR (expr)))
# 574| || scm_is_true (scm_memq (sym_load, CADR (expr))))
# 575| return expand_sequence (CDDR (expr), env);
Error: CPPCHECK_WARNING (CWE-476): [#def819]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:574: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 572|
# 573| if (scm_is_true (scm_memq (sym_eval, CADR (expr)))
# 574|-> || scm_is_true (scm_memq (sym_load, CADR (expr))))
# 575| return expand_sequence (CDDR (expr), env);
# 576| else
Error: CPPCHECK_WARNING (CWE-476): [#def820]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:575: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 573| if (scm_is_true (scm_memq (sym_eval, CADR (expr)))
# 574| || scm_is_true (scm_memq (sym_load, CADR (expr))))
# 575|-> return expand_sequence (CDDR (expr), env);
# 576| else
# 577| return VOID_ (scm_source_properties (expr));
Error: CPPCHECK_WARNING (CWE-476): [#def821]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:577: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 575| return expand_sequence (CDDR (expr), env);
# 576| else
# 577|-> return VOID_ (scm_source_properties (expr));
# 578| }
# 579|
Error: CPPCHECK_WARNING (CWE-476): [#def822]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:583: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 581| expand_if (SCM expr, SCM env SCM_UNUSED)
# 582| {
# 583|-> const SCM cdr_expr = CDR (expr);
# 584| const long length = scm_ilength (cdr_expr);
# 585| ASSERT_SYNTAX (length == 2 || length == 3, s_expression, expr);
Error: CPPCHECK_WARNING (CWE-476): [#def823]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:586: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 584| const long length = scm_ilength (cdr_expr);
# 585| ASSERT_SYNTAX (length == 2 || length == 3, s_expression, expr);
# 586|-> return CONDITIONAL (scm_source_properties (expr),
# 587| expand (CADR (expr), env),
# 588| expand (CADDR (expr), env),
Error: CPPCHECK_WARNING (CWE-476): [#def824]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:602: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 600| c_improper_memq (SCM obj, SCM list)
# 601| {
# 602|-> for (; scm_is_pair (list); list = CDR (list))
# 603| {
# 604| if (scm_is_eq (CAR (list), obj))
Error: CPPCHECK_WARNING (CWE-476): [#def825]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:604: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 602| for (; scm_is_pair (list); list = CDR (list))
# 603| {
# 604|-> if (scm_is_eq (CAR (list), obj))
# 605| return 1;
# 606| }
Error: CPPCHECK_WARNING (CWE-476): [#def826]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:607: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 605| return 1;
# 606| }
# 607|-> return scm_is_eq (list, obj);
# 608| }
# 609|
Error: CPPCHECK_WARNING (CWE-476): [#def827]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:620: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 618| int nreq = 0;
# 619|
# 620|-> ASSERT_SYNTAX (scm_is_pair (clause) && scm_is_pair (CDR (clause)),
# 621| s_bad_expression, scm_cons (scm_sym_lambda, clause));
# 622|
Error: CPPCHECK_WARNING (CWE-476): [#def828]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:625: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 623| /* Before iterating the list of formal arguments, make sure the formals
# 624| * actually are given as either a symbol or a non-cyclic list. */
# 625|-> formals = CAR (clause);
# 626| if (scm_is_pair (formals))
# 627| {
Error: CPPCHECK_WARNING (CWE-476): [#def829]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:632: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 630| }
# 631| else
# 632|-> ASSERT_SYNTAX_2 (scm_is_symbol (formals) || scm_is_null (formals),
# 633| s_bad_formals, formals, scm_cons (scm_sym_lambda, clause));
# 634|
Error: CPPCHECK_WARNING (CWE-476): [#def830]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:639: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 637| while (scm_is_pair (formals))
# 638| {
# 639|-> const SCM formal = CAR (formals);
# 640| formals = CDR (formals);
# 641| ASSERT_SYNTAX_2 (scm_is_symbol (formal), s_bad_formal, formal,
Error: CPPCHECK_WARNING (CWE-476): [#def831]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:640: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 638| {
# 639| const SCM formal = CAR (formals);
# 640|-> formals = CDR (formals);
# 641| ASSERT_SYNTAX_2 (scm_is_symbol (formal), s_bad_formal, formal,
# 642| scm_cons (scm_sym_lambda, clause));
Error: CPPCHECK_WARNING (CWE-476): [#def832]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:641: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 639| const SCM formal = CAR (formals);
# 640| formals = CDR (formals);
# 641|-> ASSERT_SYNTAX_2 (scm_is_symbol (formal), s_bad_formal, formal,
# 642| scm_cons (scm_sym_lambda, clause));
# 643| ASSERT_SYNTAX_2 (!c_improper_memq (formal, formals), s_duplicate_formal,
Error: CPPCHECK_WARNING (CWE-476): [#def833]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:648: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 646| req = scm_cons (formal, req);
# 647| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 648|-> env = scm_acons (formal, CAR (vars), env);
# 649| }
# 650|
Error: CPPCHECK_WARNING (CWE-476): [#def834]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:651: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 649| }
# 650|
# 651|-> ASSERT_SYNTAX_2 (scm_is_null (formals) || scm_is_symbol (formals),
# 652| s_bad_formal, formals, scm_cons (scm_sym_lambda, clause));
# 653| if (scm_is_symbol (formals))
Error: CPPCHECK_WARNING (CWE-476): [#def835]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:653: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 651| ASSERT_SYNTAX_2 (scm_is_null (formals) || scm_is_symbol (formals),
# 652| s_bad_formal, formals, scm_cons (scm_sym_lambda, clause));
# 653|-> if (scm_is_symbol (formals))
# 654| {
# 655| rest = formals;
Error: CPPCHECK_WARNING (CWE-476): [#def836]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:657: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 655| rest = formals;
# 656| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 657|-> env = scm_acons (rest, CAR (vars), env);
# 658| }
# 659| else
Error: CPPCHECK_WARNING (CWE-476): [#def837]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:662: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 660| rest = SCM_BOOL_F;
# 661|
# 662|-> body = expand_sequence (CDR (clause), env);
# 663| req = scm_reverse_x (req, SCM_UNDEFINED);
# 664| vars = scm_reverse_x (vars, SCM_UNDEFINED);
Error: CPPCHECK_WARNING (CWE-476): [#def838]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:666: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 664| vars = scm_reverse_x (vars, SCM_UNDEFINED);
# 665|
# 666|-> if (scm_is_true (alternate) && !(SCM_EXPANDED_P (alternate) && SCM_EXPANDED_TYPE (alternate) == SCM_EXPANDED_LAMBDA_CASE))
# 667| abort ();
# 668|
Error: CPPCHECK_WARNING (CWE-476): [#def839]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:669: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 667| abort ();
# 668|
# 669|-> return LAMBDA_CASE (SCM_BOOL_F, req, SCM_BOOL_F, rest, SCM_BOOL_F,
# 670| SCM_EOL, vars, body, alternate);
# 671| }
Error: CPPCHECK_WARNING (CWE-476): [#def840]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:676: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 674| expand_lambda (SCM expr, SCM env)
# 675| {
# 676|-> return LAMBDA (scm_source_properties (expr),
# 677| SCM_EOL,
# 678| expand_lambda_case (CDR (expr), SCM_BOOL_F, env));
Error: CPPCHECK_WARNING (CWE-476): [#def841]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:694: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 692| scm_cons (sym_lambda_star, clause));
# 693|
# 694|-> formals = CAR (clause);
# 695| body = CDR (clause);
# 696|
Error: CPPCHECK_WARNING (CWE-476): [#def842]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:695: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 693|
# 694| formals = CAR (clause);
# 695|-> body = CDR (clause);
# 696|
# 697| nreq = nopt = 0;
Error: CLANG_WARNING: [#def843]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:699:3: warning[deadcode.DeadStores]: Value stored to 'rest' is never read
# 697| nreq = nopt = 0;
# 698| req = opt = kw = SCM_EOL;
# 699|-> rest = allow_other_keys = SCM_BOOL_F;
# 700|
# 701| while (scm_is_pair (formals) && scm_is_symbol (CAR (formals)))
Error: CPPCHECK_WARNING (CWE-476): [#def844]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:701: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 699| rest = allow_other_keys = SCM_BOOL_F;
# 700|
# 701|-> while (scm_is_pair (formals) && scm_is_symbol (CAR (formals)))
# 702| {
# 703| nreq++;
Error: CPPCHECK_WARNING (CWE-476): [#def845]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:704: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 702| {
# 703| nreq++;
# 704|-> req = scm_cons (CAR (formals), req);
# 705| formals = scm_cdr (formals);
# 706| }
Error: CPPCHECK_WARNING (CWE-476): [#def846]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:708: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 706| }
# 707|
# 708|-> if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_optional))
# 709| {
# 710| formals = CDR (formals);
Error: CPPCHECK_WARNING (CWE-476): [#def847]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:710: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 708| if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_optional))
# 709| {
# 710|-> formals = CDR (formals);
# 711| while (scm_is_pair (formals)
# 712| && (scm_is_symbol (CAR (formals)) || scm_is_pair (CAR (formals))))
Error: CPPCHECK_WARNING (CWE-476): [#def848]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:712: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 710| formals = CDR (formals);
# 711| while (scm_is_pair (formals)
# 712|-> && (scm_is_symbol (CAR (formals)) || scm_is_pair (CAR (formals))))
# 713| {
# 714| nopt++;
Error: CPPCHECK_WARNING (CWE-476): [#def849]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:715: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 713| {
# 714| nopt++;
# 715|-> opt = scm_cons (CAR (formals), opt);
# 716| formals = scm_cdr (formals);
# 717| }
Error: CPPCHECK_WARNING (CWE-476): [#def850]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:720: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 718| }
# 719|
# 720|-> if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_key))
# 721| {
# 722| formals = CDR (formals);
Error: CPPCHECK_WARNING (CWE-476): [#def851]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:722: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 720| if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_key))
# 721| {
# 722|-> formals = CDR (formals);
# 723| while (scm_is_pair (formals)
# 724| && (scm_is_symbol (CAR (formals)) || scm_is_pair (CAR (formals))))
Error: CPPCHECK_WARNING (CWE-476): [#def852]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:724: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 722| formals = CDR (formals);
# 723| while (scm_is_pair (formals)
# 724|-> && (scm_is_symbol (CAR (formals)) || scm_is_pair (CAR (formals))))
# 725| {
# 726| kw = scm_cons (CAR (formals), kw);
Error: CPPCHECK_WARNING (CWE-476): [#def853]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:726: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 724| && (scm_is_symbol (CAR (formals)) || scm_is_pair (CAR (formals))))
# 725| {
# 726|-> kw = scm_cons (CAR (formals), kw);
# 727| formals = scm_cdr (formals);
# 728| }
Error: CPPCHECK_WARNING (CWE-476): [#def854]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:731: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 729| }
# 730|
# 731|-> if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_allow_other_keys))
# 732| {
# 733| formals = CDR (formals);
Error: CPPCHECK_WARNING (CWE-476): [#def855]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:733: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 731| if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_allow_other_keys))
# 732| {
# 733|-> formals = CDR (formals);
# 734| allow_other_keys = SCM_BOOL_T;
# 735| }
Error: CPPCHECK_WARNING (CWE-476): [#def856]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:737: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 735| }
# 736|
# 737|-> if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_rest))
# 738| {
# 739| ASSERT_SYNTAX (scm_ilength (formals) == 2, s_bad_formals,
Error: CPPCHECK_WARNING (CWE-476): [#def857]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:739: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 737| if (scm_is_pair (formals) && scm_is_eq (CAR (formals), kw_rest))
# 738| {
# 739|-> ASSERT_SYNTAX (scm_ilength (formals) == 2, s_bad_formals,
# 740| CAR (clause));
# 741| rest = CADR (formals);
Error: CPPCHECK_WARNING (CWE-476): [#def858]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:741: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 739| ASSERT_SYNTAX (scm_ilength (formals) == 2, s_bad_formals,
# 740| CAR (clause));
# 741|-> rest = CADR (formals);
# 742| }
# 743| else if (scm_is_symbol (formals))
Error: CPPCHECK_WARNING (CWE-476): [#def859]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:743: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 741| rest = CADR (formals);
# 742| }
# 743|-> else if (scm_is_symbol (formals))
# 744| rest = formals;
# 745| else
Error: CPPCHECK_WARNING (CWE-476): [#def860]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:747: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 745| else
# 746| {
# 747|-> ASSERT_SYNTAX (scm_is_null (formals), s_bad_formals, CAR (clause));
# 748| rest = SCM_BOOL_F;
# 749| }
Error: CPPCHECK_WARNING (CWE-476): [#def861]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:768: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 766| {
# 767| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 768|-> env = scm_acons (CAR (tmp), CAR (vars), env);
# 769| }
# 770|
Error: CPPCHECK_WARNING (CWE-476): [#def862]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:776: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 774| for (tmp = opt; scm_is_pair (tmp); tmp = scm_cdr (tmp))
# 775| {
# 776|-> SCM x = CAR (tmp);
# 777| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 778| env = scm_acons (x, CAR (vars), env);
Error: CPPCHECK_WARNING (CWE-476): [#def863]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:778: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 776| SCM x = CAR (tmp);
# 777| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 778|-> env = scm_acons (x, CAR (vars), env);
# 779| if (scm_is_symbol (x))
# 780| inits = scm_cons (CONST_ (SCM_BOOL_F, SCM_BOOL_F), inits);
Error: CPPCHECK_WARNING (CWE-476): [#def864]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:779: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 777| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 778| env = scm_acons (x, CAR (vars), env);
# 779|-> if (scm_is_symbol (x))
# 780| inits = scm_cons (CONST_ (SCM_BOOL_F, SCM_BOOL_F), inits);
# 781| else
Error: CPPCHECK_WARNING (CWE-476): [#def865]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:780: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 778| env = scm_acons (x, CAR (vars), env);
# 779| if (scm_is_symbol (x))
# 780|-> inits = scm_cons (CONST_ (SCM_BOOL_F, SCM_BOOL_F), inits);
# 781| else
# 782| {
Error: CPPCHECK_WARNING (CWE-476): [#def866]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:783: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 781| else
# 782| {
# 783|-> ASSERT_SYNTAX (scm_ilength (x) == 2 && scm_is_symbol (CAR (x)),
# 784| s_bad_formals, CAR (clause));
# 785| inits = scm_cons (expand (CADR (x), env), inits);
Error: CPPCHECK_WARNING (CWE-476): [#def867]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:785: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 783| ASSERT_SYNTAX (scm_ilength (x) == 2 && scm_is_symbol (CAR (x)),
# 784| s_bad_formals, CAR (clause));
# 785|-> inits = scm_cons (expand (CADR (x), env), inits);
# 786| }
# 787| env = scm_acons (scm_is_symbol (x) ? x : CAR (x), CAR (vars), env);
Error: CPPCHECK_WARNING (CWE-476): [#def868]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:787: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 785| inits = scm_cons (expand (CADR (x), env), inits);
# 786| }
# 787|-> env = scm_acons (scm_is_symbol (x) ? x : CAR (x), CAR (vars), env);
# 788| }
# 789| if (scm_is_null (opt))
Error: CPPCHECK_WARNING (CWE-476): [#def869]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:789: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 787| env = scm_acons (scm_is_symbol (x) ? x : CAR (x), CAR (vars), env);
# 788| }
# 789|-> if (scm_is_null (opt))
# 790| opt = SCM_BOOL_F;
# 791|
Error: CPPCHECK_WARNING (CWE-476): [#def870]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:793: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 791|
# 792| /* Process rest before keyword args */
# 793|-> if (scm_is_true (rest))
# 794| {
# 795| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
Error: CPPCHECK_WARNING (CWE-476): [#def871]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:796: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 794| {
# 795| vars = scm_cons (scm_gensym (SCM_UNDEFINED), vars);
# 796|-> env = scm_acons (rest, CAR (vars), env);
# 797| }
# 798|
Error: CPPCHECK_WARNING (CWE-476): [#def872]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:800: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 798|
# 799| /* Build up kw inits, env, and kw-canon list */
# 800|-> if (scm_is_null (kw))
# 801| kw = SCM_BOOL_F;
# 802| else
Error: CPPCHECK_WARNING (CWE-476): [#def873]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:809: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 807| {
# 808| SCM x, sym, k, init;
# 809|-> x = CAR (tmp);
# 810| if (scm_is_symbol (x))
# 811| {
Error: CPPCHECK_WARNING (CWE-476): [#def874]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:810: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 808| SCM x, sym, k, init;
# 809| x = CAR (tmp);
# 810|-> if (scm_is_symbol (x))
# 811| {
# 812| sym = x;
Error: CPPCHECK_WARNING (CWE-476): [#def875]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:816: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 814| k = scm_symbol_to_keyword (sym);
# 815| }
# 816|-> else if (scm_ilength (x) == 2 && scm_is_symbol (CAR (x)))
# 817| {
# 818| sym = CAR (x);
Error: CPPCHECK_WARNING (CWE-476): [#def876]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:818: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 816| else if (scm_ilength (x) == 2 && scm_is_symbol (CAR (x)))
# 817| {
# 818|-> sym = CAR (x);
# 819| init = CADR (x);
# 820| k = scm_symbol_to_keyword (sym);
Error: CPPCHECK_WARNING (CWE-476): [#def877]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:819: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 817| {
# 818| sym = CAR (x);
# 819|-> init = CADR (x);
# 820| k = scm_symbol_to_keyword (sym);
# 821| }
Error: CPPCHECK_WARNING (CWE-476): [#def878]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:822: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 820| k = scm_symbol_to_keyword (sym);
# 821| }
# 822|-> else if (scm_ilength (x) == 3 && scm_is_symbol (CAR (x))
# 823| && scm_is_keyword (CADDR (x)))
# 824| {
Error: CPPCHECK_WARNING (CWE-476): [#def879]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:823: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 821| }
# 822| else if (scm_ilength (x) == 3 && scm_is_symbol (CAR (x))
# 823|-> && scm_is_keyword (CADDR (x)))
# 824| {
# 825| sym = CAR (x);
Error: CPPCHECK_WARNING (CWE-476): [#def880]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:825: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 823| && scm_is_keyword (CADDR (x)))
# 824| {
# 825|-> sym = CAR (x);
# 826| init = CADR (x);
# 827| k = CADDR (x);
Error: CPPCHECK_WARNING (CWE-476): [#def881]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:826: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 824| {
# 825| sym = CAR (x);
# 826|-> init = CADR (x);
# 827| k = CADDR (x);
# 828| }
Error: CPPCHECK_WARNING (CWE-476): [#def882]
guile30-3.0.7-build/guile-3.0.7/libguile/expand.c:827: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 825| sym = CAR (x);
# 826| init = CADR (x);
# 827|-> k = CADDR (x);
# 828| }
# 829| else
Error: CPPCHECK_WARNING (CWE-476): [#def883]
guile30-3.0.7-build/guile-3.0.7/libguile/fdes-finalizers.c:78: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 76| scm_i_pthread_mutex_lock (&fdes_finalizers_lock);
# 77| h = scm_hashv_get_handle (fdes_finalizers, fd);
# 78|-> if (scm_is_true (h))
# 79| scm_set_cdr_x (h, scm_delq1_x (finalizer, scm_cdr (h)));
# 80| scm_i_pthread_mutex_unlock (&fdes_finalizers_lock);
Error: CPPCHECK_WARNING (CWE-476): [#def884]
guile30-3.0.7-build/guile-3.0.7/libguile/fdes-finalizers.c:109: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 107| scm_i_pthread_mutex_lock (&fdes_finalizers_lock);
# 108| finalizers = scm_hashv_ref (fdes_finalizers, data.fd, SCM_EOL);
# 109|-> if (!scm_is_null (finalizers))
# 110| scm_hashv_remove_x (fdes_finalizers, data.fd);
# 111| scm_i_pthread_mutex_unlock (&fdes_finalizers_lock);
Error: CPPCHECK_WARNING (CWE-476): [#def885]
guile30-3.0.7-build/guile-3.0.7/libguile/fdes-finalizers.c:113: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 111| scm_i_pthread_mutex_unlock (&fdes_finalizers_lock);
# 112|
# 113|-> for (; !scm_is_null (finalizers); finalizers = scm_cdr (finalizers))
# 114| {
# 115| data.finalizer = scm_car (finalizers);
Error: CPPCHECK_WARNING (CWE-476): [#def886]
guile30-3.0.7-build/guile-3.0.7/libguile/feature.c:49: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 47| scm_add_feature (const char *str)
# 48| {
# 49|-> SCM old = SCM_VARIABLE_REF (features_var);
# 50| SCM new = scm_cons (scm_from_utf8_symbol (str), old);
# 51| SCM_VARIABLE_SET (features_var, new);
Error: CPPCHECK_WARNING (CWE-476): [#def887]
guile30-3.0.7-build/guile-3.0.7/libguile/feature.c:51: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 49| SCM old = SCM_VARIABLE_REF (features_var);
# 50| SCM new = scm_cons (scm_from_utf8_symbol (str), old);
# 51|-> SCM_VARIABLE_SET (features_var, new);
# 52| }
# 53|
Error: CPPCHECK_WARNING: [#def888]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def889]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:171: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 169| int rv;
# 170|
# 171|-> object = SCM_COERCE_OUTPORT (object);
# 172|
# 173| #ifdef HAVE_FCHOWN
Error: CPPCHECK_WARNING (CWE-476): [#def890]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:174: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 172|
# 173| #ifdef HAVE_FCHOWN
# 174|-> if (scm_is_integer (object) || (SCM_OPFPORTP (object)))
# 175| {
# 176| int fdes = (SCM_OPFPORTP (object)?
Error: CPPCHECK_WARNING (CWE-476): [#def891]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:176: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 174| if (scm_is_integer (object) || (SCM_OPFPORTP (object)))
# 175| {
# 176|-> int fdes = (SCM_OPFPORTP (object)?
# 177| SCM_FPORT_FDES (object) : scm_to_int (object));
# 178|
Error: CPPCHECK_WARNING (CWE-476): [#def892]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:177: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 175| {
# 176| int fdes = (SCM_OPFPORTP (object)?
# 177|-> SCM_FPORT_FDES (object) : scm_to_int (object));
# 178|
# 179| SCM_SYSCALL (rv = fchown (fdes, scm_to_int (owner), scm_to_int (group)));
Error: CPPCHECK_WARNING (CWE-476): [#def893]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:208: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 206|
# 207| iflags = SCM_NUM2INT (2, flags);
# 208|-> imode = SCM_NUM2INT_DEF (3, mode, 0666);
# 209| STRING_SYSCALL (path, c_path, fd = open_or_open64 (c_path, iflags, imode));
# 210| if (fd == -1)
Error: CPPCHECK_WARNING (CWE-476): [#def894]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:290: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 288| int fd;
# 289|
# 290|-> fd_or_port = SCM_COERCE_OUTPORT (fd_or_port);
# 291|
# 292| if (SCM_PORTP (fd_or_port))
Error: CPPCHECK_WARNING (CWE-476): [#def895]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:292: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 290| fd_or_port = SCM_COERCE_OUTPORT (fd_or_port);
# 291|
# 292|-> if (SCM_PORTP (fd_or_port))
# 293| return scm_close_port (fd_or_port);
# 294| fd = scm_to_int (fd_or_port);
Error: CPPCHECK_WARNING (CWE-476): [#def896]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:349: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 347| SCM ans = scm_c_make_vector (18, SCM_UNSPECIFIED);
# 348|
# 349|-> SCM_SIMPLE_VECTOR_SET(ans, 0, scm_from_ulong (stat_temp->st_dev));
# 350| SCM_SIMPLE_VECTOR_SET(ans, 1, scm_from_ino_t_or_ino64_t (stat_temp->st_ino));
# 351| SCM_SIMPLE_VECTOR_SET(ans, 2, scm_from_ulong (stat_temp->st_mode));
Error: CPPCHECK_WARNING (CWE-476): [#def897]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:350: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 348|
# 349| SCM_SIMPLE_VECTOR_SET(ans, 0, scm_from_ulong (stat_temp->st_dev));
# 350|-> SCM_SIMPLE_VECTOR_SET(ans, 1, scm_from_ino_t_or_ino64_t (stat_temp->st_ino));
# 351| SCM_SIMPLE_VECTOR_SET(ans, 2, scm_from_ulong (stat_temp->st_mode));
# 352| SCM_SIMPLE_VECTOR_SET(ans, 3, scm_from_ulong (stat_temp->st_nlink));
Error: CPPCHECK_WARNING (CWE-476): [#def898]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:351: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 349| SCM_SIMPLE_VECTOR_SET(ans, 0, scm_from_ulong (stat_temp->st_dev));
# 350| SCM_SIMPLE_VECTOR_SET(ans, 1, scm_from_ino_t_or_ino64_t (stat_temp->st_ino));
# 351|-> SCM_SIMPLE_VECTOR_SET(ans, 2, scm_from_ulong (stat_temp->st_mode));
# 352| SCM_SIMPLE_VECTOR_SET(ans, 3, scm_from_ulong (stat_temp->st_nlink));
# 353| SCM_SIMPLE_VECTOR_SET(ans, 4, scm_from_ulong (stat_temp->st_uid));
Error: CPPCHECK_WARNING (CWE-476): [#def899]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:352: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 350| SCM_SIMPLE_VECTOR_SET(ans, 1, scm_from_ino_t_or_ino64_t (stat_temp->st_ino));
# 351| SCM_SIMPLE_VECTOR_SET(ans, 2, scm_from_ulong (stat_temp->st_mode));
# 352|-> SCM_SIMPLE_VECTOR_SET(ans, 3, scm_from_ulong (stat_temp->st_nlink));
# 353| SCM_SIMPLE_VECTOR_SET(ans, 4, scm_from_ulong (stat_temp->st_uid));
# 354| SCM_SIMPLE_VECTOR_SET(ans, 5, scm_from_ulong (stat_temp->st_gid));
Error: CPPCHECK_WARNING (CWE-476): [#def900]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:353: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 351| SCM_SIMPLE_VECTOR_SET(ans, 2, scm_from_ulong (stat_temp->st_mode));
# 352| SCM_SIMPLE_VECTOR_SET(ans, 3, scm_from_ulong (stat_temp->st_nlink));
# 353|-> SCM_SIMPLE_VECTOR_SET(ans, 4, scm_from_ulong (stat_temp->st_uid));
# 354| SCM_SIMPLE_VECTOR_SET(ans, 5, scm_from_ulong (stat_temp->st_gid));
# 355| #ifdef HAVE_STRUCT_STAT_ST_RDEV
Error: CPPCHECK_WARNING (CWE-476): [#def901]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:354: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 352| SCM_SIMPLE_VECTOR_SET(ans, 3, scm_from_ulong (stat_temp->st_nlink));
# 353| SCM_SIMPLE_VECTOR_SET(ans, 4, scm_from_ulong (stat_temp->st_uid));
# 354|-> SCM_SIMPLE_VECTOR_SET(ans, 5, scm_from_ulong (stat_temp->st_gid));
# 355| #ifdef HAVE_STRUCT_STAT_ST_RDEV
# 356| SCM_SIMPLE_VECTOR_SET(ans, 6, scm_from_ulong (stat_temp->st_rdev));
Error: CPPCHECK_WARNING (CWE-476): [#def902]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:356: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 354| SCM_SIMPLE_VECTOR_SET(ans, 5, scm_from_ulong (stat_temp->st_gid));
# 355| #ifdef HAVE_STRUCT_STAT_ST_RDEV
# 356|-> SCM_SIMPLE_VECTOR_SET(ans, 6, scm_from_ulong (stat_temp->st_rdev));
# 357| #else
# 358| SCM_SIMPLE_VECTOR_SET(ans, 6, SCM_BOOL_F);
Error: CPPCHECK_WARNING (CWE-476): [#def903]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:360: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 358| SCM_SIMPLE_VECTOR_SET(ans, 6, SCM_BOOL_F);
# 359| #endif
# 360|-> SCM_SIMPLE_VECTOR_SET(ans, 7, scm_from_off_t_or_off64_t (stat_temp->st_size));
# 361| SCM_SIMPLE_VECTOR_SET(ans, 8, scm_from_ulong (stat_temp->st_atime));
# 362| SCM_SIMPLE_VECTOR_SET(ans, 9, scm_from_ulong (stat_temp->st_mtime));
Error: CPPCHECK_WARNING (CWE-476): [#def904]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:361: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 359| #endif
# 360| SCM_SIMPLE_VECTOR_SET(ans, 7, scm_from_off_t_or_off64_t (stat_temp->st_size));
# 361|-> SCM_SIMPLE_VECTOR_SET(ans, 8, scm_from_ulong (stat_temp->st_atime));
# 362| SCM_SIMPLE_VECTOR_SET(ans, 9, scm_from_ulong (stat_temp->st_mtime));
# 363| SCM_SIMPLE_VECTOR_SET(ans, 10, scm_from_ulong (stat_temp->st_ctime));
Error: CPPCHECK_WARNING (CWE-476): [#def905]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:362: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 360| SCM_SIMPLE_VECTOR_SET(ans, 7, scm_from_off_t_or_off64_t (stat_temp->st_size));
# 361| SCM_SIMPLE_VECTOR_SET(ans, 8, scm_from_ulong (stat_temp->st_atime));
# 362|-> SCM_SIMPLE_VECTOR_SET(ans, 9, scm_from_ulong (stat_temp->st_mtime));
# 363| SCM_SIMPLE_VECTOR_SET(ans, 10, scm_from_ulong (stat_temp->st_ctime));
# 364| #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
Error: CPPCHECK_WARNING (CWE-476): [#def906]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:363: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 361| SCM_SIMPLE_VECTOR_SET(ans, 8, scm_from_ulong (stat_temp->st_atime));
# 362| SCM_SIMPLE_VECTOR_SET(ans, 9, scm_from_ulong (stat_temp->st_mtime));
# 363|-> SCM_SIMPLE_VECTOR_SET(ans, 10, scm_from_ulong (stat_temp->st_ctime));
# 364| #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
# 365| SCM_SIMPLE_VECTOR_SET(ans, 11, scm_from_ulong (stat_temp->st_blksize));
Error: CPPCHECK_WARNING (CWE-476): [#def907]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:365: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 363| SCM_SIMPLE_VECTOR_SET(ans, 10, scm_from_ulong (stat_temp->st_ctime));
# 364| #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
# 365|-> SCM_SIMPLE_VECTOR_SET(ans, 11, scm_from_ulong (stat_temp->st_blksize));
# 366| #else
# 367| SCM_SIMPLE_VECTOR_SET(ans, 11, scm_from_ulong (4096L));
Error: CPPCHECK_WARNING (CWE-476): [#def908]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:370: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 368| #endif
# 369| #ifdef HAVE_STRUCT_STAT_ST_BLOCKS
# 370|-> SCM_SIMPLE_VECTOR_SET(ans, 12, scm_from_blkcnt_t_or_blkcnt64_t (stat_temp->st_blocks));
# 371| #else
# 372| SCM_SIMPLE_VECTOR_SET(ans, 12, SCM_BOOL_F);
Error: CPPCHECK_WARNING (CWE-476): [#def909]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:378: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 376|
# 377| if (S_ISREG (mode))
# 378|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_regular);
# 379| else if (S_ISDIR (mode))
# 380| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_directory);
Error: CPPCHECK_WARNING (CWE-476): [#def910]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:380: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 378| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_regular);
# 379| else if (S_ISDIR (mode))
# 380|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_directory);
# 381| #ifdef S_ISLNK
# 382| /* systems without symlinks probably don't have S_ISLNK */
Error: CPPCHECK_WARNING (CWE-476): [#def911]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:384: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 382| /* systems without symlinks probably don't have S_ISLNK */
# 383| else if (S_ISLNK (mode))
# 384|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_symlink);
# 385| #endif
# 386| else if (S_ISBLK (mode))
Error: CPPCHECK_WARNING (CWE-476): [#def912]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:387: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 385| #endif
# 386| else if (S_ISBLK (mode))
# 387|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_block_special);
# 388| else if (S_ISCHR (mode))
# 389| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_char_special);
Error: CPPCHECK_WARNING (CWE-476): [#def913]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:389: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 387| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_block_special);
# 388| else if (S_ISCHR (mode))
# 389|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_char_special);
# 390| else if (S_ISFIFO (mode))
# 391| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_fifo);
Error: CPPCHECK_WARNING (CWE-476): [#def914]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:391: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 389| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_char_special);
# 390| else if (S_ISFIFO (mode))
# 391|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_fifo);
# 392| #ifdef S_ISSOCK
# 393| else if (S_ISSOCK (mode))
Error: CPPCHECK_WARNING (CWE-476): [#def915]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:394: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 392| #ifdef S_ISSOCK
# 393| else if (S_ISSOCK (mode))
# 394|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_sock);
# 395| #endif
# 396| else
Error: CPPCHECK_WARNING (CWE-476): [#def916]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:397: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 395| #endif
# 396| else
# 397|-> SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_unknown);
# 398|
# 399| SCM_SIMPLE_VECTOR_SET(ans, 14, scm_from_int ((~S_IFMT) & mode));
Error: CPPCHECK_WARNING (CWE-476): [#def917]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:399: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 397| SCM_SIMPLE_VECTOR_SET(ans, 13, scm_sym_unknown);
# 398|
# 399|-> SCM_SIMPLE_VECTOR_SET(ans, 14, scm_from_int ((~S_IFMT) & mode));
# 400|
# 401| /* the layout of the bits in ve[14] is intended to be portable.
Error: CPPCHECK_WARNING (CWE-476): [#def918]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:433: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 431| }
# 432| #ifdef HAVE_STRUCT_STAT_ST_ATIM
# 433|-> SCM_SIMPLE_VECTOR_SET(ans, 15, scm_from_long (stat_temp->st_atim.tv_nsec));
# 434| #else
# 435| SCM_SIMPLE_VECTOR_SET(ans, 15, SCM_I_MAKINUM (0));
Error: CPPCHECK_WARNING (CWE-476): [#def919]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:438: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 436| #endif
# 437| #ifdef HAVE_STRUCT_STAT_ST_MTIM
# 438|-> SCM_SIMPLE_VECTOR_SET(ans, 16, scm_from_long (stat_temp->st_mtim.tv_nsec));
# 439| #else
# 440| SCM_SIMPLE_VECTOR_SET(ans, 16, SCM_I_MAKINUM (0));
Error: CPPCHECK_WARNING (CWE-476): [#def920]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:443: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 441| #endif
# 442| #ifdef HAVE_STRUCT_STAT_ST_CTIM
# 443|-> SCM_SIMPLE_VECTOR_SET(ans, 17, scm_from_ulong (stat_temp->st_ctim.tv_sec));
# 444| #else
# 445| SCM_SIMPLE_VECTOR_SET(ans, 17, SCM_I_MAKINUM (0));
Error: CPPCHECK_WARNING (CWE-476): [#def921]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:454: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 452| is_file_name_separator (SCM c)
# 453| {
# 454|-> if (scm_is_eq (c, SCM_MAKE_CHAR ('/')))
# 455| return 1;
# 456| #ifdef __MINGW32__
Error: CPPCHECK_WARNING (CWE-476): [#def922]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:545: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 543| else
# 544| {
# 545|-> object = SCM_COERCE_OUTPORT (object);
# 546| SCM_VALIDATE_OPFPORT (1, object);
# 547| fdes = SCM_FPORT_FDES (object);
Error: CPPCHECK_WARNING (CWE-476): [#def923]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:546: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 544| {
# 545| object = SCM_COERCE_OUTPORT (object);
# 546|-> SCM_VALIDATE_OPFPORT (1, object);
# 547| fdes = SCM_FPORT_FDES (object);
# 548| SCM_SYSCALL (rv = fstat_or_fstat64 (fdes, &stat_temp));
Error: CPPCHECK_WARNING (CWE-476): [#def924]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:547: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 545| object = SCM_COERCE_OUTPORT (object);
# 546| SCM_VALIDATE_OPFPORT (1, object);
# 547|-> fdes = SCM_FPORT_FDES (object);
# 548| SCM_SYSCALL (rv = fstat_or_fstat64 (fdes, &stat_temp));
# 549| }
Error: CPPCHECK_WARNING (CWE-476): [#def925]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:553: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 551| if (rv == -1)
# 552| {
# 553|-> if (SCM_UNBNDP (exception_on_error) || scm_is_true (exception_on_error))
# 554| {
# 555| int en = errno;
Error: CPPCHECK_WARNING (CWE-476): [#def926]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:657: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 655| size_t cur;
# 656|
# 657|-> element = SCM_COERCE_OUTPORT (element);
# 658| SCM_ASSERT (SCM_OPFPORTP (element), element, pos, "select");
# 659| if (pos == SCM_ARG1)
Error: CPPCHECK_WARNING (CWE-476): [#def927]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:658: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 656|
# 657| element = SCM_COERCE_OUTPORT (element);
# 658|-> SCM_ASSERT (SCM_OPFPORTP (element), element, pos, "select");
# 659| if (pos == SCM_ARG1)
# 660| {
Error: CPPCHECK_WARNING (CWE-476): [#def928]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:662: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 660| {
# 661| /* Check whether port has input buffered. */
# 662|-> if (scm_port_buffer_can_take (SCM_PORT (element)->read_buf, &cur) > 0)
# 663| use_buf = 1;
# 664| }
Error: CPPCHECK_WARNING (CWE-476): [#def929]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:669: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 667| /* Check whether port's output buffer has room. > 1 since
# 668| writing the last byte in the buffer causes flush. */
# 669|-> if (scm_port_buffer_can_put (SCM_PORT (element)->write_buf, &cur) > 1)
# 670| use_buf = 1;
# 671| }
Error: CPPCHECK_WARNING (CWE-476): [#def930]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:672: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 670| use_buf = 1;
# 671| }
# 672|-> fd = use_buf ? -1 : SCM_FPORT_FDES (element);
# 673| }
# 674| if (fd == -1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def931]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c: scope_hint: In function 'set_element'
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:675:20: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ports_ready'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/async.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:82: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:777:1: note: in expansion of macro 'SCM_DEFINE'
/usr/include/sys/select.h:30: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/sys/select.h:100: included_from: Included from here.
/usr/include/sys/types.h:179: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/sys/types.h:39: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/lib/dirent.h:34: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:35: included_from: Included from here.
# 673| }
# 674| if (fd == -1)
# 675|-> *ports_ready = scm_cons (element, *ports_ready);
# 676| else
# 677| FD_SET (fd, set);
Error: CPPCHECK_WARNING (CWE-476): [#def932]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:693: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 691| if (scm_is_vector (list_or_vec))
# 692| {
# 693|-> int i = SCM_SIMPLE_VECTOR_LENGTH (list_or_vec);
# 694|
# 695| while (--i >= 0)
Error: CPPCHECK_WARNING (CWE-476): [#def933]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:698: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 696| {
# 697| int fd = set_element (set, ports_ready,
# 698|-> SCM_SIMPLE_VECTOR_REF (list_or_vec, i), pos);
# 699|
# 700| if (fd > max_fd)
Error: CPPCHECK_WARNING (CWE-476): [#def934]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:706: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 704| else
# 705| {
# 706|-> while (!SCM_NULL_OR_NIL_P (list_or_vec))
# 707| {
# 708| int fd = set_element (set, ports_ready, SCM_CAR (list_or_vec), pos);
Error: CPPCHECK_WARNING (CWE-476): [#def935]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:708: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 706| while (!SCM_NULL_OR_NIL_P (list_or_vec))
# 707| {
# 708|-> int fd = set_element (set, ports_ready, SCM_CAR (list_or_vec), pos);
# 709|
# 710| if (fd > max_fd)
Error: CPPCHECK_WARNING (CWE-476): [#def936]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:712: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 710| if (fd > max_fd)
# 711| max_fd = fd;
# 712|-> list_or_vec = SCM_CDR (list_or_vec);
# 713| }
# 714| }
Error: CPPCHECK_WARNING (CWE-476): [#def937]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:732: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 730| else
# 731| {
# 732|-> fd = SCM_FPORT_FDES (SCM_COERCE_OUTPORT (element));
# 733| }
# 734| if (FD_ISSET (fd, set))
Error: CPPCHECK_WARNING (CWE-476): [#def938]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:754: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 752| if (scm_is_vector (list_or_vec))
# 753| {
# 754|-> int i = SCM_SIMPLE_VECTOR_LENGTH (list_or_vec);
# 755|
# 756| while (--i >= 0)
Error: CPPCHECK_WARNING (CWE-476): [#def939]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:759: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 757| {
# 758| answer_list = get_element (set,
# 759|-> SCM_SIMPLE_VECTOR_REF (list_or_vec, i),
# 760| answer_list);
# 761| }
Error: CPPCHECK_WARNING (CWE-476): [#def940]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:767: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 765| {
# 766| /* list_or_vec must be a list. */
# 767|-> while (!SCM_NULL_OR_NIL_P (list_or_vec))
# 768| {
# 769| answer_list = get_element (set, SCM_CAR (list_or_vec), answer_list);
Error: CPPCHECK_WARNING (CWE-476): [#def941]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:769: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 767| while (!SCM_NULL_OR_NIL_P (list_or_vec))
# 768| {
# 769|-> answer_list = get_element (set, SCM_CAR (list_or_vec), answer_list);
# 770| list_or_vec = SCM_CDR (list_or_vec);
# 771| }
Error: CPPCHECK_WARNING (CWE-476): [#def942]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:770: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 768| {
# 769| answer_list = get_element (set, SCM_CAR (list_or_vec), answer_list);
# 770|-> list_or_vec = SCM_CDR (list_or_vec);
# 771| }
# 772| return answer_list;
Error: CPPCHECK_WARNING (CWE-476): [#def943]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:827: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 825| if (scm_is_vector (reads))
# 826| {
# 827|-> read_count = SCM_SIMPLE_VECTOR_LENGTH (reads);
# 828| }
# 829| else
Error: CLANG_WARNING: [#def944]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:827:7: warning[deadcode.DeadStores]: Value stored to 'read_count' is never read
# 825| if (scm_is_vector (reads))
# 826| {
# 827|-> read_count = SCM_SIMPLE_VECTOR_LENGTH (reads);
# 828| }
# 829| else
Error: CPPCHECK_WARNING (CWE-476): [#def945]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:836: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 834| if (scm_is_vector (writes))
# 835| {
# 836|-> write_count = SCM_SIMPLE_VECTOR_LENGTH (writes);
# 837| }
# 838| else
Error: CLANG_WARNING: [#def946]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:836:7: warning[deadcode.DeadStores]: Value stored to 'write_count' is never read
# 834| if (scm_is_vector (writes))
# 835| {
# 836|-> write_count = SCM_SIMPLE_VECTOR_LENGTH (writes);
# 837| }
# 838| else
Error: CPPCHECK_WARNING (CWE-476): [#def947]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:845: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 843| if (scm_is_vector (excepts))
# 844| {
# 845|-> except_count = SCM_SIMPLE_VECTOR_LENGTH (excepts);
# 846| }
# 847| else
Error: CLANG_WARNING: [#def948]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:845:7: warning[deadcode.DeadStores]: Value stored to 'except_count' is never read
# 843| if (scm_is_vector (excepts))
# 844| {
# 845|-> except_count = SCM_SIMPLE_VECTOR_LENGTH (excepts);
# 846| }
# 847| else
Error: CPPCHECK_WARNING (CWE-476): [#def949]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:873: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 871| /* if there's a port with a ready buffer, don't block, just
# 872| check for ready file descriptors. */
# 873|-> if (!scm_is_null (read_ports_ready) || !scm_is_null (write_ports_ready))
# 874| {
# 875| timeout.tv_sec = 0;
Error: CPPCHECK_WARNING (CWE-476): [#def950]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:879: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 877| time_ptr = &timeout;
# 878| }
# 879|-> else if (SCM_UNBNDP (secs) || scm_is_false (secs))
# 880| time_ptr = 0;
# 881| else
Error: CPPCHECK_WARNING (CWE-476): [#def951]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:886: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 884| {
# 885| timeout.tv_sec = scm_to_ulong (secs);
# 886|-> if (SCM_UNBNDP (usecs))
# 887| timeout.tv_usec = 0;
# 888| else
Error: CPPCHECK_WARNING (CWE-476): [#def952]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:895: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 893| double fl = scm_to_double (secs);
# 894|
# 895|-> if (!SCM_UNBNDP (usecs))
# 896| SCM_WRONG_TYPE_ARG (4, secs);
# 897| if (fl > LONG_MAX)
Error: CPPCHECK_WARNING (CWE-476): [#def953]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:965: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 963| int ivalue;
# 964|
# 965|-> object = SCM_COERCE_OUTPORT (object);
# 966|
# 967| if (SCM_OPFPORTP (object))
Error: CPPCHECK_WARNING (CWE-476): [#def954]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:967: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 965| object = SCM_COERCE_OUTPORT (object);
# 966|
# 967|-> if (SCM_OPFPORTP (object))
# 968| fdes = SCM_FPORT_FDES (object);
# 969| else
Error: CPPCHECK_WARNING (CWE-476): [#def955]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:968: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 966|
# 967| if (SCM_OPFPORTP (object))
# 968|-> fdes = SCM_FPORT_FDES (object);
# 969| else
# 970| fdes = scm_to_int (object);
Error: CPPCHECK_WARNING (CWE-476): [#def956]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:972: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 970| fdes = scm_to_int (object);
# 971|
# 972|-> if (SCM_UNBNDP (value))
# 973| ivalue = 0;
# 974| else
Error: CPPCHECK_WARNING (CWE-476): [#def957]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:995: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 993| int fdes;
# 994|
# 995|-> object = SCM_COERCE_OUTPORT (object);
# 996|
# 997| if (SCM_OPFPORTP (object))
Error: CPPCHECK_WARNING (CWE-476): [#def958]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:997: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 995| object = SCM_COERCE_OUTPORT (object);
# 996|
# 997|-> if (SCM_OPFPORTP (object))
# 998| {
# 999| scm_flush (object);
Error: CPPCHECK_WARNING (CWE-476): [#def959]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1000: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 998| {
# 999| scm_flush (object);
# 1000|-> fdes = SCM_FPORT_FDES (object);
# 1001| }
# 1002| else
Error: CPPCHECK_WARNING (CWE-476): [#def960]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1147: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1145| int in_fd, out_fd;
# 1146|
# 1147|-> VALIDATE_FD_OR_PORT (out_fd, out, 1);
# 1148| VALIDATE_FD_OR_PORT (in_fd, in, 2);
# 1149| c_count = scm_to_size_t (count);
Error: CPPCHECK_WARNING (CWE-476): [#def961]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1148: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1146|
# 1147| VALIDATE_FD_OR_PORT (out_fd, out, 1);
# 1148|-> VALIDATE_FD_OR_PORT (in_fd, in, 2);
# 1149| c_count = scm_to_size_t (count);
# 1150| c_offset = SCM_UNBNDP (offset) ? 0 : scm_to_off_t (offset);
Error: CPPCHECK_WARNING (CWE-476): [#def962]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1150: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1148| VALIDATE_FD_OR_PORT (in_fd, in, 2);
# 1149| c_count = scm_to_size_t (count);
# 1150|-> c_offset = SCM_UNBNDP (offset) ? 0 : scm_to_off_t (offset);
# 1151|
# 1152| #if defined HAVE_SYS_SENDFILE_H && defined HAVE_SENDFILE
Error: CPPCHECK_WARNING (CWE-476): [#def963]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1158: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1156| off_t *offset_ptr;
# 1157|
# 1158|-> offset_ptr = SCM_UNBNDP (offset) ? NULL : &c_offset;
# 1159|
# 1160| /* On Linux, when OUT_FD is a file, everything is transferred at once and
Error: CPPCHECK_WARNING (CWE-476): [#def964]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1192: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1190| int reached_eof = 0;
# 1191|
# 1192|-> if (!SCM_UNBNDP (offset))
# 1193| {
# 1194| if (SCM_PORTP (in))
Error: CPPCHECK_WARNING (CWE-476): [#def965]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1194: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1192| if (!SCM_UNBNDP (offset))
# 1193| {
# 1194|-> if (SCM_PORTP (in))
# 1195| scm_seek (in, scm_from_off_t (c_offset), scm_from_int (SEEK_SET));
# 1196| else
Error: CPPCHECK_WARNING (CWE-476): [#def966]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1286: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1284| mode_t c_mode;
# 1285|
# 1286|-> c_mode = SCM_UNBNDP (mode) ? 0777 : scm_to_uint (mode);
# 1287|
# 1288| STRING_SYSCALL (path, c_path, rv = mkdir (c_path, c_mode));
Error: CPPCHECK_WARNING (CWE-476): [#def967]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1410: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1408| int rv;
# 1409|
# 1410|-> object = SCM_COERCE_OUTPORT (object);
# 1411|
# 1412| #if HAVE_FCHMOD
Error: CPPCHECK_WARNING (CWE-476): [#def968]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1413: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1411|
# 1412| #if HAVE_FCHMOD
# 1413|-> if (scm_is_integer (object) || SCM_OPFPORTP (object))
# 1414| {
# 1415| int fdes;
Error: CPPCHECK_WARNING (CWE-476): [#def969]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1419: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1417| fdes = scm_to_int (object);
# 1418| else
# 1419|-> fdes = SCM_FPORT_FDES (object);
# 1420| SCM_SYSCALL (rv = fchmod (fdes, scm_to_int (mode)));
# 1421| }
Error: CPPCHECK_WARNING (CWE-476): [#def970]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1443: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1441| {
# 1442| mode_t mask;
# 1443|-> if (SCM_UNBNDP (mode))
# 1444| {
# 1445| mask = umask (0);
Error: CPPCHECK_WARNING (CWE-476): [#def971]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1496: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1494|
# 1495| SCM_VALIDATE_STRING (SCM_ARG1, tmpl);
# 1496|-> if (!SCM_UNBNDP (mode))
# 1497| SCM_VALIDATE_STRING (SCM_ARG2, mode);
# 1498|
Error: CPPCHECK_WARNING (CWE-476): [#def972]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1503: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1501| c_tmpl = scm_to_locale_string (tmpl);
# 1502| scm_dynwind_free (c_tmpl);
# 1503|-> if (SCM_UNBNDP (mode))
# 1504| {
# 1505| /* mkostemp will create a read/write file and add on additional
Error: CPPCHECK_WARNING (CWE-476): [#def973]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1695: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1693| scm_dynwind_end ();
# 1694|
# 1695|-> if (!SCM_UNBNDP (suffix) &&
# 1696| scm_is_true (scm_string_suffix_p (suffix, filename,
# 1697| SCM_UNDEFINED, SCM_UNDEFINED,
Error: CPPCHECK_WARNING (CWE-476): [#def974]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1696: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1694|
# 1695| if (!SCM_UNBNDP (suffix) &&
# 1696|-> scm_is_true (scm_string_suffix_p (suffix, filename,
# 1697| SCM_UNDEFINED, SCM_UNDEFINED,
# 1698| SCM_UNDEFINED, SCM_UNDEFINED)))
Error: CPPCHECK_WARNING (CWE-476): [#def975]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1773: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1771| instance. */
# 1772| if (len > 0
# 1773|-> && scm_is_true (scm_string_prefix_p (dir, scanon,
# 1774| SCM_UNDEFINED, SCM_UNDEFINED,
# 1775| SCM_UNDEFINED, SCM_UNDEFINED))
Error: CPPCHECK_WARNING (CWE-476): [#def976]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1811: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1809| #define FUNC_NAME s_scm_directory_stream_p
# 1810| {
# 1811|-> return scm_from_bool (SCM_DIRP (obj));
# 1812| }
# 1813| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def977]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1832: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1830| SCM_SYSERROR;
# 1831|
# 1832|-> SCM_RETURN_NEWSMOB2 (scm_tc16_dir | (SCM_DIR_FLAG_OPEN << 16),
# 1833| ds, SCM_UNPACK (SCM_PACK_POINTER (mutex)));
# 1834| }
Error: CPPCHECK_WARNING (CWE-476): [#def978]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1849: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1847| struct dirent_or_dirent64 *rdent;
# 1848|
# 1849|-> SCM_VALIDATE_DIR (1, port);
# 1850| if (!SCM_DIR_OPEN_P (port))
# 1851| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
Error: CPPCHECK_WARNING (CWE-476): [#def979]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1850: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1848|
# 1849| SCM_VALIDATE_DIR (1, port);
# 1850|-> if (!SCM_DIR_OPEN_P (port))
# 1851| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
# 1852|
Error: CPPCHECK_WARNING (CWE-476): [#def980]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1853: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1851| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
# 1852|
# 1853|-> mutex = (scm_i_pthread_mutex_t *) SCM_SMOB_DATA_2 (port);
# 1854|
# 1855| scm_dynwind_begin (0);
Error: CPPCHECK_WARNING (CWE-476): [#def981]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1859: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1857|
# 1858| errno = 0;
# 1859|-> SCM_SYSCALL (rdent = readdir_or_readdir64 ((DIR *) SCM_SMOB_DATA_1 (port)));
# 1860| if (errno != 0)
# 1861| SCM_SYSERROR;
Error: CPPCHECK_WARNING (CWE-476): [#def982]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1881: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1879| scm_i_pthread_mutex_t *mutex;
# 1880|
# 1881|-> SCM_VALIDATE_DIR (1, port);
# 1882| if (!SCM_DIR_OPEN_P (port))
# 1883| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
Error: CPPCHECK_WARNING (CWE-476): [#def983]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1882: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1880|
# 1881| SCM_VALIDATE_DIR (1, port);
# 1882|-> if (!SCM_DIR_OPEN_P (port))
# 1883| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
# 1884|
Error: CPPCHECK_WARNING (CWE-476): [#def984]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1885: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1883| SCM_MISC_ERROR ("Directory ~S is not open.", scm_list_1 (port));
# 1884|
# 1885|-> mutex = (scm_i_pthread_mutex_t *) SCM_SMOB_DATA_2 (port);
# 1886|
# 1887| scm_i_pthread_mutex_lock (mutex);
Error: CPPCHECK_WARNING (CWE-476): [#def985]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1888: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1886|
# 1887| scm_i_pthread_mutex_lock (mutex);
# 1888|-> rewinddir ((DIR *) SCM_SMOB_DATA_1 (port));
# 1889| scm_i_pthread_mutex_unlock (mutex);
# 1890|
Error: CPPCHECK_WARNING (CWE-476): [#def986]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1902: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1900| #define FUNC_NAME s_scm_closedir
# 1901| {
# 1902|-> SCM_VALIDATE_DIR (1, port);
# 1903|
# 1904| if (SCM_DIR_OPEN_P (port))
Error: CPPCHECK_WARNING (CWE-476): [#def987]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1904: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1902| SCM_VALIDATE_DIR (1, port);
# 1903|
# 1904|-> if (SCM_DIR_OPEN_P (port))
# 1905| {
# 1906| int sts;
Error: CPPCHECK_WARNING (CWE-476): [#def988]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1908: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1906| int sts;
# 1907|
# 1908|-> SCM_SYSCALL (sts = closedir ((DIR *) SCM_SMOB_DATA_1 (port)));
# 1909| if (sts != 0)
# 1910| SCM_SYSERROR;
Error: CPPCHECK_WARNING (CWE-476): [#def989]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1912: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1910| SCM_SYSERROR;
# 1911|
# 1912|-> SCM_SET_SMOB_DATA_0 (port, scm_tc16_dir);
# 1913| }
# 1914|
Error: CPPCHECK_WARNING (CWE-476): [#def990]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1925: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1923| {
# 1924| scm_puts ("#<", port);
# 1925|-> if (!SCM_DIR_OPEN_P (exp))
# 1926| scm_puts ("closed: ", port);
# 1927| scm_puts ("directory stream ", port);
Error: CPPCHECK_WARNING (CWE-476): [#def991]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1928: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1926| scm_puts ("closed: ", port);
# 1927| scm_puts ("directory stream ", port);
# 1928|-> scm_uintprint (SCM_SMOB_DATA_1 (exp), 16, port);
# 1929| scm_putc ('>', port);
# 1930| return 1;
Error: CPPCHECK_WARNING (CWE-476): [#def992]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1939: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1937| scm_i_pthread_mutex_t *mutex;
# 1938|
# 1939|-> if (SCM_DIR_OPEN_P (p))
# 1940| closedir ((DIR *) SCM_SMOB_DATA_1 (p));
# 1941|
Error: CPPCHECK_WARNING (CWE-476): [#def993]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1940: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1938|
# 1939| if (SCM_DIR_OPEN_P (p))
# 1940|-> closedir ((DIR *) SCM_SMOB_DATA_1 (p));
# 1941|
# 1942| mutex = (scm_i_pthread_mutex_t *) SCM_SMOB_DATA_2 (p);
Error: CPPCHECK_WARNING (CWE-476): [#def994]
guile30-3.0.7-build/guile-3.0.7/libguile/filesys.c:1942: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 1940| closedir ((DIR *) SCM_SMOB_DATA_1 (p));
# 1941|
# 1942|-> mutex = (scm_i_pthread_mutex_t *) SCM_SMOB_DATA_2 (p);
# 1943| scm_i_pthread_mutex_destroy (mutex);
# 1944|
Error: CPPCHECK_WARNING: [#def995]
guile30-3.0.7-build/guile-3.0.7/libguile/foreign-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def996]
guile30-3.0.7-build/guile-3.0.7/libguile/foreign.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def997]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:61: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 59| {
# 60| scm_puts ("#<frame ", port);
# 61|-> scm_uintprint (SCM_UNPACK (frame), 16, port);
# 62| if (scm_module_system_booted_p)
# 63| {
Error: CPPCHECK_WARNING (CWE-476): [#def998]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:66: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 64| SCM name = scm_frame_procedure_name (frame);
# 65|
# 66|-> if (scm_is_true (name))
# 67| {
# 68| scm_putc (' ', port);
Error: CPPCHECK_WARNING (CWE-476): [#def999]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:99: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 97| #define FUNC_NAME "frame-stack-top"
# 98| {
# 99|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 100|
# 101| return frame_stack_top (SCM_VM_FRAME_KIND (frame),
Error: CPPCHECK_WARNING (CWE-476): [#def1000]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:101: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 99| SCM_VALIDATE_VM_FRAME (1, frame);
# 100|
# 101|-> return frame_stack_top (SCM_VM_FRAME_KIND (frame),
# 102| SCM_VM_FRAME_DATA (frame));
# 103| }
Error: CPPCHECK_WARNING (CWE-476): [#def1001]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:102: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 100|
# 101| return frame_stack_top (SCM_VM_FRAME_KIND (frame),
# 102|-> SCM_VM_FRAME_DATA (frame));
# 103| }
# 104| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1002]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:114: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 112| #define FUNC_NAME s_scm_frame_p
# 113| {
# 114|-> return scm_from_bool (SCM_VM_FRAME_P (obj));
# 115| }
# 116| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1003]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:152: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 150| scm_i_pthread_once (&once, init_frame_procedure_name_var);
# 151|
# 152|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 153|
# 154| return scm_call_1 (scm_variable_ref (frame_procedure_name_var), frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1004]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:175: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 173| scm_i_pthread_once (&once, init_frame_arguments_var);
# 174|
# 175|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 176|
# 177| return scm_call_1 (scm_variable_ref (frame_arguments_var), frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1005]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:196: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 194| scm_i_pthread_once (&once, init_frame_call_representation_var);
# 195|
# 196|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 197|
# 198| return scm_call_1 (scm_variable_ref (frame_call_representation_var), frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1006]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:207: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 205| #define FUNC_NAME s_scm_frame_source
# 206| {
# 207|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 208|
# 209| return scm_find_source_for_addr (scm_frame_instruction_pointer (frame));
Error: CPPCHECK_WARNING (CWE-476): [#def1007]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:220: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 218| union scm_vm_stack_element *fp, *sp;
# 219|
# 220|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 221|
# 222| fp = SCM_VM_FRAME_FP (frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1008]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:222: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 220| SCM_VALIDATE_VM_FRAME (1, frame);
# 221|
# 222|-> fp = SCM_VM_FRAME_FP (frame);
# 223| sp = SCM_VM_FRAME_SP (frame);
# 224|
Error: CPPCHECK_WARNING (CWE-476): [#def1009]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:223: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 221|
# 222| fp = SCM_VM_FRAME_FP (frame);
# 223|-> sp = SCM_VM_FRAME_SP (frame);
# 224|
# 225| return scm_from_ptrdiff_t (SCM_FRAME_NUM_LOCALS (fp, sp));
Error: CPPCHECK_WARNING (CWE-476): [#def1010]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:240: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 238| scm_to_stack_item_representation (SCM x, const char *subr, int pos)
# 239| {
# 240|-> if (scm_is_eq (x, scm_from_latin1_symbol ("scm")))
# 241| return STACK_ITEM_SCM;
# 242| if (scm_is_eq (x, scm_from_latin1_symbol ("f64")))
Error: CPPCHECK_WARNING (CWE-476): [#def1011]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:242: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 240| if (scm_is_eq (x, scm_from_latin1_symbol ("scm")))
# 241| return STACK_ITEM_SCM;
# 242|-> if (scm_is_eq (x, scm_from_latin1_symbol ("f64")))
# 243| return STACK_ITEM_F64;
# 244| if (scm_is_eq (x, scm_from_latin1_symbol ("u64")))
Error: CPPCHECK_WARNING (CWE-476): [#def1012]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:244: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 242| if (scm_is_eq (x, scm_from_latin1_symbol ("f64")))
# 243| return STACK_ITEM_F64;
# 244|-> if (scm_is_eq (x, scm_from_latin1_symbol ("u64")))
# 245| return STACK_ITEM_U64;
# 246| if (scm_is_eq (x, scm_from_latin1_symbol ("s64")))
Error: CPPCHECK_WARNING (CWE-476): [#def1013]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:246: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 244| if (scm_is_eq (x, scm_from_latin1_symbol ("u64")))
# 245| return STACK_ITEM_U64;
# 246|-> if (scm_is_eq (x, scm_from_latin1_symbol ("s64")))
# 247| return STACK_ITEM_S64;
# 248|
Error: CPPCHECK_WARNING (CWE-476): [#def1014]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:262: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 260| enum stack_item_representation repr;
# 261|
# 262|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 263| SCM_VALIDATE_UINT_COPY (2, index, i);
# 264| repr = scm_to_stack_item_representation (representation, FUNC_NAME, SCM_ARG3);
Error: CPPCHECK_WARNING (CWE-476): [#def1015]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:266: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 264| repr = scm_to_stack_item_representation (representation, FUNC_NAME, SCM_ARG3);
# 265|
# 266|-> fp = SCM_VM_FRAME_FP (frame);
# 267| sp = SCM_VM_FRAME_SP (frame);
# 268|
Error: CPPCHECK_WARNING (CWE-476): [#def1016]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:267: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 265|
# 266| fp = SCM_VM_FRAME_FP (frame);
# 267|-> sp = SCM_VM_FRAME_SP (frame);
# 268|
# 269| if (i < SCM_FRAME_NUM_LOCALS (fp, sp))
Error: CPPCHECK_WARNING (CWE-476): [#def1017]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:300: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 298| enum stack_item_representation repr;
# 299|
# 300|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 301| SCM_VALIDATE_UINT_COPY (2, index, i);
# 302| repr = scm_to_stack_item_representation (representation, FUNC_NAME, SCM_ARG3);
Error: CPPCHECK_WARNING (CWE-476): [#def1018]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:304: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 302| repr = scm_to_stack_item_representation (representation, FUNC_NAME, SCM_ARG3);
# 303|
# 304|-> fp = SCM_VM_FRAME_FP (frame);
# 305| sp = SCM_VM_FRAME_SP (frame);
# 306|
Error: CPPCHECK_WARNING (CWE-476): [#def1019]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:305: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 303|
# 304| fp = SCM_VM_FRAME_FP (frame);
# 305|-> sp = SCM_VM_FRAME_SP (frame);
# 306|
# 307| if (i < SCM_FRAME_NUM_LOCALS (fp, sp))
Error: CPPCHECK_WARNING (CWE-476): [#def1020]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:344: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 342| size_t n;
# 343|
# 344|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 345|
# 346| ip = SCM_VM_FRAME_IP (frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1021]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:346: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 344| SCM_VALIDATE_VM_FRAME (1, frame);
# 345|
# 346|-> ip = SCM_VM_FRAME_IP (frame);
# 347| fp = SCM_VM_FRAME_FP (frame);
# 348| sp = SCM_VM_FRAME_SP (frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1022]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:347: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 345|
# 346| ip = SCM_VM_FRAME_IP (frame);
# 347|-> fp = SCM_VM_FRAME_FP (frame);
# 348| sp = SCM_VM_FRAME_SP (frame);
# 349|
Error: CPPCHECK_WARNING (CWE-476): [#def1023]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:348: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 346| ip = SCM_VM_FRAME_IP (frame);
# 347| fp = SCM_VM_FRAME_FP (frame);
# 348|-> sp = SCM_VM_FRAME_SP (frame);
# 349|
# 350| if ((*ip & 0xff) != scm_op_return_values)
Error: CPPCHECK_WARNING (CWE-476): [#def1024]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:366: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 364| #define FUNC_NAME s_scm_frame_address
# 365| {
# 366|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 367| return scm_from_ptrdiff_t (SCM_VM_FRAME_FP_OFFSET (frame));
# 368| }
Error: CPPCHECK_WARNING (CWE-476): [#def1025]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:367: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 365| {
# 366| SCM_VALIDATE_VM_FRAME (1, frame);
# 367|-> return scm_from_ptrdiff_t (SCM_VM_FRAME_FP_OFFSET (frame));
# 368| }
# 369| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1026]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:376: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 374| #define FUNC_NAME s_scm_frame_stack_pointer
# 375| {
# 376|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 377|
# 378| return scm_from_ptrdiff_t (SCM_VM_FRAME_SP_OFFSET (frame));
Error: CPPCHECK_WARNING (CWE-476): [#def1027]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:378: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 376| SCM_VALIDATE_VM_FRAME (1, frame);
# 377|
# 378|-> return scm_from_ptrdiff_t (SCM_VM_FRAME_SP_OFFSET (frame));
# 379| }
# 380| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1028]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:387: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 385| #define FUNC_NAME s_scm_frame_instruction_pointer
# 386| {
# 387|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 388|
# 389| return scm_from_uintptr_t ((uintptr_t) SCM_VM_FRAME_IP (frame));
Error: CPPCHECK_WARNING (CWE-476): [#def1029]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:389: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 387| SCM_VALIDATE_VM_FRAME (1, frame);
# 388|
# 389|-> return scm_from_uintptr_t ((uintptr_t) SCM_VM_FRAME_IP (frame));
# 390| }
# 391| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1030]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:398: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 396| #define FUNC_NAME s_scm_frame_return_address
# 397| {
# 398|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 399| return scm_from_uintptr_t ((uintptr_t) (SCM_FRAME_VIRTUAL_RETURN_ADDRESS
# 400| (SCM_VM_FRAME_FP (frame))));
Error: CPPCHECK_WARNING (CWE-476): [#def1031]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:399: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 397| {
# 398| SCM_VALIDATE_VM_FRAME (1, frame);
# 399|-> return scm_from_uintptr_t ((uintptr_t) (SCM_FRAME_VIRTUAL_RETURN_ADDRESS
# 400| (SCM_VM_FRAME_FP (frame))));
# 401| }
Error: CPPCHECK_WARNING (CWE-476): [#def1032]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:409: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 407| #define FUNC_NAME s_scm_frame_dynamic_link
# 408| {
# 409|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 410| /* fixme: munge fp if holder is a continuation */
# 411| return scm_from_uintptr_t
Error: CPPCHECK_WARNING (CWE-476): [#def1033]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:413: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 411| return scm_from_uintptr_t
# 412| ((uintptr_t)
# 413|-> SCM_FRAME_DYNAMIC_LINK (SCM_VM_FRAME_FP (frame)));
# 414| }
# 415| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-476): [#def1034]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:453: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 451| struct scm_frame tmp;
# 452|
# 453|-> SCM_VALIDATE_VM_FRAME (1, frame);
# 454|
# 455| kind = SCM_VM_FRAME_KIND (frame);
Error: CPPCHECK_WARNING (CWE-476): [#def1035]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:455: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 453| SCM_VALIDATE_VM_FRAME (1, frame);
# 454|
# 455|-> kind = SCM_VM_FRAME_KIND (frame);
# 456| memcpy (&tmp, SCM_VM_FRAME_DATA (frame), sizeof tmp);
# 457|
Error: CPPCHECK_WARNING (CWE-476): [#def1036]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:456: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 454|
# 455| kind = SCM_VM_FRAME_KIND (frame);
# 456|-> memcpy (&tmp, SCM_VM_FRAME_DATA (frame), sizeof tmp);
# 457|
# 458| if (!scm_c_frame_previous (SCM_VM_FRAME_KIND (frame), &tmp))
Error: CPPCHECK_WARNING (CWE-476): [#def1037]
guile30-3.0.7-build/guile-3.0.7/libguile/frames.c:458: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 456| memcpy (&tmp, SCM_VM_FRAME_DATA (frame), sizeof tmp);
# 457|
# 458|-> if (!scm_c_frame_previous (SCM_VM_FRAME_KIND (frame), &tmp))
# 459| return SCM_BOOL_F;
# 460|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1038]
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c: scope_hint: In function 'scm_calloc'
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c:159:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c: scope_hint: In function 'scm_calloc'
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c: scope_hint: In function 'scm_calloc'
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
# 157|
# 158| ptr = scm_realloc (NULL, sz);
# 159|-> memset (ptr, 0x0, sz);
# 160| return ptr;
# 161| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1039]
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c: scope_hint: In function 'scm_strndup'
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c:168:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
guile30-3.0.7-build/guile-3.0.7/libguile/gc-malloc.c: scope_hint: In function 'scm_strndup'
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
# 166| {
# 167| char *dst = scm_malloc (n + 1);
# 168|-> memcpy (dst, str, n);
# 169| dst[n] = 0;
# 170| return dst;
Error: CPPCHECK_WARNING (CWE-476): [#def1040]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:167: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 165| can actually run during this code, which it can't since the GC only runs
# 166| when all other threads are stopped. */
# 167|-> SCM_GC_SET_CELL_WORD (cell, 1, cdr);
# 168| SCM_GC_SET_CELL_WORD (cell, 0, car);
# 169|
Error: CPPCHECK_WARNING (CWE-476): [#def1041]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:168: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 166| when all other threads are stopped. */
# 167| SCM_GC_SET_CELL_WORD (cell, 1, cdr);
# 168|-> SCM_GC_SET_CELL_WORD (cell, 0, car);
# 169|
# 170| return cell;
Error: CPPCHECK_WARNING (CWE-476): [#def1042]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:185: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 183| since the GC only runs when all other threads are stopped.
# 184| */
# 185|-> SCM_GC_SET_CELL_WORD (z, 1, cbr);
# 186| SCM_GC_SET_CELL_WORD (z, 2, ccr);
# 187| SCM_GC_SET_CELL_WORD (z, 3, cdr);
Error: CPPCHECK_WARNING (CWE-476): [#def1043]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:186: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 184| */
# 185| SCM_GC_SET_CELL_WORD (z, 1, cbr);
# 186|-> SCM_GC_SET_CELL_WORD (z, 2, ccr);
# 187| SCM_GC_SET_CELL_WORD (z, 3, cdr);
# 188| SCM_GC_SET_CELL_WORD (z, 0, car);
Error: CPPCHECK_WARNING (CWE-476): [#def1044]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:187: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 185| SCM_GC_SET_CELL_WORD (z, 1, cbr);
# 186| SCM_GC_SET_CELL_WORD (z, 2, ccr);
# 187|-> SCM_GC_SET_CELL_WORD (z, 3, cdr);
# 188| SCM_GC_SET_CELL_WORD (z, 0, car);
# 189|
Error: CPPCHECK_WARNING (CWE-476): [#def1045]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:188: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 186| SCM_GC_SET_CELL_WORD (z, 2, ccr);
# 187| SCM_GC_SET_CELL_WORD (z, 3, cdr);
# 188|-> SCM_GC_SET_CELL_WORD (z, 0, car);
# 189|
# 190| /* When this function is inlined, it's possible that the last
Error: CPPCHECK_WARNING (CWE-476): [#def1046]
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:219: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 217|
# 218| z = SCM_PACK_POINTER (SCM_GC_MALLOC (sizeof (scm_t_bits) * n_words));
# 219|-> SCM_GC_SET_CELL_WORD (z, 0, car);
# 220|
# 221| /* FIXME: is the following concern even relevant with BDW-GC? */
Error: CPPCHECK_WARNING (CWE-457): [#def1047]
guile30-3.0.7-build/guile-3.0.7/libguile/gettext.c:276: error[legacyUninitvar]: Uninitialized variable: result
# 274|
# 275| scm_dynwind_end ();
# 276|-> return result;
# 277| }
# 278| #undef FUNC_NAME
Error: CPPCHECK_WARNING (CWE-457): [#def1048]
guile30-3.0.7-build/guile-3.0.7/libguile/gettext.c:315: error[legacyUninitvar]: Uninitialized variable: result
# 313|
# 314| scm_dynwind_end ();
# 315|-> return result;
# 316| }
# 317| #undef FUNC_NAME
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1049]
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.c: scope_hint: In function 'alloc_subr_idx'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.c:88:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'new_subrs' where non-null expected
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
# 86| allocations because it's not traceable and not collectable. */
# 87| new_subrs = malloc (subrs_array_size * sizeof (void*));
# 88|-> memcpy (new_subrs, subrs, idx * sizeof (void*));
# 89| subrs = new_subrs;
# 90| }
Error: CPPCHECK_WARNING: [#def1050]
guile30-3.0.7-build/guile-3.0.7/libguile/guardians.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1051]
guile30-3.0.7-build/guile-3.0.7/libguile/hash.c:218:11: warning[deadcode.DeadStores]: Value stored to 'ustr' is never read
# 216| if (--length)
# 217| {
# 218|-> ustr += u8_mbtouc_unsafe (&u32, ustr, end - ustr);
# 219| c += u32;
# 220| }
Error: CPPCHECK_WARNING: [#def1052]
guile30-3.0.7-build/guile-3.0.7/libguile/hashtab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1053]
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1054]
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c: scope_hint: In function 'compare_u32_strings_ci'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:773:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '<unknown>'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:37: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:970:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:32: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:303:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:982:3: note: in expansion of macro 'SCM_VALIDATE_STRING'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293:10: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c: scope_hint: In function 'compare_u32_strings_ci'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:855:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:860:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
# 771| \
# 772| for (i = 0; i < len; i ++) \
# 773|-> c_str[i] = (unsigned char ) buf[i]; \
# 774| c_str[len] = 0; \
# 775| } \
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1055]
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:33: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c: scope_hint: In function 'chr_to_case'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1153:52: warning[-Wanalyzer-null-dereference]: dereference of NULL 'convbuf'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:42:5: note: in definition of macro 'SCM_MAKE_CHAR'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1210:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:56:37: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1220:3: note: in expansion of macro 'SCM_VALIDATE_CHAR'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1221:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1221:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:60:5: note: in expansion of macro 'SCM_ASSERT'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:426:38: note: in expansion of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:513:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:54:41: note: in expansion of macro 'SCM_HAS_TYP16'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:60:17: note: in expansion of macro 'SCM_SMOB_PREDICATE'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:246:7: note: in expansion of macro 'SCM_VALIDATE_SMOB'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:257:9: note: in expansion of macro 'SCM_VALIDATE_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1221:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:60:5: note: in expansion of macro 'SCM_ASSERT'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:246:7: note: in expansion of macro 'SCM_VALIDATE_SMOB'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:257:9: note: in expansion of macro 'SCM_VALIDATE_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1221:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:257:9: note: in expansion of macro 'SCM_VALIDATE_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1221:3: note: in expansion of macro 'SCM_VALIDATE_OPTIONAL_LOCALE_COPY'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1140:5: note: in expansion of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:558:7: note: in definition of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:558:7: note: in definition of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:42:5: note: in definition of macro 'SCM_MAKE_CHAR'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:42:5: note: in definition of macro 'SCM_MAKE_CHAR'
guile30-3.0.7-build/guile-3.0.7/libguile/chars.h:42:5: note: in definition of macro 'SCM_MAKE_CHAR'
# 1151|
# 1152| if (convlen == 1)
# 1153|-> convchar = SCM_MAKE_CHAR ((scm_t_wchar) convbuf[0]);
# 1154| else
# 1155| convchar = chr;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1056]
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1274:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1251:3: note: in expansion of macro 'SCM_STRING_TO_U32_BUF'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1254:5: note: in expansion of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:558:7: note: in definition of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:558:7: note: in definition of macro 'RUN_IN_LOCALE_SECTION'
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1263:3: note: in expansion of macro 'SCM_CLEANUP_U32_BUF'
<built-in>: note: argument 2 of '__builtin_memcpy' must be non-null
# 1272|
# 1273| convstr = scm_i_make_wide_string (convlen, &c_buf, 0);
# 1274|-> memcpy (c_buf, c_convstr, convlen * sizeof (scm_t_wchar));
# 1275| free (c_convstr);
# 1276|
Error: CLANG_WARNING: [#def1057]
guile30-3.0.7-build/guile-3.0.7/libguile/i18n.c:1274:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 1272|
# 1273| convstr = scm_i_make_wide_string (convlen, &c_buf, 0);
# 1274|-> memcpy (c_buf, c_convstr, convlen * sizeof (scm_t_wchar));
# 1275| free (c_convstr);
# 1276|
Error: CPPCHECK_WARNING: [#def1058]
guile30-3.0.7-build/guile-3.0.7/libguile/instructions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1059]
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1060]
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c: scope_hint: In function 'scm_dup_to_fdes'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:158:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'rv'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:44: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:149:15: note: in expansion of macro 'scm_to_int'
# 156| }
# 157| }
# 158|-> return fd;
# 159| }
# 160| #undef FUNC_NAME
Error: CLANG_WARNING: [#def1061]
guile30-3.0.7-build/guile-3.0.7/libguile/jit.c:5750:11: warning[deadcode.DeadStores]: Value stored to 'attrs' is never read
# 5748| case scm_op_call:
# 5749| case scm_op_call_label:
# 5750|-> attrs = OP_ATTR_BLOCK;
# 5751| target = j->next_ip;
# 5752| j->op_attrs[target - j->start] |= OP_ATTR_BLOCK | OP_ATTR_ENTRY;
Error: CPPCHECK_WARNING: [#def1062]
guile30-3.0.7-build/guile-3.0.7/libguile/keywords.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1063]
guile30-3.0.7-build/guile-3.0.7/libguile/lightening/lightening/lightening.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1064]
guile30-3.0.7-build/guile-3.0.7/libguile/load.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1065]
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1066]
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c: scope_hint: In function 'alloc_aligned'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:225:11: warning[-Wanalyzer-malloc-leak]: leak of 'ret'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:45: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:587:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:41: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.h:153:3: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:595:3: note: in expansion of macro 'SCM_VALIDATE_BYTEVECTOR'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:225:22: note: in expansion of macro 'ALIGN'
# 223| if (!ret)
# 224| abort ();
# 225|-> ret = (char *) ALIGN ((uintptr_t) ret, (uintptr_t) alignment);
# 226| }
# 227|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1067]
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c: scope_hint: In function 'copy_and_align_elf_data'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:239:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'alloc_aligned(len, (unsigned int)elf_alignment(data, len))' where non-null expected
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:587:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/bytevectors.h:153:3: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/loader.c:595:3: note: in expansion of macro 'SCM_VALIDATE_BYTEVECTOR'
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
# 237| alignment = elf_alignment (data, len);
# 238| copy = alloc_aligned (len, alignment);
# 239|-> memcpy(copy, data, len);
# 240|
# 241| return copy;
Error: CPPCHECK_WARNING: [#def1068]
guile30-3.0.7-build/guile-3.0.7/libguile/modules.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1069]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1070]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:96:4: warning[deadcode.DeadStores]: Value stored to 'errmsg' is never read
# 94| case HOST_NOT_FOUND:
# 95| key = scm_host_not_found_key;
# 96|-> errmsg = "Unknown host";
# 97| break;
# 98| case TRY_AGAIN:
Error: CLANG_WARNING: [#def1071]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:100:4: warning[deadcode.DeadStores]: Value stored to 'errmsg' is never read
# 98| case TRY_AGAIN:
# 99| key = scm_try_again_key;
# 100|-> errmsg = "Host name lookup failure";
# 101| break;
# 102| case NO_RECOVERY:
Error: CLANG_WARNING: [#def1072]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:104:4: warning[deadcode.DeadStores]: Value stored to 'errmsg' is never read
# 102| case NO_RECOVERY:
# 103| key = scm_no_recovery_key;
# 104|-> errmsg = "Unknown server error";
# 105| break;
# 106| case NO_DATA:
Error: CLANG_WARNING: [#def1073]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:108:4: warning[deadcode.DeadStores]: Value stored to 'errmsg' is never read
# 106| case NO_DATA:
# 107| key = scm_no_data_key;
# 108|-> errmsg = "No address associated with name";
# 109| break;
# 110| default:
Error: CPPCHECK_WARNING (CWE-457): [#def1074]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:255: warning[uninitvar]: Uninitialized variable: eno
# 253|
# 254| if (!entry)
# 255|-> SCM_SYSERROR_MSG ("no such network ~A", scm_list_1 (net), eno);
# 256|
# 257| SCM_SIMPLE_VECTOR_SET(result, 0, scm_from_locale_string (entry->n_name));
Error: CPPCHECK_WARNING (CWE-457): [#def1075]
guile30-3.0.7-build/guile-3.0.7/libguile/net_db.c:307: warning[uninitvar]: Uninitialized variable: eno
# 305|
# 306| if (!entry)
# 307|-> SCM_SYSERROR_MSG ("no such protocol ~A", scm_list_1 (protocol), eno);
# 308|
# 309| SCM_SIMPLE_VECTOR_SET(result, 0, scm_from_locale_string (entry->p_name));
Error: CPPCHECK_WARNING: [#def1076]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1077]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c:5723: error[uninitvar]: Uninitialized variable: num_buf
# 5721| {
# 5722| char num_buf [FLOBUFLEN];
# 5723|-> return scm_from_latin1_stringn (num_buf, iflo2str (n, num_buf, base));
# 5724| }
# 5725| else
Error: CPPCHECK_WARNING (CWE-457): [#def1078]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c:5738: error[uninitvar]: Uninitialized variable: num_buf
# 5736| {
# 5737| char num_buf[FLOBUFLEN];
# 5738|-> scm_lfwrite (num_buf, iflo2str (sexp, num_buf, 10), port);
# 5739| return !0;
# 5740| }
Error: CPPCHECK_WARNING (CWE-457): [#def1079]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c:5746: error[uninitvar]: Uninitialized variable: num_buf
# 5744| {
# 5745| char num_buf[FLOBUFLEN];
# 5746|-> scm_lfwrite (num_buf, idbl2str (val, num_buf, 10), port);
# 5747| }
# 5748|
Error: CPPCHECK_WARNING (CWE-457): [#def1080]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c:5754: error[uninitvar]: Uninitialized variable: num_buf
# 5752| {
# 5753| char num_buf[FLOBUFLEN];
# 5754|-> scm_lfwrite (num_buf, iflo2str (sexp, num_buf, 10), port);
# 5755| return !0;
# 5756| }
Error: CPPCHECK_WARNING (CWE-457): [#def1081]
guile30-3.0.7-build/guile-3.0.7/libguile/numbers.c:5762: error[uninitvar]: Uninitialized variable: num_buf
# 5760| {
# 5761| char num_buf[FLOBUFLEN];
# 5762|-> scm_lfwrite (num_buf, icmplx2str (real, imag, num_buf, 10), port);
# 5763| }
# 5764|
Error: CPPCHECK_WARNING (CWE-476): [#def1082]
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:155: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 153| scm_cons (SCM x, SCM y)
# 154| {
# 155|-> return scm_cell (SCM_UNPACK (x), SCM_UNPACK (y));
# 156| }
# 157|
Error: CPPCHECK_WARNING (CWE-476): [#def1083]
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 180| #endif
# 181|
# 182|-> return SCM_I_CONSP (x);
# 183| }
# 184|
Error: CPPCHECK_WARNING (CWE-476): [#def1084]
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:190: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 188| if (SCM_UNLIKELY (!scm_is_pair (x)))
# 189| scm_wrong_type_arg_msg ("car", 0, x, "pair");
# 190|-> return SCM_CAR (x);
# 191| }
# 192|
Error: CPPCHECK_WARNING (CWE-476): [#def1085]
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:198: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 196| if (SCM_UNLIKELY (!scm_is_pair (x)))
# 197| scm_wrong_type_arg_msg ("cdr", 0, x, "pair");
# 198|-> return SCM_CDR (x);
# 199| }
# 200| #endif
Error: CPPCHECK_WARNING (CWE-476): [#def1086]
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:222: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 220| pair in the read-only section would cause a segmentation fault, so
# 221| to avoid that, we really do need to enforce the restriction. */
# 222|-> return scm_is_pair (x) && GC_is_heap_ptr (SCM2PTR (x));
# 223| }
# 224| #endif /* BUILDING_LIBGUILE */
Error: CPPCHECK_WARNING: [#def1087]
guile30-3.0.7-build/guile-3.0.7/libguile/poll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def1088]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:121: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 119| scm_port_buffer_bytevector (SCM buf)
# 120| {
# 121|-> return SCM_SIMPLE_VECTOR_REF (buf, SCM_PORT_BUFFER_FIELD_BYTEVECTOR);
# 122| }
# 123|
Error: CPPCHECK_WARNING (CWE-476): [#def1089]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:127: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 125| scm_port_buffer_cur (SCM buf)
# 126| {
# 127|-> return SCM_SIMPLE_VECTOR_REF (buf, SCM_PORT_BUFFER_FIELD_CUR);
# 128| }
# 129|
Error: CPPCHECK_WARNING (CWE-476): [#def1090]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:133: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 131| scm_port_buffer_set_cur (SCM buf, SCM cur)
# 132| {
# 133|-> SCM_SIMPLE_VECTOR_SET (buf, SCM_PORT_BUFFER_FIELD_CUR, cur);
# 134| }
# 135|
Error: CPPCHECK_WARNING (CWE-476): [#def1091]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:139: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 137| scm_port_buffer_end (SCM buf)
# 138| {
# 139|-> return SCM_SIMPLE_VECTOR_REF (buf, SCM_PORT_BUFFER_FIELD_END);
# 140| }
# 141|
Error: CPPCHECK_WARNING (CWE-476): [#def1092]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:145: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 143| scm_port_buffer_set_end (SCM buf, SCM end)
# 144| {
# 145|-> SCM_SIMPLE_VECTOR_SET (buf, SCM_PORT_BUFFER_FIELD_END, end);
# 146| }
# 147|
Error: CPPCHECK_WARNING (CWE-476): [#def1093]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:151: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 149| scm_port_buffer_has_eof_p (SCM buf)
# 150| {
# 151|-> return SCM_SIMPLE_VECTOR_REF (buf, SCM_PORT_BUFFER_FIELD_HAS_EOF_P);
# 152| }
# 153|
Error: CPPCHECK_WARNING (CWE-476): [#def1094]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:157: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 155| scm_port_buffer_set_has_eof_p (SCM buf, SCM has_eof_p)
# 156| {
# 157|-> SCM_SIMPLE_VECTOR_SET (buf, SCM_PORT_BUFFER_FIELD_HAS_EOF_P,
# 158| has_eof_p);
# 159| }
Error: CPPCHECK_WARNING (CWE-476): [#def1095]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:167: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 165| scm_port_buffer_position (SCM buf)
# 166| {
# 167|-> return SCM_SIMPLE_VECTOR_REF (buf, SCM_PORT_BUFFER_FIELD_POSITION);
# 168| }
# 169|
Error: CPPCHECK_WARNING (CWE-476): [#def1096]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:198: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 196| {
# 197| SCM bv = scm_port_buffer_bytevector (buf);
# 198|-> if (SCM_LIKELY (SCM_BYTEVECTOR_P (bv)))
# 199| return SCM_BYTEVECTOR_LENGTH (bv);
# 200| scm_misc_error (NULL, "invalid port buffer ~a", scm_list_1 (bv));
Error: CPPCHECK_WARNING (CWE-476): [#def1097]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:199: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 197| SCM bv = scm_port_buffer_bytevector (buf);
# 198| if (SCM_LIKELY (SCM_BYTEVECTOR_P (bv)))
# 199|-> return SCM_BYTEVECTOR_LENGTH (bv);
# 200| scm_misc_error (NULL, "invalid port buffer ~a", scm_list_1 (bv));
# 201| return -1;
Error: CPPCHECK_WARNING (CWE-476): [#def1098]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:266: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 264| scm_port_buffer_take_pointer (SCM buf, size_t cur)
# 265| {
# 266|-> signed char *ret = SCM_BYTEVECTOR_CONTENTS (scm_port_buffer_bytevector (buf));
# 267| return ((uint8_t *) ret) + cur;
# 268| }
Error: CPPCHECK_WARNING (CWE-476): [#def1099]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:273: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 271| scm_port_buffer_put_pointer (SCM buf, size_t end)
# 272| {
# 273|-> signed char *ret = SCM_BYTEVECTOR_CONTENTS (scm_port_buffer_bytevector (buf));
# 274| return ((uint8_t *) ret) + end;
# 275| }
Error: CPPCHECK_WARNING (CWE-476): [#def1100]
guile30-3.0.7-build/guile-3.0.7/libguile/ports-internal.h:311: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 309| cur -= count;
# 310| scm_port_buffer_set_cur (buf, scm_from_size_t (cur));
# 311|-> memmove (SCM_BYTEVECTOR_CONTENTS (scm_port_buffer_bytevector (buf)) + cur,
# 312| src, count);
# 313| }
Error: CPPCHECK_WARNING: [#def1101]
guile30-3.0.7-build/guile-3.0.7/libguile/ports.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1102]
guile30-3.0.7-build/guile-3.0.7/libguile/ports.c:1675:3: warning[deadcode.DeadStores]: Value stored to 'read_buf' is never read
# 1673|
# 1674| pt = SCM_PORT (port);
# 1675|-> read_buf = pt->read_buf;
# 1676|
# 1677| if (pt->rw_random)
Error: CLANG_WARNING: [#def1103]
guile30-3.0.7-build/guile-3.0.7/libguile/ports.c:3205:7: warning[deadcode.DeadStores]: Value stored to 'saved_errno' is never read
# 3203| scm_port_acquire_iconv_descriptors (port, NULL, &output_cd);
# 3204| res = iconv (output_cd, &input, &input_left, &output, &output_left);
# 3205|-> saved_errno = errno;
# 3206| iconv (output_cd, NULL, NULL, &output, &output_left);
# 3207| scm_port_release_iconv_descriptors (port);
Error: CLANG_WARNING: [#def1104]
guile30-3.0.7-build/guile-3.0.7/libguile/ports.c:3216:7: warning[deadcode.DeadStores]: Value stored to 'saved_errno' is never read
# 3214| scm_port_acquire_iconv_descriptors (port, NULL, &output_cd);
# 3215| res = iconv (output_cd, &input, &input_left, &output, &output_left);
# 3216|-> saved_errno = errno;
# 3217| iconv (output_cd, NULL, NULL, &output, &output_left);
# 3218| scm_port_release_iconv_descriptors (port);
Error: CPPCHECK_WARNING: [#def1105]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1106]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'renumber_file_descriptor.part.0'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1303:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'fdopen(err, "a")' where non-null expected
guile30-3.0.7-build/guile-3.0.7/lib/stdio.h:43: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:28: included_from: Included from here.
/usr/include/stdio.h:357:12: note: argument 1 of 'fprintf' must be non-null
# 1301| cannot safely raise an exception in this environment. */
# 1302| char *msg = strerror (errno);
# 1303|-> fprintf (fdopen (err, "a"), "start_child: dup failed: %s\n", msg);
# 1304| _exit (127); /* Use exit status 127, as with other exec errors. */
# 1305| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1107]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1304:7: warning[-Wanalyzer-malloc-leak]: leak of 'fdopen(err, "a")'
# 1302| char *msg = strerror (errno);
# 1303| fprintf (fdopen (err, "a"), "start_child: dup failed: %s\n", msg);
# 1304|-> _exit (127); /* Use exit status 127, as with other exec errors. */
# 1305| }
# 1306|
Error: GCC_ANALYZER_WARNING: [#def1108]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'start_child'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1366:10: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor 'in'
# 1364| if (err == 0)
# 1365| err = renumber_file_descriptor (err, err);
# 1366|-> do dup2 (in, 0); while (errno == EINTR);
# 1367| close (in);
# 1368| }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1109]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1366:10: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1364| if (err == 0)
# 1365| err = renumber_file_descriptor (err, err);
# 1366|-> do dup2 (in, 0); while (errno == EINTR);
# 1367| close (in);
# 1368| }
Error: GCC_ANALYZER_WARNING: [#def1110]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1373:10: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor 'out'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/async.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:66: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1495:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/procs.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:438:27: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'start_child'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:123:41: note: in definition of macro 'SCM_VALIDATE_PAIR'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:61:31: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:63:30: note: in expansion of macro 'SCM_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:71:56: note: in expansion of macro 'SCM_CELL_OBJECT_1'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:198:10: note: in expansion of macro 'SCM_CDR'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'start_child'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:49:29: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1436:9: note: in expansion of macro 'SCM_OPOUTFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:49:29: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1438:22: note: in expansion of macro 'SCM_OPOUTFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:48:28: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1440:21: note: in expansion of macro 'SCM_OPINFPORTP'
# 1371| if (err == 1)
# 1372| err = renumber_file_descriptor (err, err);
# 1373|-> do dup2 (out, 1); while (errno == EINTR);
# 1374| close (out);
# 1375| }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1111]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1373:10: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1371| if (err == 1)
# 1372| err = renumber_file_descriptor (err, err);
# 1373|-> do dup2 (out, 1); while (errno == EINTR);
# 1374| close (out);
# 1375| }
Error: GCC_ANALYZER_WARNING: [#def1112]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1378:10: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor 'err'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1495:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:438:27: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'start_child'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:123:41: note: in definition of macro 'SCM_VALIDATE_PAIR'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:61:31: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:63:30: note: in expansion of macro 'SCM_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:71:56: note: in expansion of macro 'SCM_CELL_OBJECT_1'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:198:10: note: in expansion of macro 'SCM_CDR'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'start_child'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:49:29: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1436:9: note: in expansion of macro 'SCM_OPOUTFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:49:29: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1438:22: note: in expansion of macro 'SCM_OPOUTFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:48:28: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1440:21: note: in expansion of macro 'SCM_OPINFPORTP'
# 1376| if (err > 2)
# 1377| {
# 1378|-> do dup2 (err, 2); while (errno == EINTR);
# 1379| close (err);
# 1380| }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1113]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1378:10: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1376| if (err > 2)
# 1377| {
# 1378|-> do dup2 (err, 2); while (errno == EINTR);
# 1379| close (err);
# 1380| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1114]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1387:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'fdopen(2, "a")' where non-null expected
/usr/include/stdio.h:357:12: note: argument 1 of 'fprintf' must be non-null
# 1385| {
# 1386| char *msg = strerror (errno);
# 1387|-> fprintf (fdopen (2, "a"), "In execvp of %s: %s\n",
# 1388| exec_file, msg);
# 1389| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1115]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1393:3: warning[-Wanalyzer-malloc-leak]: leak of 'fdopen(2, "a")'
# 1391| /* Use exit status 127, like shells in this case, as per POSIX
# 1392| <http://pubs.opengroup.org/onlinepubs/007904875/utilities/xcu_chap02.html#tag_02_09_01_01>. */
# 1393|-> _exit (127);
# 1394|
# 1395| /* Not reached. */
Error: COMPILER_WARNING (CWE-252): [#def1116]
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c: scope_hint: In function 'scm_nice'
guile30-3.0.7-build/guile-3.0.7/libguile/posix.c:1933:3: warning[-Wunused-result]: ignoring return value of 'nice' declared with attribute 'warn_unused_result'
# 1933 | nice (scm_to_int (incr));
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 1931| from "prio-NZERO", so an error must be detected from errno changed */
# 1932| errno = 0;
# 1933|-> nice (scm_to_int (incr));
# 1934| if (errno != 0)
# 1935| SCM_SYSERROR;
Error: CPPCHECK_WARNING: [#def1117]
guile30-3.0.7-build/guile-3.0.7/libguile/print.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1118]
guile30-3.0.7-build/guile-3.0.7/libguile/print.c:948: error[uninitvar]: Uninitialized variable: num_buf
# 946| {
# 947| char num_buf[SCM_INTBUFLEN];
# 948|-> scm_lfwrite (num_buf, scm_iint2str (n, radix, num_buf), port);
# 949| }
# 950|
Error: CPPCHECK_WARNING (CWE-457): [#def1119]
guile30-3.0.7-build/guile-3.0.7/libguile/print.c:955: error[uninitvar]: Uninitialized variable: num_buf
# 953| {
# 954| char num_buf[SCM_INTBUFLEN];
# 955|-> scm_lfwrite (num_buf, scm_iuint2str (n, radix, num_buf), port);
# 956| }
# 957|
Error: CLANG_WARNING: [#def1120]
guile30-3.0.7-build/guile-3.0.7/libguile/print.c:1159:3: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 1157| SCM_VALIDATE_REST_ARGUMENT (args);
# 1158|
# 1159|-> p = 0;
# 1160| start = 0;
# 1161| end = scm_i_string_length (message);
Error: CPPCHECK_WARNING: [#def1121]
guile30-3.0.7-build/guile-3.0.7/libguile/procprop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1122]
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c:66: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c: scope_hint: In function 'quicksort'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:54:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*top.lo'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:149:17: note: in expansion of macro 'POP'
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/async.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c:44: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c:457:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c:411:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:438:27: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/pairs.h:182:10: note: in expansion of macro 'SCM_I_CONSP'
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c: scope_hint: In function 'quicksort'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c:75:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:58:1: note: in expansion of macro 'NAME'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:76:14: note: in expansion of macro 'STACK_NOT_EMPTY'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:149:17: note: in expansion of macro 'POP'
guile30-3.0.7-build/guile-3.0.7/libguile/quicksort.i.c:149:17: note: in expansion of macro 'POP'
# 52| #define STACK_SIZE (8 * sizeof (size_t)) /* assume 8 bit char */
# 53| #define PUSH(low, high) ((void) ((top->lo = (low)), (top->hi = (high)), ++top))
# 54|-> #define POP(low, high) ((void) (--top, (low = top->lo), (high = top->hi)))
# 55| #define STACK_NOT_EMPTY (stack < top)
# 56|
Error: CLANG_WARNING: [#def1123]
guile30-3.0.7-build/guile-3.0.7/libguile/r6rs-ports.c:251:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 249| {
# 250| if (SCM_LIKELY (scm_is_true (stream->set_position_x)))
# 251|-> result = scm_call_1 (stream->set_position_x, scm_from_off_t (offset));
# 252| else
# 253| scm_wrong_type_arg_msg (FUNC_NAME, 0, port,
Error: CPPCHECK_WARNING: [#def1124]
guile30-3.0.7-build/guile-3.0.7/libguile/rdelim.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1125]
guile30-3.0.7-build/guile-3.0.7/libguile/rdelim.c:146: error[uninitvar]: Uninitialized variable: buf
# 144| /* The line is getting longer than BUF so store its current
# 145| contents in STRINGS. */
# 146|-> strings = scm_cons (scm_from_utf32_stringn (buf, index),
# 147| scm_is_false (strings) ? SCM_EOL : strings);
# 148| index = 0;
Error: CPPCHECK_WARNING: [#def1126]
guile30-3.0.7-build/guile-3.0.7/libguile/read.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1127]
guile30-3.0.7-build/guile-3.0.7/libguile/read.c:363:32: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 361| {
# 362| ans = scm_read_expression (port);
# 363|-> if (terminating_char != (c = flush_ws (port, FUNC_NAME)))
# 364| scm_i_input_error (FUNC_NAME, port, "missing close paren",
# 365| SCM_EOL);
Error: CPPCHECK_WARNING: [#def1128]
guile30-3.0.7-build/guile-3.0.7/libguile/regex-posix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1129]
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/procs.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/async.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:36: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c: scope_hint: In function 'scm_redirect_port'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:176:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'ans'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:599:33: note: in expansion of macro 'SCM_PACK'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:117:10: note: in expansion of macro 'SCM_UNSPECIFIED'
guile30-3.0.7-build/guile-3.0.7/libguile/procs.h:26: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:54:3: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:92:3: note: in expansion of macro 'SCM_VALIDATE_OPFPORT'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:426:38: note: in expansion of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/ports.h:52:23: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:46:4: note: in expansion of macro 'SCM_PORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:47:26: note: in expansion of macro 'SCM_FPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:22: note: in expansion of macro 'SCM_OPFPORTP'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:54:3: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:93:3: note: in expansion of macro 'SCM_VALIDATE_OPFPORT'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:54:3: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:93:3: note: in expansion of macro 'SCM_VALIDATE_OPFPORT'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:41: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:43:28: note: in expansion of macro 'SCM_FSTREAM'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:94:11: note: in expansion of macro 'SCM_FPORT_FDES'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:26: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:101:11: note: in expansion of macro 'SCM_OUTPUT_PORT_P'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:115:35: note: in expansion of macro 'SCM_PORT'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:599:33: note: in expansion of macro 'SCM_PACK'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:117:10: note: in expansion of macro 'SCM_UNSPECIFIED'
# 174| /* There is no typechecking on SCM_PACK, since all kinds of types
# 175| (unsigned long, void*) go in SCM_PACK. */
# 176|-> # define SCM_PACK(x) ((SCM) (x))
# 177|
# 178| #else
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1130]
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c: scope_hint: In function 'scm_dup2'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:176:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'rv'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:599:33: note: in expansion of macro 'SCM_PACK'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:184:10: note: in expansion of macro 'SCM_UNSPECIFIED'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:599:33: note: in expansion of macro 'SCM_PACK'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:184:10: note: in expansion of macro 'SCM_UNSPECIFIED'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:599:33: note: in expansion of macro 'SCM_PACK'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:184:10: note: in expansion of macro 'SCM_UNSPECIFIED'
# 174| /* There is no typechecking on SCM_PACK, since all kinds of types
# 175| (unsigned long, void*) go in SCM_PACK. */
# 176|-> # define SCM_PACK(x) ((SCM) (x))
# 177|
# 178| #else
Error: CPPCHECK_WARNING: [#def1131]
guile30-3.0.7-build/guile-3.0.7/libguile/scmsigs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1132]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c: scope_hint: In function 'scm_get_meta_args'
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:164:28: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*<unknown>, "r")'
# 162| if (len >= size)
# 163| {
# 164|-> size = (size + 1) * 2;
# 165| buf = realloc0 (buf, size);
# 166| if (! buf)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1133]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:164:28: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*<unknown>, "r")'
# 162| if (len >= size)
# 163| {
# 164|-> size = (size + 1) * 2;
# 165| buf = realloc0 (buf, size);
# 166| if (! buf)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1134]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:185:14: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*<unknown>, "r")'
# 183| through. */
# 184| case ' ':
# 185|-> buf[len] = '\0';
# 186| return buf;
# 187|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1135]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:185:14: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*<unknown>, "r")'
# 183| through. */
# 184| case ' ':
# 185|-> buf[len] = '\0';
# 186| return buf;
# 187|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1136]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:235:13: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*<unknown>, "r")'
# 233| nargc--; /* to compensate for replacement of '\\' */
# 234| while (1)
# 235|-> switch (getc (f))
# 236| {
# 237| case EOF:
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1137]
guile30-3.0.7-build/guile-3.0.7/libguile/script.c:235:13: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*<unknown>, "r")'
# 233| nargc--; /* to compensate for replacement of '\\' */
# 234| while (1)
# 235|-> switch (getc (f))
# 236| {
# 237| case EOF:
Error: CLANG_WARNING: [#def1138]
guile30-3.0.7-build/guile-3.0.7/libguile/socket.c:990:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 988| {
# 989| SCM result = SCM_EOL;
# 990|-> short int fam = ((struct sockaddr *) address)->sa_family;
# 991|
# 992| switch (fam)
Error: CLANG_WARNING: [#def1139]
guile30-3.0.7-build/guile-3.0.7/libguile/socket.c:1044:7: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 1042| #endif
# 1043| default:
# 1044|-> result = SCM_UNSPECIFIED;
# 1045| scm_misc_error (proc, "unrecognised address family: ~A",
# 1046| scm_list_1 (scm_from_int (fam)));
Error: CPPCHECK_WARNING: [#def1140]
guile30-3.0.7-build/guile-3.0.7/libguile/sort.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1141]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1142]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-13.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1143]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-13.c:2945: error[uninitvar]: Uninitialized variable: result
# 2943| scm_i_substring (s2, cstart2, cend2),
# 2944| scm_i_substring (s1, cend1, scm_i_string_length (s1)))));
# 2945|-> return result;
# 2946| }
# 2947| #undef FUNC_NAME
Error: CPPCHECK_WARNING: [#def1144]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-14.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1145]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-60.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def1146]
guile30-3.0.7-build/guile-3.0.7/libguile/srfi-60.c:375: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 373| (i < ((unsigned long) SCM_LONG_BIT-1))
# 374| ? i : ((unsigned long) SCM_LONG_BIT-1);
# 375|-> int bit = (nn >> shift) & 1;
# 376| ret = scm_cons (scm_from_bool (bit), ret);
# 377| }
Error: CPPCHECK_WARNING: [#def1147]
guile30-3.0.7-build/guile-3.0.7/libguile/stacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1148]
guile30-3.0.7-build/guile-3.0.7/libguile/stime.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1149]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1150]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:1859:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '<unknown>'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:59:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:253:40: note: in expansion of macro 'SCM_CELL_WORD_3'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:530:10: note: in expansion of macro 'STRING_LENGTH'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:56:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:93:34: note: in expansion of macro 'SCM_CELL_WORD_0'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:548:11: note: in expansion of macro 'STRINGBUF_WIDE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:592:27: note: in expansion of macro 'STRINGBUF_CHARS'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:46: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2283:11: note: in expansion of macro 'SCM_R6RS_ESCAPES_P'
# 1857|
# 1858| /* Add the R6RS hex escape initial sequence. */
# 1859|-> after[j] = '\\';
# 1860| after[j + 1] = 'x';
# 1861|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1151]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:1894:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '<unknown>'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:59:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:253:40: note: in expansion of macro 'SCM_CELL_WORD_3'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:530:10: note: in expansion of macro 'STRING_LENGTH'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:56:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:93:34: note: in expansion of macro 'SCM_CELL_WORD_0'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:548:11: note: in expansion of macro 'STRINGBUF_WIDE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:592:27: note: in expansion of macro 'STRINGBUF_CHARS'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2283:11: note: in expansion of macro 'SCM_R6RS_ESCAPES_P'
# 1892| else
# 1893| {
# 1894|-> after[j] = before[i];
# 1895| i++;
# 1896| j++;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1152]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:1900:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL '<unknown>' where non-null expected
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:59:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:253:40: note: in expansion of macro 'SCM_CELL_WORD_3'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:530:10: note: in expansion of macro 'STRING_LENGTH'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:56:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:93:34: note: in expansion of macro 'SCM_CELL_WORD_0'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:548:11: note: in expansion of macro 'STRINGBUF_WIDE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:592:27: note: in expansion of macro 'STRINGBUF_CHARS'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2283:11: note: in expansion of macro 'SCM_R6RS_ESCAPES_P'
<built-in>: note: argument 2 of '__builtin_memcpy' must be non-null
# 1898| }
# 1899| *lenp = j;
# 1900|-> memcpy (before, after, j);
# 1901| if (malloc_p)
# 1902| free (after);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1153]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:1900:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '<unknown>'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:59:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:253:40: note: in expansion of macro 'SCM_CELL_WORD_3'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:530:10: note: in expansion of macro 'STRING_LENGTH'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:56:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:93:34: note: in expansion of macro 'SCM_CELL_WORD_0'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:548:11: note: in expansion of macro 'STRINGBUF_WIDE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'unistring_escapes_to_r6rs_escapes'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:592:27: note: in expansion of macro 'STRINGBUF_CHARS'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2283:11: note: in expansion of macro 'SCM_R6RS_ESCAPES_P'
# 1898| }
# 1899| *lenp = j;
# 1900|-> memcpy (before, after, j);
# 1901| if (malloc_p)
# 1902| free (after);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1154]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'normalize_str'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2357:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '<unknown>'
guile30-3.0.7-build/guile-3.0.7/libguile/generalized-vectors.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:40: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:2409:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:47:47: note: in expansion of macro 'SCM_GC_CELL_OBJECT'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:55:29: note: in expansion of macro 'SCM_GC_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/gc.h:56:28: note: in expansion of macro 'SCM_CELL_WORD'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:93:34: note: in expansion of macro 'SCM_CELL_WORD_0'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:548:11: note: in expansion of macro 'STRINGBUF_WIDE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c: scope_hint: In function 'normalize_str'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.c:592:27: note: in expansion of macro 'STRINGBUF_CHARS'
# 2355|
# 2356| for (i = 0; i < len; i ++)
# 2357|-> w_str[i] = (unsigned char) buf[i];
# 2358| w_str[len] = 0;
# 2359| }
Error: CPPCHECK_WARNING (CWE-476): [#def1155]
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 291| scm_is_string (SCM x)
# 292| {
# 293|-> return SCM_HAS_TYP7 (x, scm_tc7_string);
# 294| }
# 295|
Error: CPPCHECK_WARNING: [#def1156]
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-685): [#def1157]
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:387:12: warning[-Wanalyzer-va-list-exhausted]: 'foo' has no more arguments (0 consumed)
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:303:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:504:3: note: in expansion of macro 'SCM_VALIDATE_STRING'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293:10: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:303:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:84:3: note: in expansion of macro 'SCM_VALIDATE_STRING'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293:10: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:26: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:739:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:124:5: note: in expansion of macro 'SCM_ASSERT'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:621:5: note: in expansion of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:55:4: note: in expansion of macro 'SCM_MATCHES_BITS_IN_COMMON'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:59:27: note: in expansion of macro 'scm_is_false_or_nil'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:60:28: note: in expansion of macro 'scm_is_false'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:124:17: note: in expansion of macro 'scm_is_true'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:744:3: note: in expansion of macro 'SCM_VALIDATE_VTABLE'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:299:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:124:5: note: in expansion of macro 'SCM_ASSERT'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:621:5: note: in expansion of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:55:4: note: in expansion of macro 'SCM_MATCHES_BITS_IN_COMMON'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:59:27: note: in expansion of macro 'scm_is_false_or_nil'
guile30-3.0.7-build/guile-3.0.7/libguile/boolean.h:60:28: note: in expansion of macro 'scm_is_false'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:124:17: note: in expansion of macro 'scm_is_true'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:744:3: note: in expansion of macro 'SCM_VALIDATE_VTABLE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:124:5: note: in expansion of macro 'SCM_ASSERT'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:744:3: note: in expansion of macro 'SCM_VALIDATE_VTABLE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/symbols.h:42:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:426:38: note: in expansion of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:427:35: note: in expansion of macro 'SCM_IMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:467:4: note: in expansion of macro 'SCM_NIMP'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/symbols.h:33:38: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/symbols.h:42:22: note: in expansion of macro 'scm_is_symbol'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:745:3: note: in expansion of macro 'SCM_VALIDATE_SYMBOL'
guile30-3.0.7-build/guile-3.0.7/libguile/symbols.h:42:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:745:3: note: in expansion of macro 'SCM_VALIDATE_SYMBOL'
guile30-3.0.7-build/guile-3.0.7/libguile/eval.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:39: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/struct.h:140:42: note: in expansion of macro 'SCM_STRUCT_SLOT_SET'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:746:3: note: in expansion of macro 'SCM_SET_VTABLE_NAME'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:303:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:84:3: note: in expansion of macro 'SCM_VALIDATE_STRING'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293:10: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:379:3: note: in expansion of macro 'SCM_ASSERT'
# 385| {
# 386| v[i] = init;
# 387|-> init = va_arg (foo, scm_t_bits);
# 388| }
# 389| va_end (foo);
Error: GCC_ANALYZER_WARNING (CWE-685): [#def1158]
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c: scope_hint: In function 'scm_c_make_struct'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:387:12: warning[-Wanalyzer-va-list-exhausted]: 'foo' has no more arguments (1 consumed)
guile30-3.0.7-build/guile-3.0.7/libguile/smob.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/threads.h:29: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/async.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:33: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:534:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/alist.h:25: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:32: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:789:43: note: in definition of macro 'SCM_UNLIKELY'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:303:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:84:3: note: in expansion of macro 'SCM_VALIDATE_STRING'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:468:34: note: in expansion of macro 'SCM_HAS_HEAP_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/strings.h:293:10: note: in expansion of macro 'SCM_HAS_TYP7'
guile30-3.0.7-build/guile-3.0.7/libguile/snarf.h:80:29: note: in definition of macro 'SCM_SNARF_HERE'
guile30-3.0.7-build/guile-3.0.7/libguile/gsubr.h:94:20: note: in expansion of macro 'SCM_DEFINE_GSUBR'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:66:1: note: in expansion of macro 'SCM_DEFINE'
guile30-3.0.7-build/guile-3.0.7/libguile/scm.h:171:69: note: in definition of macro 'SCM_UNPACK'
guile30-3.0.7-build/guile-3.0.7/libguile/struct.c:379:3: note: in expansion of macro 'SCM_ASSERT'
# 385| {
# 386| v[i] = init;
# 387|-> init = va_arg (foo, scm_t_bits);
# 388| }
# 389| va_end (foo);
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1159]
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:49: included_from: Included from here.
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c: scope_hint: In function 'scm_primitive_move_to_fdes'
guile30-3.0.7-build/guile-3.0.7/libguile/syscalls.h:38:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'rv'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:280:3: note: in expansion of macro 'SCM_SYSCALL'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:106:5: note: in expansion of macro 'SCM_ASSERT_TYPE'
guile30-3.0.7-build/guile-3.0.7/libguile/error.h:110:3: note: in expansion of macro 'SCM_I_MAKE_VALIDATE_MSG2'
guile30-3.0.7-build/guile-3.0.7/libguile/fports.h:54:3: note: in expansion of macro 'SCM_MAKE_VALIDATE_MSG'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:266:3: note: in expansion of macro 'SCM_VALIDATE_OPFPORT'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:280:3: note: in expansion of macro 'SCM_SYSCALL'
guile30-3.0.7-build/guile-3.0.7/libguile/ioext.c:280:3: note: in expansion of macro 'SCM_SYSCALL'
# 36| } \
# 37| } \
# 38|-> while (errno == EINTR)
# 39|
# 40|
Error: CPPCHECK_WARNING: [#def1160]
guile30-3.0.7-build/guile-3.0.7/libguile/threads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1161]
guile30-3.0.7-build/guile-3.0.7/libguile/threads.c:405:17: warning[deadcode.DeadStores]: Value stored to 't_ptr' during its initialization is never read
# 403| /* The switcheroo. */
# 404| {
# 405|-> scm_thread *t_ptr = &t;
# 406|
# 407| GC_disable ();
Error: CPPCHECK_WARNING (CWE-476): [#def1162]
guile30-3.0.7-build/guile-3.0.7/libguile/values.h:30: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 28| scm_is_values (SCM x)
# 29| {
# 30|-> return SCM_HAS_TYP7 (x, scm_tc7_values);
# 31| }
# 32|
Error: CPPCHECK_WARNING (CWE-476): [#def1163]
guile30-3.0.7-build/guile-3.0.7/libguile/values.h:37: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 35| scm_i_nvalues (SCM x)
# 36| {
# 37|-> return SCM_CELL_WORD_0 (x) >> 8;
# 38| }
# 39|
Error: CPPCHECK_WARNING (CWE-476): [#def1164]
guile30-3.0.7-build/guile-3.0.7/libguile/values.h:43: error[nullPointer]: Null pointer dereference: (volatile struct SCMSCM*)0
# 41| scm_i_value_ref (SCM x, size_t n)
# 42| {
# 43|-> return SCM_CELL_OBJECT (x, n+1);
# 44| }
# 45| #endif
Error: CLANG_WARNING: [#def1165]
guile30-3.0.7-build/guile-3.0.7/libguile/vm.c:718:14: warning[deadcode.DeadStores]: Value stored to 'slot' during its initialization is never read
# 716| {
# 717| ptrdiff_t nlocals = SCM_FRAME_NUM_LOCALS (fp, sp);
# 718|-> size_t slot = nlocals - 1;
# 719| for (slot = nlocals - 1; sp < fp; sp++, slot--)
# 720| {
Error: CPPCHECK_WARNING: [#def1166]
guile30-3.0.7-build/guile-3.0.7/libguile/weak-set.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-224.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | guile30-3.0.7-12.fc40 |
store-results-to | /tmp/tmp8n95duf7/guile30-3.0.7-12.fc40.tar.xz |
time-created | 2024-07-03 13:08:06 |
time-finished | 2024-07-03 13:15:41 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp8n95duf7/guile30-3.0.7-12.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp8n95duf7/guile30-3.0.7-12.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |