Error: CPPCHECK_WARNING (CWE-758): [#def1] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/gnulib/lib/malloc/dynarray_emplace_enlarge.c:59: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour # 57| # 58| size_t new_size; # 59|-> if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) # 60| return false; # 61| void *new_array; Error: CPPCHECK_WARNING (CWE-758): [#def2] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/gnulib/lib/malloc/dynarray_resize.c:45: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour # 43| # 44| size_t new_size_bytes; # 45|-> if (INT_MULTIPLY_WRAPV (size, element_size, &new_size_bytes)) # 46| { # 47| /* Overflow. */ Error: GCC_ANALYZER_WARNING (CWE-401): [#def3] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augeas.c:131:12: warning[-Wanalyzer-malloc-leak]: leak of 'l' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augeas.c:2172:5: enter_function: entry to 'aug_ns_count' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augeas.c:2179:5: call_function: calling 'api_exit' from 'aug_ns_count' # 129| child = tree_append(tree, l, NULL); # 130| } # 131|-> return child; # 132| } # 133| Error: CPPCHECK_WARNING (CWE-457): [#def4] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augeas.c:702: error[uninitvar]: Uninitialized variable: p # 700| return; # 701| } else if (tree->file && tree->dirty && ((p = tree_child(tree, "path")) != NULL)) { # 702|-> tree_unlink(aug, tree_fpath(aug, p->value)); # 703| tree_unlink(aug, tree); # 704| } else { Error: CPPCHECK_WARNING (CWE-476): [#def5] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augmatch.c:184: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: nodes # 182| * string (if we are printing the entire file. */ # 183| static void print_one(int level, const char *prefix, struct node *nodes) { # 184|-> if (nodes[level].value == NULL && ! print_all) # 185| return; # 186| Error: CPPCHECK_WARNING (CWE-476): [#def6] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augmatch.c:259: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: nodes # 257| # 258| for (int i=0; i < max_nodes; i++) { # 259|-> nodes[i].var = format("var%d", i); # 260| } # 261| Error: CPPCHECK_WARNING (CWE-476): [#def7] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augmatch.c:273: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: nodes # 271| cleanup(freep) char *prefix = NULL; # 272| aug_ns_path(aug, match_var, i, &prefix); # 273|-> aug_defvar(aug, nodes[0].var, prefix); # 274| print_tree(aug, 0, prefix + strlen(path) + 1, nodes); # 275| } Error: CPPCHECK_WARNING (CWE-476): [#def8] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augmatch.c:277: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: nodes # 275| } # 276| for (int i=0; i < max_nodes; i++) { # 277|-> free(nodes[i].var); # 278| } # 279| free(nodes); Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:958:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1472:5: enter_function: entry to ‘main’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1574:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1578:7: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1578:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1583:17: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1583:6: branch_true: following ‘true’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1585:14: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1591:7: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1593:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1615:8: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1622:7: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1622:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1627:9: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1629:6: branch_false: following ‘false’ branch (when ‘target_file’ is NULL)... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1634:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1659:6: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1676:6: branch_false: following ‘false’ branch (when ‘target_file’ is NULL)... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1684:17: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1685:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1691:52: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1692:3: branch_false: following ‘false’ branch... branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1694:19: branch_true: following ‘true’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1695:21: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1696:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1697:46: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1701:39: call_function: calling ‘split_path’ from ‘main’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1701:39: return_function: returning to ‘main’ from ‘split_path’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1694:19: branch_true: following ‘true’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1695:21: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1696:5: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1697:46: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1701:39: call_function: calling ‘split_path’ from ‘main’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1701:39: return_function: returning to ‘main’ from ‘split_path’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1694:19: branch_false: following ‘false’ branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1703:3: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1703:3: call_function: calling ‘choose_all_tails’ from ‘main’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1703:3: return_function: returning to ‘main’ from ‘choose_all_tails’ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augprint.c:1704:3: call_function: calling ‘output’ from ‘main’ # 956| break; # 957| case CHOSEN_TAIL_PLUS_FIRST_TAIL_START: # 958|-> if ( first_tail->tail->value == NULL && use_regexp ) { # 959| /* test with /etc/sudoers */ # 960| printf("[%s and %s=~regexp(%s)]", Error: GCC_ANALYZER_WARNING (CWE-688): [#def10] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1105:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1099:13: enter_function: entry to 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1100:24: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1100:24: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1101:26: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1101:26: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1102:24: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1102:24: call_function: inlined call to 'arg_value' from 'cmd_transform' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1105:9: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1105:9: danger: argument 2 ('<unknown>') NULL where non-null expected # 1103| int r, excl = 0; # 1104| # 1105|-> if (STREQ("excl", filter)) # 1106| excl = 1; # 1107| else if (STREQ("incl", filter)) Error: GCC_ANALYZER_WARNING (CWE-688): [#def11] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1287:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1281:13: enter_function: entry to 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1282:25: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1282:25: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1283:25: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1283:25: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1284:24: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1284:24: call_function: inlined call to 'arg_value' from 'cmd_ins' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1287:9: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/augrun.c:1287:9: danger: argument 1 ('<unknown>') NULL where non-null expected # 1285| int before; # 1286| # 1287|-> if (STREQ(where, "after")) # 1288| before = 0; # 1289| else if (STREQ(where, "before")) Error: GCC_ANALYZER_WARNING (CWE-476): [#def12] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2256:23: warning[-Wanalyzer-null-dereference]: dereference of NULL 's' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2219:12: enter_function: entry to 'fa_intersect' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2236:10: call_function: calling 'fa_make_empty' from 'fa_intersect' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2236:10: return_function: returning to 'fa_intersect' from 'fa_make_empty' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2237:16: call_function: calling 'state_set_init' from 'fa_intersect' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2237:16: return_function: returning to 'fa_intersect' from 'state_set_init' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2239:8: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2245:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2246:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2246:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2247:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2247:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2248:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2248:5: branch_false: following 'false' branch... branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2250:12: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2251:28: call_function: inlined call to 'state_set_pop' from 'fa_intersect' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/fa.c:2256:23: danger: dereference of NULL 's' # 2254| s->accept = p1->accept && p2->accept; # 2255| # 2256|-> struct trans *t1 = p1->trans; # 2257| struct trans *t2 = p2->trans; # 2258| for (int n1 = 0, b2 = 0; n1 < p1->tused; n1++) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:506:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:501:21: enter_function: entry to 'get_seq' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:503:23: call_function: calling 'find_seq' from 'get_seq' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:503:23: return_function: returning to 'get_seq' from 'find_seq' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:506:9: danger: dereference of NULL 'find_seq(*lens_1(D)->D.10983.D.10973.string.str, state)' # 504| int r; # 505| # 506|-> r = asprintf((char **) &(state->key), "%d", seq->value); # 507| ERR_NOMEM(r < 0, state->info); # 508| Error: GCC_ANALYZER_WARNING (CWE-476): [#def14] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:522:5: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1724:14: enter_function: entry to 'lns_parse' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1733:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1734:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1741:8: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1742:9: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1743:12: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1746:20: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1746:20: call_function: calling 'parse_lens' from 'lns_parse' # 520| ensure0(lens->tag == L_COUNTER, state->info); # 521| struct seq *seq = find_seq(lens->string->str, state); # 522|-> seq->value = 1; # 523| return NULL; # 524| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def15] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1477:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'root' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1724:14: enter_function: entry to 'lns_parse' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1733:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1734:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1741:8: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1742:9: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1743:12: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1744:20: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1744:20: call_function: calling 'parse_rec' from 'lns_parse' # 1475| # 1476| rec_state.ast = ast_root(rec_state.ast); # 1477|-> ensure(rec_state.ast->parent == NULL, state->info); # 1478| done: # 1479| if (debugging("cf.get.ast")) Error: GCC_ANALYZER_WARNING (CWE-476): [#def16] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1489:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1724:14: enter_function: entry to 'lns_parse' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1733:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1734:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1741:8: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1742:9: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1743:12: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1744:20: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/get.c:1744:20: call_function: calling 'parse_rec' from 'lns_parse' # 1487| for(i = 0; i < rec_state.fused; i++) { # 1488| f = nth_frame(&rec_state, i); # 1489|-> FREE(f->key); # 1490| free_span(f->span); # 1491| if (mode == M_GET) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def17] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:257:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'low_tail' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:606:10: enter_function: entry to 'hash_delete' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:612:5: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:614:9: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:614:8: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:614:9: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:616:9: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/hash.c:616:9: call_function: calling 'shrink_table' from 'hash_delete' # 255| ; /* 3 */ # 256| if (low_chain != 0) /* 4 */ # 257|-> low_tail->next = high_chain; # 258| else if (high_chain != 0) /* 5 */ # 259| hash->table[chain] = high_chain; Error: GCC_ANALYZER_WARNING (CWE-688): [#def18] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:255:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:243:5: enter_function: entry to 'print_chars' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:247:8: branch_false: following 'false' branch (when 'text' is non-NULL)... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:251:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:254:11: call_function: calling 'escape' from 'print_chars' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:254:11: return_function: returning to 'print_chars' from 'escape' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/internal.c:255:13: danger: argument 1 ('escape(text, cnt, "\"")') NULL where non-null expected #argument 1 of '__builtin_strlen' must be non-null # 253| # 254| esc = escape(text, cnt, "\""); # 255|-> total = strlen(esc); # 256| if (out != NULL) # 257| fprintf(out, "%s", esc); Error: CPPCHECK_WARNING (CWE-190): [#def19] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/jmt.c:157: error[integerOverflow]: Signed integer overflow for expression 'EPS-1'. # 155| enum trans_op { # 156| EPS = IND_MAX, # 157|-> CALL = EPS - 1, # 158| LENS_MAX = CALL - 1 # 159| }; Error: CPPCHECK_WARNING (CWE-190): [#def20] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/jmt.c:158: error[integerOverflow]: Signed integer overflow for expression 'CALL-1'. # 156| EPS = IND_MAX, # 157| CALL = EPS - 1, # 158|-> LENS_MAX = CALL - 1 # 159| }; # 160| Error: GCC_ANALYZER_WARNING (CWE-401): [#def21] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1885:12: warning[-Wanalyzer-malloc-leak]: leak of 'augl_alloc(64, yyscanner)' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1871:21: enter_function: entry to 'augl__create_buffer' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1875:24: call_function: calling 'augl_alloc' from 'augl__create_buffer' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1875:24: return_function: returning to 'augl__create_buffer' from 'augl_alloc' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1876:12: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1879:2: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1885:12: danger: 'augl_alloc(64, yyscanner)' leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3) # 1883| * we need to put in 2 end-of-buffer characters. # 1884| */ # 1885|-> b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); # 1886| if ( ! b->yy_ch_buf ) # 1887| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); Error: GCC_ANALYZER_WARNING (CWE-401): [#def22] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1885:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(64)' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1871:21: enter_function: entry to 'augl__create_buffer' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1875:24: call_function: inlined call to 'augl_alloc' from 'augl__create_buffer' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1876:12: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1879:2: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1885:12: danger: 'malloc(64)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) # 1883| * we need to put in 2 end-of-buffer characters. # 1884| */ # 1885|-> b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); # 1886| if ( ! b->yy_ch_buf ) # 1887| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); Error: GCC_ANALYZER_WARNING (CWE-476): [#def23] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1927:2: warning[-Wanalyzer-null-dereference]: dereference of NULL 'b' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1806:10: enter_function: entry to 'augl_restart' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1813:27: call_function: calling 'augl__create_buffer' from 'augl_restart' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1813:27: return_function: returning to 'augl_restart' from 'augl__create_buffer' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1816:2: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1816:2: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:1816:2: call_function: calling 'augl__init_buffer' from 'augl_restart' # 1925| # 1926| yy_flush_buffer( b , yyscanner); # 1927|-> # 1928| b->yy_input_file = file; # 1929| b->yy_fill_buffer = 1; Error: GCC_ANALYZER_WARNING (CWE-401): [#def24] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2145:25: warning[-Wanalyzer-malloc-leak]: leak of 'augl_alloc(n, yyscanner)' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2129:17: enter_function: entry to 'augl__scan_bytes' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2138:24: call_function: calling 'augl_alloc' from 'augl__scan_bytes' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2138:24: return_function: returning to 'augl__scan_bytes' from 'augl_alloc' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2139:12: branch_false: following 'false' branch... branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2147:6: call_function: calling 'augl__scan_buffer' from 'augl__scan_bytes' # 2143| for ( i = 0; i < _yybytes_len; ++i ) # 2144| buf[i] = yybytes[i]; # 2145|-> # 2146| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; # 2147| Error: GCC_ANALYZER_WARNING (CWE-401): [#def25] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2145:25: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(n)' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2129:17: enter_function: entry to 'augl__scan_bytes' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2138:24: call_function: inlined call to 'augl_alloc' from 'augl__scan_bytes' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2139:12: branch_false: following 'false' branch... branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/lexer.c:2147:6: call_function: calling 'augl__scan_buffer' from 'augl__scan_bytes' # 2143| for ( i = 0; i < _yybytes_len; ++i ) # 2144| buf[i] = yybytes[i]; # 2145|-> # 2146| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; # 2147| Error: COMPILER_WARNING: [#def26] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/memory.c:66:23: warning[-Walloc-size-larger-than=]: argument 1 range [18446744071562067969, 18446744073709551613] exceeds maximum object size 9223372036854775807 # 66 | *(void**)ptrptr = calloc(count, size); # | ^ augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/gnulib/lib/stdlib.h: scope_hint: In function 'expect_types_arr' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/gnulib/lib/stdlib.h:832:1: note: in a call to allocation function 'calloc' declared here # 832 | _GL_FUNCDECL_SYS (calloc, void *, # | ^ # 64| } # 65| # 66|-> *(void**)ptrptr = calloc(count, size); # 67| if (AUGEAS_UNLIKELY(*(void**)ptrptr == NULL)) # 68| return -1; Error: GCC_ANALYZER_WARNING (CWE-457): [#def27] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1169:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yybottom' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 1167| for (; yybottom <= yytop; yybottom++) # 1168| { # 1169|-> int yybot = *yybottom; # 1170| YYFPRINTF (stderr, " %d", yybot); # 1171| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def28] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1703:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'yyss' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1658:6: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1664:28: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1690:10: branch_false: following 'false' branch (when 'yystacksize <= 9999')... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1692:7: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1701:12: branch_false: following 'false' branch (when 'yyptr' is non-NULL)... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1703:9: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.c:1703:9: danger: use of uninitialized value 'yyss' here # 1701| if (! yyptr) # 1702| YYNOMEM; # 1703|-> YYSTACK_RELOCATE (yyss_alloc, yyss); # 1704| YYSTACK_RELOCATE (yyvs_alloc, yyvs); # 1705| YYSTACK_RELOCATE (yyls_alloc, yyls); Error: GCC_ANALYZER_WARNING (CWE-457): [#def29] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:180:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 178| # 179| start: KW_MODULE UIDENT '=' autoload decls # 180|-> { (*term) = make_module($2, $4, $5, &@1); } # 181| # 182| autoload: KW_AUTOLOAD LIDENT Error: GCC_ANALYZER_WARNING (CWE-457): [#def30] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:183:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 181| # 182| autoload: KW_AUTOLOAD LIDENT # 183|-> { $$ = $2; } # 184| | /* empty */ # 185| { $$ = NULL; } Error: GCC_ANALYZER_WARNING (CWE-127): [#def31] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:189:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 187| decls: KW_LET LIDENT param_list '=' exp decls # 188| { # 189|-> LOC_MERGE(@1, @1, @5); # 190| $$ = make_bind($2, $3, $5, $6, &@1); # 191| } Error: GCC_ANALYZER_WARNING (CWE-124): [#def32] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:189:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 187| decls: KW_LET LIDENT param_list '=' exp decls # 188| { # 189|-> LOC_MERGE(@1, @1, @5); # 190| $$ = make_bind($2, $3, $5, $6, &@1); # 191| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def33] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:190:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 188| { # 189| LOC_MERGE(@1, @1, @5); # 190|-> $$ = make_bind($2, $3, $5, $6, &@1); # 191| } # 192| | KW_LET_REC LIDENT '=' exp decls Error: GCC_ANALYZER_WARNING (CWE-127): [#def34] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:194:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 192| | KW_LET_REC LIDENT '=' exp decls # 193| { # 194|-> LOC_MERGE(@1, @1, @4); # 195| $$ = make_bind_rec($2, $4, $5, &@1); # 196| } Error: GCC_ANALYZER_WARNING (CWE-124): [#def35] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:194:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 192| | KW_LET_REC LIDENT '=' exp decls # 193| { # 194|-> LOC_MERGE(@1, @1, @4); # 195| $$ = make_bind_rec($2, $4, $5, &@1); # 196| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def36] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:195:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 193| { # 194| LOC_MERGE(@1, @1, @4); # 195|-> $$ = make_bind_rec($2, $4, $5, &@1); # 196| } # 197| | KW_TEST test_exp '=' exp decls Error: GCC_ANALYZER_WARNING (CWE-127): [#def37] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:199:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 197| | KW_TEST test_exp '=' exp decls # 198| { # 199|-> LOC_MERGE(@1, @1, @4); # 200| $$ = make_test($2, $4, TR_CHECK, $5, &@1); # 201| } Error: GCC_ANALYZER_WARNING (CWE-124): [#def38] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:199:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 197| | KW_TEST test_exp '=' exp decls # 198| { # 199|-> LOC_MERGE(@1, @1, @4); # 200| $$ = make_test($2, $4, TR_CHECK, $5, &@1); # 201| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def39] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:200:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 198| { # 199| LOC_MERGE(@1, @1, @4); # 200|-> $$ = make_test($2, $4, TR_CHECK, $5, &@1); # 201| } # 202| | KW_TEST test_exp '=' test_special_res decls Error: GCC_ANALYZER_WARNING (CWE-127): [#def40] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:204:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 202| | KW_TEST test_exp '=' test_special_res decls # 203| { # 204|-> LOC_MERGE(@1, @1, @4); # 205| $$ = make_test($2, NULL, $4, $5, &@1); # 206| } Error: GCC_ANALYZER_WARNING (CWE-124): [#def41] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:204:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 202| | KW_TEST test_exp '=' test_special_res decls # 203| { # 204|-> LOC_MERGE(@1, @1, @4); # 205| $$ = make_test($2, NULL, $4, $5, &@1); # 206| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def42] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:205:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 203| { # 204| LOC_MERGE(@1, @1, @4); # 205|-> $$ = make_test($2, NULL, $4, $5, &@1); # 206| } # 207| | /* epsilon */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def43] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:213:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 211| # 212| test_exp: aexp KW_GET exp # 213|-> { $$ = make_get_test($1, $3, &@$); } # 214| | aexp KW_PUT aexp KW_AFTER exp # 215| { $$ = make_put_test($1, $3, $5, &@$); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def44] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:215:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 213| { $$ = make_get_test($1, $3, &@$); } # 214| | aexp KW_PUT aexp KW_AFTER exp # 215|-> { $$ = make_put_test($1, $3, $5, &@$); } # 216| # 217| test_special_res: '?' Error: GCC_ANALYZER_WARNING (CWE-127): [#def45] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:225:8: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 223| exp: KW_LET LIDENT param_list '=' exp KW_IN exp # 224| { # 225|-> LOC_MERGE(@1, @1, @6); # 226| $$ = make_let($2, $3, $5, $7, &@1); # 227| } Error: GCC_ANALYZER_WARNING (CWE-124): [#def46] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:225:8: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 223| exp: KW_LET LIDENT param_list '=' exp KW_IN exp # 224| { # 225|-> LOC_MERGE(@1, @1, @6); # 226| $$ = make_let($2, $3, $5, $7, &@1); # 227| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def47] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:226:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 224| { # 225| LOC_MERGE(@1, @1, @6); # 226|-> $$ = make_let($2, $3, $5, $7, &@1); # 227| } # 228| | composeexp Error: GCC_ANALYZER_WARNING (CWE-457): [#def48] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:231:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 229| # 230| composeexp: composeexp ';' unionexp # 231|-> { $$ = make_binop(A_COMPOSE, $1, $3, &@$); } # 232| | unionexp # 233| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def49] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:233:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 231| { $$ = make_binop(A_COMPOSE, $1, $3, &@$); } # 232| | unionexp # 233|-> { $$ = $1; } # 234| # 235| unionexp: unionexp '|' minusexp Error: GCC_ANALYZER_WARNING (CWE-457): [#def50] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:236:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 234| # 235| unionexp: unionexp '|' minusexp # 236|-> { $$ = make_binop(A_UNION, $1, $3, &@$); } # 237| | minusexp # 238| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def51] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:238:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 236| { $$ = make_binop(A_UNION, $1, $3, &@$); } # 237| | minusexp # 238|-> { $$ = $1; } # 239| | tree_const # 240| { $$ = make_tree_value($1, &@1); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def52] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:240:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.tree' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 238| { $$ = $1; } # 239| | tree_const # 240|-> { $$ = make_tree_value($1, &@1); } # 241| # 242| minusexp: minusexp '-' catexp Error: GCC_ANALYZER_WARNING (CWE-457): [#def53] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:243:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 241| # 242| minusexp: minusexp '-' catexp # 243|-> { $$ = make_binop(A_MINUS, $1, $3, &@$); } # 244| | catexp # 245| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def54] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:245:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 243| { $$ = make_binop(A_MINUS, $1, $3, &@$); } # 244| | catexp # 245|-> { $$ = $1; } # 246| # 247| catexp: catexp '.' appexp Error: GCC_ANALYZER_WARNING (CWE-457): [#def55] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:248:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 246| # 247| catexp: catexp '.' appexp # 248|-> { $$ = make_binop(A_CONCAT, $1, $3, &@$); } # 249| | appexp # 250| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def56] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:250:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 248| { $$ = make_binop(A_CONCAT, $1, $3, &@$); } # 249| | appexp # 250|-> { $$ = $1; } # 251| # 252| appexp: appexp rexp Error: GCC_ANALYZER_WARNING (CWE-457): [#def57] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:253:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 251| # 252| appexp: appexp rexp # 253|-> { $$ = make_binop(A_APP, $1, $2, &@$); } # 254| | rexp # 255| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def58] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:255:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 253| { $$ = make_binop(A_APP, $1, $2, &@$); } # 254| | rexp # 255|-> { $$ = $1; } # 256| # 257| aexp: qid Error: GCC_ANALYZER_WARNING (CWE-457): [#def59] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:258:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 256| # 257| aexp: qid # 258|-> { $$ = make_ident($1, &@1); } # 259| | DQUOTED # 260| { $$ = make_string_term($1, &@1); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def60] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:260:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 258| { $$ = make_ident($1, &@1); } # 259| | DQUOTED # 260|-> { $$ = make_string_term($1, &@1); } # 261| | REGEXP # 262| { $$ = make_regexp_term($1.pattern, $1.nocase, &@1); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def61] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:262:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.regexp.nocase' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 260| { $$ = make_string_term($1, &@1); } # 261| | REGEXP # 262|-> { $$ = make_regexp_term($1.pattern, $1.nocase, &@1); } # 263| | '(' exp ')' # 264| { $$ = $2; } Error: GCC_ANALYZER_WARNING (CWE-127): [#def62] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:264:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 262| { $$ = make_regexp_term($1.pattern, $1.nocase, &@1); } # 263| | '(' exp ')' # 264|-> { $$ = $2; } # 265| | '[' exp ']' # 266| { $$ = make_unop(A_BRACKET, $2, &@$); } Error: GCC_ANALYZER_WARNING (CWE-127): [#def63] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:266:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 264| { $$ = $2; } # 265| | '[' exp ']' # 266|-> { $$ = make_unop(A_BRACKET, $2, &@$); } # 267| | '(' ')' # 268| { $$ = make_unit_term(&@$); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def64] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:271:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.quant' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 269| # 270| rexp: aexp rep # 271|-> { $$ = make_rep($1, $2, &@$); } # 272| | aexp # 273| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def65] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:273:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 271| { $$ = make_rep($1, $2, &@$); } # 272| | aexp # 273|-> { $$ = $1; } # 274| # 275| rep: '*' Error: GCC_ANALYZER_WARNING (CWE-457): [#def66] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:283:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 281| # 282| qid: LIDENT # 283|-> { $$ = $1; } # 284| | QIDENT # 285| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def67] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:285:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 283| { $$ = $1; } # 284| | QIDENT # 285|-> { $$ = $1; } # 286| | KW_GET # 287| { $$ = strdup("get"); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def68] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:292:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.term' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 290| # 291| param_list: param param_list # 292|-> { $$ = $2; list_cons($$, $1); } # 293| | /* epsilon */ # 294| { $$ = NULL; } Error: GCC_ANALYZER_WARNING (CWE-127): [#def69] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:297:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 295| # 296| param: '(' id ':' type ')' # 297|-> { $$ = make_param($2, $4, clone_info(&@1)); } # 298| # 299| id: LIDENT Error: GCC_ANALYZER_WARNING (CWE-457): [#def70] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:300:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.string' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 298| # 299| id: LIDENT # 300|-> { $$ = $1; } # 301| | KW_GET # 302| { $$ = strdup("get"); } Error: GCC_ANALYZER_WARNING (CWE-457): [#def71] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:307:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.type' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 305| # 306| type: atype ARROW type # 307|-> { $$ = make_arrow_type($1, $3); } # 308| | atype # 309| { $$ = $1; } Error: GCC_ANALYZER_WARNING (CWE-457): [#def72] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:309:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.type' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 307| { $$ = make_arrow_type($1, $3); } # 308| | atype # 309|-> { $$ = $1; } # 310| # 311| atype: KW_STRING Error: GCC_ANALYZER_WARNING (CWE-127): [#def73] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:318:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 316| { $$ = make_base_type(T_LENS); } # 317| | '(' type ')' # 318|-> { $$ = $2; } # 319| # 320| tree_const: tree_const '{' tree_branch '}' Error: GCC_ANALYZER_WARNING (CWE-127): [#def74] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:321:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 319| # 320| tree_const: tree_const '{' tree_branch '}' # 321|-> { $$ = tree_concat($1, $3); } # 322| | '{' tree_branch '}' # 323| { $$ = tree_concat($2, NULL); } Error: GCC_ANALYZER_WARNING (CWE-127): [#def75] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:323:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 321| { $$ = tree_concat($1, $3); } # 322| | '{' tree_branch '}' # 323|-> { $$ = tree_concat($2, NULL); } # 324| # 325| tree_const2: tree_const2 '{' tree_branch '}' Error: GCC_ANALYZER_WARNING (CWE-127): [#def76] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:327:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 325| tree_const2: tree_const2 '{' tree_branch '}' # 326| { # 327|-> $$ = tree_concat($1, $3); # 328| } # 329| | /* empty */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def77] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:334:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.tree' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 332| tree_branch: tree_label tree_const2 # 333| { # 334|-> $$ = make_tree($1, NULL, NULL, $2); # 335| } # 336| | tree_label '=' DQUOTED tree_const2 Error: GCC_ANALYZER_WARNING (CWE-457): [#def78] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:338:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*yyvsp.tree' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 336| | tree_label '=' DQUOTED tree_const2 # 337| { # 338|-> $$ = make_tree($1, $3, NULL, $4); # 339| } # 340| tree_label: DQUOTED Error: GCC_ANALYZER_WARNING (CWE-127): [#def79] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:399:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 397| struct info *info; # 398| make_ref(info); # 399|-> info->filename = ref(locp->filename); # 400| info->first_line = locp->first_line; # 401| info->first_column = locp->first_column; Error: GCC_ANALYZER_WARNING (CWE-127): [#def80] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:400:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 398| make_ref(info); # 399| info->filename = ref(locp->filename); # 400|-> info->first_line = locp->first_line; # 401| info->first_column = locp->first_column; # 402| info->last_line = locp->last_line; Error: GCC_ANALYZER_WARNING (CWE-127): [#def81] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:401:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 399| info->filename = ref(locp->filename); # 400| info->first_line = locp->first_line; # 401|-> info->first_column = locp->first_column; # 402| info->last_line = locp->last_line; # 403| info->last_column = locp->last_column; Error: GCC_ANALYZER_WARNING (CWE-127): [#def82] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:402:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 400| info->first_line = locp->first_line; # 401| info->first_column = locp->first_column; # 402|-> info->last_line = locp->last_line; # 403| info->last_column = locp->last_column; # 404| info->error = locp->error; Error: GCC_ANALYZER_WARNING (CWE-127): [#def83] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:403:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 401| info->first_column = locp->first_column; # 402| info->last_line = locp->last_line; # 403|-> info->last_column = locp->last_column; # 404| info->error = locp->error; # 405| return info; Error: GCC_ANALYZER_WARNING (CWE-127): [#def84] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:404:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:345:5: enter_function: entry to 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:357:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:359:8: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:360:3: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:362:3: call_function: inlined call to 'memset' from 'augl_parse_file' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:371:6: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:376:13: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/parser.y:377:7: call_function: calling 'augl_parse' from 'augl_parse_file' # 402| info->last_line = locp->last_line; # 403| info->last_column = locp->last_column; # 404|-> info->error = locp->error; # 405| return info; # 406| } Error: CPPCHECK_WARNING (CWE-476): [#def85] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p # 62| char *s = strdup(r->pattern->str); # 63| char *t = s; # 64|-> for (char *p = s; *p; p++) { # 65| if (STREQLEN(p, RESERVED_RANGE_RX, strlen(RESERVED_RANGE_RX))) { # 66| /* Completely eliminate mentions of the reserved range */ Error: GCC_ANALYZER_WARNING (CWE-476): [#def86] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:64:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'p' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:40:8: branch_false: following 'false' branch (when 'r' is non-NULL)... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:61:19: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:61:12: branch_true: following 'true' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:62:23: branch_true: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:62:23: acquire_memory: this call could return NULL augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:64:31: danger: 'p' could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) # 62| char *s = strdup(r->pattern->str); # 63| char *t = s; # 64|-> for (char *p = s; *p; p++) { # 65| if (STREQLEN(p, RESERVED_RANGE_RX, strlen(RESERVED_RANGE_RX))) { # 66| /* Completely eliminate mentions of the reserved range */ Error: GCC_ANALYZER_WARNING (CWE-688): [#def87] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:309:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'regexp_expand_nocase(r)' where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:300:14: enter_function: entry to 'append_expanded' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:306:16: call_function: calling 'regexp_expand_nocase' from 'append_expanded' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:306:16: return_function: returning to 'append_expanded' from 'regexp_expand_nocase' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:307:5: branch_false: following 'false' branch... augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:309:5: branch_false: ...to here augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/regexp.c:309:13: danger: argument 1 ('regexp_expand_nocase(r)') from [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5) could be NULL where non-null expected #argument 1 of '__builtin_strlen' must be non-null # 307| ERR_BAIL(r->info); # 308| # 309|-> *len += strlen(expanded) - strlen(r->pattern->str); # 310| # 311| ret = REALLOC_N(*pat, *len); Error: GCC_ANALYZER_WARNING (CWE-688): [#def88] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1349:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1174:12: enter_function: entry to 'check_exp' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1182:18: call_function: calling 'check_binop' from 'check_exp' # 1347| else # 1348| basenam += 1; # 1349|-> if (STRNEQ(fname, basenam)) { # 1350| syntax_error(term->info, # 1351| "The module %s must be in a file named %s", Error: GCC_ANALYZER_WARNING (CWE-688): [#def89] augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1955:19: warning[-Wanalyzer-null-argument]: use of NULL 'filename' where non-null expected augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1174:12: enter_function: entry to 'check_exp' augeas-af2aa88ab37fc48167d8c5e43b1770a4ba2ff403/src/syntax.c:1182:18: call_function: calling 'check_binop' from 'check_exp' #argument 1 of '__builtin_strlen' must be non-null # 1953| # 1954| while ((dir = argz_next(aug->modpathz, aug->nmodpath, dir)) != NULL) { # 1955|-> int len = strlen(name) + strlen(dir) + 2; # 1956| struct stat st; # 1957|
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-124.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | augeas-1.14.2-0.5.20250415gitaf2aa88.fc43 |
store-results-to | /tmp/tmppjjzt1oz/augeas-1.14.2-0.5.20250415gitaf2aa88.fc43.tar.xz |
time-created | 2025-04-25 12:07:54 |
time-finished | 2025-04-25 12:12:53 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmppjjzt1oz/augeas-1.14.2-0.5.20250415gitaf2aa88.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmppjjzt1oz/augeas-1.14.2-0.5.20250415gitaf2aa88.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |