jemalloc-5.3.0-9.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/bin/jemalloc-config:27:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
#   25|   }
#   26|   
#   27|-> prefix="/usr"
#   28|   exec_prefix="/usr"
#   29|   

Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/bin/jemalloc-config:28:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#   26|   
#   27|   prefix="/usr"
#   28|-> exec_prefix="/usr"
#   29|   
#   30|   case "$1" in

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/bin/jemalloc.sh:3:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
#    1|   #!/usr/bin/sh
#    2|   
#    3|-> prefix=/usr
#    4|   exec_prefix=/usr
#    5|   libdir=/usr/lib64

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/bin/jemalloc.sh:4:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#    2|   
#    3|   prefix=/usr
#    4|-> exec_prefix=/usr
#    5|   libdir=/usr/lib64
#    6|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/arena_inlines_a.h:6:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/san.h:5: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/ecache.h:5: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/pa.h:6: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/arena_stats.h:8: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/arena_structs.h:4: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_includes.h:52: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:344:1: note: in expansion of macro ‘TSD_DATA_SLOW’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:323:1: note: in expansion of macro ‘TSD_DATA_SLOW’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:344:1: note: in expansion of macro ‘TSD_DATA_SLOW’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/tsd.h:323:1: note: in expansion of macro ‘TSD_DATA_SLOW’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_includes.h:71: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_inlines_a.h: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_stashed’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_includes.h:77: included_from: Included from here.
#    4|   static inline unsigned
#    5|   arena_ind_get(const arena_t *arena) {
#    6|-> 	return arena->ind;
#    7|   }
#    8|   

