ctags-6.2.0-1.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
universal-ctags-6.2.0/dsl/es.c:321:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
universal-ctags-6.2.0/dsl/es.c:321:23: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
universal-ctags-6.2.0/dsl/es.c:335:1: enter_function: entry to ‘es_object_new’
universal-ctags-6.2.0/dsl/es.c:342:24: call_function: inlined call to ‘es_error_intern’ from ‘es_object_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
universal-ctags-6.2.0/dsl/es.c:321:23: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(35)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def4]
universal-ctags-6.2.0/dsl/es.c:321:23: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/dsl/es.c:3293:1: enter_function: entry to ‘es_match’
universal-ctags-6.2.0/dsl/es.c:3298:9: acquire_resource: ‘va_start’ called here
universal-ctags-6.2.0/dsl/es.c:3299:18: call_function: calling ‘es_vmatch’ from ‘es_match’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
universal-ctags-6.2.0/dsl/es.c:347:17: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
universal-ctags-6.2.0/dsl/es.c:335:1: enter_function: entry to ‘es_object_new’
universal-ctags-6.2.0/dsl/es.c:342:24: call_function: inlined call to ‘es_error_intern’ from ‘es_object_new’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def6]
universal-ctags-6.2.0/dsl/es.c:347:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/dsl/es.c:3293:1: enter_function: entry to ‘es_match’
universal-ctags-6.2.0/dsl/es.c:3298:9: acquire_resource: ‘va_start’ called here
universal-ctags-6.2.0/dsl/es.c:3299:18: call_function: calling ‘es_vmatch’ from ‘es_match’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
universal-ctags-6.2.0/dsl/es.c:721:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:335:1: enter_function: entry to ‘es_object_new’
universal-ctags-6.2.0/dsl/es.c:342:24: call_function: inlined call to ‘es_error_intern’ from ‘es_object_new’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
universal-ctags-6.2.0/dsl/es.c:721:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
universal-ctags-6.2.0/dsl/es.c:3293:1: enter_function: entry to ‘es_match’
universal-ctags-6.2.0/dsl/es.c:3299:18: call_function: calling ‘es_vmatch’ from ‘es_match’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
universal-ctags-6.2.0/dsl/es.c:1019:26: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
universal-ctags-6.2.0/dsl/es.c:1015:1: enter_function: entry to ‘es_string_equal’
universal-ctags-6.2.0/dsl/es.c:1019:26: call_function: calling ‘es_string_get’ from ‘es_string_equal’
universal-ctags-6.2.0/dsl/es.c:1019:26: return_function: returning to ‘es_string_equal’ from ‘es_string_get’
universal-ctags-6.2.0/dsl/es.c:1019:26: danger: argument 1 (‘es_string_get(self)’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-401): [#def10]
universal-ctags-6.2.0/dsl/es.c:1517: error[memleak]: Memory leak: c.base
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
universal-ctags-6.2.0/dsl/es.c:2099:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
universal-ctags-6.2.0/dsl/es.c:2099:16: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(seed)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
universal-ctags-6.2.0/dsl/es.c:2109:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
universal-ctags-6.2.0/dsl/es.c:2109:16: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(seed)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
universal-ctags-6.2.0/dsl/es.c:2119:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
universal-ctags-6.2.0/dsl/es.c:2119:16: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(seed)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
universal-ctags-6.2.0/dsl/es.c:2142:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
universal-ctags-6.2.0/dsl/es.c:2142:21: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(35)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
universal-ctags-6.2.0/dsl/es.c:2146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
universal-ctags-6.2.0/dsl/es.c:2146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(35)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
universal-ctags-6.2.0/dsl/es.c:2174:29: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
universal-ctags-6.2.0/dsl/es.c:2174:29: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(35)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
universal-ctags-6.2.0/dsl/es.c:2179:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
universal-ctags-6.2.0/dsl/es.c:2179:33: warning[-Wanalyzer-malloc-leak]: leak of ‘token_new(35)’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
universal-ctags-6.2.0/dsl/es.c:2197:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘seed’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
universal-ctags-6.2.0/dsl/es.c:2356:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
universal-ctags-6.2.0/dsl/es.c:3306:1: enter_function: entry to ‘es_smatch’
universal-ctags-6.2.0/dsl/es.c:3313:22: call_function: calling ‘es_read_from_string’ from ‘es_smatch’
Error: CPPCHECK_WARNING (CWE-476): [#def27]
universal-ctags-6.2.0/dsl/es.c:2708: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: r
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
universal-ctags-6.2.0/dsl/formatter.c:77:21: warning[-Wanalyzer-malloc-leak]: leak of ‘code’
universal-ctags-6.2.0/dsl/formatter.c:67:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/dsl/formatter.c:70:16: branch_false: ...to here
universal-ctags-6.2.0/dsl/formatter.c:70:16: acquire_memory: allocated here
universal-ctags-6.2.0/dsl/formatter.c:71:12: branch_false: following ‘false’ branch (when ‘code’ is non-NULL)...
universal-ctags-6.2.0/dsl/formatter.c:77:21: branch_false: ...to here
universal-ctags-6.2.0/dsl/formatter.c:77:21: danger: ‘code’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-562): [#def29]
universal-ctags-6.2.0/dsl/optscript.c:1152: error[returnDanglingLifetime]: Returning pointer to local variable 'attr' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def30]
universal-ctags-6.2.0/dsl/optscript.c:1196: error[returnDanglingLifetime]: Returning pointer to local variable 'data' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def31]
universal-ctags-6.2.0/dsl/optscript.c:1732:28: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
universal-ctags-6.2.0/dsl/optscript.c:2522:1: enter_function: entry to ‘op__help’
universal-ctags-6.2.0/dsl/optscript.c:2524:9: call_function: calling ‘vm_help’ from ‘op__help’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
universal-ctags-6.2.0/dsl/qualifier.c:66:21: warning[-Wanalyzer-malloc-leak]: leak of ‘code’
universal-ctags-6.2.0/dsl/qualifier.c:56:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/dsl/qualifier.c:59:16: branch_false: ...to here
universal-ctags-6.2.0/dsl/qualifier.c:59:16: acquire_memory: allocated here
universal-ctags-6.2.0/dsl/qualifier.c:60:12: branch_false: following ‘false’ branch (when ‘code’ is non-NULL)...
universal-ctags-6.2.0/dsl/qualifier.c:66:21: branch_false: ...to here
universal-ctags-6.2.0/dsl/qualifier.c:66:21: danger: ‘code’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
universal-ctags-6.2.0/dsl/sorter.c:347:21: warning[-Wanalyzer-malloc-leak]: leak of ‘code’
universal-ctags-6.2.0/dsl/sorter.c:337:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/dsl/sorter.c:340:16: branch_false: ...to here
universal-ctags-6.2.0/dsl/sorter.c:340:16: acquire_memory: allocated here
universal-ctags-6.2.0/dsl/sorter.c:341:12: branch_false: following ‘false’ branch (when ‘code’ is non-NULL)...
universal-ctags-6.2.0/dsl/sorter.c:347:21: branch_false: ...to here
universal-ctags-6.2.0/dsl/sorter.c:347:21: danger: ‘code’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def34]
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:47:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:64:13: enter_function: entry to ‘error’
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:70:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:73:9: branch_false: ...to here
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:73:9: acquire_resource: ‘va_start’ called here
universal-ctags-6.2.0/extra-cmds/readtags-stub.c:74:22: call_function: calling ‘stderrDefaultErrorPrinter’ from ‘error’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
universal-ctags-6.2.0/extra-cmds/utiltest.c:212:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("a")’
universal-ctags-6.2.0/extra-cmds/utiltest.c:211:35: acquire_memory: allocated here
universal-ctags-6.2.0/extra-cmds/utiltest.c:212:9: danger: ‘strdup("a")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
universal-ctags-6.2.0/extra-cmds/utiltest.c:216:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("x")’
universal-ctags-6.2.0/extra-cmds/utiltest.c:205:13: enter_function: entry to ‘test_htable_update’
universal-ctags-6.2.0/extra-cmds/utiltest.c:215:9: call_function: calling ‘acutest_check_’ from ‘test_htable_update’
universal-ctags-6.2.0/extra-cmds/utiltest.c:215:9: return_function: returning to ‘test_htable_update’ from ‘acutest_check_’
universal-ctags-6.2.0/extra-cmds/utiltest.c:216:9: acquire_memory: allocated here
universal-ctags-6.2.0/extra-cmds/utiltest.c:216:9: danger: ‘strdup("x")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
universal-ctags-6.2.0/extra-cmds/utiltest.c:229:31: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&keyBuf)’
universal-ctags-6.2.0/extra-cmds/utiltest.c:229:21: branch_true: following ‘true’ branch (when ‘i != 1000’)...
universal-ctags-6.2.0/extra-cmds/utiltest.c:231:17: branch_true: ...to here
universal-ctags-6.2.0/extra-cmds/utiltest.c:232:59: acquire_memory: allocated here
universal-ctags-6.2.0/extra-cmds/utiltest.c:229:31: danger: ‘strdup(&keyBuf)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
universal-ctags-6.2.0/extra-cmds/utiltest.c:246:19: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
universal-ctags-6.2.0/extra-cmds/utiltest.c:245:21: acquire_memory: allocated here
universal-ctags-6.2.0/extra-cmds/utiltest.c:246:19: danger: ‘tmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def39]
universal-ctags-6.2.0/gnulib/malloc/dynarray_emplace_enlarge.c:59: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def40]
universal-ctags-6.2.0/gnulib/malloc/dynarray_resize.c:45: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
universal-ctags-6.2.0/libreadtags/readtags.c:287:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*file.name.buffer’
universal-ctags-6.2.0/libreadtags/readtags.c:1231:18: enter_function: entry to ‘findNextFull’
universal-ctags-6.2.0/libreadtags/readtags.c:1239:26: call_function: calling ‘tagsNext’ from ‘findNextFull’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def42]
universal-ctags-6.2.0/main/colprint.c:51:50: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/main/colprint.c:74:23: enter_function: entry to ‘colprintTableNew’
universal-ctags-6.2.0/main/colprint.c:86:21: call_function: calling ‘colprintHeaderColumnNew’ from ‘colprintTableNew’
universal-ctags-6.2.0/main/colprint.c:86:21: return_function: returning to ‘colprintTableNew’ from ‘colprintHeaderColumnNew’
universal-ctags-6.2.0/main/colprint.c:89:9: acquire_resource: ‘va_start’ called here
universal-ctags-6.2.0/main/colprint.c:93:20: branch_true: following ‘true’ branch (when ‘tmp’ is non-NULL)...
universal-ctags-6.2.0/main/colprint.c:95:37: branch_true: ...to here
universal-ctags-6.2.0/main/colprint.c:95:37: call_function: calling ‘colprintHeaderColumnNew’ from ‘colprintTableNew’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def43]
universal-ctags-6.2.0/main/error.c:64:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/main/error.c:63:9: acquire_resource: ‘va_start’ called here
universal-ctags-6.2.0/main/error.c:64:22: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def44]
universal-ctags-6.2.0/main/fmt.c:167:15: warning[-Wanalyzer-null-argument]: use of NULL ‘fullName’ where non-null expected
universal-ctags-6.2.0/main/fmt.c:265:20: enter_function: entry to ‘fmtNew’
universal-ctags-6.2.0/main/fmt.c:277:21: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/fmt.c:279:20: branch_true: ...to here
universal-ctags-6.2.0/main/fmt.c:279:20: branch_false: following ‘false’ branch (when ‘found_percent == 0’)...
universal-ctags-6.2.0/main/fmt.c:362:28: branch_false: ...to here
universal-ctags-6.2.0/main/fmt.c:362:28: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/fmt.c:277:40: branch_true: ...to here
universal-ctags-6.2.0/main/fmt.c:277:21: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/fmt.c:279:20: branch_true: ...to here
universal-ctags-6.2.0/main/fmt.c:282:28: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/fmt.c:293:36: branch_false: ...to here
universal-ctags-6.2.0/main/fmt.c:293:36: branch_false: following ‘false’ branch (when ‘literal’ is NULL)...
universal-ctags-6.2.0/main/fmt.c:299:37: branch_false: ...to here
universal-ctags-6.2.0/main/fmt.c:332:36: branch_false: following ‘false’ branch (when ‘width’ is NULL)...
universal-ctags-6.2.0/main/fmt.c:341:37: branch_false: ...to here
universal-ctags-6.2.0/main/fmt.c:341:36: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/fmt.c:355:48: branch_false: ...to here
universal-ctags-6.2.0/main/fmt.c:355:48: call_function: calling ‘queueTagField’ from ‘fmtNew’
Error: CPPCHECK_WARNING (CWE-562): [#def45]
universal-ctags-6.2.0/main/fname.c:147: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
universal-ctags-6.2.0/main/keyword.c:151:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev’
universal-ctags-6.2.0/main/keyword.c:300:13: enter_function: entry to ‘addDialectalKeywords’
universal-ctags-6.2.0/main/keyword.c:311:28: branch_true: following ‘true’ branch (when ‘i < nMap’)...
universal-ctags-6.2.0/main/keyword.c:313:38: branch_true: ...to here
universal-ctags-6.2.0/main/keyword.c:313:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
universal-ctags-6.2.0/main/keyword.c:311:38: branch_false: ...to here
universal-ctags-6.2.0/main/keyword.c:311:28: branch_true: following ‘true’ branch (when ‘i < nMap’)...
universal-ctags-6.2.0/main/keyword.c:313:38: branch_true: ...to here
universal-ctags-6.2.0/main/keyword.c:321:28: branch_true: following ‘true’ branch (when ‘i < nDkeyword’)...
universal-ctags-6.2.0/main/keyword.c:323:62: branch_true: ...to here
universal-ctags-6.2.0/main/keyword.c:324:20: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/keyword.c:325:59: branch_true: ...to here
universal-ctags-6.2.0/main/keyword.c:325:25: call_function: calling ‘addKeyword’ from ‘addDialectalKeywords’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
universal-ctags-6.2.0/main/main.c:101:33: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirName)’
universal-ctags-6.2.0/main/main.c:276:13: enter_function: entry to ‘createTagsFromFileInput’
universal-ctags-6.2.0/main/main.c:283:24: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/main.c:285:55: branch_false: ...to here
universal-ctags-6.2.0/main/main.c:285:35: call_function: calling ‘createTagsForEntry’ from ‘createTagsFromFileInput’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def48]
universal-ctags-6.2.0/main/mio.c:608:13: warning[-Wanalyzer-null-argument]: use of NULL ‘fp’ where non-null expected
universal-ctags-6.2.0/main/mio.c:601:12: enter_function: entry to ‘file_try_resize’
universal-ctags-6.2.0/main/mio.c:605:20: call_function: inlined call to ‘mio_file_get_fp’ from ‘file_try_resize’
universal-ctags-6.2.0/main/mio.c:608:13: branch_false: ...to here
universal-ctags-6.2.0/main/mio.c:608:13: danger: argument 1 (‘fp’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
universal-ctags-6.2.0/main/nestlevel.c:96:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
universal-ctags-6.2.0/main/nestlevel.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
universal-ctags-6.2.0/main/options.c:991:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, "r")’
universal-ctags-6.2.0/main/options.c:3572:13: enter_function: entry to ‘parseFileOptions’
universal-ctags-6.2.0/main/options.c:3576:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3583:34: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3583:34: acquire_resource: opened here
universal-ctags-6.2.0/main/options.c:3584:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3588:50: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3588:50: call_function: calling ‘cArgNewFromLineFile’ from ‘parseFileOptions’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
universal-ctags-6.2.0/main/options.c:991:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, "r")’
universal-ctags-6.2.0/main/options.c:3572:13: enter_function: entry to ‘parseFileOptions’
universal-ctags-6.2.0/main/options.c:3576:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3583:34: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3583:34: acquire_memory: allocated here
universal-ctags-6.2.0/main/options.c:3584:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3588:50: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3588:50: call_function: calling ‘cArgNewFromLineFile’ from ‘parseFileOptions’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
universal-ctags-6.2.0/main/options.c:993:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, "r")’
universal-ctags-6.2.0/main/options.c:3572:13: enter_function: entry to ‘parseFileOptions’
universal-ctags-6.2.0/main/options.c:3576:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3583:34: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3583:34: acquire_resource: opened here
universal-ctags-6.2.0/main/options.c:3584:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3588:50: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3588:50: call_function: calling ‘cArgNewFromLineFile’ from ‘parseFileOptions’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
universal-ctags-6.2.0/main/options.c:993:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, "r")’
universal-ctags-6.2.0/main/options.c:3572:13: enter_function: entry to ‘parseFileOptions’
universal-ctags-6.2.0/main/options.c:3576:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3583:34: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3583:34: acquire_memory: allocated here
universal-ctags-6.2.0/main/options.c:3584:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/options.c:3588:50: branch_false: ...to here
universal-ctags-6.2.0/main/options.c:3588:50: call_function: calling ‘cArgNewFromLineFile’ from ‘parseFileOptions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
universal-ctags-6.2.0/main/parse.c:4653:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmp’
universal-ctags-6.2.0/main/parse.c:4646:12: branch_true: following ‘true’ branch (when ‘tmp’ is NULL)...
universal-ctags-6.2.0/main/parse.c:4647:17: branch_true: ...to here
universal-ctags-6.2.0/main/parse.c:4649:12: branch_false: following ‘false’ branch (when ‘parameter != tmp’)...
universal-ctags-6.2.0/main/parse.c:4652:9: branch_false: ...to here
universal-ctags-6.2.0/main/parse.c:4653:14: danger: dereference of NULL ‘tmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
universal-ctags-6.2.0/main/ptag.c:300:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
universal-ctags-6.2.0/main/ptag.c:297:13: enter_function: entry to ‘isPtagCommonInParsers’
universal-ctags-6.2.0/main/ptag.c:299:27: call_function: inlined call to ‘getPtagDesc’ from ‘isPtagCommonInParsers’
universal-ctags-6.2.0/main/ptag.c:300:16: branch_true: ...to here
universal-ctags-6.2.0/main/ptag.c:300:16: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
universal-ctags-6.2.0/main/ptag.c:306:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
universal-ctags-6.2.0/main/ptag.c:303:13: enter_function: entry to ‘isPtagParserSpecific’
universal-ctags-6.2.0/main/ptag.c:305:27: call_function: inlined call to ‘getPtagDesc’ from ‘isPtagParserSpecific’
universal-ctags-6.2.0/main/ptag.c:306:16: branch_true: ...to here
universal-ctags-6.2.0/main/ptag.c:306:16: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
universal-ctags-6.2.0/main/read.c:892:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, openMode)’
universal-ctags-6.2.0/main/read.c:888:15: acquire_resource: opened here
universal-ctags-6.2.0/main/read.c:889:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/read.c:892:16: branch_false: ...to here
universal-ctags-6.2.0/main/read.c:892:16: danger: ‘fopen(fileName, openMode)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
universal-ctags-6.2.0/main/read.c:892:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, openMode)’
universal-ctags-6.2.0/main/read.c:888:15: acquire_memory: allocated here
universal-ctags-6.2.0/main/read.c:889:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/read.c:892:16: branch_false: ...to here
universal-ctags-6.2.0/main/read.c:892:16: danger: ‘fopen(fileName, openMode)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
universal-ctags-6.2.0/main/read.c:895:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, openMode)’
universal-ctags-6.2.0/main/read.c:888:15: acquire_resource: opened here
universal-ctags-6.2.0/main/read.c:889:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/read.c:892:16: branch_false: ...to here
universal-ctags-6.2.0/main/read.c:893:12: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/read.c:895:17: branch_true: ...to here
universal-ctags-6.2.0/main/read.c:895:17: danger: ‘fopen(fileName, openMode)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
universal-ctags-6.2.0/main/read.c:895:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, openMode)’
universal-ctags-6.2.0/main/read.c:888:15: acquire_memory: allocated here
universal-ctags-6.2.0/main/read.c:889:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/read.c:892:16: branch_false: ...to here
universal-ctags-6.2.0/main/read.c:893:12: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/read.c:895:17: branch_true: ...to here
universal-ctags-6.2.0/main/read.c:895:17: danger: ‘fopen(fileName, openMode)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
universal-ctags-6.2.0/main/routines.c:223:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
universal-ctags-6.2.0/main/routines.c:660:14: enter_function: entry to ‘baseFilenameSansExtensionNew’
universal-ctags-6.2.0/main/routines.c:669:12: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/routines.c:671:32: call_function: calling ‘eStrndup’ from ‘baseFilenameSansExtensionNew’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
universal-ctags-6.2.0/main/routines.c:223:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
universal-ctags-6.2.0/main/routines.c:848:14: enter_function: entry to ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: call_function: calling ‘absoluteFilename’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: return_function: returning to ‘relativeFilename’ from ‘absoluteFilename’
universal-ctags-6.2.0/main/routines.c:858:16: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/routines.c:849:1: branch_true: ...to here
universal-ctags-6.2.0/main/routines.c:858:16: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:864:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:866:17: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:868:18: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:873:22: call_function: inlined call to ‘strSeparator’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:873:16: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:875:15: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:875:15: call_function: calling ‘eMalloc’ from ‘relativeFilename’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def64]
universal-ctags-6.2.0/main/routines.c:317:9: warning[-Wanalyzer-null-argument]: use of NULL ‘eMalloc(strlen(str) + 1)’ where non-null expected
universal-ctags-6.2.0/main/routines.c:442:20: enter_function: entry to ‘eStat’
universal-ctags-6.2.0/main/routines.c:449:29: call_function: calling ‘eStrdup’ from ‘eStat’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def65]
universal-ctags-6.2.0/main/routines.c:317:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘eMalloc(strlen(str) + 1)’ where non-null expected
universal-ctags-6.2.0/main/routines.c:442:20: enter_function: entry to ‘eStat’
universal-ctags-6.2.0/main/routines.c:449:29: call_function: calling ‘eStrdup’ from ‘eStat’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def66]
universal-ctags-6.2.0/main/routines.c:735:9: warning[-Wanalyzer-null-argument]: use of NULL ‘eMalloc((long unsigned int)(len1 + len2 + len3 + 1))’ where non-null expected
universal-ctags-6.2.0/main/routines.c:730:14: enter_function: entry to ‘concat’
universal-ctags-6.2.0/main/routines.c:733:24: call_function: calling ‘eMalloc’ from ‘concat’
universal-ctags-6.2.0/main/routines.c:733:24: return_function: returning to ‘concat’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:735:9: danger: argument 1 (‘eMalloc((long unsigned int)(len1 + len2 + len3 + 1))’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
universal-ctags-6.2.0/main/routines.c:735:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘eMalloc((long unsigned int)(len1 + len2 + len3 + 1))’ where non-null expected
universal-ctags-6.2.0/main/routines.c:730:14: enter_function: entry to ‘concat’
universal-ctags-6.2.0/main/routines.c:733:24: call_function: calling ‘eMalloc’ from ‘concat’
universal-ctags-6.2.0/main/routines.c:733:24: return_function: returning to ‘concat’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:735:9: danger: argument 1 (‘eMalloc((long unsigned int)(len1 + len2 + len3 + 1))’) from [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
universal-ctags-6.2.0/main/routines.c:876:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘eMalloc((long unsigned int)(i * 3) + strlen(fp) + 1)’
universal-ctags-6.2.0/main/routines.c:848:14: enter_function: entry to ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: call_function: calling ‘absoluteFilename’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: return_function: returning to ‘relativeFilename’ from ‘absoluteFilename’
universal-ctags-6.2.0/main/routines.c:858:16: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/routines.c:849:1: branch_true: ...to here
universal-ctags-6.2.0/main/routines.c:858:16: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:864:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:866:17: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:868:18: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:873:22: call_function: inlined call to ‘strSeparator’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:873:16: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:875:15: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:875:15: call_function: calling ‘eMalloc’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:875:15: return_function: returning to ‘relativeFilename’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:876:9: danger: dereference of NULL ‘eMalloc((long unsigned int)(i * 3) + strlen(fp) + 1)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
universal-ctags-6.2.0/main/routines.c:876:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘eMalloc((long unsigned int)(i * 3) + strlen(fp) + 1)’
universal-ctags-6.2.0/main/routines.c:848:14: enter_function: entry to ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: call_function: calling ‘absoluteFilename’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:855:18: return_function: returning to ‘relativeFilename’ from ‘absoluteFilename’
universal-ctags-6.2.0/main/routines.c:858:16: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/routines.c:849:1: branch_true: ...to here
universal-ctags-6.2.0/main/routines.c:858:16: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:864:20: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:866:17: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:868:18: branch_false: following ‘false’ branch...
branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:873:22: call_function: inlined call to ‘strSeparator’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:873:16: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:875:15: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:875:15: call_function: calling ‘eMalloc’ from ‘relativeFilename’
universal-ctags-6.2.0/main/routines.c:875:15: return_function: returning to ‘relativeFilename’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:876:9: danger: ‘eMalloc((long unsigned int)(i * 3) + strlen(fp) + 1)’ could be NULL: unchecked value from [(35)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
universal-ctags-6.2.0/main/routines.c:908:9: warning[-Wanalyzer-null-argument]: use of NULL ‘eMalloc(strlen(tmpdir) + 13)’ where non-null expected
universal-ctags-6.2.0/main/routines.c:890:14: enter_function: entry to ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:907:16: call_function: calling ‘eMalloc’ from ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:907:16: return_function: returning to ‘tempFileFP’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:908:9: danger: argument 1 (‘eMalloc(strlen(tmpdir) + 13)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def71]
universal-ctags-6.2.0/main/routines.c:908:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘eMalloc(strlen(tmpdir) + 13)’ where non-null expected
universal-ctags-6.2.0/main/routines.c:890:14: enter_function: entry to ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:902:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/main/routines.c:903:26: branch_false: ...to here
universal-ctags-6.2.0/main/routines.c:907:16: call_function: calling ‘eMalloc’ from ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:907:16: return_function: returning to ‘tempFileFP’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:908:9: danger: argument 1 (‘eMalloc(strlen(tmpdir) + 13)’) from [(6)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/5) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
universal-ctags-6.2.0/main/routines.c:909:14: warning[-Wanalyzer-malloc-leak]: leak of ‘eMalloc(strlen(tmpdir) + 13)’
universal-ctags-6.2.0/main/routines.c:890:14: enter_function: entry to ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:902:12: branch_true: following ‘true’ branch...
branch_true: ...to here
universal-ctags-6.2.0/main/routines.c:907:16: call_function: calling ‘eMalloc’ from ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:907:16: return_function: returning to ‘tempFileFP’ from ‘eMalloc’
universal-ctags-6.2.0/main/routines.c:909:14: danger: ‘eMalloc(strlen(tmpdir) + 13)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
universal-ctags-6.2.0/main/routines.c:954:16: warning[-Wanalyzer-malloc-leak]: leak of ‘tempFileFP(mode, pName)’
universal-ctags-6.2.0/main/routines.c:951:13: enter_function: entry to ‘tempFile’
universal-ctags-6.2.0/main/routines.c:953:20: call_function: calling ‘tempFileFP’ from ‘tempFile’
universal-ctags-6.2.0/main/routines.c:953:20: return_function: returning to ‘tempFile’ from ‘tempFileFP’
universal-ctags-6.2.0/main/routines.c:954:16: danger: ‘tempFileFP(mode, pName)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
universal-ctags-6.2.0/main/script.c:318:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
universal-ctags-6.2.0/main/script.c:315:25: branch_true: following ‘true’ branch (when ‘i != 10’)...
universal-ctags-6.2.0/main/script.c:317:28: branch_true: ...to here
universal-ctags-6.2.0/main/script.c:318:17: danger: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
universal-ctags-6.2.0/main/sort.c:135:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fileno(mio_file_get_fp(tagFile)), 0)’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:135:29: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:135:28: danger: ‘dup2(fileno(mio_file_get_fp(tagFile)), 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
universal-ctags-6.2.0/main/sort.c:135:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:135:29: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
universal-ctags-6.2.0/main/sort.c:136:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:135:28: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/sort.c:136:33: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:136:33: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
universal-ctags-6.2.0/main/sort.c:138:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:137:28: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/sort.c:138:33: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:138:33: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
universal-ctags-6.2.0/main/sort.c:139:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:139:31: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
universal-ctags-6.2.0/main/sort.c:141:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fdsave, 0)’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:141:29: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:141:28: danger: ‘dup2(fdsave, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def81]
universal-ctags-6.2.0/main/sort.c:141:29: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_true: following ‘true’ branch (when ‘fdsave < 0’)...
universal-ctags-6.2.0/main/sort.c:134:33: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:141:29: danger: ‘fdsave’ could be invalid: unchecked value from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
universal-ctags-6.2.0/main/sort.c:142:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:141:28: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/main/sort.c:142:33: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:142:33: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
universal-ctags-6.2.0/main/sort.c:143:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fdsave’
universal-ctags-6.2.0/main/sort.c:127:20: branch_true: following ‘true’ branch (when ‘toStdout != 0’)...
universal-ctags-6.2.0/main/sort.c:132:34: branch_true: ...to here
universal-ctags-6.2.0/main/sort.c:132:34: acquire_resource: opened here
universal-ctags-6.2.0/main/sort.c:133:28: branch_false: following ‘false’ branch (when ‘fdsave >= 0’)...
universal-ctags-6.2.0/main/sort.c:135:29: branch_false: ...to here
universal-ctags-6.2.0/main/sort.c:143:25: danger: ‘fdsave’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
universal-ctags-6.2.0/main/trashbox.c:103:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:133:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:193:6: enter_function: entry to ‘cxxParserParseAndCondenseSubchainsUpToOneOf’
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:202:11: branch_true: following ‘true’ branch...
branch_true: ...to here
call_function: calling ‘cxxParserParseAndCondenseSubchainsUpToOneOf’ from ‘cxxParserParseAndCondenseSubchainsUpToOneOf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1651:88: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1569:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1575:12: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1575:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1586:20: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1588:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1595:40: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1600:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1623:39: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1626:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1632:23: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser.c:1651:88: danger: dereference of NULL ‘t’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def87]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_function.c:2239:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pParamInfo.uAnonymous’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_function.c:1840:5: enter_function: entry to ‘cxxParserExtractFunctionSignatureBeforeOpeningBracket’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_function.c:1870:13: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_function.c:1870:13: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_function.c:1870:13: call_function: calling ‘cxxParserLookForFunctionSignature’ from ‘cxxParserExtractFunctionSignatureBeforeOpeningBracket’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:256:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pTypeName’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:175:40: branch_true: following ‘true’ branch (when ‘pParenthesis’ is non-NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:175:20: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:233:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:235:17: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:241:19: branch_false: following ‘false’ branch (when ‘pTypeStart’ is NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:246:19: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:246:19: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:256:41: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:256:41: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:256:41: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:264:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pParenthesis’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:175:40: branch_false: following ‘false’ branch (when ‘pParenthesis’ is NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:195:11: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:195:11: branch_false: following ‘false’ branch (when ‘pAfterParenthesis’ is NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:231:13: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:233:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:235:17: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:241:19: branch_false: following ‘false’ branch (when ‘pTypeStart’ is NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:246:19: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:246:19: branch_false: following ‘false’ branch (when ‘pCaptureList’ is NULL)...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:264:20: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_lambda.c:264:20: danger: dereference of NULL ‘pParenthesis’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:83:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pFirst’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:73:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:82:29: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:82:29: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:83:13: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:83:13: danger: dereference of NULL ‘pFirst’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:190:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pFirst’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:180:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:189:28: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:189:28: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:190:13: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_module.c:190:13: danger: dereference of NULL ‘pFirst’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:77:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pFirst’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:42:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:51:13: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:51:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:57:9: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:59:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:65:34: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:70:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:72:37: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:72:37: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:73:37: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:77:20: danger: dereference of NULL ‘pFirst’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:109:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:42:11: branch_true: following ‘true’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:51:13: branch_true: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:51:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:57:9: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:59:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:65:34: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:70:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:105:32: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:105:32: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:109:20: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_using.c:109:20: danger: dereference of NULL ‘t’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def94]
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:175:15: warning[-Wanalyzer-deref-before-check]: check of ‘t’ for NULL after already dereferencing it
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:114:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:143:20: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:149:11: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:160:11: branch_false: ...to here
universal-ctags-6.2.0/parsers/cxx/cxx_parser_variable.c:175:15: danger: pointer ‘t’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
universal-ctags-6.2.0/parsers/diff.c:114:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_delim’
universal-ctags-6.2.0/parsers/diff.c:106:12: branch_false: following ‘false’ branch...
universal-ctags-6.2.0/parsers/diff.c:109:22: branch_false: ...to here
universal-ctags-6.2.0/parsers/diff.c:110:12: branch_false: following ‘false’ branch (when ‘cp < next_delim’)...
universal-ctags-6.2.0/parsers/diff.c:114:24: branch_false: ...to here
universal-ctags-6.2.0/parsers/diff.c:114:24: danger: dereference of NULL ‘next_delim’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def96]
universal-ctags-6.2.0/parsers/markdown.c:276:16: warning[-Wanalyzer-infinite-loop]: infinite loop
universal-ctags-6.2.0/parsers/markdown.c:276:16: danger: infinite loop here
universal-ctags-6.2.0/parsers/markdown.c:276:16: branch_true: when ‘pos < lineLen’: always following ‘true’ branch...
universal-ctags-6.2.0/parsers/markdown.c:278:17: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def97]
universal-ctags-6.2.0/parsers/objc.c:323:16: warning[-Wanalyzer-infinite-loop]: infinite loop
universal-ctags-6.2.0/parsers/objc.c:1378:13: enter_function: entry to ‘findObjcTags’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def98]
universal-ctags-6.2.0/parsers/typescript.c:347:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def99]
universal-ctags-6.2.0/parsers/typescript.c:348:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def100]
universal-ctags-6.2.0/parsers/typescript.c:713:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def101]
universal-ctags-6.2.0/parsers/typescript.c:715:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def102]
universal-ctags-6.2.0/parsers/typescript.c:726:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:932:13: enter_function: entry to ‘parseInterface’
universal-ctags-6.2.0/parsers/typescript.c:952:9: call_function: calling ‘parseInterfaceBody’ from ‘parseInterface’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def103]
universal-ctags-6.2.0/parsers/typescript.c:730:45: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def104]
universal-ctags-6.2.0/parsers/typescript.c:732:14: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
universal-ctags-6.2.0/parsers/typescript.c:1892:13: enter_function: entry to ‘parseNamespaceBody’
universal-ctags-6.2.0/parsers/typescript.c:1899:26: call_function: calling ‘tryInSequence’ from ‘parseNamespaceBody’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
universal-ctags-6.2.0/parsers/verilog.c:994:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
universal-ctags-6.2.0/parsers/verilog.c:2012:12: enter_function: entry to ‘findTag’
universal-ctags-6.2.0/parsers/verilog.c:2087:29: call_function: calling ‘dropEndContext’ from ‘findTag’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
universal-ctags-6.2.0/peg/elm.c:465:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/elm_post.h:175:13: enter_function: entry to ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:182:16: call_function: calling ‘pelm_parse’ from ‘findElmTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
universal-ctags-6.2.0/peg/elm.c:495:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/elm_post.h:175:13: enter_function: entry to ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:182:16: call_function: calling ‘pelm_parse’ from ‘findElmTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
universal-ctags-6.2.0/peg/elm.c:514:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(88)’
universal-ctags-6.2.0/peg/elm.c:6997:5: enter_function: entry to ‘pelm_parse’
universal-ctags-6.2.0/peg/elm.c:6998:9: call_function: calling ‘pcc_apply_rule’ from ‘pelm_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
universal-ctags-6.2.0/peg/elm.c:655:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/elm_post.h:175:13: enter_function: entry to ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:182:16: call_function: calling ‘pelm_parse’ from ‘findElmTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
universal-ctags-6.2.0/peg/elm.c:890:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/elm_post.h:175:13: enter_function: entry to ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:182:16: call_function: calling ‘pelm_parse’ from ‘findElmTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
universal-ctags-6.2.0/peg/elm.c:906:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/elm_post.h:175:13: enter_function: entry to ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:180:32: call_function: inlined call to ‘pelm_create’ from ‘findElmTags’
universal-ctags-6.2.0/peg/elm_post.h:182:16: call_function: calling ‘pelm_parse’ from ‘findElmTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
universal-ctags-6.2.0/peg/elm.c:906:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(24)’
universal-ctags-6.2.0/peg/elm.c:6997:5: enter_function: entry to ‘pelm_parse’
universal-ctags-6.2.0/peg/elm.c:6998:9: call_function: calling ‘pcc_apply_rule’ from ‘pelm_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
universal-ctags-6.2.0/peg/elm.c:1748:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_thunk__create_leaf(*ctx.auxil, & pcc_action_file_0, 0, 0)’
universal-ctags-6.2.0/peg/elm.c:6997:5: enter_function: entry to ‘pelm_parse’
universal-ctags-6.2.0/peg/elm.c:6998:9: call_function: calling ‘pcc_apply_rule’ from ‘pelm_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
universal-ctags-6.2.0/peg/thrift.c:451:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/thrift_post.h:85:13: enter_function: entry to ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:94:17: call_function: calling ‘pthrift_parse’ from ‘findThriftTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
universal-ctags-6.2.0/peg/thrift.c:481:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/thrift_post.h:85:13: enter_function: entry to ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:94:17: call_function: calling ‘pthrift_parse’ from ‘findThriftTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
universal-ctags-6.2.0/peg/thrift.c:500:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(88)’
universal-ctags-6.2.0/peg/thrift.c:4831:5: enter_function: entry to ‘pthrift_parse’
universal-ctags-6.2.0/peg/thrift.c:4832:9: call_function: calling ‘pcc_apply_rule’ from ‘pthrift_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
universal-ctags-6.2.0/peg/thrift.c:641:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/thrift_post.h:85:13: enter_function: entry to ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:94:17: call_function: calling ‘pthrift_parse’ from ‘findThriftTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
universal-ctags-6.2.0/peg/thrift.c:876:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/thrift_post.h:85:13: enter_function: entry to ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:94:17: call_function: calling ‘pthrift_parse’ from ‘findThriftTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
universal-ctags-6.2.0/peg/thrift.c:892:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/thrift_post.h:85:13: enter_function: entry to ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:92:35: call_function: inlined call to ‘pthrift_create’ from ‘findThriftTags’
universal-ctags-6.2.0/peg/thrift_post.h:94:17: call_function: calling ‘pthrift_parse’ from ‘findThriftTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
universal-ctags-6.2.0/peg/thrift.c:892:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(24)’
universal-ctags-6.2.0/peg/thrift.c:4831:5: enter_function: entry to ‘pthrift_parse’
universal-ctags-6.2.0/peg/thrift.c:4832:9: call_function: calling ‘pcc_apply_rule’ from ‘pthrift_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
universal-ctags-6.2.0/peg/toml.c:450:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/toml_post.h:223:13: enter_function: entry to ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:230:16: call_function: calling ‘ptoml_parse’ from ‘findTomlTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
universal-ctags-6.2.0/peg/toml.c:480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/toml_post.h:223:13: enter_function: entry to ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:230:16: call_function: calling ‘ptoml_parse’ from ‘findTomlTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
universal-ctags-6.2.0/peg/toml.c:499:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(88)’
universal-ctags-6.2.0/peg/toml.c:5329:5: enter_function: entry to ‘ptoml_parse’
universal-ctags-6.2.0/peg/toml.c:5330:9: call_function: calling ‘pcc_apply_rule’ from ‘ptoml_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
universal-ctags-6.2.0/peg/toml.c:640:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/toml_post.h:223:13: enter_function: entry to ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:230:16: call_function: calling ‘ptoml_parse’ from ‘findTomlTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
universal-ctags-6.2.0/peg/toml.c:875:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/toml_post.h:223:13: enter_function: entry to ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:230:16: call_function: calling ‘ptoml_parse’ from ‘findTomlTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
universal-ctags-6.2.0/peg/toml.c:891:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/toml_post.h:223:13: enter_function: entry to ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:228:33: call_function: inlined call to ‘ptoml_create’ from ‘findTomlTags’
universal-ctags-6.2.0/peg/toml_post.h:230:16: call_function: calling ‘ptoml_parse’ from ‘findTomlTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
universal-ctags-6.2.0/peg/toml.c:891:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(24)’
universal-ctags-6.2.0/peg/toml.c:5329:5: enter_function: entry to ‘ptoml_parse’
universal-ctags-6.2.0/peg/toml.c:5330:9: call_function: calling ‘pcc_apply_rule’ from ‘ptoml_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
universal-ctags-6.2.0/peg/varlink.c:450:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/varlink_post.h:78:13: enter_function: entry to ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:85:16: call_function: calling ‘pvarlink_parse’ from ‘findVarlinkTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
universal-ctags-6.2.0/peg/varlink.c:480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/varlink_post.h:78:13: enter_function: entry to ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:85:16: call_function: calling ‘pvarlink_parse’ from ‘findVarlinkTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
universal-ctags-6.2.0/peg/varlink.c:499:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(88)’
universal-ctags-6.2.0/peg/varlink.c:3086:5: enter_function: entry to ‘pvarlink_parse’
universal-ctags-6.2.0/peg/varlink.c:3087:9: call_function: calling ‘pcc_apply_rule’ from ‘pvarlink_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
universal-ctags-6.2.0/peg/varlink.c:640:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/varlink_post.h:78:13: enter_function: entry to ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:85:16: call_function: calling ‘pvarlink_parse’ from ‘findVarlinkTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
universal-ctags-6.2.0/peg/varlink.c:875:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/varlink_post.h:78:13: enter_function: entry to ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:85:16: call_function: calling ‘pvarlink_parse’ from ‘findVarlinkTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
universal-ctags-6.2.0/peg/varlink.c:891:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_context__create(&auxil)’
universal-ctags-6.2.0/peg/varlink_post.h:78:13: enter_function: entry to ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:83:36: call_function: inlined call to ‘pvarlink_create’ from ‘findVarlinkTags’
universal-ctags-6.2.0/peg/varlink_post.h:85:16: call_function: calling ‘pvarlink_parse’ from ‘findVarlinkTags’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
universal-ctags-6.2.0/peg/varlink.c:891:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pcc_malloc_e(24)’
universal-ctags-6.2.0/peg/varlink.c:3086:5: enter_function: entry to ‘pvarlink_parse’
universal-ctags-6.2.0/peg/varlink.c:3087:9: call_function: calling ‘pcc_apply_rule’ from ‘pvarlink_parse’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-42.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | ctags-6.2.0-1.fc44 |
| store-results-to | /tmp/tmp15cp2x63/ctags-6.2.0-1.fc44.tar.xz |
| time-created | 2025-10-28 17:41:49 |
| time-finished | 2025-10-28 17:45:25 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp15cp2x63/ctags-6.2.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp15cp2x63/ctags-6.2.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |