/usr/include/bits/stdio2.h: In function 'jitterc_parse': ./jitterc/jitterc.y:111:24: warning: use of uninitialized value 'new_code' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 111 | + strlen (new_code) + 1); \ | ^~~~~~~~~~~~~~~~~ ./jitterc/jitterc.y:342:7: note: in expansion of macro 'JITTERC_APPEND_CODE' 342 | { JITTERC_APPEND_CODE(vm->early_header_c_code, & $2); } | ^~~~~~~~~~~~~~~~~~~ 'jitterc_parse': events 1-8 | |jitterc/jitterc-parser.c:1720:6: | 1720 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1788 | if (yystate == YYFINAL) | | ~~ ~ | | | | | | | (3) following 'false' branch (when 'yystate != 65')... | | (2) ...to here |...... | 1791 | goto yybackup; | | ~~~~ | | | | | (4) ...to here |...... | 1803 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'true' branch (when 'yyn == -146')... | 1804 | goto yydefault; | | ~~~~ | | | | | (6) ...to here |...... | 1863 | if (yyn == 0) | | ~ | | | | | (7) following 'false' branch (when 'yyn != 0')... | 1864 | goto yyerrlab; | 1865 | goto yyreduce; | | ~~~~ | | | | | (8) ...to here | 'jitterc_parse': event 9 | | 1136 | if (N) \ | | ^ | | | | | (9) following 'true' branch (when 'yylen != 0')... jitterc/jitterc-parser.c:1886:3: note: in expansion of macro 'YYLLOC_DEFAULT' | 1886 | YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); | | ^~~~~~~~~~~~~~ | 'jitterc_parse': event 10 | | 1138 | (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ | | ^ | | | | | (10) ...to here jitterc/jitterc-parser.c:1886:3: note: in expansion of macro 'YYLLOC_DEFAULT' | 1886 | YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); | | ^~~~~~~~~~~~~~ | 'jitterc_parse': event 11 | | 1889 | switch (yyn) | | ^~~~~~ | | | | | (11) following 'case 19:' branch... | 'jitterc_parse': event 12 | |jitterc/jitterc-parser.c:1916:3: | 1916 | case 19: | | ^~~~ | | | | | (12) ...to here | 'jitterc_parse': event 13 | |./jitterc/jitterc.y:100:11: | 100 | if (vm->generate_line) \ | | ^ | | | | | (13) following 'true' branch... ./jitterc/jitterc.y:342:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 342 | { JITTERC_APPEND_CODE(vm->early_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | 'jitterc_parse': event 14 | |./jitterc/jitterc.y:101:10: | 101 | sprintf (line_line, "#line %i \"%s\"\n", \ | | ^~~~~~~ | | | | | (14) ...to here ./jitterc/jitterc.y:342:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 342 | { JITTERC_APPEND_CODE(vm->early_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | 'jitterc_parse': event 15 | |./jitterc/jitterc.y:111:24: | 111 | + strlen (new_code) + 1); \ | | ^~~~~~~~~~~~~~~~~ | | | | | (15) use of uninitialized value 'new_code' here ./jitterc/jitterc.y:342:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 342 | { JITTERC_APPEND_CODE(vm->early_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | ./jitterc/jitterc.y:111:24: note: 2 duplicates 111 | + strlen (new_code) + 1); \ | ^~~~~~~~~~~~~~~~~ ./jitterc/jitterc.y:342:7: note: in expansion of macro 'JITTERC_APPEND_CODE' 342 | { JITTERC_APPEND_CODE(vm->early_header_c_code, & $2); } | ^~~~~~~~~~~~~~~~~~~ ./jitterc/jitterc.y:111:24: warning: use of uninitialized value 'new_code' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 111 | + strlen (new_code) + 1); \ | ^~~~~~~~~~~~~~~~~ ./jitterc/jitterc.y:344:7: note: in expansion of macro 'JITTERC_APPEND_CODE' 344 | { JITTERC_APPEND_CODE(vm->late_header_c_code, & $2); } | ^~~~~~~~~~~~~~~~~~~ 'jitterc_parse': events 1-8 | |jitterc/jitterc-parser.c:1720:6: | 1720 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1788 | if (yystate == YYFINAL) | | ~~ ~ | | | | | | | (3) following 'false' branch (when 'yystate != 65')... | | (2) ...to here |...... | 1791 | goto yybackup; | | ~~~~ | | | | | (4) ...to here |...... | 1803 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'true' branch (when 'yyn == -146')... | 1804 | goto yydefault; | | ~~~~ | | | | | (6) ...to here |...... | 1863 | if (yyn == 0) | | ~ | | | | | (7) following 'false' branch (when 'yyn != 0')... | 1864 | goto yyerrlab; | 1865 | goto yyreduce; | | ~~~~ | | | | | (8) ...to here | 'jitterc_parse': event 9 | | 1136 | if (N) \ | | ^ | | | | | (9) following 'true' branch (when 'yylen != 0')... jitterc/jitterc-parser.c:1886:3: note: in expansion of macro 'YYLLOC_DEFAULT' | 1886 | YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); | | ^~~~~~~~~~~~~~ | 'jitterc_parse': event 10 | | 1138 | (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ | | ^ | | | | | (10) ...to here jitterc/jitterc-parser.c:1886:3: note: in expansion of macro 'YYLLOC_DEFAULT' | 1886 | YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); | | ^~~~~~~~~~~~~~ | 'jitterc_parse': event 11 | | 1889 | switch (yyn) | | ^~~~~~ | | | | | (11) following 'case 20:' branch... | 'jitterc_parse': event 12 | |jitterc/jitterc-parser.c:1922:3: | 1922 | case 20: | | ^~~~ | | | | | (12) ...to here | 'jitterc_parse': event 13 | |./jitterc/jitterc.y:100:11: | 100 | if (vm->generate_line) \ | | ^ | | | | | (13) following 'true' branch... ./jitterc/jitterc.y:344:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 344 | { JITTERC_APPEND_CODE(vm->late_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | 'jitterc_parse': event 14 | |./jitterc/jitterc.y:101:10: | 101 | sprintf (line_line, "#line %i \"%s\"\n", \ | | ^~~~~~~ | | | | | (14) ...to here ./jitterc/jitterc.y:344:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 344 | { JITTERC_APPEND_CODE(vm->late_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | 'jitterc_parse': event 15 | |./jitterc/jitterc.y:111:24: | 111 | + strlen (new_code) + 1); \ | | ^~~~~~~~~~~~~~~~~ | | | | | (15) use of uninitialized value 'new_code' here ./jitterc/jitterc.y:344:7: note: in expansion of macro 'JITTERC_APPEND_CODE' | 344 | { JITTERC_APPEND_CODE(vm->late_header_c_code, & $2); } | | ^~~~~~~~~~~~~~~~~~~ | ./jitterc/jitterc.y:111:24: note: 2 duplicates 111 | + strlen (new_code) + 1); \ | ^~~~~~~~~~~~~~~~~ ./jitterc/jitterc.y:344:7: note: in expansion of macro 'JITTERC_APPEND_CODE' 344 | { JITTERC_APPEND_CODE(vm->late_header_c_code, & $2); } | ^~~~~~~~~~~~~~~~~~~ jitterc/jitterc-parser.c:2845:10: warning: leak of 'yyptr' [CWE-401] [-Wanalyzer-malloc-leak] 2845 | return yyresult; | ^~~~~~~~ 'jitterc_parse': event 1 | |jitterc/jitterc-parser.c:1720:6: | 1720 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'true' branch... | 'jitterc_parse': event 2 | | 535 | # define YYPTRDIFF_T __PTRDIFF_TYPE__ | | ^~~~~~~~~~~~~~~~ | | | | | (2) ...to here jitterc/jitterc-parser.c:1726:7: note: in expansion of macro 'YYPTRDIFF_T' | 1726 | YYPTRDIFF_T yysize = yyssp - yyss + 1; | | ^~~~~~~~~~~ | 'jitterc_parse': events 3-7 | | 1752 | if (YYMAXDEPTH <= yystacksize) | | ^ | | | | | (3) following 'false' branch (when 'yystacksize <= 9999')... | 1753 | goto yyexhaustedlab; | 1754 | yystacksize *= 2; | | ~~~~~~~~~~~ | | | | | (4) ...to here |...... | 1759 | yy_state_t *yyss1 = yyss; | | ~~~~~~~~~~ | | | | | (5) allocated here |...... | 1763 | if (! yyptr) | | ~ | | | | | (6) assuming 'yyptr' is non-NULL | | (7) following 'false' branch (when 'yyptr' is non-NULL)... | 'jitterc_parse': event 8 | | 744 | do \ | | ^~ | | | | | (8) ...to here jitterc/jitterc-parser.c:1765:9: note: in expansion of macro 'YYSTACK_RELOCATE' | 1765 | YYSTACK_RELOCATE (yyss_alloc, yyss); | | ^~~~~~~~~~~~~~~~ | 'jitterc_parse': events 9-11 | | 1769 | if (yyss1 != yyssa) | | ^ | | | | | (9) following 'false' branch... |...... | 1774 | yyssp = yyss + yysize - 1; | | ~~~~~ | | | | | (10) ...to here |...... | 1783 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'true' branch... | 'jitterc_parse': event 12 | | 1101 | #define YYABORT goto yyabortlab | | ^~~~ | | | | | (12) ...to here jitterc/jitterc-parser.c:1784:9: note: in expansion of macro 'YYABORT' | 1784 | YYABORT; | | ^~~~~~~ | 'jitterc_parse': event 13 | |jitterc/jitterc-parser.c:2838:6: | 2838 | if (yyss != yyssa) | | ^ | | | | | (13) following 'true' branch... | 'jitterc_parse': event 14 | |jitterc/jitterc-parser.c:704:19: | 704 | # define YYFREE free | | ^~~~ | | | | | (14) ...to here jitterc/jitterc-parser.c:685:24: note: in expansion of macro 'YYFREE' | 685 | # define YYSTACK_FREE YYFREE | | ^~~~~~ jitterc/jitterc-parser.c:2839:5: note: in expansion of macro 'YYSTACK_FREE' | 2839 | YYSTACK_FREE (yyss); | | ^~~~~~~~~~~~ | 'jitterc_parse': event 15 | | 2845 | return yyresult; | | ^~~~~~~~ | | | | | (15) 'yyptr' leaks here; was allocated at (5) | jitterc/jitterc-parser.c:2845:10: note: 26 duplicates jitterc/jitterc-scanner.c: In function 'jitterc__load_buffer_state': jitterc/jitterc-scanner.c:2296:22: warning: use of uninitialized value '' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 2296 | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | ^~~~~~~~~~~~~~~~ 'jitterc_lex': event 1 | |jitterc/jitterc-scanner.c:91:15: | 91 | #else | | ^ | | | | | (1) entry to 'jitterc_lex' jitterc/jitterc-scanner.c:1347:21: note: in expansion of macro 'yylex' | 1347 | | | ^ jitterc/jitterc-scanner.c:1368:1: note: in expansion of macro 'YY_DECL' | 1368 | */ | | ^~~ | 'jitterc_lex': events 2-3 | | 1379 | | | ^ | | | | | (2) following 'true' branch... | 1380 | if ( !yyg->yy_init ) | 1381 | { | | ~ | | | | | (3) ...to here | 'jitterc_lex': event 4 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:1399:5: note: in expansion of macro 'yy_create_buffer' | 1399 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitterc__create_buffer': event 5 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else | | ^ | | | | | (5) entry to 'jitterc__create_buffer' jitterc/jitterc-scanner.c:2305:21: note: in expansion of macro 'yy_create_buffer' | 2305 | */ | | ^ | 'jitterc__create_buffer': events 6-9 | | 2310 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (6) following 'false' branch... |...... | 2313 | | | | | | | | (7) ...to here |...... | 2319 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (8) following 'false' branch... |...... | 2322 | | | | | | | | (9) ...to here | 'jitterc__create_buffer': event 10 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | +--> 'jitterc__init_buffer': event 11 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (11) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 12 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 13 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (13) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': event 14 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (14) following 'true' branch (when 'b' is NULL)... | 'jitterc__flush_buffer': event 15 | |cc1: | (15): ...to here | <------+ | 'jitterc__init_buffer': event 16 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 17 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (17) following 'true' branch... jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': event 18 | |jitterc/jitterc-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (18) ...to here jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': events 19-22 | | 2368 | */ | | ^ | | | | | (19) following 'true' branch... | 2369 | if (b != YY_CURRENT_BUFFER){ | | ~ | | | | | (20) ...to here |...... | 2373 | | | | | | | | | (22) ...to here (21) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitterc__create_buffer': event 23 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | <------+ | 'jitterc_lex': event 24 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:1399:5: note: in expansion of macro 'yy_create_buffer' | 1399 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitterc_lex': event 25 | |jitterc/jitterc-scanner.c:61:30: | 61 | #else jitterc/jitterc-scanner.c:1402:3: note: in expansion of macro 'yy_load_buffer_state' | 1402 | | | ^ | +--> 'jitterc__load_buffer_state': event 26 | |jitterc/jitterc-scanner.c:61:30: | 61 | #else | | ^ | | | | | (26) entry to 'jitterc__load_buffer_state' jitterc/jitterc-scanner.c:2290:13: note: in expansion of macro 'yy_load_buffer_state' | 2290 | | | ^ | 'jitterc__load_buffer_state': event 27 | | 2296 | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | | ^~~~~~~~~~~~~~~~ | | | | | (27) use of uninitialized value '' here | jitterc/jitterc-scanner.c:2296:22: note: 11 duplicates jitterc/jitterc-scanner.c: In function 'jitterc__create_buffer': jitterc/jitterc-scanner.c:2326:9: warning: leak of '' [CWE-401] [-Wanalyzer-malloc-leak] 2326 | | ^ 'jitterc_lex': event 1 | |jitterc/jitterc-scanner.c:91:15: | 91 | #else | | ^ | | | | | (1) entry to 'jitterc_lex' jitterc/jitterc-scanner.c:1347:21: note: in expansion of macro 'yylex' | 1347 | | | ^ jitterc/jitterc-scanner.c:1368:1: note: in expansion of macro 'YY_DECL' | 1368 | */ | | ^~~ | 'jitterc_lex': events 2-3 | | 1379 | | | ^ | | | | | (2) following 'true' branch... | 1380 | if ( !yyg->yy_init ) | 1381 | { | | ~ | | | | | (3) ...to here | 'jitterc_lex': event 4 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:1399:5: note: in expansion of macro 'yy_create_buffer' | 1399 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitterc__create_buffer': event 5 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else | | ^ | | | | | (5) entry to 'jitterc__create_buffer' jitterc/jitterc-scanner.c:2305:21: note: in expansion of macro 'yy_create_buffer' | 2305 | */ | | ^ | 'jitterc__create_buffer': events 6-11 | | 2310 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (6) following 'false' branch... |...... | 2313 | | | | | | | | (7) ...to here | | (8) allocated here |...... | 2319 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (9) assuming '' is non-NULL | | (10) following 'false' branch... |...... | 2322 | | | | | | | | (11) ...to here | 'jitterc__create_buffer': event 12 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | +--> 'jitterc__init_buffer': event 13 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (13) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 14 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 15 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (15) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': events 16-17 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (16) following 'false' branch (when 'b' is non-NULL)... |...... | 2388 | | | | | | | | (17) ...to here | 'jitterc__flush_buffer': event 18 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (18) following 'true' branch... jitterc/jitterc-scanner.c:2402:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2402 | | | ^ | 'jitterc__flush_buffer': event 19 | |jitterc/jitterc-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (19) ...to here jitterc/jitterc-scanner.c:2402:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2402 | | | ^ | 'jitterc__flush_buffer': event 20 | | 2402 | | | ^ | | | | | (20) following 'true' branch... | 'jitterc__flush_buffer': event 21 | |jitterc/jitterc-scanner.c:61:30: | 61 | #else | | ^ | | | | | (21) ...to here jitterc/jitterc-scanner.c:2403:3: note: in expansion of macro 'yy_load_buffer_state' | 2403 | if ( b == YY_CURRENT_BUFFER ) | | ^~~~~~~~~~~~~~~~~~~~ | <------+ | 'jitterc__init_buffer': event 22 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 23 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (23) following 'false' branch... jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': events 24-28 | | 2368 | */ | | ^ | | | | | (24) ...to here | | (25) following 'true' branch... | 2369 | if (b != YY_CURRENT_BUFFER){ | | ~ | | | | | (26) ...to here |...... | 2373 | | | | | | | | | (28) ...to here (27) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitterc__create_buffer': event 29 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | 'jitterc__create_buffer': event 30 | | 2326 | | | ^ | | | | | (30) '' leaks here; was allocated at (8) | jitterc/jitterc-scanner.c:2326:9: note: 2 duplicates jitterc/jitterc-scanner.c: In function 'jitterc__init_buffer': jitterc/jitterc-scanner.c:2361:19: warning: dereference of NULL 'b' [CWE-690] [-Wanalyzer-null-dereference] 2361 | | ^ 'jitterc_restart': event 1 | |jitterc/jitterc-scanner.c:97:19: | 97 | #else | | ^ | | | | | (1) entry to 'jitterc_restart' jitterc/jitterc-scanner.c:2240:10: note: in expansion of macro 'yyrestart' | 2240 | */ | | ^ | 'jitterc_restart': event 2 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else jitterc/jitterc-scanner.c:2245:9: note: in expansion of macro 'yyensure_buffer_stack' | 2245 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | +--> 'jitterc_ensure_buffer_stack': event 3 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else | | ^ | | | | | (3) entry to 'jitterc_ensure_buffer_stack' jitterc/jitterc-scanner.c:2463:13: note: in expansion of macro 'yyensure_buffer_stack' | 2463 | */ | | ^ | 'jitterc_ensure_buffer_stack': events 4-7 | | 2468 | | | ^ | | | | | (4) following 'true' branch... |...... | 2474 | */ | | ~~ | | | | | (5) ...to here |...... | 2478 | , yyscanner); | | | | | | | (6) following 'false' branch... |...... | 2481 | | | | | | | | (7) ...to here | <------+ | 'jitterc_restart': event 8 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else jitterc/jitterc-scanner.c:2245:9: note: in expansion of macro 'yyensure_buffer_stack' | 2245 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | 'jitterc_restart': event 9 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:2247:13: note: in expansion of macro 'yy_create_buffer' | 2247 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitterc__create_buffer': event 10 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else | | ^ | | | | | (10) entry to 'jitterc__create_buffer' jitterc/jitterc-scanner.c:2305:21: note: in expansion of macro 'yy_create_buffer' | 2305 | */ | | ^ | 'jitterc__create_buffer': events 11-14 | | 2310 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (11) following 'false' branch... |...... | 2313 | | | | | | | | (12) ...to here |...... | 2319 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (13) following 'false' branch... |...... | 2322 | | | | | | | | (14) ...to here | 'jitterc__create_buffer': event 15 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | +--> 'jitterc__init_buffer': event 16 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (16) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 17 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 18 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (18) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': event 19 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (19) following 'true' branch (when 'b' is NULL)... | 'jitterc__flush_buffer': event 20 | |cc1: | (20): ...to here | <------+ | 'jitterc__init_buffer': event 21 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 22 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (22) following 'false' branch... jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': events 23-27 | | 2368 | */ | | ^ | | | | | (23) ...to here | | (24) following 'false' branch... |...... | 2373 | | | | | | | | | | (25) ...to here (27) ...to here (26) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitterc__create_buffer': event 28 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | <------+ | 'jitterc_restart': event 29 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:2247:13: note: in expansion of macro 'yy_create_buffer' | 2247 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitterc_restart': event 30 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2250:2: note: in expansion of macro 'yy_init_buffer' | 2250 | | | ^ | 'jitterc_restart': event 31 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2250:2: note: in expansion of macro 'yy_init_buffer' | 2250 | | | ^ | 'jitterc_restart': event 32 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2250:2: note: in expansion of macro 'yy_init_buffer' | 2250 | | | ^ | +--> 'jitterc__init_buffer': event 33 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (33) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 34 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 35 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (35) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': event 36 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (36) following 'true' branch (when 'b' is NULL)... | 'jitterc__flush_buffer': event 37 | |cc1: | (37): ...to here | <------+ | 'jitterc__init_buffer': event 38 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 39 | | 2361 | | | ^ | | | | | (39) dereference of NULL 'b' | jitterc/jitterc-scanner.c:2361:19: note: 3 duplicates jitterc/jitterc-scanner.c:2373:30: warning: dereference of NULL 'b' [CWE-690] [-Wanalyzer-null-dereference] 2373 | | ^ 'jitterc__create_buffer': event 1 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else | | ^ | | | | | (1) entry to 'jitterc__create_buffer' jitterc/jitterc-scanner.c:2305:21: note: in expansion of macro 'yy_create_buffer' | 2305 | */ | | ^ | 'jitterc__create_buffer': events 2-7 | | 2307 | { | | ^ | | | | | (2) allocated here |...... | 2310 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ~ | | | | | (3) assuming '' is non-NULL | | (4) following 'false' branch... |...... | 2313 | | | | | | | | (5) ...to here |...... | 2319 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (6) following 'false' branch... |...... | 2322 | | | | | | | | (7) ...to here | 'jitterc__create_buffer': event 8 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | +--> 'jitterc__init_buffer': event 9 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (9) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 10 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 11 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (11) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': event 12 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (12) following 'true' branch (when 'b' is NULL)... | 'jitterc__flush_buffer': event 13 | |cc1: | (13): ...to here | <------+ | 'jitterc__init_buffer': event 14 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 15 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (15) following 'false' branch... jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': events 16-21 | | 2368 | */ | | ^ | | | | | (16) ...to here | | (17) following 'false' branch... |...... | 2373 | | | | | | | | | | | (20) ...to here (19) following 'false' branch (when 'file' is NULL)... | | (18) ...to here (21) dereference of NULL 'b' | jitterc/jitterc-scanner.c:2373:30: note: 4 duplicates 2373 | | ^ jitterc/jitterc-scanner.c: In function 'jitterc__flush_buffer': jitterc/jitterc-scanner.c:2402:5: warning: leak of '' [CWE-401] [-Wanalyzer-malloc-leak] 2402 | | ^ 'jitterc_restart': event 1 | |jitterc/jitterc-scanner.c:97:19: | 97 | #else | | ^ | | | | | (1) entry to 'jitterc_restart' jitterc/jitterc-scanner.c:2240:10: note: in expansion of macro 'yyrestart' | 2240 | */ | | ^ | 'jitterc_restart': event 2 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else jitterc/jitterc-scanner.c:2245:9: note: in expansion of macro 'yyensure_buffer_stack' | 2245 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | +--> 'jitterc_ensure_buffer_stack': event 3 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else | | ^ | | | | | (3) entry to 'jitterc_ensure_buffer_stack' jitterc/jitterc-scanner.c:2463:13: note: in expansion of macro 'yyensure_buffer_stack' | 2463 | */ | | ^ | 'jitterc_ensure_buffer_stack': events 4-7 | | 2468 | | | ^ | | | | | (4) following 'true' branch... |...... | 2474 | */ | | ~~ | | | | | (5) ...to here |...... | 2478 | , yyscanner); | | | | | | | (6) following 'false' branch... |...... | 2481 | | | | | | | | (7) ...to here | <------+ | 'jitterc_restart': event 8 | |jitterc/jitterc-scanner.c:85:31: | 85 | #else jitterc/jitterc-scanner.c:2245:9: note: in expansion of macro 'yyensure_buffer_stack' | 2245 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | 'jitterc_restart': event 9 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:2247:13: note: in expansion of macro 'yy_create_buffer' | 2247 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitterc__create_buffer': event 10 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else | | ^ | | | | | (10) entry to 'jitterc__create_buffer' jitterc/jitterc-scanner.c:2305:21: note: in expansion of macro 'yy_create_buffer' | 2305 | */ | | ^ | 'jitterc__create_buffer': events 11-14 | | 2310 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (11) following 'false' branch... |...... | 2313 | | | | | | | | (12) ...to here |...... | 2319 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (13) following 'false' branch... |...... | 2322 | | | | | | | | (14) ...to here | 'jitterc__create_buffer': event 15 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | +--> 'jitterc__init_buffer': event 16 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (16) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 17 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 18 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (18) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': event 19 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (19) following 'true' branch (when 'b' is NULL)... | 'jitterc__flush_buffer': event 20 | |cc1: | (20): ...to here | <------+ | 'jitterc__init_buffer': event 21 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | 'jitterc__init_buffer': event 22 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (22) following 'true' branch... jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': event 23 | |jitterc/jitterc-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (23) ...to here jitterc/jitterc-scanner.c:2368:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2368 | */ | | ^ | 'jitterc__init_buffer': events 24-27 | | 2373 | | | ^ | | | | | | | | | (24) following 'true' branch (when 'file' is non-NULL)... | | | (25) ...to here (26) following 'true' branch... | | (27) ...to here | <------+ | 'jitterc__create_buffer': event 28 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2324:2: note: in expansion of macro 'yy_init_buffer' | 2324 | | | ^ | <------+ | 'jitterc_restart': event 29 | |jitterc/jitterc-scanner.c:19:26: | 19 | #else jitterc/jitterc-scanner.c:2247:13: note: in expansion of macro 'yy_create_buffer' | 2247 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitterc_restart': event 30 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2250:2: note: in expansion of macro 'yy_init_buffer' | 2250 | | | ^ | 'jitterc_restart': event 31 | |jitterc/jitterc-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (31) ...to here jitterc/jitterc-scanner.c:2250:18: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2250 | | | ^ | 'jitterc_restart': event 32 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else jitterc/jitterc-scanner.c:2250:2: note: in expansion of macro 'yy_init_buffer' | 2250 | | | ^ | +--> 'jitterc__init_buffer': event 33 | |jitterc/jitterc-scanner.c:49:24: | 49 | #else | | ^ | | | | | (33) entry to 'jitterc__init_buffer' jitterc/jitterc-scanner.c:2353:17: note: in expansion of macro 'yy_init_buffer' | 2353 | */ | | ^ | 'jitterc__init_buffer': event 34 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else jitterc/jitterc-scanner.c:2359:2: note: in expansion of macro 'yy_flush_buffer' | 2359 | | | ^ | +--> 'jitterc__flush_buffer': event 35 | |jitterc/jitterc-scanner.c:55:25: | 55 | #else | | ^ | | | | | (35) entry to 'jitterc__flush_buffer' jitterc/jitterc-scanner.c:2382:10: note: in expansion of macro 'yy_flush_buffer' | 2382 | */ | | ^ | 'jitterc__flush_buffer': events 36-38 | | 2385 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (36) following 'false' branch (when 'b' is non-NULL)... |...... | 2388 | | | | | | | | (37) ...to here | | (38) state of '': 'start' -> 'nonnull' (origin: NULL) | 'jitterc__flush_buffer': event 39 | |jitterc/jitterc-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (39) following 'true' branch... jitterc/jitterc-scanner.c:2402:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2402 | | | ^ | 'jitterc__flush_buffer': event 40 | |jitterc/jitterc-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (40) ...to here jitterc/jitterc-scanner.c:2402:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 2402 | | | ^ | 'jitterc__flush_buffer': event 41 | | 2402 | | | ^ | | | | | (41) following 'false' branch... | 'jitterc__flush_buffer': event 42 | |cc1: | (42): ...to here | 'jitterc__flush_buffer': event 43 | | jitter/jitter-instruction.c: In function 'jitter_destroy_instruction': jitter/jitter-instruction.c:153:3: warning: double-'free' of '' [CWE-415] [-Wanalyzer-double-free] 153 | free (p); | ^~~~~~~~ 'jitter_destroy_instruction': events 1-11 | | 94 | if (i->parameters != NULL) | | ^ | | | | | (1) following 'true' branch... | 95 | { | 96 | int j; | | ~~~ | | | | | (2) ...to here | 97 | size_t arity = i->meta_instruction->parameter_no; | 98 | for (j = 0; j < arity; j ++) | | ~~~ | | | | | (3) following 'true' branch... | | (6) following 'true' branch... | | (9) following 'true' branch... | 99 | jitter_destroy_instruction_parameter (i->parameters [j]); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (4) ...to here | | (5) first 'free' here | | (7) ...to here | | (8) first 'free' here | | (10) ...to here |...... | 153 | free (p); | | ~~~~~~~~ | | | | | (11) second 'free' here; first 'free' was at (8) | jitter/jitter-routine-parser.c: In function 'jitter_parse': jitter/jitter-routine-parser.c:2088:10: warning: leak of 'yyptr' [CWE-401] [-Wanalyzer-malloc-leak] 2088 | return yyresult; | ^~~~~~~~ 'jitter_parse': event 1 | |jitter/jitter-routine-parser.c:1492:6: | 1492 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'true' branch... | 'jitter_parse': event 2 | | 421 | # define YYPTRDIFF_T __PTRDIFF_TYPE__ | | ^~~~~~~~~~~~~~~~ | | | | | (2) ...to here jitter/jitter-routine-parser.c:1498:7: note: in expansion of macro 'YYPTRDIFF_T' | 1498 | YYPTRDIFF_T yysize = yyssp - yyss + 1; | | ^~~~~~~~~~~ | 'jitter_parse': events 3-7 | | 1524 | if (YYMAXDEPTH <= yystacksize) | | ^ | | | | | (3) following 'false' branch (when 'yystacksize <= 9999')... | 1525 | goto yyexhaustedlab; | 1526 | yystacksize *= 2; | | ~~~~~~~~~~~ | | | | | (4) ...to here |...... | 1531 | yy_state_t *yyss1 = yyss; | | ~~~~~~~~~~ | | | | | (5) allocated here |...... | 1535 | if (! yyptr) | | ~ | | | | | (6) assuming 'yyptr' is non-NULL | | (7) following 'false' branch (when 'yyptr' is non-NULL)... | 'jitter_parse': event 8 | | 630 | do \ | | ^~ | | | | | (8) ...to here jitter/jitter-routine-parser.c:1537:9: note: in expansion of macro 'YYSTACK_RELOCATE' | 1537 | YYSTACK_RELOCATE (yyss_alloc, yyss); | | ^~~~~~~~~~~~~~~~ | 'jitter_parse': events 9-11 | | 1541 | if (yyss1 != yyssa) | | ^ | | | | | (9) following 'false' branch... |...... | 1546 | yyssp = yyss + yysize - 1; | | ~~~~~ | | | | | (10) ...to here |...... | 1555 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'true' branch... | 'jitter_parse': event 12 | | 873 | #define YYABORT goto yyabortlab | | ^~~~ | | | | | (12) ...to here jitter/jitter-routine-parser.c:1556:9: note: in expansion of macro 'YYABORT' | 1556 | YYABORT; | | ^~~~~~~ | 'jitter_parse': event 13 | |jitter/jitter-routine-parser.c:2081:6: | 2081 | if (yyss != yyssa) | | ^ | | | | | (13) following 'true' branch... | 'jitter_parse': event 14 | |jitter/jitter-routine-parser.c:590:19: | 590 | # define YYFREE free | | ^~~~ | | | | | (14) ...to here jitter/jitter-routine-parser.c:571:24: note: in expansion of macro 'YYFREE' | 571 | # define YYSTACK_FREE YYFREE | | ^~~~~~ jitter/jitter-routine-parser.c:2082:5: note: in expansion of macro 'YYSTACK_FREE' | 2082 | YYSTACK_FREE (yyss); | | ^~~~~~~~~~~~ | 'jitter_parse': event 15 | | 2088 | return yyresult; | | ^~~~~~~~ | | | | | (15) 'yyptr' leaks here; was allocated at (5) | jitter/jitter-routine-parser.c:2088:10: note: 4 duplicates jitter/jitter-routine-scanner.c: In function 'jitter__load_buffer_state': jitter/jitter-routine-scanner.c:1839:22: warning: use of uninitialized value '' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1839 | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | ^~~~~~~~~~~~~~~~ 'jitter_lex': event 1 | |jitter/jitter-routine-scanner.c:91:15: | 91 | #else | | ^ | | | | | (1) entry to 'jitter_lex' jitter/jitter-routine-scanner.c:1025:21: note: in expansion of macro 'yylex' | 1025 | | | ^ jitter/jitter-routine-scanner.c:1046:1: note: in expansion of macro 'YY_DECL' | 1046 | */ | | ^~~ | 'jitter_lex': events 2-3 | | 1057 | | | ^ | | | | | (2) following 'true' branch... | 1058 | if ( !yyg->yy_init ) | 1059 | { | | ~ | | | | | (3) ...to here | 'jitter_lex': event 4 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1077:5: note: in expansion of macro 'yy_create_buffer' | 1077 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitter__create_buffer': event 5 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else | | ^ | | | | | (5) entry to 'jitter__create_buffer' jitter/jitter-routine-scanner.c:1848:21: note: in expansion of macro 'yy_create_buffer' | 1848 | */ | | ^ | 'jitter__create_buffer': events 6-9 | | 1853 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (6) following 'false' branch... |...... | 1856 | | | | | | | | (7) ...to here |...... | 1862 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (8) following 'false' branch... |...... | 1865 | | | | | | | | (9) ...to here | 'jitter__create_buffer': event 10 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | +--> 'jitter__init_buffer': event 11 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (11) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 12 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 13 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (13) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': event 14 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (14) following 'true' branch (when 'b' is NULL)... | 'jitter__flush_buffer': event 15 | |cc1: | (15): ...to here | <------+ | 'jitter__init_buffer': event 16 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 17 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (17) following 'true' branch... jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': event 18 | |jitter/jitter-routine-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (18) ...to here jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': events 19-22 | | 1911 | */ | | ^ | | | | | (19) following 'true' branch... | 1912 | if (b != YY_CURRENT_BUFFER){ | | ~ | | | | | (20) ...to here |...... | 1916 | | | | | | | | | (22) ...to here (21) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitter__create_buffer': event 23 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | <------+ | 'jitter_lex': event 24 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1077:5: note: in expansion of macro 'yy_create_buffer' | 1077 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitter_lex': event 25 | |jitter/jitter-routine-scanner.c:61:30: | 61 | #else jitter/jitter-routine-scanner.c:1080:3: note: in expansion of macro 'yy_load_buffer_state' | 1080 | | | ^ | +--> 'jitter__load_buffer_state': event 26 | |jitter/jitter-routine-scanner.c:61:30: | 61 | #else | | ^ | | | | | (26) entry to 'jitter__load_buffer_state' jitter/jitter-routine-scanner.c:1833:13: note: in expansion of macro 'yy_load_buffer_state' | 1833 | | | ^ | 'jitter__load_buffer_state': event 27 | | 1839 | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | | ^~~~~~~~~~~~~~~~ | | | | | (27) use of uninitialized value '' here | jitter/jitter-routine-scanner.c:1839:22: note: 11 duplicates jitter/jitter-routine-scanner.c: In function 'jitter__create_buffer': jitter/jitter-routine-scanner.c:1869:9: warning: leak of '' [CWE-401] [-Wanalyzer-malloc-leak] 1869 | | ^ 'jitter_lex': event 1 | |jitter/jitter-routine-scanner.c:91:15: | 91 | #else | | ^ | | | | | (1) entry to 'jitter_lex' jitter/jitter-routine-scanner.c:1025:21: note: in expansion of macro 'yylex' | 1025 | | | ^ jitter/jitter-routine-scanner.c:1046:1: note: in expansion of macro 'YY_DECL' | 1046 | */ | | ^~~ | 'jitter_lex': events 2-3 | | 1057 | | | ^ | | | | | (2) following 'true' branch... | 1058 | if ( !yyg->yy_init ) | 1059 | { | | ~ | | | | | (3) ...to here | 'jitter_lex': event 4 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1077:5: note: in expansion of macro 'yy_create_buffer' | 1077 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitter__create_buffer': event 5 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else | | ^ | | | | | (5) entry to 'jitter__create_buffer' jitter/jitter-routine-scanner.c:1848:21: note: in expansion of macro 'yy_create_buffer' | 1848 | */ | | ^ | 'jitter__create_buffer': events 6-11 | | 1853 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (6) following 'false' branch... |...... | 1856 | | | | | | | | (7) ...to here | | (8) allocated here |...... | 1862 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (9) assuming '' is non-NULL | | (10) following 'false' branch... |...... | 1865 | | | | | | | | (11) ...to here | 'jitter__create_buffer': event 12 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | +--> 'jitter__init_buffer': event 13 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (13) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 14 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 15 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (15) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': events 16-17 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (16) following 'false' branch (when 'b' is non-NULL)... |...... | 1931 | | | | | | | | (17) ...to here | 'jitter__flush_buffer': event 18 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (18) following 'true' branch... jitter/jitter-routine-scanner.c:1945:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1945 | | | ^ | 'jitter__flush_buffer': event 19 | |jitter/jitter-routine-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (19) ...to here jitter/jitter-routine-scanner.c:1945:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1945 | | | ^ | 'jitter__flush_buffer': event 20 | | 1945 | | | ^ | | | | | (20) following 'true' branch... | 'jitter__flush_buffer': event 21 | |jitter/jitter-routine-scanner.c:61:30: | 61 | #else | | ^ | | | | | (21) ...to here jitter/jitter-routine-scanner.c:1946:3: note: in expansion of macro 'yy_load_buffer_state' | 1946 | if ( b == YY_CURRENT_BUFFER ) | | ^~~~~~~~~~~~~~~~~~~~ | <------+ | 'jitter__init_buffer': event 22 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 23 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (23) following 'false' branch... jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': events 24-28 | | 1911 | */ | | ^ | | | | | (24) ...to here | | (25) following 'true' branch... | 1912 | if (b != YY_CURRENT_BUFFER){ | | ~ | | | | | (26) ...to here |...... | 1916 | | | | | | | | | (28) ...to here (27) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitter__create_buffer': event 29 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | 'jitter__create_buffer': event 30 | | 1869 | | | ^ | | | | | (30) '' leaks here; was allocated at (8) | jitter/jitter-routine-scanner.c:1869:9: note: 2 duplicates jitter/jitter-routine-scanner.c: In function 'jitter__init_buffer': jitter/jitter-routine-scanner.c:1904:19: warning: dereference of NULL 'b' [CWE-690] [-Wanalyzer-null-dereference] 1904 | | ^ 'jitter_restart': event 1 | |jitter/jitter-routine-scanner.c:97:19: | 97 | #else | | ^ | | | | | (1) entry to 'jitter_restart' jitter/jitter-routine-scanner.c:1783:10: note: in expansion of macro 'yyrestart' | 1783 | */ | | ^ | 'jitter_restart': event 2 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else jitter/jitter-routine-scanner.c:1788:9: note: in expansion of macro 'yyensure_buffer_stack' | 1788 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | +--> 'jitter_ensure_buffer_stack': event 3 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else | | ^ | | | | | (3) entry to 'jitter_ensure_buffer_stack' jitter/jitter-routine-scanner.c:2006:13: note: in expansion of macro 'yyensure_buffer_stack' | 2006 | */ | | ^ | 'jitter_ensure_buffer_stack': events 4-7 | | 2011 | | | ^ | | | | | (4) following 'true' branch... |...... | 2017 | */ | | ~~ | | | | | (5) ...to here |...... | 2021 | , yyscanner); | | | | | | | (6) following 'false' branch... |...... | 2024 | | | | | | | | (7) ...to here | <------+ | 'jitter_restart': event 8 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else jitter/jitter-routine-scanner.c:1788:9: note: in expansion of macro 'yyensure_buffer_stack' | 1788 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | 'jitter_restart': event 9 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1790:13: note: in expansion of macro 'yy_create_buffer' | 1790 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitter__create_buffer': event 10 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else | | ^ | | | | | (10) entry to 'jitter__create_buffer' jitter/jitter-routine-scanner.c:1848:21: note: in expansion of macro 'yy_create_buffer' | 1848 | */ | | ^ | 'jitter__create_buffer': events 11-14 | | 1853 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (11) following 'false' branch... |...... | 1856 | | | | | | | | (12) ...to here |...... | 1862 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (13) following 'false' branch... |...... | 1865 | | | | | | | | (14) ...to here | 'jitter__create_buffer': event 15 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | +--> 'jitter__init_buffer': event 16 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (16) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 17 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 18 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (18) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': event 19 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (19) following 'true' branch (when 'b' is NULL)... | 'jitter__flush_buffer': event 20 | |cc1: | (20): ...to here | <------+ | 'jitter__init_buffer': event 21 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 22 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (22) following 'false' branch... jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': events 23-27 | | 1911 | */ | | ^ | | | | | (23) ...to here | | (24) following 'false' branch... |...... | 1916 | | | | | | | | | | (25) ...to here (27) ...to here (26) following 'false' branch (when 'file' is NULL)... | <------+ | 'jitter__create_buffer': event 28 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | <------+ | 'jitter_restart': event 29 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1790:13: note: in expansion of macro 'yy_create_buffer' | 1790 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitter_restart': event 30 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1793:2: note: in expansion of macro 'yy_init_buffer' | 1793 | | | ^ | 'jitter_restart': event 31 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1793:2: note: in expansion of macro 'yy_init_buffer' | 1793 | | | ^ | 'jitter_restart': event 32 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1793:2: note: in expansion of macro 'yy_init_buffer' | 1793 | | | ^ | +--> 'jitter__init_buffer': event 33 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (33) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 34 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 35 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (35) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': event 36 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (36) following 'true' branch (when 'b' is NULL)... | 'jitter__flush_buffer': event 37 | |cc1: | (37): ...to here | <------+ | 'jitter__init_buffer': event 38 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 39 | | 1904 | | | ^ | | | | | (39) dereference of NULL 'b' | jitter/jitter-routine-scanner.c:1904:19: note: 3 duplicates jitter/jitter-routine-scanner.c:1916:30: warning: dereference of NULL 'b' [CWE-690] [-Wanalyzer-null-dereference] 1916 | | ^ 'jitter__create_buffer': event 1 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else | | ^ | | | | | (1) entry to 'jitter__create_buffer' jitter/jitter-routine-scanner.c:1848:21: note: in expansion of macro 'yy_create_buffer' | 1848 | */ | | ^ | 'jitter__create_buffer': events 2-7 | | 1850 | { | | ^ | | | | | (2) allocated here |...... | 1853 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ~ | | | | | (3) assuming '' is non-NULL | | (4) following 'false' branch... |...... | 1856 | | | | | | | | (5) ...to here |...... | 1862 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (6) following 'false' branch... |...... | 1865 | | | | | | | | (7) ...to here | 'jitter__create_buffer': event 8 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | +--> 'jitter__init_buffer': event 9 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (9) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 10 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 11 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (11) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': event 12 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (12) following 'true' branch (when 'b' is NULL)... | 'jitter__flush_buffer': event 13 | |cc1: | (13): ...to here | <------+ | 'jitter__init_buffer': event 14 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 15 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (15) following 'false' branch... jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': events 16-21 | | 1911 | */ | | ^ | | | | | (16) ...to here | | (17) following 'false' branch... |...... | 1916 | | | | | | | | | | | (20) ...to here (19) following 'false' branch (when 'file' is NULL)... | | (18) ...to here (21) dereference of NULL 'b' | jitter/jitter-routine-scanner.c:1916:30: note: 4 duplicates 1916 | | ^ jitter/jitter-routine-scanner.c: In function 'jitter__flush_buffer': jitter/jitter-routine-scanner.c:1945:5: warning: leak of '' [CWE-401] [-Wanalyzer-malloc-leak] 1945 | | ^ 'jitter_restart': event 1 | |jitter/jitter-routine-scanner.c:97:19: | 97 | #else | | ^ | | | | | (1) entry to 'jitter_restart' jitter/jitter-routine-scanner.c:1783:10: note: in expansion of macro 'yyrestart' | 1783 | */ | | ^ | 'jitter_restart': event 2 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else jitter/jitter-routine-scanner.c:1788:9: note: in expansion of macro 'yyensure_buffer_stack' | 1788 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | +--> 'jitter_ensure_buffer_stack': event 3 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else | | ^ | | | | | (3) entry to 'jitter_ensure_buffer_stack' jitter/jitter-routine-scanner.c:2006:13: note: in expansion of macro 'yyensure_buffer_stack' | 2006 | */ | | ^ | 'jitter_ensure_buffer_stack': events 4-7 | | 2011 | | | ^ | | | | | (4) following 'true' branch... |...... | 2017 | */ | | ~~ | | | | | (5) ...to here |...... | 2021 | , yyscanner); | | | | | | | (6) following 'false' branch... |...... | 2024 | | | | | | | | (7) ...to here | <------+ | 'jitter_restart': event 8 | |jitter/jitter-routine-scanner.c:85:31: | 85 | #else jitter/jitter-routine-scanner.c:1788:9: note: in expansion of macro 'yyensure_buffer_stack' | 1788 | if ( ! YY_CURRENT_BUFFER ){ | | ^~~~~~~~~~~~~~~~~~~~ | 'jitter_restart': event 9 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1790:13: note: in expansion of macro 'yy_create_buffer' | 1790 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | +--> 'jitter__create_buffer': event 10 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else | | ^ | | | | | (10) entry to 'jitter__create_buffer' jitter/jitter-routine-scanner.c:1848:21: note: in expansion of macro 'yy_create_buffer' | 1848 | */ | | ^ | 'jitter__create_buffer': events 11-14 | | 1853 | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); | | ^ | | | | | (11) following 'false' branch... |...... | 1856 | | | | | | | | (12) ...to here |...... | 1862 | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); | | ~ | | | | | (13) following 'false' branch... |...... | 1865 | | | | | | | | (14) ...to here | 'jitter__create_buffer': event 15 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | +--> 'jitter__init_buffer': event 16 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (16) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 17 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 18 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (18) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': event 19 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (19) following 'true' branch (when 'b' is NULL)... | 'jitter__flush_buffer': event 20 | |cc1: | (20): ...to here | <------+ | 'jitter__init_buffer': event 21 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | 'jitter__init_buffer': event 22 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (22) following 'true' branch... jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': event 23 | |jitter/jitter-routine-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (23) ...to here jitter/jitter-routine-scanner.c:1911:14: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1911 | */ | | ^ | 'jitter__init_buffer': events 24-27 | | 1916 | | | ^ | | | | | | | | | (24) following 'true' branch (when 'file' is non-NULL)... | | | (25) ...to here (26) following 'true' branch... | | (27) ...to here | <------+ | 'jitter__create_buffer': event 28 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1867:2: note: in expansion of macro 'yy_init_buffer' | 1867 | | | ^ | <------+ | 'jitter_restart': event 29 | |jitter/jitter-routine-scanner.c:19:26: | 19 | #else jitter/jitter-routine-scanner.c:1790:13: note: in expansion of macro 'yy_create_buffer' | 1790 | YY_CURRENT_BUFFER_LVALUE = | | ^~~~~~~~~~~~~~~~ | 'jitter_restart': event 30 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1793:2: note: in expansion of macro 'yy_init_buffer' | 1793 | | | ^ | 'jitter_restart': event 31 | |jitter/jitter-routine-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (31) ...to here jitter/jitter-routine-scanner.c:1793:18: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1793 | | | ^ | 'jitter_restart': event 32 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else jitter/jitter-routine-scanner.c:1793:2: note: in expansion of macro 'yy_init_buffer' | 1793 | | | ^ | +--> 'jitter__init_buffer': event 33 | |jitter/jitter-routine-scanner.c:49:24: | 49 | #else | | ^ | | | | | (33) entry to 'jitter__init_buffer' jitter/jitter-routine-scanner.c:1896:17: note: in expansion of macro 'yy_init_buffer' | 1896 | */ | | ^ | 'jitter__init_buffer': event 34 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else jitter/jitter-routine-scanner.c:1902:2: note: in expansion of macro 'yy_flush_buffer' | 1902 | | | ^ | +--> 'jitter__flush_buffer': event 35 | |jitter/jitter-routine-scanner.c:55:25: | 55 | #else | | ^ | | | | | (35) entry to 'jitter__flush_buffer' jitter/jitter-routine-scanner.c:1925:10: note: in expansion of macro 'yy_flush_buffer' | 1925 | */ | | ^ | 'jitter__flush_buffer': events 36-38 | | 1928 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | | ^ | | | | | (36) following 'false' branch (when 'b' is non-NULL)... |...... | 1931 | | | | | | | | (37) ...to here | | (38) state of '': 'start' -> 'nonnull' (origin: NULL) | 'jitter__flush_buffer': event 39 | |jitter/jitter-routine-scanner.c:522:27: | 520 | */ | | | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 522 | ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ | | ^~~~~~~ | | | | | (39) following 'true' branch... jitter/jitter-routine-scanner.c:1945:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1945 | | | ^ | 'jitter__flush_buffer': event 40 | |jitter/jitter-routine-scanner.c:521:53: | 521 | #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ | | ~ ^ | | | | | (40) ...to here jitter/jitter-routine-scanner.c:1945:12: note: in expansion of macro 'YY_CURRENT_BUFFER' | 1945 | | | ^ | 'jitter__flush_buffer': event 41 | | 1945 | | | ^ | | | | | (41) following 'false' branch... | 'jitter__flush_buffer': event 42 | |cc1: | (42): ...to here | 'jitter__flush_buffer': event 43 | |