Error: GCC_ANALYZER_WARNING (CWE-127): [#def6]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/prof_structs.h:8: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_includes.h:51: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:2: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c: scope_hint: In function ‘tctx_tree_remove’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:857:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:857:14: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  855|       assert(nodep->node == node);					\
#  856|       pathp--;								\
#  857|->     if (pathp->node != node) {						\
#  858|   	/* Swap node with its successor. */				\
#  859|   	swap_loc = nodep;						\

Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:874:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nodep’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:860:21: note: in expansion of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  872|   	/* The pruned leaf node's child pointers are never accessed   */\
#  873|   	/* again, so don't bother setting them to nil.                */\
#  874|-> 	nodep->node = pathp->node;					\
#  875|   	pathp->node = node;						\
#  876|   	if (nodep == path) {						\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def8]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:922:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:79:28: note: in definition of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:79:28: note: in definition of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:79:28: note: in definition of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:922:44: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:79:28: note: in definition of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  920|       /* swapped it with its successor), and that the only nodes with   */\
#  921|       /* out-of-date summaries live in path[0], path[1], ..., pathp[-1].*/\
#  922|->     if (rbtn_red_get(a_type, a_field, pathp->node)) {			\
#  923|   	/* Prune red node, which requires no fixup. */			\
#  924|   	assert(pathp[-1].cmp < 0);					\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def9]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:925:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:79:28: note: in definition of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:925:49: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  923|   	/* Prune red node, which requires no fixup. */			\
#  924|   	assert(pathp[-1].cmp < 0);					\
#  925|-> 	rbtn_left_set(a_type, a_field, pathp[-1].node, NULL);		\
#  926|   	a_prefix##summarize_swapped_range(path, &pathp[-1], swap_loc);	\
#  927|   	return;								\

Error: GCC_ANALYZER_WARNING (CWE-124): [#def10]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:931:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:931:17: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  929|       /* The node to be pruned is black, so unwind until balance is     */\
#  930|       /* restored.                                                      */\
#  931|->     pathp->node = NULL;							\
#  932|       for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) {	\
#  933|   	assert(pathp->cmp != 0);					\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def11]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:934:18: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:934:18: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  932|       for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) {	\
#  933|   	assert(pathp->cmp != 0);					\
#  934|-> 	if (pathp->cmp < 0) {						\
#  935|   	    rbtn_left_set(a_type, a_field, pathp->node,			\
#  936|   	      pathp[1].node);						\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def12]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:935:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:935:49: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  933|   	assert(pathp->cmp != 0);					\
#  934|   	if (pathp->cmp < 0) {						\
#  935|-> 	    rbtn_left_set(a_type, a_field, pathp->node,			\
#  936|   	      pathp[1].node);						\
#  937|   	    if (rbtn_red_get(a_type, a_field, pathp->node)) {		\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def13]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:936:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:34: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:34: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:936:23: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:34: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
#  934|   	if (pathp->cmp < 0) {						\
#  935|   	    rbtn_left_set(a_type, a_field, pathp->node,			\
#  936|-> 	      pathp[1].node);						\
#  937|   	    if (rbtn_red_get(a_type, a_field, pathp->node)) {		\
#  938|   		a_type *right = rbtn_right_get(a_type, a_field,		\

Error: GCC_ANALYZER_WARNING (CWE-124): [#def14]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1058:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:996:33: note: in expansion of macro ‘rbtn_right_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1058:33: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1056|   			rbtn_left_get(a_type, a_field, tnode),		\
# 1057|   			rbtn_right_get(a_type, a_field, tnode));	\
# 1058|-> 		    pathp->node = tnode;				\
# 1059|   		}							\
# 1060|   	    }								\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def15]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1063:50: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:73:64: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1063:50: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1061|   	} else {							\
# 1062|   	    a_type *left;						\
# 1063|-> 	    rbtn_right_set(a_type, a_field, pathp->node,		\
# 1064|   	      pathp[1].node);						\
# 1065|   	    left = rbtn_left_get(a_type, a_field, pathp->node);		\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def16]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1064:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:73:64: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:73:64: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:73:64: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1064:23: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:73:64: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1062|   	    a_type *left;						\
# 1063|   	    rbtn_right_set(a_type, a_field, pathp->node,		\
# 1064|-> 	      pathp[1].node);						\
# 1065|   	    left = rbtn_left_get(a_type, a_field, pathp->node);		\
# 1066|   	    if (rbtn_red_get(a_type, a_field, left)) {			\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def17]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1159:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1134:24: note: in expansion of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1145:21: note: in expansion of macro ‘rbtn_black_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1159:34: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1157|   		    /* subtree root.                                  */\
# 1158|   		    assert((uintptr_t)pathp > (uintptr_t)path);		\
# 1159|-> 		    if (pathp[-1].cmp < 0) {				\
# 1160|   			rbtn_left_set(a_type, a_field, pathp[-1].node,	\
# 1161|   			  tnode);					\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def18]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1160:65: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1134:24: note: in expansion of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1160:65: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1158|   		    assert((uintptr_t)pathp > (uintptr_t)path);		\
# 1159|   		    if (pathp[-1].cmp < 0) {				\
# 1160|-> 			rbtn_left_set(a_type, a_field, pathp[-1].node,	\
# 1161|   			  tnode);					\
# 1162|   		    } else {						\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def19]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1163:66: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1134:24: note: in expansion of macro ‘rbtn_red_get’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1145:21: note: in expansion of macro ‘rbtn_black_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1163:66: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1161|   			  tnode);					\
# 1162|   		    } else {						\
# 1163|-> 			rbtn_right_set(a_type, a_field, pathp[-1].node,	\
# 1164|   			  tnode);					\
# 1165|   		    }							\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def20]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1210:38: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1194:21: note: in expansion of macro ‘rbtn_black_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1210:38: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1208|   			rbtree->rbt_root = tnode;			\
# 1209|   		    } else {						\
# 1210|-> 			if (pathp[-1].cmp < 0) {			\
# 1211|   			    rbtn_left_set(a_type, a_field,		\
# 1212|   			      pathp[-1].node, tnode);			\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def21]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1212:40: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1194:21: note: in expansion of macro ‘rbtn_black_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1212:40: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:64:6: note: in definition of macro ‘rbtn_left_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1210|   			if (pathp[-1].cmp < 0) {			\
# 1211|   			    rbtn_left_set(a_type, a_field,		\
# 1212|-> 			      pathp[-1].node, tnode);			\
# 1213|   			} else {					\
# 1214|   			    rbtn_right_set(a_type, a_field,		\

Error: GCC_ANALYZER_WARNING (CWE-127): [#def22]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1215:40: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:820:1: note: in definition of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1194:21: note: in expansion of macro ‘rbtn_black_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:1215:40: note: valid subscripts for ‘path’ are ‘[0]’ to ‘[127]’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:74:24: note: in definition of macro ‘rbtn_right_set’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rb.h:564:5: note: in expansion of macro ‘rb_gen_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88:1: note: in expansion of macro ‘rb_gen’
# 1213|   			} else {					\
# 1214|   			    rbtn_right_set(a_type, a_field,		\
# 1215|-> 			      pathp[-1].node, tnode);			\
# 1216|   			}						\
# 1217|   		        a_prefix##summarize_swapped_range(path,		\

Error: CPPCHECK_WARNING (CWE-786): [#def23]
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/rtree.h:404: error[negativeIndex]: Array 'rtree_ctx->l2_cache[8]' accessed at index -1, which is out of bounds.
#  402|   } while (0)
#  403|   	/* Check the first cache entry. */
#  404|-> 	RTREE_CACHE_CHECK_L2(0);
#  405|   	/* Search the remaining cache elements. */
#  406|   	for (unsigned i = 1; i < RTREE_CTX_NCACHE_L2; i++) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:7: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c: scope_hint: In function ‘seq_store_hooks’
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/seq.h:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[i]’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
#   28|   	atomic_fence(ATOMIC_RELEASE);					\
#   29|   	for (size_t i = 0; i < sizeof(buf) / sizeof(size_t); i++) {	\
#   30|-> 		atomic_store_zu(&dst->data[i], buf[i], ATOMIC_RELAXED);	\
#   31|   	}								\
#   32|   	atomic_store_zu(&dst->seq, old_seq + 2, ATOMIC_RELEASE);	\

Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c: scope_hint: In function ‘experimental_thread_activity_callback_ctl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c:1819:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&t_old’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c:3905:9: note: in expansion of macro ‘READ’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c:3905:9: note: in expansion of macro ‘READ’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c:3905:9: note: in expansion of macro ‘READ’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/ctl.c:3905:9: note: in expansion of macro ‘READ’
# 1817|   			size_t	copylen = (sizeof(t) <= *oldlenp)	\
# 1818|   			    ? sizeof(t) : *oldlenp;			\
# 1819|-> 			memcpy(oldp, (void *)&(v), copylen);		\
# 1820|   			*oldlenp = copylen;				\
# 1821|   			ret = EINVAL;					\

Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/extent.c: scope_hint: In function ‘extent_try_coalesce_impl’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/extent.c:869:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘coalesced’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/extent.c: scope_hint: In function ‘extent_try_coalesce_impl’
#  867|   
#  868|   	if (ecache->delay_coalesce) {
#  869|-> 		*coalesced = false;
#  870|   	}
#  871|   	return edata;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c: scope_hint: In function ‘hook_install_locked’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:34:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hooks_internal.in_use’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:6: included_from: Included from here.
jemalloc-5.3.0-build/jemalloc-5.3.0/include/jemalloc/internal/mutex.h: scope_hint: In function ‘hook_install_locked’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’
#   32|   		/* We hold mu; no concurrent access. */
#   33|   		assert(success);
#   34|-> 		if (!hooks_internal.in_use) {
#   35|   			hooks_internal.hooks = *to_install;
#   36|   			hooks_internal.in_use = true;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def28]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:16:35: warning[-Wanalyzer-out-of-bounds]: buffer over-read
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c: scope_hint: In function ‘log_var_update_state’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c: scope_hint: In function ‘log_var_update_state’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:16:35: note: read of 1 byte from after the end of ‘log_var_names’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:16:35: note: valid subscripts for ‘log_var_names’ are ‘[0]’ to ‘[0]’
#   14|   log_var_extract_segment(const char* segment_begin) {
#   15|   	const char *end;
#   16|-> 	for (end = segment_begin; *end != '\0' && *end != '|'; end++) {
#   17|   	}
#   18|   	return end;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def29]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c: scope_hint: In function ‘log_var_matches_segment’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:30:33: warning[-Wanalyzer-out-of-bounds]: buffer over-read
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c: scope_hint: In function ‘log_var_matches_segment’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c: scope_hint: In function ‘log_var_matches_segment’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:30:33: note: read of 1 byte from after the end of ‘log_var_names’
jemalloc-5.3.0-build/jemalloc-5.3.0/src/log.c:30:33: note: valid subscripts for ‘log_var_names’ are ‘[0]’ to ‘[0]’
#   28|   	ptrdiff_t log_var_len = log_var_end - log_var_begin;
#   29|   	/* The special '.' segment matches everything. */
#   30|-> 	if (segment_len == 1 && *segment_begin == '.') {
#   31|   		return true;
#   32|   	}

Error: CPPCHECK_WARNING (CWE-476): [#def30]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:70: error[ctunullpointer]: Null pointer dereference: a
#   68|   static int
#   69|   prof_tctx_comp(const prof_tctx_t *a, const prof_tctx_t *b) {
#   70|-> 	uint64_t a_thr_uid = a->thr_uid;
#   71|   	uint64_t b_thr_uid = b->thr_uid;
#   72|   	int ret = (a_thr_uid > b_thr_uid) - (a_thr_uid < b_thr_uid);

Error: CPPCHECK_WARNING (CWE-476): [#def31]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:88: error[ctunullpointer]: Null pointer dereference: node
#   86|   }
#   87|   
#   88|-> rb_gen(static UNUSED, tctx_tree_, prof_tctx_tree_t, prof_tctx_t,
#   89|       tctx_link, prof_tctx_comp)
#   90|   

Error: CPPCHECK_WARNING (CWE-476): [#def32]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:93: error[ctunullpointer]: Null pointer dereference: a
#   91|   static int
#   92|   prof_gctx_comp(const prof_gctx_t *a, const prof_gctx_t *b) {
#   93|-> 	unsigned a_len = a->bt.len;
#   94|   	unsigned b_len = b->bt.len;
#   95|   	unsigned comp_len = (a_len < b_len) ? a_len : b_len;

Error: CPPCHECK_WARNING (CWE-476): [#def33]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:103: error[ctunullpointer]: Null pointer dereference: node
#  101|   }
#  102|   
#  103|-> rb_gen(static UNUSED, gctx_tree_, prof_gctx_tree_t, prof_gctx_t, dump_link,
#  104|       prof_gctx_comp)
#  105|   

Error: CPPCHECK_WARNING (CWE-476): [#def34]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:109: error[ctunullpointer]: Null pointer dereference: a
#  107|   prof_tdata_comp(const prof_tdata_t *a, const prof_tdata_t *b) {
#  108|   	int ret;
#  109|-> 	uint64_t a_uid = a->thr_uid;
#  110|   	uint64_t b_uid = b->thr_uid;
#  111|   

Error: CPPCHECK_WARNING (CWE-476): [#def35]
jemalloc-5.3.0-build/jemalloc-5.3.0/src/prof_data.c:122: error[ctunullpointer]: Null pointer dereference: node
#  120|   }
#  121|   
#  122|-> rb_gen(static UNUSED, tdata_tree_, prof_tdata_tree_t, prof_tdata_t, tdata_link,
#  123|       prof_tdata_comp)
#  124|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-156.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namejemalloc-5.3.0-9.fc42
store-results-to/tmp/tmpa1jv8l03/jemalloc-5.3.0-9.fc42.tar.xz
time-created2024-11-13 00:46:26
time-finished2024-11-13 00:53:16
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpa1jv8l03/jemalloc-5.3.0-9.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpa1jv8l03/jemalloc-5.3.0-9.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9