liburing-2.9-2.fc43
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
liburing-2.9/examples/helpers.c:57:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/examples/helpers.c:26:14: acquire_resource: stream socket created here
liburing-2.9/examples/helpers.c:27:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
liburing-2.9/examples/helpers.c:32:9: branch_false: ...to here
liburing-2.9/examples/helpers.c:34:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/examples/helpers.c:39:12: branch_false: ...to here
liburing-2.9/examples/helpers.c:51:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/examples/helpers.c:56:13: branch_false: ...to here
liburing-2.9/examples/helpers.c:56:12: branch_true: following ‘true’ branch...
liburing-2.9/examples/helpers.c:57:17: branch_true: ...to here
liburing-2.9/examples/helpers.c:57:17: throw: if ‘perror’ throws an exception...
liburing-2.9/examples/helpers.c:57:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
liburing-2.9/examples/helpers.c:62:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/examples/helpers.c:26:14: acquire_resource: stream socket created here
liburing-2.9/examples/helpers.c:27:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
liburing-2.9/examples/helpers.c:32:9: branch_false: ...to here
liburing-2.9/examples/helpers.c:34:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/examples/helpers.c:39:12: branch_false: ...to here
liburing-2.9/examples/helpers.c:51:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/examples/helpers.c:56:13: branch_false: ...to here
liburing-2.9/examples/helpers.c:56:12: branch_true: following ‘true’ branch...
liburing-2.9/examples/helpers.c:57:17: branch_true: ...to here
liburing-2.9/examples/helpers.c:62:1: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
liburing-2.9/examples/io_uring-close-test.c:69:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
liburing-2.9/examples/io_uring-close-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-close-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:42:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:47:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:53:14: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:54:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:59:13: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:59:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:65:18: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:65:18: acquire_memory: this call could return NULL
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:69:17: danger: ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
liburing-2.9/examples/io_uring-close-test.c:87:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-close-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-close-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-close-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:42:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:47:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:53:14: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:54:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:59:13: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:59:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:65:18: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:65:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:78:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:87:15: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:87:15: throw: if ‘io_uring_submit’ throws an exception...
liburing-2.9/examples/io_uring-close-test.c:87:15: danger: ‘iovecs’ leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
liburing-2.9/examples/io_uring-close-test.c:120:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-close-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-close-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-close-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:42:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:47:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:53:14: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:54:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:59:13: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:59:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:65:18: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:65:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:78:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:87:15: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:88:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:99:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:118:9: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:120:9: throw: if ‘close’ throws an exception...
liburing-2.9/examples/io_uring-close-test.c:120:9: danger: ‘iovecs’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
liburing-2.9/examples/io_uring-close-test.c:121:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-close-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-close-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-close-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:42:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:47:15: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:53:14: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:54:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:59:13: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:59:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:65:18: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:65:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:67:21: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-close-test.c:66:21: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:77:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-close-test.c:78:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-close-test.c:87:15: branch_true: ...to here
liburing-2.9/examples/io_uring-close-test.c:88:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:91:19: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:99:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-close-test.c:118:9: branch_false: ...to here
liburing-2.9/examples/io_uring-close-test.c:121:9: throw: if ‘io_uring_queue_exit’ throws an exception...
liburing-2.9/examples/io_uring-close-test.c:121:9: danger: ‘iovecs’ leaks here; was allocated at [(14)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
liburing-2.9/examples/io_uring-cp.c:105:1: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
liburing-2.9/examples/io_uring-cp.c:249:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-cp.c:255:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
liburing-2.9/examples/io_uring-cp.c:260:16: branch_false: ...to here
liburing-2.9/examples/io_uring-cp.c:261:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-cp.c:265:17: branch_false: ...to here
liburing-2.9/examples/io_uring-cp.c:266:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-cp.c:271:13: branch_false: ...to here
liburing-2.9/examples/io_uring-cp.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-cp.c:273:13: branch_false: ...to here
liburing-2.9/examples/io_uring-cp.c:273:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-cp.c:276:15: branch_false: ...to here
liburing-2.9/examples/io_uring-cp.c:276:15: call_function: calling ‘copy_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
liburing-2.9/examples/io_uring-test.c:58:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
liburing-2.9/examples/io_uring-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:42:14: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:48:13: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:54:18: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:54:18: acquire_memory: this call could return NULL
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:58:17: danger: ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
liburing-2.9/examples/io_uring-test.c:76:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:42:14: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:48:13: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:54:18: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:54:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:67:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:76:15: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:76:15: throw: if ‘io_uring_submit’ throws an exception...
liburing-2.9/examples/io_uring-test.c:76:15: danger: ‘iovecs’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
liburing-2.9/examples/io_uring-test.c:109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:42:14: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:48:13: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:54:18: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:54:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:67:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:76:15: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:88:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:107:9: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:109:9: throw: if ‘close’ throws an exception...
liburing-2.9/examples/io_uring-test.c:109:9: danger: ‘iovecs’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
liburing-2.9/examples/io_uring-test.c:110:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iovecs’
liburing-2.9/examples/io_uring-test.c:19:5: enter_function: entry to ‘main’
liburing-2.9/examples/io_uring-test.c:31:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
liburing-2.9/examples/io_uring-test.c:36:15: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:37:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:42:14: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:48:13: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:54:18: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:54:18: acquire_memory: allocated here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:56:21: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: following ‘false’ branch (when ‘i == 4’)...
liburing-2.9/examples/io_uring-test.c:55:21: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:66:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/examples/io_uring-test.c:67:20: branch_true: following ‘true’ branch...
liburing-2.9/examples/io_uring-test.c:76:15: branch_true: ...to here
liburing-2.9/examples/io_uring-test.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:80:19: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:88:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/io_uring-test.c:107:9: branch_false: ...to here
liburing-2.9/examples/io_uring-test.c:110:9: throw: if ‘io_uring_queue_exit’ throws an exception...
liburing-2.9/examples/io_uring-test.c:110:9: danger: ‘iovecs’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: CPPCHECK_WARNING (CWE-682): [#def12]
liburing-2.9/examples/link-cp.c:73: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def13]
liburing-2.9/examples/napi-busy-poll-client.c:391:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctx.sockfd’
liburing-2.9/examples/napi-busy-poll-client.c:356:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:362:13: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:376:12: branch_false: following ‘false’ branch (when ‘ret > 0’)...
liburing-2.9/examples/napi-busy-poll-client.c:383:97: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:385:27: acquire_resource: datagram socket created here
liburing-2.9/examples/napi-busy-poll-client.c:385:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:390:13: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:390:12: branch_true: following ‘true’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:391:23: branch_true: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:391:23: throw: if ‘connect’ throws an exception...
liburing-2.9/examples/napi-busy-poll-client.c:391:23: danger: ‘ctx.sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def14]
liburing-2.9/examples/napi-busy-poll-client.c:393:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctx.sockfd’
liburing-2.9/examples/napi-busy-poll-client.c:356:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:362:13: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:376:12: branch_false: following ‘false’ branch (when ‘ret > 0’)...
liburing-2.9/examples/napi-busy-poll-client.c:383:97: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:385:27: acquire_resource: datagram socket created here
liburing-2.9/examples/napi-busy-poll-client.c:385:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:390:13: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:390:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/napi-busy-poll-client.c:393:23: branch_false: ...to here
liburing-2.9/examples/napi-busy-poll-client.c:393:23: throw: if ‘connect’ throws an exception...
liburing-2.9/examples/napi-busy-poll-client.c:393:23: danger: ‘ctx.sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
liburing-2.9/examples/poll-bench.c:40:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:40:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/poll-bench.c:40:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def16]
liburing-2.9/examples/poll-bench.c:40:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:40:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/poll-bench.c:40:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
liburing-2.9/examples/poll-bench.c:43:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:41:12: branch_true: following ‘true’ branch...
liburing-2.9/examples/poll-bench.c:42:17: branch_true: ...to here
liburing-2.9/examples/poll-bench.c:43:23: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/poll-bench.c:43:23: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
liburing-2.9/examples/poll-bench.c:43:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:41:12: branch_true: following ‘true’ branch...
liburing-2.9/examples/poll-bench.c:42:17: branch_true: ...to here
liburing-2.9/examples/poll-bench.c:43:23: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/poll-bench.c:43:23: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
liburing-2.9/examples/poll-bench.c:50:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:45:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/examples/poll-bench.c:50:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:50:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/examples/poll-bench.c:50:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
liburing-2.9/examples/poll-bench.c:50:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/poll-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/poll-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:45:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/examples/poll-bench.c:50:15: branch_false: ...to here
liburing-2.9/examples/poll-bench.c:50:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/examples/poll-bench.c:50:15: danger: ‘pipe1[1]’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def21]
liburing-2.9/examples/proxy.c:435: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iovs
Error: CPPCHECK_WARNING (CWE-476): [#def22]
liburing-2.9/examples/proxy.c:436: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iovs
Error: CPPCHECK_WARNING (CWE-476): [#def23]
liburing-2.9/examples/proxy.c:515: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sstat
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
liburing-2.9/examples/proxy.c:515:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: CPPCHECK_WARNING (CWE-476): [#def25]
liburing-2.9/examples/proxy.c:516: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sstat
Error: CPPCHECK_WARNING (CWE-476): [#def26]
liburing-2.9/examples/proxy.c:518: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rstat
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
liburing-2.9/examples/proxy.c:518:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: CPPCHECK_WARNING (CWE-476): [#def28]
liburing-2.9/examples/proxy.c:519: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rstat
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
liburing-2.9/examples/proxy.c:527:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
liburing-2.9/examples/proxy.c:527:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
liburing-2.9/examples/proxy.c:529:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
liburing-2.9/examples/proxy.c:529:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def33]
liburing-2.9/examples/proxy.c:534:22: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘rstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def34]
liburing-2.9/examples/proxy.c:546:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘sstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def35]
liburing-2.9/examples/proxy.c:547:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘rstat’
liburing-2.9/examples/proxy.c:550:13: enter_function: entry to ‘__show_stats’
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:569:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:570:24: branch_true: ...to here
liburing-2.9/examples/proxy.c:572:12: branch_false: following ‘false’ branch (when ‘qps != 0’)...
liburing-2.9/examples/proxy.c:575:12: branch_false: ...to here
liburing-2.9/examples/proxy.c:582:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/examples/proxy.c:583:17: branch_true: ...to here
liburing-2.9/examples/proxy.c:600:17: call_function: calling ‘show_buckets’ from ‘__show_stats’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
liburing-2.9/examples/reg-wait.c:52:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/examples/reg-wait.c:55:5: enter_function: entry to ‘main’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:94:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:95:12: branch_false: following ‘false’ branch (when ‘reg’ is non-NULL)...
liburing-2.9/examples/reg-wait.c:100:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:100:15: call_function: calling ‘register_memory’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
liburing-2.9/examples/reg-wait.c:52:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/examples/reg-wait.c:55:5: enter_function: entry to ‘main’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:94:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:95:12: branch_false: following ‘false’ branch (when ‘reg’ is non-NULL)...
liburing-2.9/examples/reg-wait.c:100:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:100:15: call_function: calling ‘register_memory’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
liburing-2.9/examples/reg-wait.c:83:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:83:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/reg-wait.c:83:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
liburing-2.9/examples/reg-wait.c:83:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:83:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/reg-wait.c:83:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
liburing-2.9/examples/reg-wait.c:110:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:94:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:95:12: branch_false: following ‘false’ branch (when ‘reg’ is non-NULL)...
liburing-2.9/examples/reg-wait.c:100:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:101:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:110:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:110:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/examples/reg-wait.c:110:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
liburing-2.9/examples/reg-wait.c:110:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/examples/reg-wait.c:67:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/examples/reg-wait.c:72:21: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:73:12: branch_false: following ‘false’ branch (when ‘page_size >= 0’)...
liburing-2.9/examples/reg-wait.c:78:13: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:83:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:94:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:95:12: branch_false: following ‘false’ branch (when ‘reg’ is non-NULL)...
liburing-2.9/examples/reg-wait.c:100:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:101:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/reg-wait.c:110:15: branch_false: ...to here
liburing-2.9/examples/reg-wait.c:110:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/examples/reg-wait.c:110:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
liburing-2.9/examples/rsrc-update-bench.c:40:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:40:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:40:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
liburing-2.9/examples/rsrc-update-bench.c:40:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:40:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:40:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
liburing-2.9/examples/rsrc-update-bench.c:46:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:46:15: throw: if ‘io_uring_register_ring_fd’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:46:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
liburing-2.9/examples/rsrc-update-bench.c:46:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:46:15: throw: if ‘io_uring_register_ring_fd’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:46:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
liburing-2.9/examples/rsrc-update-bench.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:47:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:51:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:51:15: throw: if ‘io_uring_register_files_sparse’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:51:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
liburing-2.9/examples/rsrc-update-bench.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:47:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:51:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:51:15: throw: if ‘io_uring_register_files_sparse’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:51:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
liburing-2.9/examples/rsrc-update-bench.c:58:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:47:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:51:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:52:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:52:12: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:57:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/examples/rsrc-update-bench.c:58:23: branch_true: ...to here
liburing-2.9/examples/rsrc-update-bench.c:58:23: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:58:23: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
liburing-2.9/examples/rsrc-update-bench.c:58:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[i]’
liburing-2.9/examples/rsrc-update-bench.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:40:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:46:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:47:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:51:15: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:52:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/rsrc-update-bench.c:52:12: branch_false: ...to here
liburing-2.9/examples/rsrc-update-bench.c:57:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/examples/rsrc-update-bench.c:58:23: branch_true: ...to here
liburing-2.9/examples/rsrc-update-bench.c:58:23: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/examples/rsrc-update-bench.c:58:23: danger: ‘pipe1[i]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
liburing-2.9/examples/send-zerocopy.c:346:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/examples/send-zerocopy.c:469:14: enter_function: entry to ‘do_test’
liburing-2.9/examples/send-zerocopy.c:474:9: call_function: calling ‘setup_sockaddr’ from ‘do_test’
liburing-2.9/examples/send-zerocopy.c:474:9: return_function: returning to ‘do_test’ from ‘setup_sockaddr’
liburing-2.9/examples/send-zerocopy.c:476:9: call_function: calling ‘do_tx’ from ‘do_test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
liburing-2.9/examples/ucontext-cp.c:207:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*<unknown>, 0)’
liburing-2.9/examples/ucontext-cp.c:174:5: enter_function: entry to ‘main’
liburing-2.9/examples/ucontext-cp.c:180:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
liburing-2.9/examples/ucontext-cp.c:185:15: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:191:21: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:194:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
liburing-2.9/examples/ucontext-cp.c:197:39: branch_true: ...to here
liburing-2.9/examples/ucontext-cp.c:199:20: branch_false: following ‘false’ branch (when ‘pctx’ is non-NULL)...
liburing-2.9/examples/ucontext-cp.c:199:30: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:199:30: call_function: calling ‘setup_context’ from ‘main’
liburing-2.9/examples/ucontext-cp.c:199:30: return_function: returning to ‘main’ from ‘setup_context’
liburing-2.9/examples/ucontext-cp.c:199:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:202:33: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:202:24: acquire_resource: opened here
liburing-2.9/examples/ucontext-cp.c:203:20: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:207:35: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:207:25: throw: if ‘open’ throws an exception...
liburing-2.9/examples/ucontext-cp.c:207:35: danger: ‘open(*<unknown>, 0)’ leaks here; was opened at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: CPPCHECK_WARNING (CWE-476): [#def52]
liburing-2.9/examples/ucontext-cp.c:214: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pbundle
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
liburing-2.9/examples/ucontext-cp.c:214:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pbundle’
liburing-2.9/examples/ucontext-cp.c:174:5: enter_function: entry to ‘main’
liburing-2.9/examples/ucontext-cp.c:180:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
liburing-2.9/examples/ucontext-cp.c:185:15: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:191:21: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:194:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
liburing-2.9/examples/ucontext-cp.c:197:39: branch_true: ...to here
liburing-2.9/examples/ucontext-cp.c:199:20: branch_false: following ‘false’ branch (when ‘pctx’ is non-NULL)...
liburing-2.9/examples/ucontext-cp.c:199:30: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:199:30: call_function: calling ‘setup_context’ from ‘main’
liburing-2.9/examples/ucontext-cp.c:199:30: return_function: returning to ‘main’ from ‘setup_context’
liburing-2.9/examples/ucontext-cp.c:199:21: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:202:33: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:203:20: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:207:35: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:208:20: branch_false: following ‘false’ branch...
liburing-2.9/examples/ucontext-cp.c:213:45: branch_false: ...to here
liburing-2.9/examples/ucontext-cp.c:213:45: acquire_memory: this call could return NULL
liburing-2.9/examples/ucontext-cp.c:214:17: danger: ‘pbundle’ could be NULL: unchecked value from [(23)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/22)
Error: CPPCHECK_WARNING (CWE-476): [#def54]
liburing-2.9/examples/ucontext-cp.c:215: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pbundle
Error: CPPCHECK_WARNING (CWE-476): [#def55]
liburing-2.9/examples/ucontext-cp.c:216: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pbundle
Error: CPPCHECK_WARNING (CWE-476): [#def56]
liburing-2.9/examples/ucontext-cp.c:217: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pbundle
Error: CPPCHECK_WARNING (CWE-476): [#def57]
liburing-2.9/examples/ucontext-cp.c:218: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pbundle
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
liburing-2.9/src/include/liburing.h:441:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/ce593a6c480a.c:37:5: enter_function: entry to ‘main’
liburing-2.9/test/ce593a6c480a.c:48:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/ce593a6c480a.c:54:19: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:55:12: branch_false: following ‘false’ branch (when ‘loop_fd != -1’)...
liburing-2.9/test/ce593a6c480a.c:61:29: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:62:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ce593a6c480a.c:67:13: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:67:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ce593a6c480a.c:71:15: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:72:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/ce593a6c480a.c:74:17: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:74:17: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/ce593a6c480a.c:77:15: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ce593a6c480a.c:83:13: branch_false: ...to here
liburing-2.9/test/ce593a6c480a.c:83:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ce593a6c480a.c:93:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/ce593a6c480a.c:93:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/ce593a6c480a.c:94:9: call_function: inlined call to ‘io_uring_prep_poll_add’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
liburing-2.9/src/include/liburing.h:441:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sqe’
liburing-2.9/test/io_uring_enter.c:151:13: enter_function: entry to ‘submit_io’
liburing-2.9/test/io_uring_enter.c:160:14: call_function: calling ‘setup_file’ from ‘submit_io’
liburing-2.9/test/io_uring_enter.c:160:14: return_function: returning to ‘submit_io’ from ‘setup_file’
liburing-2.9/test/io_uring_enter.c:161:21: branch_true: following ‘true’ branch (when ‘i < nr’)...
liburing-2.9/test/io_uring_enter.c:163:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘submit_io’
liburing-2.9/test/io_uring_enter.c:163:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘submit_io’
liburing-2.9/test/io_uring_enter.c:165:17: call_function: calling ‘io_prep_read’ from ‘submit_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
liburing-2.9/src/include/liburing.h:442:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/io_uring_passthrough.c:293:12: enter_function: entry to ‘test_invalid_passthru_submit’
liburing-2.9/test/io_uring_passthrough.c:304:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/io_uring_passthrough.c:310:14: branch_false: ...to here
liburing-2.9/test/io_uring_passthrough.c:311:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_passthrough.c:316:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid_passthru_submit’
liburing-2.9/test/io_uring_passthrough.c:316:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid_passthru_submit’
liburing-2.9/test/io_uring_passthrough.c:317:9: call_function: inlined call to ‘io_uring_prep_read’ from ‘test_invalid_passthru_submit’
Error: CPPCHECK_WARNING (CWE-457): [#def61]
liburing-2.9/src/include/liburing.h:798: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def62]
liburing-2.9/src/include/liburing.h:919: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def63]
liburing-2.9/src/include/liburing.h:1029: warning[uninitvar]: Uninitialized variable: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
liburing-2.9/src/include/liburing.h:1437:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:72:5: enter_function: entry to ‘main’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:104:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:111:9: branch_false: ...to here
liburing-2.9/test/thread-exit.c:116:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:117:17: branch_true: ...to here
liburing-2.9/test/thread-exit.c:116:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:117:17: branch_true: ...to here
liburing-2.9/test/thread-exit.c:124:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:127:23: branch_true: ...to here
liburing-2.9/test/thread-exit.c:127:23: call_function: calling ‘io_uring_wait_cqe’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
liburing-2.9/src/include/liburing.h:1437:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:222:5: enter_function: entry to ‘main’
liburing-2.9/test/accept-non-empty.c:226:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/accept-non-empty.c:229:15: branch_false: ...to here
liburing-2.9/test/accept-non-empty.c:229:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
liburing-2.9/src/include/liburing.h:1437:16: warning[-Wanalyzer-malloc-leak]: leak of ‘tags’
liburing-2.9/test/rsrc_tags.c:316:12: enter_function: entry to ‘test_files’
liburing-2.9/test/rsrc_tags.c:325:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/rsrc_tags.c:326:28: branch_true: ...to here
liburing-2.9/test/rsrc_tags.c:330:15: call_function: calling ‘test_tags_generic’ from ‘test_files’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.9/test/short-read.c:18:5: enter_function: entry to ‘main’
liburing-2.9/test/short-read.c:26:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/short-read.c:29:24: branch_false: ...to here
liburing-2.9/test/short-read.c:34:14: acquire_resource: opened here
liburing-2.9/test/short-read.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:43:15: branch_false: ...to here
liburing-2.9/test/short-read.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:49:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/short-read.c:49:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(".short-read", 0)’ leaks here; was opened at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".sync_file_range", 2)’
liburing-2.9/test/fsync.c:146:12: enter_function: entry to ‘test_sync_file_range’
liburing-2.9/test/fsync.c:154:14: acquire_resource: opened here
liburing-2.9/test/fsync.c:158:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fsync.c:163:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_sync_file_range’
liburing-2.9/test/fsync.c:163:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_sync_file_range’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(".sync_file_range", 2)’ leaks here; was opened at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".test_fpos_read", 0)’
liburing-2.9/test/fpos.c:43:12: enter_function: entry to ‘test_read’
liburing-2.9/test/fpos.c:58:9: call_function: calling ‘create_file’ from ‘test_read’
liburing-2.9/test/fpos.c:58:9: return_function: returning to ‘test_read’ from ‘create_file’
liburing-2.9/test/fpos.c:59:14: acquire_resource: opened here
liburing-2.9/test/fpos.c:61:9: branch_true: following ‘true’ branch...
liburing-2.9/test/fpos.c:61:9: branch_true: ...to here
liburing-2.9/test/fpos.c:63:16: branch_false: following ‘false’ branch (when ‘done == 0’)...
liburing-2.9/test/fpos.c:63:16: branch_false: ...to here
liburing-2.9/test/fpos.c:64:29: branch_true: following ‘true’ branch (when ‘i != 2048’)...
liburing-2.9/test/fpos.c:65:31: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_read’
liburing-2.9/test/fpos.c:65:31: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_read’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(".test_fpos_read", 0)’ leaks here; was opened at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 65536)’
liburing-2.9/test/lfs-openat-write.c:97:5: enter_function: entry to ‘main’
liburing-2.9/test/lfs-openat-write.c:102:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat-write.c:105:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:105:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat-write.c:106:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat-write.c:109:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:110:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat-write.c:113:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:113:15: call_function: calling ‘test_open_write’ from ‘main’
liburing-2.9/test/lfs-openat-write.c:113:15: return_function: returning to ‘main’ from ‘test_open_write’
liburing-2.9/test/lfs-openat-write.c:115:9: throw: if ‘io_uring_queue_exit’ throws an exception...
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open("/tmp", 65536)’ leaks here; was opened at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
liburing-2.9/test/kallsyms.c:115:12: enter_function: entry to ‘test_io’
liburing-2.9/test/kallsyms.c:121:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/kallsyms.c:123:12: branch_false: ...to here
liburing-2.9/test/kallsyms.c:123:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/kallsyms.c:128:15: branch_false: ...to here
liburing-2.9/test/kallsyms.c:128:15: call_function: calling ‘__test_io’ from ‘test_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/sqwait.c:42:5: enter_function: entry to ‘main’
liburing-2.9/test/sqwait.c:63:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
liburing-2.9/test/sqwait.c:64:21: branch_true: ...to here
liburing-2.9/test/sqwait.c:64:21: branch_true: following ‘true’ branch...
liburing-2.9/test/sqwait.c:70:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sqwait.c:78:14: branch_false: ...to here
liburing-2.9/test/sqwait.c:78:14: acquire_resource: opened here
liburing-2.9/test/sqwait.c:79:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sqwait.c:79:12: branch_false: ...to here
liburing-2.9/test/sqwait.c:88:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/sqwait.c:91:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/sqwait.c:91:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/sqwait.c:92:20: branch_true: following ‘true’ branch...
liburing-2.9/test/sqwait.c:93:31: branch_true: ...to here
liburing-2.9/test/sqwait.c:93:31: call_function: calling ‘io_uring_sqring_wait’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
liburing-2.9/test/statx.c:155:12: enter_function: entry to ‘test_statx_fd’
liburing-2.9/test/statx.c:162:14: acquire_resource: opened here
liburing-2.9/test/statx.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/statx.c:170:9: branch_false: ...to here
liburing-2.9/test/statx.c:172:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_statx_fd’
liburing-2.9/test/statx.c:172:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_statx_fd’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(path, 0)’ leaks here; was opened at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
liburing-2.9/src/setup.c:446:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/src/setup.c:587:16: enter_function: entry to ‘io_uring_mlock_size’
liburing-2.9/src/setup.c:593:16: call_function: calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’
Error: GCC_ANALYZER_WARNING: [#def75]
liburing-2.9/test/232c93d07b74.c:94:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘s0’
liburing-2.9/test/232c93d07b74.c:66:12: branch_true: following ‘true’ branch...
liburing-2.9/test/232c93d07b74.c:67:26: branch_true: ...to here
liburing-2.9/test/232c93d07b74.c:71:17: branch_true: following ‘true’ branch (when ‘res != -1’)...
liburing-2.9/test/232c93d07b74.c:72:23: branch_true: ...to here
liburing-2.9/test/232c93d07b74.c:73:17: branch_true: following ‘true’ branch (when ‘res != -1’)...
liburing-2.9/test/232c93d07b74.c:77:17: branch_true: ...to here
liburing-2.9/test/232c93d07b74.c:80:17: branch_true: following ‘true’ branch...
liburing-2.9/test/232c93d07b74.c:81:32: branch_true: ...to here
liburing-2.9/test/232c93d07b74.c:94:15: danger: ‘s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
liburing-2.9/test/232c93d07b74.c:206:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s0’
liburing-2.9/test/232c93d07b74.c:183:12: branch_false: following ‘false’ branch...
liburing-2.9/test/232c93d07b74.c:198:22: branch_false: ...to here
liburing-2.9/test/232c93d07b74.c:198:22: acquire_resource: socket created here
liburing-2.9/test/232c93d07b74.c:199:17: branch_true: following ‘true’ branch (when ‘s0 != -1’)...
liburing-2.9/test/232c93d07b74.c:202:17: branch_true: ...to here
liburing-2.9/test/232c93d07b74.c:206:23: throw: if ‘connect’ throws an exception...
liburing-2.9/test/232c93d07b74.c:206:23: danger: ‘s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
liburing-2.9/test/35fa71a030ca.c:133:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 524289)’
liburing-2.9/test/35fa71a030ca.c:241:13: enter_function: entry to ‘loop’
liburing-2.9/test/35fa71a030ca.c:245:8: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:248:7: call_function: calling ‘setup_test’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
liburing-2.9/test/35fa71a030ca.c:156:28: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/fs/fuse/connections")’
liburing-2.9/test/35fa71a030ca.c:241:13: enter_function: entry to ‘loop’
liburing-2.9/test/35fa71a030ca.c:245:8: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: following ‘false’ branch (when ‘pid != 0’)...
liburing-2.9/test/35fa71a030ca.c:252:9: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:253:22: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:253:22: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:258:11: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:258:11: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:260:7: call_function: calling ‘kill_and_wait’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
liburing-2.9/test/35fa71a030ca.c:168:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/35fa71a030ca.c:241:13: enter_function: entry to ‘loop’
liburing-2.9/test/35fa71a030ca.c:245:8: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: following ‘false’ branch (when ‘pid != 0’)...
liburing-2.9/test/35fa71a030ca.c:252:9: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:253:22: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:253:22: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:258:11: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:258:11: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:260:7: call_function: calling ‘kill_and_wait’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
liburing-2.9/test/35fa71a030ca.c:170:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/35fa71a030ca.c:241:13: enter_function: entry to ‘loop’
liburing-2.9/test/35fa71a030ca.c:245:8: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:247:8: branch_false: following ‘false’ branch (when ‘pid != 0’)...
liburing-2.9/test/35fa71a030ca.c:252:9: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:253:22: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:253:22: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:258:11: call_function: calling ‘current_time_ms’ from ‘loop’
liburing-2.9/test/35fa71a030ca.c:258:11: return_function: returning to ‘loop’ from ‘current_time_ms’
liburing-2.9/test/35fa71a030ca.c:260:7: call_function: calling ‘kill_and_wait’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def81]
liburing-2.9/test/35fa71a030ca.c:316:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/35fa71a030ca.c:319:5: enter_function: entry to ‘main’
liburing-2.9/test/35fa71a030ca.c:321:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/35fa71a030ca.c:323:9: branch_false: ...to here
liburing-2.9/test/35fa71a030ca.c:316:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
liburing-2.9/test/a4c0b3decb33.c:53:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 524289)’
liburing-2.9/test/a4c0b3decb33.c:50:18: acquire_resource: opened here
liburing-2.9/test/a4c0b3decb33.c:51:12: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:53:13: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:53:13: throw: if ‘write’ throws an exception...
liburing-2.9/test/a4c0b3decb33.c:53:13: danger: ‘open(file, 524289)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
liburing-2.9/test/a4c0b3decb33.c:76:46: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/fs/fuse/connections")’
liburing-2.9/test/a4c0b3decb33.c:68:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/a4c0b3decb33.c:69:21: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:73:20: acquire_memory: allocated here
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: following ‘true’ branch...
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:76:46: throw: if ‘readdir’ throws an exception...
liburing-2.9/test/a4c0b3decb33.c:76:46: danger: ‘opendir("/sys/fs/fuse/connections")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
liburing-2.9/test/a4c0b3decb33.c:88:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/a4c0b3decb33.c:68:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/a4c0b3decb33.c:69:21: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: following ‘true’ branch...
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:77:28: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:79:36: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:84:34: acquire_resource: opened here
liburing-2.9/test/a4c0b3decb33.c:88:29: throw: if ‘write’ throws an exception...
liburing-2.9/test/a4c0b3decb33.c:88:29: danger: ‘open(&abort, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
liburing-2.9/test/a4c0b3decb33.c:90:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/a4c0b3decb33.c:68:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/a4c0b3decb33.c:69:21: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:69:20: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:71:17: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: following ‘true’ branch...
liburing-2.9/test/a4c0b3decb33.c:74:12: branch_true: ...to here
liburing-2.9/test/a4c0b3decb33.c:77:28: branch_false: following ‘false’ branch...
liburing-2.9/test/a4c0b3decb33.c:79:36: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:84:34: acquire_resource: opened here
liburing-2.9/test/a4c0b3decb33.c:90:25: danger: ‘open(&abort, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def86]
liburing-2.9/test/a4c0b3decb33.c:171:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/a4c0b3decb33.c:174:5: enter_function: entry to ‘main’
liburing-2.9/test/a4c0b3decb33.c:176:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/a4c0b3decb33.c:178:9: branch_false: ...to here
liburing-2.9/test/a4c0b3decb33.c:169:13: enter_function: entry to ‘sig_int’
liburing-2.9/test/a4c0b3decb33.c:171:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
liburing-2.9/test/accept-link.c:71:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s0’
liburing-2.9/test/accept-link.c:62:18: acquire_resource: stream socket created here
liburing-2.9/test/accept-link.c:63:9: branch_true: following ‘true’ branch (when ‘s0 != -1’)...
liburing-2.9/test/accept-link.c:67:9: branch_true: ...to here
liburing-2.9/test/accept-link.c:71:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/accept-link.c:71:15: danger: ‘s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def88]
liburing-2.9/test/accept-non-empty.c:43:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0)’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING: [#def89]
liburing-2.9/test/accept-non-empty.c:56:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
liburing-2.9/test/accept-non-empty.c:100:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: CPPCHECK_WARNING (CWE-476): [#def91]
liburing-2.9/test/accept-non-empty.c:127: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fds
Error: GCC_ANALYZER_WARNING (CWE-688): [#def92]
liburing-2.9/test/accept-non-empty.c:127:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fds’ where non-null expected
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
liburing-2.9/test/accept-non-empty.c:130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
liburing-2.9/test/accept-non-empty.c:132:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
liburing-2.9/test/accept-non-empty.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
liburing-2.9/test/accept-non-empty.c:185:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
liburing-2.9/test/accept-non-empty.c:189:33: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
liburing-2.9/test/accept-non-empty.c:196:12: enter_function: entry to ‘test’
liburing-2.9/test/accept-non-empty.c:202:15: call_function: calling ‘test_maccept’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
liburing-2.9/test/accept-reuse.c:103:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
liburing-2.9/test/accept-reuse.c:44:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/accept-reuse.c:47:9: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:49:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept-reuse.c:53:15: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:53:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept-reuse.c:58:9: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:64:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept-reuse.c:69:14: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:69:35: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
liburing-2.9/test/accept-reuse.c:70:21: branch_true: ...to here
liburing-2.9/test/accept-reuse.c:75:12: branch_false: following ‘false’ branch (when ‘addr_info’ is non-NULL)...
liburing-2.9/test/accept-reuse.c:80:9: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:83:15: acquire_resource: stream socket created here
liburing-2.9/test/accept-reuse.c:85:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/accept-reuse.c:91:9: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:96:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/accept-reuse.c:101:15: branch_false: ...to here
liburing-2.9/test/accept-reuse.c:102:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
liburing-2.9/test/accept-reuse.c:103:17: branch_true: ...to here
liburing-2.9/test/accept-reuse.c:103:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/accept-reuse.c:103:17: danger: ‘ret’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
liburing-2.9/test/accept.c:186:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.9/test/accept.c:446:12: enter_function: entry to ‘test_accept_many’
liburing-2.9/test/accept.c:457:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:462:9: branch_false: ...to here
liburing-2.9/test/accept.c:465:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:470:15: branch_false: ...to here
liburing-2.9/test/accept.c:471:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:473:15: branch_true: ...to here
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:476:20: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:476:20: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
liburing-2.9/test/accept.c:186:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(&addr, 0, <unknown>)’
liburing-2.9/test/accept.c:596:12: enter_function: entry to ‘test_accept’
liburing-2.9/test/accept.c:606:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:607:15: branch_true: ...to here
liburing-2.9/test/accept.c:607:15: call_function: calling ‘test’ from ‘test_accept’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
liburing-2.9/test/accept.c:186:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:544:12: branch_true: following ‘true’ branch (when ‘usecs != 0’)...
liburing-2.9/test/accept.c:545:17: branch_true: ...to here
liburing-2.9/test/accept.c:545:17: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/accept.c:186:14: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
liburing-2.9/test/accept.c:186:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, i, <unknown>)’
liburing-2.9/test/accept.c:446:12: enter_function: entry to ‘test_accept_many’
liburing-2.9/test/accept.c:457:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:462:9: branch_false: ...to here
liburing-2.9/test/accept.c:465:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:470:15: branch_false: ...to here
liburing-2.9/test/accept.c:471:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:473:15: branch_true: ...to here
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:476:20: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:476:20: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:186:14: danger: ‘start_accept_listen(0, i, <unknown>)’ leaks here
Error: GCC_ANALYZER_WARNING: [#def103]
liburing-2.9/test/accept.c:204:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
liburing-2.9/test/accept.c:633:12: enter_function: entry to ‘test_accept_multishot_wrong_arg’
liburing-2.9/test/accept.c:641:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:643:14: branch_true: ...to here
liburing-2.9/test/accept.c:643:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_multishot_wrong_arg’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def104]
liburing-2.9/test/accept.c:406:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/accept.c:409:12: enter_function: entry to ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:417:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:419:14: branch_true: ...to here
liburing-2.9/test/accept.c:419:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:419:14: return_function: returning to ‘test_accept_pending_on_exit’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:424:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:426:9: branch_true: ...to here
liburing-2.9/test/accept.c:404:13: enter_function: entry to ‘sig_alrm’
liburing-2.9/test/accept.c:406:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
liburing-2.9/test/bind-listen.c:313:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/bind-listen.c:302:12: branch_false: following ‘false’ branch (when ‘err >= 0’)...
liburing-2.9/test/bind-listen.c:307:16: branch_false: ...to here
liburing-2.9/test/bind-listen.c:307:16: acquire_resource: stream socket created here
liburing-2.9/test/bind-listen.c:308:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
liburing-2.9/test/bind-listen.c:313:15: branch_false: ...to here
liburing-2.9/test/bind-listen.c:313:15: throw: if ‘t_bind_ephemeral_port’ throws an exception...
liburing-2.9/test/bind-listen.c:313:15: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
liburing-2.9/test/buf-ring-nommap.c:65:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/buf-ring-nommap.c:38:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: following ‘true’ branch...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:57:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:57:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:65:15: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:65:15: throw: if ‘io_uring_register_buf_ring’ throws an exception...
liburing-2.9/test/buf-ring-nommap.c:65:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
liburing-2.9/test/buf-ring-nommap.c:65:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/buf-ring-nommap.c:38:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: following ‘true’ branch...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:57:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:57:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:65:15: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:65:15: throw: if ‘io_uring_register_buf_ring’ throws an exception...
liburing-2.9/test/buf-ring-nommap.c:65:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
liburing-2.9/test/buf-ring-nommap.c:84:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/buf-ring-nommap.c:38:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: following ‘true’ branch...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:57:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:57:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:65:15: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:66:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:76:25: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:79:12: branch_true: following ‘true’ branch (when ‘br == 18446744073709551615’)...
liburing-2.9/test/buf-ring-nommap.c:80:21: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:80:20: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:84:17: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:84:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/buf-ring-nommap.c:84:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def109]
liburing-2.9/test/buf-ring-nommap.c:84:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/buf-ring-nommap.c:38:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: following ‘true’ branch...
liburing-2.9/test/buf-ring-nommap.c:41:13: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:48:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:57:13: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:57:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:65:15: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:66:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:76:25: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:79:12: branch_true: following ‘true’ branch (when ‘br == 18446744073709551615’)...
liburing-2.9/test/buf-ring-nommap.c:80:21: branch_true: ...to here
liburing-2.9/test/buf-ring-nommap.c:80:20: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring-nommap.c:84:17: branch_false: ...to here
liburing-2.9/test/buf-ring-nommap.c:84:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/buf-ring-nommap.c:84:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
liburing-2.9/test/buf-ring.c:272:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buffers’
liburing-2.9/test/buf-ring.c:297:12: enter_function: entry to ‘test_running’
liburing-2.9/test/buf-ring.c:307:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:309:17: branch_false: ...to here
liburing-2.9/test/buf-ring.c:309:17: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:312:12: branch_false: ...to here
liburing-2.9/test/buf-ring.c:314:20: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:347:19: branch_false: ...to here
liburing-2.9/test/buf-ring.c:347:19: acquire_memory: allocated here
liburing-2.9/test/buf-ring.c:348:12: branch_false: following ‘false’ branch (when ‘buffers’ is non-NULL)...
liburing-2.9/test/buf-ring.c:351:19: branch_false: ...to here
liburing-2.9/test/buf-ring.c:352:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:352:12: branch_false: ...to here
liburing-2.9/test/buf-ring.c:355:24: branch_true: following ‘true’ branch (when ‘loop < loops’)...
liburing-2.9/test/buf-ring.c:356:17: branch_true: ...to here
liburing-2.9/test/buf-ring.c:357:31: branch_false: following ‘false’ branch (when ‘idx >= entries’)...
liburing-2.9/test/buf-ring.c:359:17: call_function: inlined call to ‘io_uring_buf_ring_advance’ from ‘test_running’
liburing-2.9/test/buf-ring.c:361:31: branch_false: following ‘false’ branch (when ‘idx >= entries’)...
liburing-2.9/test/buf-ring.c:384:23: branch_false: ...to here
liburing-2.9/test/buf-ring.c:384:23: call_function: calling ‘test_one_read’ from ‘test_running’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
liburing-2.9/test/buf-ring.c:351:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buffers’
liburing-2.9/test/buf-ring.c:307:12: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:309:17: branch_false: ...to here
liburing-2.9/test/buf-ring.c:309:17: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:312:12: branch_false: ...to here
liburing-2.9/test/buf-ring.c:314:20: branch_false: following ‘false’ branch...
liburing-2.9/test/buf-ring.c:347:19: branch_false: ...to here
liburing-2.9/test/buf-ring.c:347:19: acquire_memory: allocated here
liburing-2.9/test/buf-ring.c:348:12: branch_false: following ‘false’ branch (when ‘buffers’ is non-NULL)...
liburing-2.9/test/buf-ring.c:351:19: branch_false: ...to here
liburing-2.9/test/buf-ring.c:351:19: throw: if ‘open’ throws an exception...
liburing-2.9/test/buf-ring.c:351:19: danger: ‘buffers’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-401): [#def112]
liburing-2.9/test/buf-ring.c:353: error[memleak]: Memory leak: buffers
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
liburing-2.9/test/connect.c:33:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
liburing-2.9/test/connect.c:95:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:214:12: enter_function: entry to ‘test_connect’
liburing-2.9/test/connect.c:220:21: call_function: calling ‘create_socket’ from ‘test_connect’
liburing-2.9/test/connect.c:220:21: return_function: returning to ‘test_connect’ from ‘create_socket’
liburing-2.9/test/connect.c:221:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:224:15: branch_false: ...to here
liburing-2.9/test/connect.c:224:15: call_function: calling ‘listen_on_socket’ from ‘test_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def115]
liburing-2.9/test/connect.c:119:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:282:13: branch_false: ...to here
liburing-2.9/test/connect.c:282:13: call_function: calling ‘configure_connect’ from ‘test_connect_timeout’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
liburing-2.9/test/connect.c:125:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:282:13: branch_false: ...to here
liburing-2.9/test/connect.c:282:13: call_function: calling ‘configure_connect’ from ‘test_connect_timeout’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
liburing-2.9/test/connect.c:359:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept_fd’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:282:13: branch_false: ...to here
liburing-2.9/test/connect.c:359:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/connect.c:359:17: danger: ‘accept_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
liburing-2.9/test/connect.c:359:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_true: following ‘true’ branch...
liburing-2.9/test/connect.c:276:17: branch_true: ...to here
liburing-2.9/test/connect.c:359:17: danger: ‘create_socket()’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
liburing-2.9/test/connect.c:361:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept_fd’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:282:13: branch_false: ...to here
liburing-2.9/test/connect.c:360:12: branch_true: following ‘true’ branch...
liburing-2.9/test/connect.c:361:17: branch_true: ...to here
liburing-2.9/test/connect.c:361:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/connect.c:361:17: danger: ‘accept_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
liburing-2.9/test/connect.c:361:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_socket()’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_true: following ‘true’ branch...
liburing-2.9/test/connect.c:280:17: branch_true: ...to here
liburing-2.9/test/connect.c:360:12: branch_true: following ‘true’ branch...
liburing-2.9/test/connect.c:361:17: branch_true: ...to here
liburing-2.9/test/connect.c:361:17: danger: ‘create_socket()’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
liburing-2.9/test/connect.c:364:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept_fd’
liburing-2.9/test/connect.c:254:12: enter_function: entry to ‘test_connect_timeout’
liburing-2.9/test/connect.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:270:25: branch_false: ...to here
liburing-2.9/test/connect.c:270:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:270:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:274:25: branch_false: ...to here
liburing-2.9/test/connect.c:274:25: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:274:25: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:275:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:278:21: branch_false: ...to here
liburing-2.9/test/connect.c:278:21: call_function: calling ‘create_socket’ from ‘test_connect_timeout’
liburing-2.9/test/connect.c:278:21: return_function: returning to ‘test_connect_timeout’ from ‘create_socket’
liburing-2.9/test/connect.c:279:12: branch_false: following ‘false’ branch...
liburing-2.9/test/connect.c:282:13: branch_false: ...to here
liburing-2.9/test/connect.c:363:12: branch_true: following ‘true’ branch (when ‘accept_fd != -1’)...
liburing-2.9/test/connect.c:364:17: branch_true: ...to here
liburing-2.9/test/connect.c:364:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/connect.c:364:17: danger: ‘accept_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
liburing-2.9/test/coredump.c:33:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/coredump.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/coredump.c:33:9: branch_false: ...to here
liburing-2.9/test/coredump.c:33:9: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/coredump.c:33:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def123]
liburing-2.9/test/coredump.c:33:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/coredump.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/coredump.c:33:9: branch_false: ...to here
liburing-2.9/test/coredump.c:33:9: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/coredump.c:33:9: danger: ‘fds[1]’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def124]
liburing-2.9/test/coredump.c:41: error[nullPointer]: Null pointer dereference: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
liburing-2.9/test/coredump.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/coredump.c:20:13: enter_function: entry to ‘test’
liburing-2.9/test/coredump.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/coredump.c:33:9: branch_false: ...to here
liburing-2.9/test/coredump.c:35:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test’
liburing-2.9/test/coredump.c:35:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test’
liburing-2.9/test/coredump.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
liburing-2.9/test/d4ae271dfaae.c:56:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/d4ae271dfaae.c:33:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/d4ae271dfaae.c:35:17: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:35:17: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/d4ae271dfaae.c:38:12: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:45:14: acquire_resource: opened here
liburing-2.9/test/d4ae271dfaae.c:49:12: branch_false: following ‘false’ branch...
liburing-2.9/test/d4ae271dfaae.c:56:18: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:56:18: throw: if ‘t_calloc’ throws an exception...
liburing-2.9/test/d4ae271dfaae.c:56:18: danger: ‘fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def127]
liburing-2.9/test/d4ae271dfaae.c:58:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/d4ae271dfaae.c:33:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/d4ae271dfaae.c:35:17: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:35:17: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/d4ae271dfaae.c:38:12: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:45:14: acquire_resource: opened here
liburing-2.9/test/d4ae271dfaae.c:49:12: branch_false: following ‘false’ branch...
liburing-2.9/test/d4ae271dfaae.c:56:18: branch_false: ...to here
liburing-2.9/test/d4ae271dfaae.c:57:21: branch_true: following ‘true’ branch (when ‘i != 10’)...
liburing-2.9/test/d4ae271dfaae.c:58:17: branch_true: ...to here
liburing-2.9/test/d4ae271dfaae.c:58:17: throw: if ‘t_posix_memalign’ throws an exception...
liburing-2.9/test/d4ae271dfaae.c:58:17: danger: ‘fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def128]
liburing-2.9/test/d77a67ed5f27.c:13:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/d77a67ed5f27.c:16:5: enter_function: entry to ‘main’
liburing-2.9/test/d77a67ed5f27.c:24:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/d77a67ed5f27.c:27:9: branch_false: ...to here
liburing-2.9/test/d77a67ed5f27.c:10:13: enter_function: entry to ‘sig_alrm’
liburing-2.9/test/d77a67ed5f27.c:13:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def129]
liburing-2.9/test/defer-taskrun.c:221:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/defer-taskrun.c:180:9: branch_false: following ‘false’ branch (when ‘fork_pid >= 0’)...
liburing-2.9/test/defer-taskrun.c:181:12: branch_false: ...to here
liburing-2.9/test/defer-taskrun.c:181:12: branch_false: following ‘false’ branch (when ‘fork_pid == 0’)...
liburing-2.9/test/defer-taskrun.c:192:15: branch_false: ...to here
liburing-2.9/test/defer-taskrun.c:194:12: branch_false: following ‘false’ branch...
liburing-2.9/test/defer-taskrun.c:197:12: branch_false: ...to here
liburing-2.9/test/defer-taskrun.c:197:12: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
liburing-2.9/test/defer-taskrun.c:198:22: branch_true: ...to here
liburing-2.9/test/defer-taskrun.c:198:22: acquire_resource: opened here
liburing-2.9/test/defer-taskrun.c:199:20: branch_false: following ‘false’ branch...
liburing-2.9/test/defer-taskrun.c:211:9: branch_false: ...to here
liburing-2.9/test/defer-taskrun.c:221:1: danger: ‘fd’ leaks here; was opened at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def130]
liburing-2.9/test/defer-tw-timeout.c:117:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/defer-tw-timeout.c:100:14: acquire_resource: opened here
liburing-2.9/test/defer-tw-timeout.c:101:12: branch_false: following ‘false’ branch...
liburing-2.9/test/defer-tw-timeout.c:113:12: branch_false: ...to here
liburing-2.9/test/defer-tw-timeout.c:116:13: branch_false: following ‘false’ branch...
liburing-2.9/test/defer-tw-timeout.c:117:17: branch_false: ...to here
liburing-2.9/test/defer-tw-timeout.c:117:17: danger: ‘open(fname, 16384)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
liburing-2.9/test/eploop.c:54:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/eploop.c:17:5: enter_function: entry to ‘main’
liburing-2.9/test/eploop.c:25:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/eploop.c:28:15: branch_false: ...to here
liburing-2.9/test/eploop.c:29:12: branch_false: following ‘false’ branch...
liburing-2.9/test/eploop.c:34:19: branch_false: ...to here
liburing-2.9/test/eploop.c:35:12: branch_false: following ‘false’ branch (when ‘epollfd >= 0’)...
liburing-2.9/test/eploop.c:40:9: branch_false: ...to here
liburing-2.9/test/eploop.c:43:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/eploop.c:48:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/eploop.c:48:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/eploop.c:53:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/eploop.c:53:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/eploop.c:54:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
liburing-2.9/test/evloop.c:53:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/evloop.c:19:5: enter_function: entry to ‘main’
liburing-2.9/test/evloop.c:26:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/evloop.c:29:15: branch_false: ...to here
liburing-2.9/test/evloop.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/evloop.c:35:15: branch_false: ...to here
liburing-2.9/test/evloop.c:36:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
liburing-2.9/test/evloop.c:41:15: branch_false: ...to here
liburing-2.9/test/evloop.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/test/evloop.c:47:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/evloop.c:47:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/evloop.c:52:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/evloop.c:52:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/evloop.c:53:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
liburing-2.9/test/fadvise.c:100:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
liburing-2.9/test/fadvise.c:92:14: acquire_resource: opened here
liburing-2.9/test/fadvise.c:93:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fadvise.c:100:15: branch_false: ...to here
liburing-2.9/test/fadvise.c:100:15: throw: if ‘t_malloc’ throws an exception...
liburing-2.9/test/fadvise.c:100:15: danger: ‘open(filename, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
liburing-2.9/test/fc2a85cb02ef.c:34:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 524289)’
liburing-2.9/test/fc2a85cb02ef.c:31:12: acquire_resource: opened here
liburing-2.9/test/fc2a85cb02ef.c:32:6: branch_false: following ‘false’ branch...
liburing-2.9/test/fc2a85cb02ef.c:34:7: branch_false: ...to here
liburing-2.9/test/fc2a85cb02ef.c:34:7: throw: if ‘write’ throws an exception...
liburing-2.9/test/fc2a85cb02ef.c:34:7: danger: ‘open(file, 524289)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
liburing-2.9/test/fc2a85cb02ef.c:51:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/thread-self/fail-nth", 2)’
liburing-2.9/test/fc2a85cb02ef.c:47:8: acquire_resource: opened here
liburing-2.9/test/fc2a85cb02ef.c:48:6: branch_false: following ‘false’ branch...
liburing-2.9/test/fc2a85cb02ef.c:51:3: branch_false: ...to here
liburing-2.9/test/fc2a85cb02ef.c:52:7: throw: if ‘write’ throws an exception...
liburing-2.9/test/fc2a85cb02ef.c:51:3: danger: ‘open("/proc/thread-self/fail-nth", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
liburing-2.9/test/fd-install.c:91:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fd-install.c:86:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:91:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:91:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:91:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
liburing-2.9/test/fd-install.c:91:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fd-install.c:86:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:91:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:91:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:91:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
liburing-2.9/test/fd-install.c:148:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fd-install.c:143:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:148:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:148:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:148:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
liburing-2.9/test/fd-install.c:148:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fd-install.c:143:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:148:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:148:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:148:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
liburing-2.9/test/fd-install.c:217:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fd-install.c:211:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:217:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:217:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:217:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def141]
liburing-2.9/test/fd-install.c:217:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fd-install.c:211:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:217:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:217:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:217:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-910): [#def142]
liburing-2.9/test/fd-install.c:227:15: warning[-Wanalyzer-fd-use-after-close]: ‘read’ on closed file descriptor ‘fds[0]’
liburing-2.9/test/fd-install.c:211:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:217:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:218:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:224:9: branch_false: ...to here
liburing-2.9/test/fd-install.c:224:9: release_resource: closed here
liburing-2.9/test/fd-install.c:227:15: danger: ‘read’ on closed file descriptor ‘fds[0]’; ‘close’ was at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def143]
liburing-2.9/test/fd-install.c:378:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fd-install.c:373:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:378:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:378:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:378:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
liburing-2.9/test/fd-install.c:378:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fd-install.c:373:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fd-install.c:378:15: branch_false: ...to here
liburing-2.9/test/fd-install.c:378:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fd-install.c:378:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
liburing-2.9/test/fdinfo.c:36:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
liburing-2.9/test/fdinfo.c:38:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: CPPCHECK_WARNING (CWE-401): [#def147]
liburing-2.9/test/fdinfo.c:39: error[memleak]: Memory leak: buf
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
liburing-2.9/test/fdinfo.c:46:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fd_name, 0)’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
liburing-2.9/test/fdinfo.c:46:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
liburing-2.9/test/fdinfo.c:54:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fd_name, 0)’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
liburing-2.9/test/fdinfo.c:54:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
liburing-2.9/test/fdinfo.c:56:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/fdinfo.c:311:12: enter_function: entry to ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:322:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:324:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:324:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:331:14: branch_false: ...to here
liburing-2.9/test/fdinfo.c:332:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:336:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd_read’
liburing-2.9/test/fdinfo.c:339:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:343:9: branch_false: ...to here
liburing-2.9/test/fdinfo.c:343:9: call_function: calling ‘fdinfo_read’ from ‘test_eventfd_read’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
liburing-2.9/test/fdinfo.c:101:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/fdinfo.c:90:14: acquire_resource: opened here
liburing-2.9/test/fdinfo.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fdinfo.c:100:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:100:12: branch_true: following ‘true’ branch (when ‘sqthread != 0’)...
liburing-2.9/test/fdinfo.c:101:23: branch_true: ...to here
liburing-2.9/test/fdinfo.c:101:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/fdinfo.c:101:23: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
liburing-2.9/test/fdinfo.c:251:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/fdinfo.c:254:12: enter_function: entry to ‘test_io’
liburing-2.9/test/fdinfo.c:264:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/fdinfo.c:266:12: branch_false: ...to here
liburing-2.9/test/fdinfo.c:266:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/fdinfo.c:271:15: branch_false: ...to here
liburing-2.9/test/fdinfo.c:271:15: call_function: calling ‘__test_io’ from ‘test_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
liburing-2.9/test/fifo-nonblock-read.c:31:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:31:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/fifo-nonblock-read.c:31:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
liburing-2.9/test/fifo-nonblock-read.c:31:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:31:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/fifo-nonblock-read.c:31:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
liburing-2.9/test/fifo-nonblock-read.c:33:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:32:12: branch_true: following ‘true’ branch...
liburing-2.9/test/fifo-nonblock-read.c:33:17: branch_true: ...to here
liburing-2.9/test/fifo-nonblock-read.c:33:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/fifo-nonblock-read.c:33:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
liburing-2.9/test/fifo-nonblock-read.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:36:9: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:37:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/fifo-nonblock-read.c:37:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
liburing-2.9/test/fifo-nonblock-read.c:39:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:36:9: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:38:12: branch_true: following ‘true’ branch...
liburing-2.9/test/fifo-nonblock-read.c:39:17: branch_true: ...to here
liburing-2.9/test/fifo-nonblock-read.c:39:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/fifo-nonblock-read.c:39:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
liburing-2.9/test/file-exit-unreg.c:29:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-exit-unreg.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/file-exit-unreg.c:24:13: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:24:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:29:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:29:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/file-exit-unreg.c:29:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
liburing-2.9/test/file-exit-unreg.c:29:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-exit-unreg.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/file-exit-unreg.c:24:13: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:24:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:29:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:29:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/file-exit-unreg.c:29:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
liburing-2.9/test/file-exit-unreg.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-exit-unreg.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/file-exit-unreg.c:24:13: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:24:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:29:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:32:19: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:32:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:37:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:37:15: throw: if ‘io_uring_register_files_tags’ throws an exception...
liburing-2.9/test/file-exit-unreg.c:37:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
liburing-2.9/test/file-exit-unreg.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-exit-unreg.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/file-exit-unreg.c:24:13: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:24:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:29:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:32:19: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:32:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-exit-unreg.c:37:15: branch_false: ...to here
liburing-2.9/test/file-exit-unreg.c:37:15: throw: if ‘io_uring_register_files_tags’ throws an exception...
liburing-2.9/test/file-exit-unreg.c:37:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
liburing-2.9/test/file-register.c:594:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/file-register.c:582:12: enter_function: entry to ‘test_skip’
liburing-2.9/test/file-register.c:587:17: call_function: calling ‘open_files’ from ‘test_skip’
liburing-2.9/test/file-register.c:587:17: return_function: returning to ‘test_skip’ from ‘open_files’
liburing-2.9/test/file-register.c:589:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:594:9: branch_false: ...to here
liburing-2.9/test/file-register.c:594:9: danger: dereference of NULL ‘open_files(100, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
liburing-2.9/test/file-register.c:700:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-register.c:692:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:696:13: branch_false: ...to here
liburing-2.9/test/file-register.c:696:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:700:15: branch_false: ...to here
liburing-2.9/test/file-register.c:700:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:700:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
liburing-2.9/test/file-register.c:700:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:692:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:696:13: branch_false: ...to here
liburing-2.9/test/file-register.c:696:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:700:15: branch_false: ...to here
liburing-2.9/test/file-register.c:700:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:700:15: danger: ‘fds[1]’ leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def167]
liburing-2.9/test/file-register.c:726: error[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
liburing-2.9/test/file-register.c:776:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:776:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
liburing-2.9/test/file-register.c:776:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:776:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
liburing-2.9/test/file-register.c:783:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:782:12: branch_true: following ‘true’ branch...
liburing-2.9/test/file-register.c:783:17: branch_true: ...to here
liburing-2.9/test/file-register.c:783:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/file-register.c:783:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
liburing-2.9/test/file-register.c:783:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:782:12: branch_true: following ‘true’ branch...
liburing-2.9/test/file-register.c:783:17: branch_true: ...to here
liburing-2.9/test/file-register.c:783:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/file-register.c:783:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
liburing-2.9/test/file-register.c:792:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:782:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:12: branch_false: ...to here
liburing-2.9/test/file-register.c:787:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/file-register.c:788:25: branch_true: ...to here
liburing-2.9/test/file-register.c:787:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/file-register.c:788:25: branch_true: ...to here
liburing-2.9/test/file-register.c:792:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:792:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
liburing-2.9/test/file-register.c:798:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:782:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:12: branch_false: ...to here
liburing-2.9/test/file-register.c:787:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/file-register.c:788:25: branch_true: ...to here
liburing-2.9/test/file-register.c:787:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/file-register.c:788:25: branch_true: ...to here
liburing-2.9/test/file-register.c:793:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:798:9: branch_false: ...to here
liburing-2.9/test/file-register.c:798:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/file-register.c:798:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
liburing-2.9/test/file-register.c:799:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:774:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:778:13: branch_false: ...to here
liburing-2.9/test/file-register.c:778:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:13: branch_false: ...to here
liburing-2.9/test/file-register.c:782:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:782:12: branch_false: ...to here
liburing-2.9/test/file-register.c:787:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/file-register.c:788:25: branch_true: ...to here
liburing-2.9/test/file-register.c:793:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:798:9: branch_false: ...to here
liburing-2.9/test/file-register.c:799:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/file-register.c:799:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
liburing-2.9/test/file-register.c:832:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[0]’
liburing-2.9/test/file-register.c:814:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:818:13: branch_false: ...to here
liburing-2.9/test/file-register.c:818:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:827:22: branch_false: ...to here
liburing-2.9/test/file-register.c:832:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:832:15: danger: ‘reg_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
liburing-2.9/test/file-register.c:832:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[1]’
liburing-2.9/test/file-register.c:814:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:818:13: branch_false: ...to here
liburing-2.9/test/file-register.c:818:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:827:22: branch_false: ...to here
liburing-2.9/test/file-register.c:832:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:832:15: danger: ‘reg_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
liburing-2.9/test/file-register.c:905:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1007:12: enter_function: entry to ‘test_file_alloc_ranges’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1023:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1030:19: branch_false: ...to here
liburing-2.9/test/file-register.c:1030:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1035:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1036:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1043:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1043:15: call_function: calling ‘test_overallocating_file_range’ from ‘test_file_alloc_ranges’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
liburing-2.9/test/file-register.c:905:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1007:12: enter_function: entry to ‘test_file_alloc_ranges’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1023:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1030:19: branch_false: ...to here
liburing-2.9/test/file-register.c:1030:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1035:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1036:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1043:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1043:15: call_function: calling ‘test_overallocating_file_range’ from ‘test_file_alloc_ranges’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
liburing-2.9/test/file-register.c:974:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/file-register.c:963:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:968:15: branch_false: ...to here
liburing-2.9/test/file-register.c:969:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/file-register.c:974:15: branch_false: ...to here
liburing-2.9/test/file-register.c:974:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:974:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
liburing-2.9/test/file-register.c:974:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/file-register.c:963:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:968:15: branch_false: ...to here
liburing-2.9/test/file-register.c:969:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/file-register.c:974:15: branch_false: ...to here
liburing-2.9/test/file-register.c:974:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/file-register.c:974:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
liburing-2.9/test/file-register.c:1014:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1014:24: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
liburing-2.9/test/file-register.c:1014:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1014:24: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
liburing-2.9/test/file-register.c:1016:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1016:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/file-register.c:1016:15: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
liburing-2.9/test/file-register.c:1016:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1016:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/file-register.c:1016:15: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
liburing-2.9/test/file-register.c:1022:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1022:15: throw: if ‘io_uring_register_files_sparse’ throws an exception...
liburing-2.9/test/file-register.c:1022:15: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
liburing-2.9/test/file-register.c:1022:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1022:15: throw: if ‘io_uring_register_files_sparse’ throws an exception...
liburing-2.9/test/file-register.c:1022:15: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
liburing-2.9/test/file-register.c:1025:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1025:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/file-register.c:1025:17: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
liburing-2.9/test/file-register.c:1025:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1025:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/file-register.c:1025:17: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
liburing-2.9/test/file-register.c:1026:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1026:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/file-register.c:1026:17: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
liburing-2.9/test/file-register.c:1035:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1023:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1030:19: branch_false: ...to here
liburing-2.9/test/file-register.c:1030:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1035:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1035:15: throw: if ‘io_uring_register_file_alloc_range’ throws an exception...
liburing-2.9/test/file-register.c:1035:15: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
liburing-2.9/test/file-register.c:1035:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/file-register.c:1012:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1016:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1017:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1022:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1023:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1030:19: branch_false: ...to here
liburing-2.9/test/file-register.c:1030:19: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:1035:15: branch_false: ...to here
liburing-2.9/test/file-register.c:1035:15: throw: if ‘io_uring_register_file_alloc_range’ throws an exception...
liburing-2.9/test/file-register.c:1035:15: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def192]
liburing-2.9/test/file-verify.c:519:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 1)’
liburing-2.9/test/file-verify.c:510:14: acquire_resource: opened here
liburing-2.9/test/file-verify.c:511:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-verify.c:519:15: branch_false: ...to here
liburing-2.9/test/file-verify.c:519:15: throw: if ‘t_malloc’ throws an exception...
liburing-2.9/test/file-verify.c:519:15: danger: ‘open(fname, 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
liburing-2.9/test/files-exit-hang-poll.c:45:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/files-exit-hang-poll.c:59:5: enter_function: entry to ‘main’
liburing-2.9/test/files-exit-hang-poll.c:66:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-poll.c:69:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:69:26: acquire_resource: socket created here
liburing-2.9/test/files-exit-hang-poll.c:70:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-poll.c:75:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:86:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:86:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:91:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:91:13: call_function: calling ‘setup_io_uring’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def194]
liburing-2.9/test/files-exit-hang-poll.c:56:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/files-exit-hang-poll.c:59:5: enter_function: entry to ‘main’
liburing-2.9/test/files-exit-hang-poll.c:66:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-poll.c:69:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:70:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-poll.c:75:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:86:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:86:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:91:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:94:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:94:9: call_function: calling ‘add_poll’ from ‘main’
liburing-2.9/test/files-exit-hang-poll.c:94:9: return_function: returning to ‘main’ from ‘add_poll’
liburing-2.9/test/files-exit-hang-poll.c:95:9: call_function: calling ‘add_accept’ from ‘main’
liburing-2.9/test/files-exit-hang-poll.c:95:9: return_function: returning to ‘main’ from ‘add_accept’
liburing-2.9/test/files-exit-hang-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:54:13: enter_function: entry to ‘alarm_sig’
liburing-2.9/test/files-exit-hang-poll.c:56:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
liburing-2.9/test/files-exit-hang-poll.c:87:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/files-exit-hang-poll.c:66:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-poll.c:69:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:69:26: acquire_resource: socket created here
liburing-2.9/test/files-exit-hang-poll.c:70:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-poll.c:75:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-poll.c:86:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-poll.c:86:12: branch_true: following ‘true’ branch...
liburing-2.9/test/files-exit-hang-poll.c:87:17: branch_true: ...to here
liburing-2.9/test/files-exit-hang-poll.c:87:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/files-exit-hang-poll.c:87:17: danger: ‘sock_listen_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def196]
liburing-2.9/test/files-exit-hang-timeout.c:52:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/files-exit-hang-timeout.c:66:5: enter_function: entry to ‘main’
liburing-2.9/test/files-exit-hang-timeout.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-timeout.c:77:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:77:26: acquire_resource: socket created here
liburing-2.9/test/files-exit-hang-timeout.c:78:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-timeout.c:83:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:105:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-timeout.c:110:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:110:13: call_function: calling ‘setup_io_uring’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def197]
liburing-2.9/test/files-exit-hang-timeout.c:63:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/files-exit-hang-timeout.c:66:5: enter_function: entry to ‘main’
liburing-2.9/test/files-exit-hang-timeout.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-timeout.c:77:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:78:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-timeout.c:83:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:105:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-timeout.c:110:13: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:110:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-timeout.c:113:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:113:9: call_function: calling ‘add_timeout’ from ‘main’
liburing-2.9/test/files-exit-hang-timeout.c:113:9: return_function: returning to ‘main’ from ‘add_timeout’
liburing-2.9/test/files-exit-hang-timeout.c:114:9: call_function: calling ‘add_accept’ from ‘main’
liburing-2.9/test/files-exit-hang-timeout.c:114:9: return_function: returning to ‘main’ from ‘add_accept’
liburing-2.9/test/files-exit-hang-timeout.c:117:12: branch_false: following ‘false’ branch...
liburing-2.9/test/files-exit-hang-timeout.c:122:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:61:13: enter_function: entry to ‘alarm_sig’
liburing-2.9/test/files-exit-hang-timeout.c:63:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def198]
liburing-2.9/test/files-exit-hang-timeout.c:106:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/files-exit-hang-timeout.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/files-exit-hang-timeout.c:77:26: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:77:26: acquire_resource: socket created here
liburing-2.9/test/files-exit-hang-timeout.c:78:12: branch_false: following ‘false’ branch (when ‘sock_listen_fd >= 0’)...
liburing-2.9/test/files-exit-hang-timeout.c:83:9: branch_false: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:105:12: branch_true: following ‘true’ branch...
liburing-2.9/test/files-exit-hang-timeout.c:106:17: branch_true: ...to here
liburing-2.9/test/files-exit-hang-timeout.c:106:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/files-exit-hang-timeout.c:106:17: danger: ‘sock_listen_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def199]
liburing-2.9/test/fixed-buf-iter.c:42:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4096)’ where non-null expected
liburing-2.9/test/fixed-buf-iter.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-buf-iter.c:33:18: branch_false: ...to here
liburing-2.9/test/fixed-buf-iter.c:34:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-buf-iter.c:34:12: branch_false: ...to here
liburing-2.9/test/fixed-buf-iter.c:39:21: branch_true: following ‘true’ branch (when ‘i == 0’)...
liburing-2.9/test/fixed-buf-iter.c:40:35: branch_true: ...to here
liburing-2.9/test/fixed-buf-iter.c:40:35: acquire_memory: this call could return NULL
liburing-2.9/test/fixed-buf-iter.c:42:17: danger: argument 1 (‘malloc(4096)’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
liburing-2.9/test/fixed-buf-iter.c:45:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iov[0].iov_base’
liburing-2.9/test/fixed-buf-iter.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-buf-iter.c:33:18: branch_false: ...to here
liburing-2.9/test/fixed-buf-iter.c:34:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-buf-iter.c:34:12: branch_false: ...to here
liburing-2.9/test/fixed-buf-iter.c:39:21: branch_true: following ‘true’ branch (when ‘i == 0’)...
liburing-2.9/test/fixed-buf-iter.c:40:35: branch_true: ...to here
liburing-2.9/test/fixed-buf-iter.c:40:35: acquire_memory: allocated here
liburing-2.9/test/fixed-buf-iter.c:39:21: branch_false: following ‘false’ branch (when ‘i != 0’)...
liburing-2.9/test/fixed-buf-iter.c:45:15: branch_false: ...to here
liburing-2.9/test/fixed-buf-iter.c:45:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/fixed-buf-iter.c:45:15: danger: ‘iov[0].iov_base’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
liburing-2.9/test/fixed-link.c:30:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
liburing-2.9/test/fixed-link.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fixed-link.c:24:14: branch_false: ...to here
liburing-2.9/test/fixed-link.c:24:14: acquire_resource: opened here
liburing-2.9/test/fixed-link.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:13: branch_false: ...to here
liburing-2.9/test/fixed-link.c:30:13: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/fixed-link.c:30:13: danger: ‘open("/dev/zero", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
liburing-2.9/test/fixed-link.c:31:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
liburing-2.9/test/fixed-link.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fixed-link.c:24:14: branch_false: ...to here
liburing-2.9/test/fixed-link.c:24:14: acquire_resource: opened here
liburing-2.9/test/fixed-link.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:13: branch_false: ...to here
liburing-2.9/test/fixed-link.c:30:12: branch_true: following ‘true’ branch...
liburing-2.9/test/fixed-link.c:31:17: branch_true: ...to here
liburing-2.9/test/fixed-link.c:31:17: danger: ‘open("/dev/zero", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
liburing-2.9/test/fixed-link.c:37:38: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
liburing-2.9/test/fixed-link.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fixed-link.c:24:14: branch_false: ...to here
liburing-2.9/test/fixed-link.c:24:14: acquire_resource: opened here
liburing-2.9/test/fixed-link.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:13: branch_false: ...to here
liburing-2.9/test/fixed-link.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:12: branch_false: ...to here
liburing-2.9/test/fixed-link.c:36:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/test/fixed-link.c:37:38: branch_true: ...to here
liburing-2.9/test/fixed-link.c:37:38: throw: if ‘t_malloc’ throws an exception...
liburing-2.9/test/fixed-link.c:37:38: danger: ‘open("/dev/zero", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
liburing-2.9/test/fixed-link.c:41:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
liburing-2.9/test/fixed-link.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fixed-link.c:24:14: branch_false: ...to here
liburing-2.9/test/fixed-link.c:24:14: acquire_resource: opened here
liburing-2.9/test/fixed-link.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:13: branch_false: ...to here
liburing-2.9/test/fixed-link.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:12: branch_false: ...to here
liburing-2.9/test/fixed-link.c:36:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/test/fixed-link.c:37:38: branch_true: ...to here
liburing-2.9/test/fixed-link.c:41:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/fixed-link.c:41:15: danger: ‘open("/dev/zero", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def205]
liburing-2.9/test/fixed-link.c:42:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
liburing-2.9/test/fixed-link.c:21:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fixed-link.c:24:14: branch_false: ...to here
liburing-2.9/test/fixed-link.c:24:14: acquire_resource: opened here
liburing-2.9/test/fixed-link.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:13: branch_false: ...to here
liburing-2.9/test/fixed-link.c:30:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fixed-link.c:30:12: branch_false: ...to here
liburing-2.9/test/fixed-link.c:36:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/test/fixed-link.c:37:38: branch_true: ...to here
liburing-2.9/test/fixed-link.c:42:12: danger: ‘open("/dev/zero", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def206]
liburing-2.9/test/futex.c:182: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: futex
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
liburing-2.9/test/futex.c:182:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘futex’
liburing-2.9/test/futex.c:178:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:181:17: branch_false: ...to here
liburing-2.9/test/futex.c:181:17: acquire_memory: this call could return NULL
liburing-2.9/test/futex.c:182:9: danger: ‘futex’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def208]
liburing-2.9/test/futex.c:271: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: futex
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
liburing-2.9/test/futex.c:271:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘futex’
liburing-2.9/test/futex.c:267:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:270:17: branch_false: ...to here
liburing-2.9/test/futex.c:270:17: acquire_memory: this call could return NULL
liburing-2.9/test/futex.c:271:9: danger: ‘futex’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def210]
liburing-2.9/test/futex.c:354: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: futex
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
liburing-2.9/test/futex.c:354:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘futex’
liburing-2.9/test/futex.c:350:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:353:17: branch_false: ...to here
liburing-2.9/test/futex.c:353:17: acquire_memory: this call could return NULL
liburing-2.9/test/futex.c:354:9: danger: ‘futex’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
liburing-2.9/test/futex.c:357:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/futex.c:341:12: enter_function: entry to ‘test_wake_zero’
liburing-2.9/test/futex.c:350:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:353:17: branch_false: ...to here
liburing-2.9/test/futex.c:356:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:356:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:357:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
liburing-2.9/test/futex.c:364:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/futex.c:341:12: enter_function: entry to ‘test_wake_zero’
liburing-2.9/test/futex.c:350:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:353:17: branch_false: ...to here
liburing-2.9/test/futex.c:356:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:356:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:363:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:363:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_wake_zero’
liburing-2.9/test/futex.c:364:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: CPPCHECK_WARNING (CWE-476): [#def214]
liburing-2.9/test/futex.c:412: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: futex
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
liburing-2.9/test/futex.c:412:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘futex’
liburing-2.9/test/futex.c:408:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:411:17: branch_false: ...to here
liburing-2.9/test/futex.c:411:17: acquire_memory: this call could return NULL
liburing-2.9/test/futex.c:412:9: danger: ‘futex’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
liburing-2.9/test/futex.c:415:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/futex.c:398:12: enter_function: entry to ‘test_invalid’
liburing-2.9/test/futex.c:408:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:411:17: branch_false: ...to here
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:415:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
liburing-2.9/test/futex.c:433:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/futex.c:398:12: enter_function: entry to ‘test_invalid’
liburing-2.9/test/futex.c:408:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:411:17: branch_false: ...to here
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:421:15: call_function: calling ‘io_uring_wait_cqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:421:15: return_function: returning to ‘test_invalid’ from ‘io_uring_wait_cqe’
liburing-2.9/test/futex.c:426:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:430:9: call_function: inlined call to ‘io_uring_cqe_seen’ from ‘test_invalid’
liburing-2.9/test/futex.c:432:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:432:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:433:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
liburing-2.9/test/futex.c:456:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/futex.c:398:12: enter_function: entry to ‘test_invalid’
liburing-2.9/test/futex.c:408:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:411:17: branch_false: ...to here
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:414:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:421:15: call_function: calling ‘io_uring_wait_cqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:421:15: return_function: returning to ‘test_invalid’ from ‘io_uring_wait_cqe’
liburing-2.9/test/futex.c:426:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:430:9: call_function: inlined call to ‘io_uring_cqe_seen’ from ‘test_invalid’
liburing-2.9/test/futex.c:432:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:432:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:439:15: call_function: calling ‘io_uring_wait_cqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:439:15: return_function: returning to ‘test_invalid’ from ‘io_uring_wait_cqe’
liburing-2.9/test/futex.c:444:12: branch_false: following ‘false’ branch...
liburing-2.9/test/futex.c:448:9: call_function: inlined call to ‘io_uring_cqe_seen’ from ‘test_invalid’
liburing-2.9/test/futex.c:455:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:455:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’
liburing-2.9/test/futex.c:456:9: danger: dereference of NULL ‘_io_uring_get_sqe(&ring)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
liburing-2.9/test/helpers.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘t_malloc(size)’
liburing-2.9/test/helpers.c:77:13: enter_function: entry to ‘__t_create_file’
liburing-2.9/test/helpers.c:83:15: call_function: calling ‘t_malloc’ from ‘__t_create_file’
liburing-2.9/test/helpers.c:83:15: return_function: returning to ‘__t_create_file’ from ‘t_malloc’
liburing-2.9/test/helpers.c:86:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/helpers.c:84:9: danger: ‘t_malloc(size)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
liburing-2.9/test/helpers.c:186:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.9/test/helpers.c:183:17: acquire_resource: socket created here
liburing-2.9/test/helpers.c:184:12: branch_false: following ‘false’ branch...
liburing-2.9/test/helpers.c:186:17: branch_false: ...to here
liburing-2.9/test/helpers.c:186:17: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
liburing-2.9/test/helpers.c:210:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*fd’
liburing-2.9/test/helpers.c:184:12: branch_false: following ‘false’ branch...
liburing-2.9/test/helpers.c:186:17: branch_false: ...to here
liburing-2.9/test/helpers.c:187:12: branch_false: following ‘false’ branch...
liburing-2.9/test/helpers.c:193:9: branch_false: ...to here
liburing-2.9/test/helpers.c:194:12: branch_false: following ‘false’ branch...
liburing-2.9/test/helpers.c:197:9: branch_false: ...to here
liburing-2.9/test/helpers.c:205:12: branch_false: following ‘false’ branch...
liburing-2.9/test/helpers.c:210:12: branch_false: ...to here
liburing-2.9/test/helpers.c:210:12: branch_true: following ‘true’ branch (when ‘stream != 0’)...
liburing-2.9/test/helpers.c:210:23: branch_true: ...to here
liburing-2.9/test/helpers.c:210:23: danger: ‘*fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def222]
liburing-2.9/test/io-cancel.c:146:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 16386)’
liburing-2.9/test/io-cancel.c:138:14: acquire_resource: opened here
liburing-2.9/test/io-cancel.c:139:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:146:15: branch_false: ...to here
liburing-2.9/test/io-cancel.c:146:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/io-cancel.c:146:15: danger: ‘open(file, 16386)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def223]
liburing-2.9/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/io-cancel.c:182:12: enter_function: entry to ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:192:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:196:15: branch_false: ...to here
liburing-2.9/test/io-cancel.c:197:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:201:13: branch_false: ...to here
liburing-2.9/test/io-cancel.c:201:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:206:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:206:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:207:12: branch_true: following ‘true’ branch...
liburing-2.9/test/io-cancel.c:208:17: branch_true: ...to here
liburing-2.9/test/io-cancel.c:194:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def224]
liburing-2.9/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/io-cancel.c:182:12: enter_function: entry to ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:192:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:196:15: branch_false: ...to here
liburing-2.9/test/io-cancel.c:197:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:201:13: branch_false: ...to here
liburing-2.9/test/io-cancel.c:201:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:206:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:206:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’
liburing-2.9/test/io-cancel.c:207:12: branch_true: following ‘true’ branch...
liburing-2.9/test/io-cancel.c:208:17: branch_true: ...to here
liburing-2.9/test/io-cancel.c:194:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
liburing-2.9/test/io-cancel.c:274:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/io-cancel.c:262:12: enter_function: entry to ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:272:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:276:13: branch_false: ...to here
liburing-2.9/test/io-cancel.c:276:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:280:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:280:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:281:12: branch_true: following ‘true’ branch...
liburing-2.9/test/io-cancel.c:282:17: branch_true: ...to here
liburing-2.9/test/io-cancel.c:274:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
liburing-2.9/test/io-cancel.c:274:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/io-cancel.c:262:12: enter_function: entry to ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:272:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:276:13: branch_false: ...to here
liburing-2.9/test/io-cancel.c:276:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io-cancel.c:280:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:280:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_cancel_req_across_fork’
liburing-2.9/test/io-cancel.c:281:12: branch_true: following ‘true’ branch...
liburing-2.9/test/io-cancel.c:282:17: branch_true: ...to here
liburing-2.9/test/io-cancel.c:274:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
liburing-2.9/test/io_uring_passthrough.c:105:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/io_uring_passthrough.c:96:14: acquire_resource: opened here
liburing-2.9/test/io_uring_passthrough.c:97:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_passthrough.c:104:12: branch_false: ...to here
liburing-2.9/test/io_uring_passthrough.c:104:12: branch_true: following ‘true’ branch (when ‘sqthread != 0’)...
liburing-2.9/test/io_uring_passthrough.c:105:23: branch_true: ...to here
liburing-2.9/test/io_uring_passthrough.c:105:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/io_uring_passthrough.c:105:23: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
liburing-2.9/test/io_uring_passthrough.c:252:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/io_uring_passthrough.c:256:12: enter_function: entry to ‘test_io’
liburing-2.9/test/io_uring_passthrough.c:272:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/io_uring_passthrough.c:274:12: branch_false: ...to here
liburing-2.9/test/io_uring_passthrough.c:274:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/io_uring_passthrough.c:283:15: branch_false: ...to here
liburing-2.9/test/io_uring_passthrough.c:283:15: call_function: calling ‘__test_io’ from ‘test_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
liburing-2.9/test/io_uring_register.c:40:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iovs’
liburing-2.9/test/io_uring_register.c:277:12: enter_function: entry to ‘test_iovec_nr’
liburing-2.9/test/io_uring_register.c:284:16: acquire_memory: allocated here
liburing-2.9/test/io_uring_register.c:285:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
liburing-2.9/test/io_uring_register.c:289:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:291:21: branch_true: following ‘true’ branch (when ‘i != 1000000’)...
liburing-2.9/test/io_uring_register.c:292:21: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:296:19: call_function: calling ‘expect_fail’ from ‘test_iovec_nr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
liburing-2.9/test/io_uring_register.c:46:32: warning[-Wanalyzer-malloc-leak]: leak of ‘iovs’
liburing-2.9/test/io_uring_register.c:277:12: enter_function: entry to ‘test_iovec_nr’
liburing-2.9/test/io_uring_register.c:284:16: acquire_memory: allocated here
liburing-2.9/test/io_uring_register.c:285:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
liburing-2.9/test/io_uring_register.c:289:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:291:21: branch_true: following ‘true’ branch (when ‘i != 1000000’)...
liburing-2.9/test/io_uring_register.c:292:21: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:296:19: call_function: calling ‘expect_fail’ from ‘test_iovec_nr’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def231]
liburing-2.9/test/io_uring_register.c:178:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
liburing-2.9/test/io_uring_register.c:152:12: branch_false: following ‘false’ branch (when ‘fd_as != 18446744073709551615’)...
liburing-2.9/test/io_uring_register.c:159:22: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:160:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_register.c:164:9: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:166:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/io_uring_register.c:171:17: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:171:17: acquire_resource: opened here
liburing-2.9/test/io_uring_register.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_register.c:176:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:178:12: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
liburing-2.9/test/io_uring_register.c:186:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
liburing-2.9/test/io_uring_register.c:152:12: branch_false: following ‘false’ branch (when ‘fd_as != 18446744073709551615’)...
liburing-2.9/test/io_uring_register.c:159:22: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:160:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_register.c:164:9: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:166:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/io_uring_register.c:171:17: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:171:17: acquire_resource: opened here
liburing-2.9/test/io_uring_register.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_register.c:176:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:178:12: branch_false: following ‘false’ branch (when ‘fds != 18446744073709551615’)...
liburing-2.9/test/io_uring_register.c:178:12: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:185:21: branch_true: following ‘true’ branch (when ‘i != 33554432’)...
liburing-2.9/test/io_uring_register.c:186:20: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:185:21: branch_false: following ‘false’ branch (when ‘i == 33554432’)...
liburing-2.9/test/io_uring_register.c:185:21: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:190:21: branch_true: following ‘true’ branch (when ‘i != 127’)...
liburing-2.9/test/io_uring_register.c:191:17: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:186:20: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
liburing-2.9/test/io_uring_register.c:289:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iovs’
liburing-2.9/test/io_uring_register.c:284:16: acquire_memory: allocated here
liburing-2.9/test/io_uring_register.c:285:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
liburing-2.9/test/io_uring_register.c:289:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:289:15: throw: if ‘t_malloc’ throws an exception...
liburing-2.9/test/io_uring_register.c:289:15: danger: ‘iovs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
liburing-2.9/test/io_uring_register.c:300:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iovs’
liburing-2.9/test/io_uring_register.c:284:16: acquire_memory: allocated here
liburing-2.9/test/io_uring_register.c:285:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
liburing-2.9/test/io_uring_register.c:289:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:291:21: branch_true: following ‘true’ branch (when ‘i != 1000000’)...
liburing-2.9/test/io_uring_register.c:292:21: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:300:15: throw: if ‘io_uring_register’ throws an exception...
liburing-2.9/test/io_uring_register.c:300:15: danger: ‘iovs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
liburing-2.9/test/io_uring_register.c:307:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iovs’
liburing-2.9/test/io_uring_register.c:284:16: acquire_memory: allocated here
liburing-2.9/test/io_uring_register.c:285:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
liburing-2.9/test/io_uring_register.c:289:15: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:291:21: branch_true: following ‘true’ branch (when ‘i != 1000000’)...
liburing-2.9/test/io_uring_register.c:292:21: branch_true: ...to here
liburing-2.9/test/io_uring_register.c:303:19: branch_false: following ‘false’ branch...
liburing-2.9/test/io_uring_register.c:307:17: branch_false: ...to here
liburing-2.9/test/io_uring_register.c:307:17: throw: if ‘io_uring_register’ throws an exception...
liburing-2.9/test/io_uring_register.c:307:17: danger: ‘iovs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def236]
liburing-2.9/test/io_uring_register.c:410:9: warning[-Wstringop-overflow=]: ‘memset’ writing 63 bytes into a region of size 0 overflows the destination
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
liburing-2.9/test/io_uring_register.c:411:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/test/io_uring_register.c:403:12: enter_function: entry to ‘ioring_poll’
liburing-2.9/test/io_uring_register.c:409:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’
liburing-2.9/test/io_uring_register.c:409:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’
liburing-2.9/test/io_uring_register.c:411:9: danger: dereference of NULL ‘_io_uring_get_sqe(ring)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
liburing-2.9/test/iopoll-leak.c:35:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/iopoll-leak.c:27:14: acquire_resource: opened here
liburing-2.9/test/iopoll-leak.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/iopoll-leak.c:35:15: branch_false: ...to here
liburing-2.9/test/iopoll-leak.c:35:15: throw: if ‘t_create_buffers’ throws an exception...
liburing-2.9/test/iopoll-leak.c:35:15: danger: ‘open(fname, 16384)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
liburing-2.9/test/iopoll-leak.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/iopoll-leak.c:27:14: acquire_resource: opened here
liburing-2.9/test/iopoll-leak.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/iopoll-leak.c:35:15: branch_false: ...to here
liburing-2.9/test/iopoll-leak.c:37:9: throw: if ‘t_create_ring’ throws an exception...
liburing-2.9/test/iopoll-leak.c:37:9: danger: ‘open(fname, 16384)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
liburing-2.9/test/iopoll-overflow.c:107:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/iopoll-overflow.c:79:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/iopoll-overflow.c:81:12: branch_false: ...to here
liburing-2.9/test/iopoll-overflow.c:81:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/iopoll-overflow.c:86:12: branch_false: ...to here
liburing-2.9/test/iopoll-overflow.c:96:14: acquire_resource: opened here
liburing-2.9/test/iopoll-overflow.c:97:12: branch_false: following ‘false’ branch...
liburing-2.9/test/iopoll-overflow.c:107:16: branch_false: ...to here
liburing-2.9/test/iopoll-overflow.c:107:16: throw: if ‘t_create_buffers’ throws an exception...
liburing-2.9/test/iopoll-overflow.c:107:16: danger: ‘open(fname, 16384)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
liburing-2.9/test/iopoll.c:97:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/iopoll.c:354:12: enter_function: entry to ‘test_io’
liburing-2.9/test/iopoll.c:360:12: branch_false: following ‘false’ branch...
liburing-2.9/test/iopoll.c:363:12: branch_false: ...to here
liburing-2.9/test/iopoll.c:371:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/iopoll.c:374:12: branch_false: ...to here
liburing-2.9/test/iopoll.c:374:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/iopoll.c:382:15: branch_false: ...to here
liburing-2.9/test/iopoll.c:382:15: call_function: calling ‘__test_io’ from ‘test_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
liburing-2.9/test/iopoll.c:203:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/iopoll.c:354:12: enter_function: entry to ‘test_io’
liburing-2.9/test/iopoll.c:360:12: branch_false: following ‘false’ branch...
liburing-2.9/test/iopoll.c:363:12: branch_false: ...to here
liburing-2.9/test/iopoll.c:371:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/iopoll.c:374:12: branch_false: ...to here
liburing-2.9/test/iopoll.c:374:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/iopoll.c:382:15: branch_false: ...to here
liburing-2.9/test/iopoll.c:382:15: call_function: calling ‘__test_io’ from ‘test_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
liburing-2.9/test/lfs-openat-write.c:109:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 65536)’
liburing-2.9/test/lfs-openat-write.c:102:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat-write.c:105:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:105:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat-write.c:106:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat-write.c:109:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:109:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/lfs-openat-write.c:109:15: danger: ‘open("/tmp", 65536)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
liburing-2.9/test/lfs-openat-write.c:110:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 65536)’
liburing-2.9/test/lfs-openat-write.c:102:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat-write.c:105:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:105:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat-write.c:106:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat-write.c:109:15: branch_false: ...to here
liburing-2.9/test/lfs-openat-write.c:110:12: danger: ‘open("/tmp", 65536)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
liburing-2.9/test/lfs-openat.c:64:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 2097152)’
liburing-2.9/test/lfs-openat.c:213:5: enter_function: entry to ‘main’
liburing-2.9/test/lfs-openat.c:219:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat.c:222:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:222:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat.c:223:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:226:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:227:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:230:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:230:13: call_function: calling ‘prepare_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
liburing-2.9/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/lfs-openat.c:78:12: enter_function: entry to ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:88:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:91:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:97:12: branch_true: following ‘true’ branch...
liburing-2.9/test/lfs-openat.c:98:17: branch_true: ...to here
liburing-2.9/test/lfs-openat.c:93:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
liburing-2.9/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/lfs-openat.c:78:12: enter_function: entry to ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:88:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:91:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:97:12: branch_true: following ‘true’ branch...
liburing-2.9/test/lfs-openat.c:98:17: branch_true: ...to here
liburing-2.9/test/lfs-openat.c:93:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
liburing-2.9/test/lfs-openat.c:126:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/lfs-openat.c:78:12: enter_function: entry to ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:88:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:91:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:96:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:97:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:101:9: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:106:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:106:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:107:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:111:9: call_function: inlined call to ‘io_uring_prep_openat’ from ‘test_linked_files’
liburing-2.9/test/lfs-openat.c:114:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:119:14: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:119:14: acquire_resource: opened here
liburing-2.9/test/lfs-openat.c:120:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/lfs-openat.c:126:9: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:126:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/lfs-openat.c:126:9: danger: ‘fd’ leaks here; was opened at [(29)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
liburing-2.9/test/lfs-openat.c:146:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/lfs-openat.c:132:12: enter_function: entry to ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:141:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:144:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:144:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:150:12: branch_true: following ‘true’ branch...
liburing-2.9/test/lfs-openat.c:151:17: branch_true: ...to here
liburing-2.9/test/lfs-openat.c:146:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
liburing-2.9/test/lfs-openat.c:146:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/lfs-openat.c:132:12: enter_function: entry to ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:141:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:144:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:144:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:150:12: branch_true: following ‘true’ branch...
liburing-2.9/test/lfs-openat.c:151:17: branch_true: ...to here
liburing-2.9/test/lfs-openat.c:146:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
liburing-2.9/test/lfs-openat.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/lfs-openat.c:132:12: enter_function: entry to ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:141:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:144:13: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:144:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:149:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:150:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:154:9: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:181:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:181:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:182:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:186:9: call_function: inlined call to ‘io_uring_prep_openat’ from ‘test_drained_files’
liburing-2.9/test/lfs-openat.c:193:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:198:14: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:198:14: acquire_resource: opened here
liburing-2.9/test/lfs-openat.c:199:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/lfs-openat.c:208:9: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:208:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/lfs-openat.c:208:9: danger: ‘fd’ leaks here; was opened at [(29)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
liburing-2.9/test/lfs-openat.c:226:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 2097152)’
liburing-2.9/test/lfs-openat.c:219:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat.c:222:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:222:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat.c:223:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:226:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:226:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/lfs-openat.c:226:15: danger: ‘open("/tmp", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
liburing-2.9/test/lfs-openat.c:227:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 2097152)’
liburing-2.9/test/lfs-openat.c:219:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/lfs-openat.c:222:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:222:15: acquire_resource: opened here
liburing-2.9/test/lfs-openat.c:223:12: branch_false: following ‘false’ branch...
liburing-2.9/test/lfs-openat.c:226:15: branch_false: ...to here
liburing-2.9/test/lfs-openat.c:227:12: danger: ‘open("/tmp", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
liburing-2.9/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/link-timeout.c:1143:5: enter_function: entry to ‘main’
liburing-2.9/test/link-timeout.c:1148:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/link-timeout.c:1151:15: branch_false: ...to here
liburing-2.9/test/link-timeout.c:1152:12: branch_false: following ‘false’ branch...
liburing-2.9/test/link-timeout.c:1157:15: branch_false: ...to here
liburing-2.9/test/link-timeout.c:1157:15: call_function: calling ‘test_timeout_link_chain1’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
liburing-2.9/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/link-timeout.c:1143:5: enter_function: entry to ‘main’
liburing-2.9/test/link-timeout.c:1148:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/link-timeout.c:1151:15: branch_false: ...to here
liburing-2.9/test/link-timeout.c:1152:12: branch_false: following ‘false’ branch...
liburing-2.9/test/link-timeout.c:1157:15: branch_false: ...to here
liburing-2.9/test/link-timeout.c:1157:15: call_function: calling ‘test_timeout_link_chain1’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def256]
liburing-2.9/test/linked-defer-close.c:54:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/linked-defer-close.c:48:18: acquire_resource: stream socket created here
liburing-2.9/test/linked-defer-close.c:49:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/linked-defer-close.c:54:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:54:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/linked-defer-close.c:54:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
liburing-2.9/test/linked-defer-close.c:125:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/linked-defer-close.c:98:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/linked-defer-close.c:101:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:106:18: acquire_resource: stream socket created here
liburing-2.9/test/linked-defer-close.c:107:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/linked-defer-close.c:112:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:117:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:123:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:124:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
liburing-2.9/test/linked-defer-close.c:125:17: branch_true: ...to here
liburing-2.9/test/linked-defer-close.c:125:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/linked-defer-close.c:125:17: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
liburing-2.9/test/linked-defer-close.c:126:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/linked-defer-close.c:98:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/linked-defer-close.c:101:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:106:18: acquire_resource: stream socket created here
liburing-2.9/test/linked-defer-close.c:107:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/linked-defer-close.c:112:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:117:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:123:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:124:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
liburing-2.9/test/linked-defer-close.c:125:17: branch_true: ...to here
liburing-2.9/test/linked-defer-close.c:126:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/linked-defer-close.c:126:17: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
liburing-2.9/test/linked-defer-close.c:130:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/linked-defer-close.c:98:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/linked-defer-close.c:101:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:106:18: acquire_resource: stream socket created here
liburing-2.9/test/linked-defer-close.c:107:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/linked-defer-close.c:112:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:117:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:123:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:124:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:130:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:130:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/linked-defer-close.c:130:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
liburing-2.9/test/linked-defer-close.c:133:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/linked-defer-close.c:98:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/linked-defer-close.c:101:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:106:18: acquire_resource: stream socket created here
liburing-2.9/test/linked-defer-close.c:107:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/linked-defer-close.c:112:9: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:117:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:123:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:124:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/linked-defer-close.c:130:15: branch_false: ...to here
liburing-2.9/test/linked-defer-close.c:132:12: branch_true: following ‘true’ branch...
liburing-2.9/test/linked-defer-close.c:133:17: branch_true: ...to here
liburing-2.9/test/linked-defer-close.c:133:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/linked-defer-close.c:133:17: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def261]
liburing-2.9/test/madvise.c:85:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
liburing-2.9/test/madvise.c:77:14: acquire_resource: opened here
liburing-2.9/test/madvise.c:78:12: branch_false: following ‘false’ branch...
liburing-2.9/test/madvise.c:85:15: branch_false: ...to here
liburing-2.9/test/madvise.c:85:15: throw: if ‘t_malloc’ throws an exception...
liburing-2.9/test/madvise.c:85:15: danger: ‘open(filename, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[0][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[0][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[1][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[1][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[2][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
liburing-2.9/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:83:24: danger: ‘fds[2][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fd[0]’
liburing-2.9/test/min-timeout.c:149:5: enter_function: entry to ‘main’
liburing-2.9/test/min-timeout.c:153:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/min-timeout.c:156:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:156:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fd[1]’
liburing-2.9/test/min-timeout.c:149:5: enter_function: entry to ‘main’
liburing-2.9/test/min-timeout.c:153:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/min-timeout.c:156:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:156:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fd[2]’
liburing-2.9/test/min-timeout.c:149:5: enter_function: entry to ‘main’
liburing-2.9/test/min-timeout.c:153:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/min-timeout.c:156:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:156:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[0][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[0][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[1][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[1][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][0]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[2][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:12: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[2][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
liburing-2.9/test/msg-ring-fd.c:168:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/msg-ring-fd.c:272:12: enter_function: entry to ‘test’
liburing-2.9/test/msg-ring-fd.c:278:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:284:15: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:285:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:290:15: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:290:15: call_function: calling ‘test_local’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
liburing-2.9/test/msg-ring-fd.c:185:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/msg-ring-fd.c:167:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:170:9: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:179:13: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:179:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:184:14: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:185:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/msg-ring-fd.c:185:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
liburing-2.9/test/msg-ring-fd.c:185:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/msg-ring-fd.c:167:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:170:9: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:179:13: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:179:12: branch_false: following ‘false’ branch...
liburing-2.9/test/msg-ring-fd.c:184:14: branch_false: ...to here
liburing-2.9/test/msg-ring-fd.c:185:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/msg-ring-fd.c:185:15: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[0][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[0][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[1][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[1][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[2][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[2][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
liburing-2.9/test/multicqes_drain.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[2][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:197:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:197:25: danger: ‘pipes[2][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[0][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[0][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[1][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def289]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[1][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[2][0]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[2][0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def291]
liburing-2.9/test/multicqes_drain.c:198:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[2][1]’
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:195:36: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:195:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/multicqes_drain.c:196:26: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:196:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:197:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:198:32: danger: ‘pipes[2][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
liburing-2.9/test/multicqes_drain.c:287:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:287:17: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:287:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:287:17: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
liburing-2.9/test/multicqes_drain.c:287:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:287:17: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:287:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/multicqes_drain.c:287:17: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
liburing-2.9/test/multicqes_drain.c:287:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[i]’
liburing-2.9/test/multicqes_drain.c:370:12: enter_function: entry to ‘test’
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:386:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
liburing-2.9/test/multicqes_drain.c:387:23: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:387:23: call_function: calling ‘test_simple_drain’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def295]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:287:17: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:288:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:287:17: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:288:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def297]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[i]’
liburing-2.9/test/multicqes_drain.c:370:12: enter_function: entry to ‘test’
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:386:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
liburing-2.9/test/multicqes_drain.c:387:23: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:387:23: call_function: calling ‘test_simple_drain’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[0]’
liburing-2.9/test/multicqes_drain.c:279:12: enter_function: entry to ‘test_simple_drain’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:13: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:291:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/test/multicqes_drain.c:292:26: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’
liburing-2.9/test/multicqes_drain.c:293:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:294:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:288:24: danger: ‘pipe2[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[1]’
liburing-2.9/test/multicqes_drain.c:279:12: enter_function: entry to ‘test_simple_drain’
liburing-2.9/test/multicqes_drain.c:286:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:33: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:286:13: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:286:13: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:291:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
liburing-2.9/test/multicqes_drain.c:292:26: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’
liburing-2.9/test/multicqes_drain.c:293:20: branch_true: following ‘true’ branch...
liburing-2.9/test/multicqes_drain.c:294:25: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:288:24: danger: ‘pipe2[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
liburing-2.9/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[i]’
liburing-2.9/test/multicqes_drain.c:370:12: enter_function: entry to ‘test’
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: following ‘false’ branch...
liburing-2.9/test/multicqes_drain.c:381:12: branch_false: ...to here
liburing-2.9/test/multicqes_drain.c:386:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
liburing-2.9/test/multicqes_drain.c:387:23: branch_true: ...to here
liburing-2.9/test/multicqes_drain.c:387:23: call_function: calling ‘test_simple_drain’ from ‘test’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
liburing-2.9/test/napi-test.c:69:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/napi-test.c:53:12: branch_false: following ‘false’ branch...
liburing-2.9/test/napi-test.c:55:9: branch_false: ...to here
liburing-2.9/test/napi-test.c:61:9: branch_true: following ‘true’ branch (when ‘ret == 1’)...
liburing-2.9/test/napi-test.c:63:14: branch_true: ...to here
liburing-2.9/test/napi-test.c:63:14: acquire_resource: stream socket created here
liburing-2.9/test/napi-test.c:64:9: branch_true: following ‘true’ branch (when ‘fd >= 0’)...
liburing-2.9/test/napi-test.c:64:9: branch_true: ...to here
liburing-2.9/test/napi-test.c:69:23: throw: if ‘connect’ throws an exception...
liburing-2.9/test/napi-test.c:69:23: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
liburing-2.9/test/napi-test.c:142:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_fd’
liburing-2.9/test/napi-test.c:102:12: enter_function: entry to ‘receiver’
liburing-2.9/test/napi-test.c:113:12: branch_false: following ‘false’ branch...
liburing-2.9/test/napi-test.c:120:9: branch_false: ...to here
liburing-2.9/test/napi-test.c:129:21: acquire_resource: stream socket created here
liburing-2.9/test/napi-test.c:130:9: branch_true: following ‘true’ branch (when ‘listen_fd >= 0’)...
liburing-2.9/test/napi-test.c:132:9: branch_true: ...to here
liburing-2.9/test/napi-test.c:132:9: call_function: calling ‘do_setsockopt’ from ‘receiver’
liburing-2.9/test/napi-test.c:132:9: return_function: returning to ‘receiver’ from ‘do_setsockopt’
liburing-2.9/test/napi-test.c:134:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/napi-test.c:139:15: branch_false: ...to here
liburing-2.9/test/napi-test.c:140:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/napi-test.c:142:14: branch_true: ...to here
liburing-2.9/test/napi-test.c:142:14: throw: if ‘accept’ throws an exception...
liburing-2.9/test/napi-test.c:142:14: danger: ‘listen_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def303]
liburing-2.9/test/ooo-file-unreg.c:47:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ooo-file-unreg.c:23:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/ooo-file-unreg.c:26:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:32:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:33:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:40:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:40:18: acquire_resource: datagram socket created here
liburing-2.9/test/ooo-file-unreg.c:41:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:45:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:46:12: branch_true: following ‘true’ branch...
liburing-2.9/test/ooo-file-unreg.c:47:17: branch_true: ...to here
liburing-2.9/test/ooo-file-unreg.c:47:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/ooo-file-unreg.c:47:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
liburing-2.9/test/ooo-file-unreg.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ooo-file-unreg.c:23:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/ooo-file-unreg.c:26:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:32:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:33:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:40:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:40:18: acquire_resource: datagram socket created here
liburing-2.9/test/ooo-file-unreg.c:41:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:45:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:51:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:51:15: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/test/ooo-file-unreg.c:51:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
liburing-2.9/test/ooo-file-unreg.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ooo-file-unreg.c:23:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/ooo-file-unreg.c:26:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:32:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:33:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:40:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:41:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:45:18: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:45:18: acquire_resource: datagram socket created here
liburing-2.9/test/ooo-file-unreg.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ooo-file-unreg.c:51:15: branch_false: ...to here
liburing-2.9/test/ooo-file-unreg.c:51:15: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/test/ooo-file-unreg.c:51:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
liburing-2.9/test/openat2.c:192:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:195:12: branch_true: following ‘true’ branch...
liburing-2.9/test/openat2.c:196:17: branch_true: ...to here
liburing-2.9/test/openat2.c:192:24: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
liburing-2.9/test/openat2.c:192:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:195:12: branch_true: following ‘true’ branch...
liburing-2.9/test/openat2.c:196:17: branch_true: ...to here
liburing-2.9/test/openat2.c:192:24: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
liburing-2.9/test/openat2.c:194:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:194:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/openat2.c:194:15: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def309]
liburing-2.9/test/openat2.c:194:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:194:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/openat2.c:194:15: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
liburing-2.9/test/openat2.c:199:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[0]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:195:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:199:15: branch_false: ...to here
liburing-2.9/test/openat2.c:199:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/openat2.c:199:15: danger: ‘pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
liburing-2.9/test/openat2.c:199:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fds[1]’
liburing-2.9/test/openat2.c:190:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:194:15: branch_false: ...to here
liburing-2.9/test/openat2.c:195:12: branch_false: following ‘false’ branch...
liburing-2.9/test/openat2.c:199:15: branch_false: ...to here
liburing-2.9/test/openat2.c:199:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/openat2.c:199:15: danger: ‘pipe_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
liburing-2.9/test/pipe-bug.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:37:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
liburing-2.9/test/pipe-bug.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:37:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
liburing-2.9/test/pipe-bug.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.9/test/pipe-bug.c:82:5: enter_function: entry to ‘main’
liburing-2.9/test/pipe-bug.c:86:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/pipe-bug.c:86:12: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:89:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/pipe-bug.c:90:21: branch_true: ...to here
liburing-2.9/test/pipe-bug.c:90:21: call_function: calling ‘pipe_bug’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def315]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:40:9: throw: if ‘t_create_ring_params’ throws an exception...
liburing-2.9/test/pipe-bug.c:40:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:40:9: throw: if ‘t_create_ring_params’ throws an exception...
liburing-2.9/test/pipe-bug.c:40:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def317]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.9/test/pipe-bug.c:82:5: enter_function: entry to ‘main’
liburing-2.9/test/pipe-bug.c:86:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/pipe-bug.c:86:12: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:89:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/pipe-bug.c:90:21: branch_true: ...to here
liburing-2.9/test/pipe-bug.c:90:21: call_function: calling ‘pipe_bug’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
liburing-2.9/test/pipe-eof.c:50:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fds[0]’
liburing-2.9/test/pipe-eof.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-eof.c:48:9: branch_false: ...to here
liburing-2.9/test/pipe-eof.c:50:9: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/pipe-eof.c:50:9: danger: ‘d.fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
liburing-2.9/test/pipe-eof.c:50:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fds[1]’
liburing-2.9/test/pipe-eof.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-eof.c:48:9: branch_false: ...to here
liburing-2.9/test/pipe-eof.c:50:9: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/pipe-eof.c:50:9: danger: ‘d.fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
liburing-2.9/test/pipe-reuse.c:41:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:41:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/pipe-reuse.c:41:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
liburing-2.9/test/pipe-reuse.c:41:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:41:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/pipe-reuse.c:41:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
liburing-2.9/test/pipe-reuse.c:56:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:46:15: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:52:9: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:56:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/pipe-reuse.c:56:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
liburing-2.9/test/pipe-reuse.c:56:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:46:15: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:52:9: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:56:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/pipe-reuse.c:56:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def324]
liburing-2.9/test/pipe-reuse.c:103:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:46:15: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:52:9: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:57:12: branch_true: following ‘true’ branch (when ‘ret != 8192’)...
liburing-2.9/test/pipe-reuse.c:58:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:103:9: throw: if ‘io_uring_queue_exit’ throws an exception...
liburing-2.9/test/pipe-reuse.c:103:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
liburing-2.9/test/pipe-reuse.c:103:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[ret]’
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:27:12: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:33:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
liburing-2.9/test/pipe-reuse.c:36:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:42:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:46:15: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:46:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-reuse.c:52:9: branch_false: ...to here
liburing-2.9/test/pipe-reuse.c:57:12: branch_true: following ‘true’ branch (when ‘ret != 8192’)...
liburing-2.9/test/pipe-reuse.c:58:17: branch_true: ...to here
liburing-2.9/test/pipe-reuse.c:103:9: throw: if ‘io_uring_queue_exit’ throws an exception...
liburing-2.9/test/pipe-reuse.c:103:9: danger: ‘fds[ret]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def326]
liburing-2.9/test/poll-cancel-all.c:357:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd2[0]’
liburing-2.9/test/poll-cancel-all.c:268:12: enter_function: entry to ‘test3’
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:279:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/poll-cancel-all.c:280:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test3’
liburing-2.9/test/poll-cancel-all.c:281:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-all.c:282:25: branch_true: ...to here
liburing-2.9/test/poll-cancel-all.c:357:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll-cancel-all.c:357:9: danger: ‘fd2[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
liburing-2.9/test/poll-cancel-all.c:357:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd2[1]’
liburing-2.9/test/poll-cancel-all.c:268:12: enter_function: entry to ‘test3’
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:279:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/poll-cancel-all.c:280:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test3’
liburing-2.9/test/poll-cancel-all.c:281:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-all.c:282:25: branch_true: ...to here
liburing-2.9/test/poll-cancel-all.c:357:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll-cancel-all.c:357:9: danger: ‘fd2[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def328]
liburing-2.9/test/poll-cancel-all.c:358:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd2[1]’
liburing-2.9/test/poll-cancel-all.c:268:12: enter_function: entry to ‘test3’
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-all.c:274:12: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:279:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/poll-cancel-all.c:280:23: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test3’
liburing-2.9/test/poll-cancel-all.c:281:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-all.c:282:25: branch_true: ...to here
liburing-2.9/test/poll-cancel-all.c:358:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll-cancel-all.c:358:9: danger: ‘fd2[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
liburing-2.9/test/poll-cancel-all.c:457:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
liburing-2.9/test/poll-cancel-all.c:449:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-all.c:452:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:452:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-all.c:457:15: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:457:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel-all.c:457:15: danger: ‘fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def330]
liburing-2.9/test/poll-cancel-all.c:457:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
liburing-2.9/test/poll-cancel-all.c:449:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-all.c:452:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:452:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-all.c:457:15: branch_false: ...to here
liburing-2.9/test/poll-cancel-all.c:457:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel-all.c:457:15: danger: ‘fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
liburing-2.9/test/poll-cancel-ton.c:118:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-cancel-ton.c:108:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-ton.c:111:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-ton.c:116:9: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:118:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-cancel-ton.c:118:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def332]
liburing-2.9/test/poll-cancel-ton.c:118:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-cancel-ton.c:108:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-ton.c:111:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-ton.c:116:9: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:118:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-cancel-ton.c:118:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def333]
liburing-2.9/test/poll-cancel-ton.c:122:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-cancel-ton.c:108:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-ton.c:111:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-ton.c:116:9: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:119:12: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-ton.c:120:20: branch_true: ...to here
liburing-2.9/test/poll-cancel-ton.c:120:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-ton.c:121:25: branch_true: ...to here
liburing-2.9/test/poll-cancel-ton.c:122:31: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel-ton.c:122:31: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def334]
liburing-2.9/test/poll-cancel-ton.c:122:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-cancel-ton.c:108:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/poll-cancel-ton.c:111:13: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel-ton.c:116:9: branch_false: ...to here
liburing-2.9/test/poll-cancel-ton.c:119:12: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-ton.c:120:20: branch_true: ...to here
liburing-2.9/test/poll-cancel-ton.c:120:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-cancel-ton.c:121:25: branch_true: ...to here
liburing-2.9/test/poll-cancel-ton.c:122:31: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel-ton.c:122:31: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
liburing-2.9/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-cancel.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel.c:44:15: branch_false: ...to here
liburing-2.9/test/poll-cancel.c:41:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def336]
liburing-2.9/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-cancel.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel.c:44:15: branch_false: ...to here
liburing-2.9/test/poll-cancel.c:41:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
liburing-2.9/test/poll-cancel.c:44:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-cancel.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel.c:44:15: branch_false: ...to here
liburing-2.9/test/poll-cancel.c:44:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel.c:44:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def338]
liburing-2.9/test/poll-cancel.c:44:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-cancel.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-cancel.c:44:15: branch_false: ...to here
liburing-2.9/test/poll-cancel.c:44:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll-cancel.c:44:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def339]
liburing-2.9/test/poll-link.c:67:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s0’
liburing-2.9/test/poll-link.c:60:14: acquire_resource: stream socket created here
liburing-2.9/test/poll-link.c:61:9: branch_true: following ‘true’ branch (when ‘s0 != -1’)...
liburing-2.9/test/poll-link.c:63:9: branch_true: ...to here
liburing-2.9/test/poll-link.c:67:13: throw: if ‘connect’ throws an exception...
liburing-2.9/test/poll-link.c:67:13: danger: ‘s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
liburing-2.9/test/poll-mshot-overflow.c:70:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-mshot-overflow.c:53:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:58:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:70:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-mshot-overflow.c:70:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def341]
liburing-2.9/test/poll-mshot-overflow.c:70:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-mshot-overflow.c:53:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:58:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:70:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-mshot-overflow.c:70:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
liburing-2.9/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/poll-mshot-overflow.c:149:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:154:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:151:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
liburing-2.9/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/poll-mshot-overflow.c:149:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:154:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:151:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
liburing-2.9/test/poll-mshot-overflow.c:159:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/poll-mshot-overflow.c:149:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:154:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:159:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-mshot-overflow.c:159:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
liburing-2.9/test/poll-mshot-overflow.c:159:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[tmp]’
liburing-2.9/test/poll-mshot-overflow.c:149:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-overflow.c:154:32: branch_false: ...to here
liburing-2.9/test/poll-mshot-overflow.c:159:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/poll-mshot-overflow.c:159:15: danger: ‘fds[tmp]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def346]
liburing-2.9/test/poll-mshot-update.c:227:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.9/test/poll-mshot-update.c:226:21: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-mshot-update.c:227:26: branch_true: ...to here
liburing-2.9/test/poll-mshot-update.c:227:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-mshot-update.c:231:17: branch_false: ...to here
liburing-2.9/test/poll-mshot-update.c:226:21: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-mshot-update.c:227:26: branch_true: ...to here
liburing-2.9/test/poll-mshot-update.c:227:21: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def347]
liburing-2.9/test/poll-v-poll.c:100:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:100:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
liburing-2.9/test/poll-v-poll.c:110:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:110:9: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/poll-v-poll.c:110:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def349]
liburing-2.9/test/poll-v-poll.c:113:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:113:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll-v-poll.c:113:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
liburing-2.9/test/poll-v-poll.c:119:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:114:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:119:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:119:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:119:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def351]
liburing-2.9/test/poll-v-poll.c:120:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:98:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:103:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:114:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:119:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:120:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:120:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
liburing-2.9/test/poll-v-poll.c:139:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:137:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:142:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:139:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def353]
liburing-2.9/test/poll-v-poll.c:149:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:137:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:142:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:149:9: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/poll-v-poll.c:149:9: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
liburing-2.9/test/poll-v-poll.c:152:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:137:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:142:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:152:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll-v-poll.c:152:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
liburing-2.9/test/poll-v-poll.c:158:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:137:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:142:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:153:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:158:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:158:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:158:9: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
liburing-2.9/test/poll-v-poll.c:159:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:137:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:142:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:153:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:158:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:159:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:159:9: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
liburing-2.9/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll-v-poll.c:236:12: enter_function: entry to ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_false: following ‘false’ branch (when ‘iou_epoll_add != 0’)...
liburing-2.9/test/poll-v-poll.c:265:23: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:265:23: call_function: calling ‘iou_epoll_ctl’ from ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:265:23: return_function: returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’
liburing-2.9/test/poll-v-poll.c:266:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:248:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
liburing-2.9/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:248:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
liburing-2.9/test/poll-v-poll.c:261:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:260:20: branch_true: following ‘true’ branch...
liburing-2.9/test/poll-v-poll.c:261:25: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:261:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/poll-v-poll.c:261:25: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
liburing-2.9/test/poll-v-poll.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ev.data.fd’
liburing-2.9/test/poll-v-poll.c:236:12: enter_function: entry to ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_false: following ‘false’ branch (when ‘iou_epoll_add != 0’)...
liburing-2.9/test/poll-v-poll.c:265:23: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:265:23: call_function: calling ‘iou_epoll_ctl’ from ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:265:23: return_function: returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’
liburing-2.9/test/poll-v-poll.c:266:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:281:9: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/poll-v-poll.c:281:9: danger: ‘ev.data.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
liburing-2.9/test/poll-v-poll.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:260:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:281:9: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/poll-v-poll.c:281:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def362]
liburing-2.9/test/poll-v-poll.c:284:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ev.data.fd’
liburing-2.9/test/poll-v-poll.c:236:12: enter_function: entry to ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_false: following ‘false’ branch (when ‘iou_epoll_add != 0’)...
liburing-2.9/test/poll-v-poll.c:265:23: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:265:23: call_function: calling ‘iou_epoll_ctl’ from ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:265:23: return_function: returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’
liburing-2.9/test/poll-v-poll.c:266:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:284:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll-v-poll.c:284:15: danger: ‘ev.data.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def363]
liburing-2.9/test/poll-v-poll.c:284:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:260:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:284:15: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll-v-poll.c:284:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
liburing-2.9/test/poll-v-poll.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ev.data.fd’
liburing-2.9/test/poll-v-poll.c:236:12: enter_function: entry to ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_false: following ‘false’ branch (when ‘iou_epoll_add != 0’)...
liburing-2.9/test/poll-v-poll.c:265:23: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:265:23: call_function: calling ‘iou_epoll_ctl’ from ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:265:23: return_function: returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’
liburing-2.9/test/poll-v-poll.c:266:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:285:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:290:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:290:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:290:9: danger: ‘ev.data.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def365]
liburing-2.9/test/poll-v-poll.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:260:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:285:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:290:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:290:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:290:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
liburing-2.9/test/poll-v-poll.c:291:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ev.data.fd’
liburing-2.9/test/poll-v-poll.c:236:12: enter_function: entry to ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_false: following ‘false’ branch (when ‘iou_epoll_add != 0’)...
liburing-2.9/test/poll-v-poll.c:265:23: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:265:23: call_function: calling ‘iou_epoll_ctl’ from ‘do_test_epoll’
liburing-2.9/test/poll-v-poll.c:265:23: return_function: returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’
liburing-2.9/test/poll-v-poll.c:266:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:269:27: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:285:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:290:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:291:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:291:9: danger: ‘ev.data.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
liburing-2.9/test/poll-v-poll.c:291:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll-v-poll.c:246:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/poll-v-poll.c:251:13: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:251:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:256:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:259:12: branch_true: following ‘true’ branch (when ‘iou_epoll_add == 0’)...
liburing-2.9/test/poll-v-poll.c:260:21: branch_true: ...to here
liburing-2.9/test/poll-v-poll.c:260:20: branch_false: following ‘false’ branch...
liburing-2.9/test/poll-v-poll.c:274:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:285:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
liburing-2.9/test/poll-v-poll.c:290:9: branch_false: ...to here
liburing-2.9/test/poll-v-poll.c:291:9: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/poll-v-poll.c:291:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
liburing-2.9/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:45:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
liburing-2.9/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:45:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def370]
liburing-2.9/test/poll.c:50:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_true: following ‘true’ branch (when ‘p == -1’)...
liburing-2.9/test/poll.c:50:17: branch_true: ...to here
liburing-2.9/test/poll.c:50:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/poll.c:50:17: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
liburing-2.9/test/poll.c:50:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_true: following ‘true’ branch (when ‘p == -1’)...
liburing-2.9/test/poll.c:50:17: branch_true: ...to here
liburing-2.9/test/poll.c:50:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/poll.c:50:17: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def372]
liburing-2.9/test/poll.c:53:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_true: following ‘true’ branch (when ‘p == 0’)...
liburing-2.9/test/poll.c:53:23: branch_true: ...to here
liburing-2.9/test/poll.c:53:23: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll.c:53:23: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def373]
liburing-2.9/test/poll.c:53:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_true: following ‘true’ branch (when ‘p == 0’)...
liburing-2.9/test/poll.c:53:23: branch_true: ...to here
liburing-2.9/test/poll.c:53:23: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/poll.c:53:23: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def374]
liburing-2.9/test/poll.c:101:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_false: following ‘false’ branch (when ‘p != 0’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:101:23: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll.c:101:23: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def375]
liburing-2.9/test/poll.c:101:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_false: following ‘false’ branch (when ‘p != 0’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:101:23: throw: if ‘write’ throws an exception...
liburing-2.9/test/poll.c:101:23: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def376]
liburing-2.9/test/poll.c:108:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_false: following ‘false’ branch (when ‘p != 0’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:102:18: branch_false: following ‘false’ branch (when ‘ret != -1’)...
liburing-2.9/test/poll.c:104:12: branch_false: ...to here
liburing-2.9/test/poll.c:104:12: branch_false: following ‘false’ branch (when ‘ret == 3’)...
liburing-2.9/test/poll.c:108:9: branch_false: ...to here
liburing-2.9/test/poll.c:108:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll.c:108:9: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def377]
liburing-2.9/test/poll.c:108:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_false: following ‘false’ branch (when ‘p != 0’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:102:18: branch_false: following ‘false’ branch (when ‘ret != -1’)...
liburing-2.9/test/poll.c:104:12: branch_false: ...to here
liburing-2.9/test/poll.c:104:12: branch_false: following ‘false’ branch (when ‘ret == 3’)...
liburing-2.9/test/poll.c:108:9: branch_false: ...to here
liburing-2.9/test/poll.c:108:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll.c:108:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def378]
liburing-2.9/test/poll.c:109:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/poll.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/poll.c:48:13: branch_false: ...to here
liburing-2.9/test/poll.c:49:12: branch_false: following ‘false’ branch (when ‘p != -1’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:52:19: branch_false: following ‘false’ branch (when ‘p != 0’)...
liburing-2.9/test/poll.c:52:19: branch_false: ...to here
liburing-2.9/test/poll.c:102:18: branch_false: following ‘false’ branch (when ‘ret != -1’)...
liburing-2.9/test/poll.c:104:12: branch_false: ...to here
liburing-2.9/test/poll.c:104:12: branch_false: following ‘false’ branch (when ‘ret == 3’)...
liburing-2.9/test/poll.c:108:9: branch_false: ...to here
liburing-2.9/test/poll.c:109:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/poll.c:109:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def379]
liburing-2.9/test/read-inc-file.c:85:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fname, 0)’
liburing-2.9/test/read-inc-file.c:60:5: enter_function: entry to ‘main’
liburing-2.9/test/read-inc-file.c:72:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-inc-file.c:75:9: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:76:13: call_function: calling ‘create_test_file’ from ‘main’
liburing-2.9/test/read-inc-file.c:76:13: return_function: returning to ‘main’ from ‘create_test_file’
liburing-2.9/test/read-inc-file.c:76:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:79:14: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:79:14: acquire_resource: opened here
liburing-2.9/test/read-inc-file.c:80:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:85:15: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:85:15: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/read-inc-file.c:85:15: danger: ‘open(&fname, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def380]
liburing-2.9/test/read-inc-file.c:86:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fname, 0)’
liburing-2.9/test/read-inc-file.c:60:5: enter_function: entry to ‘main’
liburing-2.9/test/read-inc-file.c:72:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-inc-file.c:75:9: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:76:13: call_function: calling ‘create_test_file’ from ‘main’
liburing-2.9/test/read-inc-file.c:76:13: return_function: returning to ‘main’ from ‘create_test_file’
liburing-2.9/test/read-inc-file.c:76:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:79:14: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:79:14: acquire_resource: opened here
liburing-2.9/test/read-inc-file.c:80:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:85:15: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:86:12: danger: ‘open(&fname, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def381]
liburing-2.9/test/read-inc-file.c:91:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fname, 0)’
liburing-2.9/test/read-inc-file.c:60:5: enter_function: entry to ‘main’
liburing-2.9/test/read-inc-file.c:72:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-inc-file.c:75:9: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:76:13: call_function: calling ‘create_test_file’ from ‘main’
liburing-2.9/test/read-inc-file.c:76:13: return_function: returning to ‘main’ from ‘create_test_file’
liburing-2.9/test/read-inc-file.c:76:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:79:14: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:79:14: acquire_resource: opened here
liburing-2.9/test/read-inc-file.c:80:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:85:15: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:86:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-inc-file.c:91:13: branch_false: ...to here
liburing-2.9/test/read-inc-file.c:91:13: danger: ‘open(&fname, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def382]
liburing-2.9/test/read-mshot-empty.c:82:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot-empty.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-mshot-empty.c:77:13: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:82:15: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:82:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/read-mshot-empty.c:82:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def383]
liburing-2.9/test/read-mshot-empty.c:82:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot-empty.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-mshot-empty.c:77:13: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:82:15: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:82:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/read-mshot-empty.c:82:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
liburing-2.9/test/read-mshot-empty.c:88:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot-empty.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-mshot-empty.c:77:13: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:82:15: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:83:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:88:14: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:88:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot-empty.c:88:14: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
liburing-2.9/test/read-mshot-empty.c:88:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot-empty.c:74:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/read-mshot-empty.c:77:13: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:77:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:82:15: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:83:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot-empty.c:88:14: branch_false: ...to here
liburing-2.9/test/read-mshot-empty.c:88:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot-empty.c:88:14: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def386]
liburing-2.9/test/read-mshot.c:59:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot.c:58:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:61:9: branch_false: ...to here
liburing-2.9/test/read-mshot.c:63:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:68:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:59:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
liburing-2.9/test/read-mshot.c:59:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot.c:58:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:61:9: branch_false: ...to here
liburing-2.9/test/read-mshot.c:63:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:68:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:59:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
liburing-2.9/test/read-mshot.c:76:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot.c:58:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:61:9: branch_false: ...to here
liburing-2.9/test/read-mshot.c:63:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:68:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:73:13: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_true: ...to here
liburing-2.9/test/read-mshot.c:76:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot.c:76:14: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
liburing-2.9/test/read-mshot.c:76:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot.c:58:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:61:9: branch_false: ...to here
liburing-2.9/test/read-mshot.c:63:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:68:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:73:13: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:73:13: branch_true: ...to here
liburing-2.9/test/read-mshot.c:76:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot.c:76:14: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
liburing-2.9/test/read-mshot.c:170:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:173:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:173:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:170:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
liburing-2.9/test/read-mshot.c:170:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:173:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:173:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:170:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
liburing-2.9/test/read-mshot.c:181:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:173:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:173:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:178:13: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_true: ...to here
liburing-2.9/test/read-mshot.c:181:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot.c:181:14: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def393]
liburing-2.9/test/read-mshot.c:181:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:173:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:173:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:178:13: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:178:13: branch_true: ...to here
liburing-2.9/test/read-mshot.c:181:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/read-mshot.c:181:14: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def394]
liburing-2.9/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/read-mshot.c:284:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:289:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:296:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:309:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:309:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:314:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:314:12: branch_true: following ‘true’ branch (when ‘incremental == 0’)...
liburing-2.9/test/read-mshot.c:314:12: branch_true: ...to here
liburing-2.9/test/read-mshot.c:315:29: branch_true: following ‘true’ branch (when ‘i != 64’)...
liburing-2.9/test/read-mshot.c:316:41: branch_true: ...to here
liburing-2.9/test/read-mshot.c:316:41: branch_true: following ‘true’ branch (when ‘i <= 1’)...
liburing-2.9/test/read-mshot.c:317:34: branch_true: ...to here
liburing-2.9/test/read-mshot.c:318:28: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:286:24: branch_true: ...to here
liburing-2.9/test/read-mshot.c:286:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
liburing-2.9/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/read-mshot.c:284:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:289:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:296:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:309:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:309:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:314:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:314:12: branch_true: following ‘true’ branch (when ‘incremental == 0’)...
liburing-2.9/test/read-mshot.c:314:12: branch_true: ...to here
liburing-2.9/test/read-mshot.c:315:29: branch_true: following ‘true’ branch (when ‘i != 64’)...
liburing-2.9/test/read-mshot.c:316:41: branch_true: ...to here
liburing-2.9/test/read-mshot.c:316:41: branch_true: following ‘true’ branch (when ‘i <= 1’)...
liburing-2.9/test/read-mshot.c:317:34: branch_true: ...to here
liburing-2.9/test/read-mshot.c:318:28: branch_true: following ‘true’ branch...
liburing-2.9/test/read-mshot.c:286:24: branch_true: ...to here
liburing-2.9/test/read-mshot.c:286:24: danger: ‘fds[1]’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def396]
liburing-2.9/test/read-mshot.c:326: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: inc_index
Error: GCC_ANALYZER_WARNING (CWE-688): [#def397]
liburing-2.9/test/read-mshot.c:326:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ptr[0]’ where non-null expected
liburing-2.9/test/read-mshot.c:284:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:289:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:290:20: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:295:14: branch_false: ...to here
liburing-2.9/test/read-mshot.c:296:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:309:13: branch_false: ...to here
liburing-2.9/test/read-mshot.c:309:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-mshot.c:314:12: branch_false: ...to here
liburing-2.9/test/read-mshot.c:314:12: branch_false: following ‘false’ branch (when ‘incremental != 0’)...
liburing-2.9/test/read-mshot.c:325:38: branch_false: ...to here
liburing-2.9/test/read-mshot.c:325:38: acquire_memory: this call could return NULL
liburing-2.9/test/read-mshot.c:326:17: danger: argument 1 (‘malloc(2048)’) from [(12)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/11) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def398]
liburing-2.9/test/read-write.c:224:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/read-write.c:597:12: enter_function: entry to ‘test_buf_select’
liburing-2.9/test/read-write.c:604:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-write.c:609:13: branch_false: ...to here
liburing-2.9/test/read-write.c:610:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-write.c:610:20: call_function: inlined call to ‘io_uring_opcode_supported’ from ‘test_buf_select’
liburing-2.9/test/read-write.c:610:13: branch_false: following ‘false’ branch...
liburing-2.9/test/read-write.c:615:9: branch_false: ...to here
liburing-2.9/test/read-write.c:620:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
liburing-2.9/test/read-write.c:621:49: branch_true: ...to here
liburing-2.9/test/read-write.c:623:15: call_function: calling ‘__test_io’ from ‘test_buf_select’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
liburing-2.9/test/read-write.c:762:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 1)’
liburing-2.9/test/read-write.c:754:14: acquire_resource: opened here
liburing-2.9/test/read-write.c:755:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-write.c:762:15: branch_false: ...to here
liburing-2.9/test/read-write.c:762:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/read-write.c:762:15: danger: ‘open(file, 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
liburing-2.9/test/read-write.c:764:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 1)’
liburing-2.9/test/read-write.c:754:14: acquire_resource: opened here
liburing-2.9/test/read-write.c:755:12: branch_false: following ‘false’ branch...
liburing-2.9/test/read-write.c:762:15: branch_false: ...to here
liburing-2.9/test/read-write.c:818:12: branch_true: following ‘true’ branch...
liburing-2.9/test/read-write.c:819:17: branch_true: ...to here
liburing-2.9/test/read-write.c:764:17: danger: ‘open(file, 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
liburing-2.9/test/recv-msgall-stream.c:57:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:149:12: enter_function: entry to ‘recv_sync’
liburing-2.9/test/recv-msgall-stream.c:158:18: call_function: calling ‘get_conn_sock’ from ‘recv_sync’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def402]
liburing-2.9/test/recv-msgall-stream.c:58:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:149:12: enter_function: entry to ‘recv_sync’
liburing-2.9/test/recv-msgall-stream.c:158:18: call_function: calling ‘get_conn_sock’ from ‘recv_sync’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
liburing-2.9/test/recv-msgall-stream.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:149:12: enter_function: entry to ‘recv_sync’
liburing-2.9/test/recv-msgall-stream.c:158:18: call_function: calling ‘get_conn_sock’ from ‘recv_sync’
Error: CPPCHECK_WARNING (CWE-476): [#def404]
liburing-2.9/test/recv-msgall-stream.c:278: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
liburing-2.9/test/recv-msgall-stream.c:278:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:276:15: acquire_memory: this call could return NULL
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:278:17: danger: ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
liburing-2.9/test/recv-msgall-stream.c:282:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:276:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:281:12: branch_true: following ‘true’ branch (when ‘sockfd < 0’)...
liburing-2.9/test/recv-msgall-stream.c:282:17: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:282:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/recv-msgall-stream.c:282:17: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def407]
liburing-2.9/test/recv-msgall-stream.c:293:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:280:18: acquire_resource: socket created here
liburing-2.9/test/recv-msgall-stream.c:281:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall-stream.c:286:9: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:287:9: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:288:9: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:293:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/recv-msgall-stream.c:293:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
liburing-2.9/test/recv-msgall-stream.c:293:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:276:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:281:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall-stream.c:286:9: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:287:9: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:288:9: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:293:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/recv-msgall-stream.c:293:15: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
liburing-2.9/test/recv-msgall-stream.c:295:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:276:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:281:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall-stream.c:286:9: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:287:9: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:288:9: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:294:12: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:295:17: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:295:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/recv-msgall-stream.c:295:17: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
liburing-2.9/test/recv-msgall-stream.c:339:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall-stream.c:271:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall-stream.c:276:15: branch_false: ...to here
liburing-2.9/test/recv-msgall-stream.c:276:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:277:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall-stream.c:278:20: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:281:12: branch_true: following ‘true’ branch (when ‘sockfd < 0’)...
liburing-2.9/test/recv-msgall-stream.c:282:17: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:339:1: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def411]
liburing-2.9/test/recv-msgall.c:164: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def412]
liburing-2.9/test/recv-msgall.c:164:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
liburing-2.9/test/recv-msgall.c:157:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall.c:162:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:162:15: acquire_memory: this call could return NULL
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:164:17: danger: ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
liburing-2.9/test/recv-msgall.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall.c:157:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall.c:162:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:162:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:172:12: branch_true: following ‘true’ branch (when ‘sockfd < 0’)...
liburing-2.9/test/recv-msgall.c:173:17: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:173:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/recv-msgall.c:173:17: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def414]
liburing-2.9/test/recv-msgall.c:178:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall.c:157:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall.c:162:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:171:18: acquire_resource: datagram socket created here
liburing-2.9/test/recv-msgall.c:172:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall.c:178:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:178:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/recv-msgall.c:178:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
liburing-2.9/test/recv-msgall.c:178:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall.c:157:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall.c:162:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:162:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:172:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall.c:178:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:178:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/recv-msgall.c:178:15: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
liburing-2.9/test/recv-msgall.c:180:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/recv-msgall.c:157:12: branch_false: following ‘false’ branch...
liburing-2.9/test/recv-msgall.c:162:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:162:15: acquire_memory: allocated here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:163:21: branch_true: following ‘true’ branch (when ‘i != 128’)...
liburing-2.9/test/recv-msgall.c:164:20: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:172:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/recv-msgall.c:178:15: branch_false: ...to here
liburing-2.9/test/recv-msgall.c:179:12: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall.c:180:17: branch_true: ...to here
liburing-2.9/test/recv-msgall.c:180:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/recv-msgall.c:180:17: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
liburing-2.9/test/recvsend_bundle-inc.c:438:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recvsend_bundle-inc.c:631:12: enter_function: entry to ‘test_tcp’
liburing-2.9/test/recvsend_bundle-inc.c:635:15: call_function: calling ‘run_tests’ from ‘test_tcp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def418]
liburing-2.9/test/recvsend_bundle.c:500:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recvsend_bundle.c:618:12: enter_function: entry to ‘run_tests’
liburing-2.9/test/recvsend_bundle.c:634:15: call_function: calling ‘test’ from ‘run_tests’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
liburing-2.9/test/regbuf-clone.c:34:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/regbuf-clone.c:31:15: acquire_memory: allocated here
liburing-2.9/test/regbuf-clone.c:34:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/regbuf-clone.c:34:14: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
liburing-2.9/test/regbuf-clone.c:36:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/regbuf-clone.c:31:15: acquire_memory: allocated here
liburing-2.9/test/regbuf-clone.c:35:12: branch_true: following ‘true’ branch...
liburing-2.9/test/regbuf-clone.c:36:17: branch_true: ...to here
liburing-2.9/test/regbuf-clone.c:36:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/regbuf-clone.c:36:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def421]
liburing-2.9/test/regbuf-clone.c:37: error[memleak]: Memory leak: buf
Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
liburing-2.9/test/regbuf-clone.c:44:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fd_name, 0)’
liburing-2.9/test/regbuf-clone.c:34:14: acquire_resource: opened here
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: ...to here
liburing-2.9/test/regbuf-clone.c:44:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/regbuf-clone.c:44:25: danger: ‘open(&fd_name, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
liburing-2.9/test/regbuf-clone.c:44:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/regbuf-clone.c:31:15: acquire_memory: allocated here
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: ...to here
liburing-2.9/test/regbuf-clone.c:44:25: throw: if ‘perror’ throws an exception...
liburing-2.9/test/regbuf-clone.c:44:25: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def424]
liburing-2.9/test/regbuf-clone.c:52:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fd_name, 0)’
liburing-2.9/test/regbuf-clone.c:34:14: acquire_resource: opened here
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: ...to here
liburing-2.9/test/regbuf-clone.c:52:9: danger: ‘open(&fd_name, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
liburing-2.9/test/regbuf-clone.c:52:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/regbuf-clone.c:31:15: acquire_memory: allocated here
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/regbuf-clone.c:35:12: branch_false: ...to here
liburing-2.9/test/regbuf-clone.c:52:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/regbuf-clone.c:52:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
liburing-2.9/test/regbuf-clone.c:54:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.9/test/regbuf-clone.c:31:15: acquire_memory: allocated here
liburing-2.9/test/regbuf-clone.c:35:12: branch_true: following ‘true’ branch...
liburing-2.9/test/regbuf-clone.c:36:17: branch_true: ...to here
liburing-2.9/test/regbuf-clone.c:54:1: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def427]
liburing-2.9/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:34:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def428]
liburing-2.9/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:34:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def429]
liburing-2.9/test/register-restrictions.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:37:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:37:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def430]
liburing-2.9/test/register-restrictions.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:37:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:37:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def431]
liburing-2.9/test/register-restrictions.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:45:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:51:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:51:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def432]
liburing-2.9/test/register-restrictions.c:51:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:45:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:51:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:51:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def433]
liburing-2.9/test/register-restrictions.c:60:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:45:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:52:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:60:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:60:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:60:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def434]
liburing-2.9/test/register-restrictions.c:60:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:37:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:45:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:52:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:60:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:60:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:60:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def435]
liburing-2.9/test/register-restrictions.c:123:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:123:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def436]
liburing-2.9/test/register-restrictions.c:123:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:123:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def437]
liburing-2.9/test/register-restrictions.c:126:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:126:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:126:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def438]
liburing-2.9/test/register-restrictions.c:126:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:126:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:126:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
liburing-2.9/test/register-restrictions.c:135:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:135:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:135:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
liburing-2.9/test/register-restrictions.c:135:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:135:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:135:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
liburing-2.9/test/register-restrictions.c:144:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:144:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:144:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def442]
liburing-2.9/test/register-restrictions.c:144:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:144:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:144:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
liburing-2.9/test/register-restrictions.c:150:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:145:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:150:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:150:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/register-restrictions.c:150:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def444]
liburing-2.9/test/register-restrictions.c:150:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:145:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:150:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:150:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/register-restrictions.c:150:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
liburing-2.9/test/register-restrictions.c:156:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:145:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:150:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:151:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:156:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:156:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:156:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
liburing-2.9/test/register-restrictions.c:156:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:121:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:126:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:127:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:132:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:136:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:144:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:145:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:150:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:151:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:156:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:156:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:156:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
liburing-2.9/test/register-restrictions.c:182:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:182:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def448]
liburing-2.9/test/register-restrictions.c:182:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:182:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def449]
liburing-2.9/test/register-restrictions.c:185:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:185:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:185:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def450]
liburing-2.9/test/register-restrictions.c:185:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:185:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:185:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
liburing-2.9/test/register-restrictions.c:203:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:203:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:203:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def452]
liburing-2.9/test/register-restrictions.c:203:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:203:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:203:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def453]
liburing-2.9/test/register-restrictions.c:212:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:204:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:212:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:212:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:212:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def454]
liburing-2.9/test/register-restrictions.c:212:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:204:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:212:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:212:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:212:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def455]
liburing-2.9/test/register-restrictions.c:218:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:204:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:212:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:213:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:218:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:218:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:218:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def456]
liburing-2.9/test/register-restrictions.c:218:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:180:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:185:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:186:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:191:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:204:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:212:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:213:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:218:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:218:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:218:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def457]
liburing-2.9/test/register-restrictions.c:295:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:295:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def458]
liburing-2.9/test/register-restrictions.c:295:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:295:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def459]
liburing-2.9/test/register-restrictions.c:298:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:298:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:298:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def460]
liburing-2.9/test/register-restrictions.c:298:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:298:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:298:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def461]
liburing-2.9/test/register-restrictions.c:313:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:299:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:304:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:313:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:313:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def462]
liburing-2.9/test/register-restrictions.c:313:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:299:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:304:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:313:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:313:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def463]
liburing-2.9/test/register-restrictions.c:322:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:299:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:304:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:314:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:322:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:322:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:322:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def464]
liburing-2.9/test/register-restrictions.c:322:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:293:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:298:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:299:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:304:9: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:314:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:322:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:322:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:322:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def465]
liburing-2.9/test/register-restrictions.c:450:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:450:24: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def466]
liburing-2.9/test/register-restrictions.c:450:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:450:24: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def467]
liburing-2.9/test/register-restrictions.c:453:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:453:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:453:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def468]
liburing-2.9/test/register-restrictions.c:453:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:453:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/register-restrictions.c:453:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def469]
liburing-2.9/test/register-restrictions.c:459:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:459:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:459:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def470]
liburing-2.9/test/register-restrictions.c:459:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:459:15: throw: if ‘io_uring_register_restrictions’ throws an exception...
liburing-2.9/test/register-restrictions.c:459:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def471]
liburing-2.9/test/register-restrictions.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:468:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:468:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def472]
liburing-2.9/test/register-restrictions.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:468:15: throw: if ‘io_uring_enable_rings’ throws an exception...
liburing-2.9/test/register-restrictions.c:468:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def473]
liburing-2.9/test/register-restrictions.c:474:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:469:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:474:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:474:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/register-restrictions.c:474:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def474]
liburing-2.9/test/register-restrictions.c:474:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:469:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:474:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:474:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/register-restrictions.c:474:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def475]
liburing-2.9/test/register-restrictions.c:480:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:469:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:474:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:475:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:480:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:480:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:480:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def476]
liburing-2.9/test/register-restrictions.c:480:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/register-restrictions.c:448:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:453:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:454:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:459:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:468:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:469:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:474:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:475:12: branch_false: following ‘false’ branch...
liburing-2.9/test/register-restrictions.c:480:15: branch_false: ...to here
liburing-2.9/test/register-restrictions.c:480:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/register-restrictions.c:480:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def477]
liburing-2.9/test/ring-leak.c:73:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ring-leak.c:156:12: enter_function: entry to ‘test_scm_cycles’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:176:15: call_function: calling ‘send_fd’ from ‘test_scm_cycles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def478]
liburing-2.9/test/ring-leak.c:73:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ring-leak.c:156:12: enter_function: entry to ‘test_scm_cycles’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:176:15: call_function: calling ‘send_fd’ from ‘test_scm_cycles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def479]
liburing-2.9/test/ring-leak.c:76:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ring-leak.c:156:12: enter_function: entry to ‘test_scm_cycles’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:176:15: call_function: calling ‘send_fd’ from ‘test_scm_cycles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def480]
liburing-2.9/test/ring-leak.c:76:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ring-leak.c:156:12: enter_function: entry to ‘test_scm_cycles’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:176:15: call_function: calling ‘send_fd’ from ‘test_scm_cycles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def481]
liburing-2.9/test/ring-leak.c:99:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ring-leak.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:95:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:99:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:99:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:99:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def482]
liburing-2.9/test/ring-leak.c:99:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ring-leak.c:91:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:95:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:99:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:99:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:99:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def483]
liburing-2.9/test/ring-leak.c:153:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.9/test/ring-leak.c:149:14: acquire_resource: datagram socket created here
liburing-2.9/test/ring-leak.c:150:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
liburing-2.9/test/ring-leak.c:153:17: branch_false: ...to here
liburing-2.9/test/ring-leak.c:153:17: throw: if ‘close’ throws an exception...
liburing-2.9/test/ring-leak.c:153:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def484]
liburing-2.9/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:165:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def485]
liburing-2.9/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:165:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def486]
liburing-2.9/test/ring-leak.c:184:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:181:12: branch_true: following ‘true’ branch (when ‘update != 0’)...
liburing-2.9/test/ring-leak.c:181:12: branch_true: ...to here
liburing-2.9/test/ring-leak.c:182:29: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/test/ring-leak.c:183:25: branch_true: ...to here
liburing-2.9/test/ring-leak.c:184:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:184:23: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
liburing-2.9/test/ring-leak.c:184:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:181:12: branch_true: following ‘true’ branch (when ‘update != 0’)...
liburing-2.9/test/ring-leak.c:181:12: branch_true: ...to here
liburing-2.9/test/ring-leak.c:182:29: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/test/ring-leak.c:183:25: branch_true: ...to here
liburing-2.9/test/ring-leak.c:184:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:184:23: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def488]
liburing-2.9/test/ring-leak.c:196:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[0]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:182:29: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/test/ring-leak.c:183:25: branch_true: ...to here
liburing-2.9/test/ring-leak.c:185:20: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:191:22: branch_false: ...to here
liburing-2.9/test/ring-leak.c:195:12: branch_true: following ‘true’ branch (when ‘update != 0’)...
liburing-2.9/test/ring-leak.c:196:23: branch_true: ...to here
liburing-2.9/test/ring-leak.c:196:23: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/test/ring-leak.c:196:23: danger: ‘reg_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def489]
liburing-2.9/test/ring-leak.c:196:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[1]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:182:29: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/test/ring-leak.c:183:25: branch_true: ...to here
liburing-2.9/test/ring-leak.c:185:20: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:191:22: branch_false: ...to here
liburing-2.9/test/ring-leak.c:195:12: branch_true: following ‘true’ branch (when ‘update != 0’)...
liburing-2.9/test/ring-leak.c:196:23: branch_true: ...to here
liburing-2.9/test/ring-leak.c:196:23: throw: if ‘io_uring_register_files_update’ throws an exception...
liburing-2.9/test/ring-leak.c:196:23: danger: ‘reg_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def490]
liburing-2.9/test/ring-leak.c:202:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[0]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:195:12: branch_false: following ‘false’ branch (when ‘update == 0’)...
liburing-2.9/test/ring-leak.c:202:23: branch_false: ...to here
liburing-2.9/test/ring-leak.c:202:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:202:23: danger: ‘reg_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def491]
liburing-2.9/test/ring-leak.c:202:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[1]’
liburing-2.9/test/ring-leak.c:163:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:167:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:168:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:172:13: branch_false: ...to here
liburing-2.9/test/ring-leak.c:172:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:176:15: branch_false: ...to here
liburing-2.9/test/ring-leak.c:177:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak.c:181:12: branch_false: ...to here
liburing-2.9/test/ring-leak.c:195:12: branch_false: following ‘false’ branch (when ‘update == 0’)...
liburing-2.9/test/ring-leak.c:202:23: branch_false: ...to here
liburing-2.9/test/ring-leak.c:202:23: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/ring-leak.c:202:23: danger: ‘reg_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def492]
liburing-2.9/test/ring-leak2.c:54:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/ring-leak2.c:92:14: enter_function: entry to ‘server_thread’
liburing-2.9/test/ring-leak2.c:100:26: acquire_resource: socket created here
liburing-2.9/test/ring-leak2.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak2.c:115:13: branch_false: ...to here
liburing-2.9/test/ring-leak2.c:115:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak2.c:120:9: branch_false: ...to here
liburing-2.9/test/ring-leak2.c:120:9: call_function: calling ‘setup_io_uring’ from ‘server_thread’
Error: GCC_ANALYZER_WARNING: [#def493]
liburing-2.9/test/ring-leak2.c:115:13: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘sock_listen_fd’
liburing-2.9/test/ring-leak2.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak2.c:115:13: branch_false: ...to here
liburing-2.9/test/ring-leak2.c:115:13: danger: ‘sock_listen_fd’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def494]
liburing-2.9/test/ring-leak2.c:116:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_listen_fd’
liburing-2.9/test/ring-leak2.c:100:26: acquire_resource: socket created here
liburing-2.9/test/ring-leak2.c:111:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ring-leak2.c:115:13: branch_false: ...to here
liburing-2.9/test/ring-leak2.c:115:12: branch_true: following ‘true’ branch...
liburing-2.9/test/ring-leak2.c:116:17: branch_true: ...to here
liburing-2.9/test/ring-leak2.c:116:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/ring-leak2.c:116:17: danger: ‘sock_listen_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def495]
liburing-2.9/test/ringbuf-read.c:156:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&fname, 1)’
liburing-2.9/test/ringbuf-read.c:148:14: acquire_resource: opened here
liburing-2.9/test/ringbuf-read.c:149:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-read.c:149:12: branch_false: ...to here
liburing-2.9/test/ringbuf-read.c:155:21: branch_true: following ‘true’ branch (when ‘i != 64’)...
liburing-2.9/test/ringbuf-read.c:156:17: branch_true: ...to here
liburing-2.9/test/ringbuf-read.c:157:23: throw: if ‘write’ throws an exception...
liburing-2.9/test/ringbuf-read.c:156:17: danger: ‘open(&fname, 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def496]
liburing-2.9/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ringbuf-status.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:100:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:100:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:97:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def497]
liburing-2.9/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ringbuf-status.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:100:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:100:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:97:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def498]
liburing-2.9/test/ringbuf-status.c:108:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/ringbuf-status.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:100:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:100:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:105:13: branch_true: following ‘true’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_true: ...to here
liburing-2.9/test/ringbuf-status.c:108:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/ringbuf-status.c:108:14: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def499]
liburing-2.9/test/ringbuf-status.c:108:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/ringbuf-status.c:95:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:100:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:100:12: branch_false: following ‘false’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_false: ...to here
liburing-2.9/test/ringbuf-status.c:105:13: branch_true: following ‘true’ branch...
liburing-2.9/test/ringbuf-status.c:105:13: branch_true: ...to here
liburing-2.9/test/ringbuf-status.c:108:14: throw: if ‘io_uring_setup_buf_ring’ throws an exception...
liburing-2.9/test/ringbuf-status.c:108:14: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def500]
liburing-2.9/test/ringbuf-status.c:108:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[invalid]’
liburing-2.9/test/ringbuf-status.c:221:5: enter_function: entry to ‘main’
liburing-2.9/test/ringbuf-status.c:225:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
liburing-2.9/test/rsrc_tags.c:30:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tags’
liburing-2.9/test/rsrc_tags.c:316:12: enter_function: entry to ‘test_files’
liburing-2.9/test/rsrc_tags.c:325:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/rsrc_tags.c:326:28: branch_true: ...to here
liburing-2.9/test/rsrc_tags.c:330:15: call_function: calling ‘test_tags_generic’ from ‘test_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
liburing-2.9/test/rsrc_tags.c:54:16: warning[-Wanalyzer-malloc-leak]: leak of ‘tags’
liburing-2.9/test/rsrc_tags.c:316:12: enter_function: entry to ‘test_files’
liburing-2.9/test/rsrc_tags.c:325:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/rsrc_tags.c:326:28: branch_true: ...to here
liburing-2.9/test/rsrc_tags.c:330:15: call_function: calling ‘test_tags_generic’ from ‘test_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
liburing-2.9/test/rsrc_tags.c:108:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tags’
liburing-2.9/test/rsrc_tags.c:316:12: enter_function: entry to ‘test_files’
liburing-2.9/test/rsrc_tags.c:325:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/rsrc_tags.c:326:28: branch_true: ...to here
liburing-2.9/test/rsrc_tags.c:330:15: call_function: calling ‘test_tags_generic’ from ‘test_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
liburing-2.9/test/rsrc_tags.c:145:1: warning[-Wanalyzer-malloc-leak]: leak of ‘tags’
liburing-2.9/test/rsrc_tags.c:316:12: enter_function: entry to ‘test_files’
liburing-2.9/test/rsrc_tags.c:325:21: branch_true: following ‘true’ branch (when ‘i != 50’)...
liburing-2.9/test/rsrc_tags.c:326:28: branch_true: ...to here
liburing-2.9/test/rsrc_tags.c:330:15: call_function: calling ‘test_tags_generic’ from ‘test_files’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def505]
liburing-2.9/test/rw_merge_test.c:37:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/rw_merge_test.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/rw_merge_test.c:34:15: branch_false: ...to here
liburing-2.9/test/rw_merge_test.c:35:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:37:14: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:37:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/rw_merge_test.c:37:14: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def506]
liburing-2.9/test/rw_merge_test.c:37:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/rw_merge_test.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/rw_merge_test.c:34:15: branch_false: ...to here
liburing-2.9/test/rw_merge_test.c:35:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:37:14: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:37:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/rw_merge_test.c:37:14: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def507]
liburing-2.9/test/rw_merge_test.c:43:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/rw_merge_test.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/rw_merge_test.c:34:15: branch_false: ...to here
liburing-2.9/test/rw_merge_test.c:35:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:37:14: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:38:9: branch_true: following ‘true’ branch...
liburing-2.9/test/rw_merge_test.c:39:9: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:41:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:43:15: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:43:15: throw: if ‘t_create_ring’ throws an exception...
liburing-2.9/test/rw_merge_test.c:43:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def508]
liburing-2.9/test/rw_merge_test.c:43:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/rw_merge_test.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/rw_merge_test.c:34:15: branch_false: ...to here
liburing-2.9/test/rw_merge_test.c:35:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:37:14: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:38:9: branch_true: following ‘true’ branch...
liburing-2.9/test/rw_merge_test.c:39:9: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:41:9: branch_true: following ‘true’ branch (when ‘ret == 0’)...
liburing-2.9/test/rw_merge_test.c:43:15: branch_true: ...to here
liburing-2.9/test/rw_merge_test.c:43:15: throw: if ‘t_create_ring’ throws an exception...
liburing-2.9/test/rw_merge_test.c:43:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def509]
liburing-2.9/test/send-zerocopy.c:331:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def510]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_tx’
liburing-2.9/test/send-zerocopy.c:742:12: enter_function: entry to ‘test_sendzc_report’
liburing-2.9/test/send-zerocopy.c:750:15: call_function: calling ‘create_socketpair_ip’ from ‘test_sendzc_report’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def511]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def512]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sp[0]’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def513]
liburing-2.9/test/send-zerocopy.c:337:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def514]
liburing-2.9/test/send-zerocopy.c:359:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def515]
liburing-2.9/test/send-zerocopy.c:367:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def516]
liburing-2.9/test/send_recv.c:215:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/send_recv.c:199:12: branch_false: following ‘false’ branch...
liburing-2.9/test/send_recv.c:204:9: branch_false: ...to here
liburing-2.9/test/send_recv.c:209:18: acquire_resource: datagram socket created here
liburing-2.9/test/send_recv.c:210:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/send_recv.c:215:15: branch_false: ...to here
liburing-2.9/test/send_recv.c:215:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/send_recv.c:215:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def517]
liburing-2.9/test/send_recvmsg.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/send_recvmsg.c:266:12: branch_false: following ‘false’ branch...
liburing-2.9/test/send_recvmsg.c:271:9: branch_false: ...to here
liburing-2.9/test/send_recvmsg.c:282:18: acquire_resource: datagram socket created here
liburing-2.9/test/send_recvmsg.c:283:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/send_recvmsg.c:288:9: branch_false: ...to here
liburing-2.9/test/send_recvmsg.c:288:9: throw: if ‘usleep’ throws an exception...
liburing-2.9/test/send_recvmsg.c:288:9: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def518]
liburing-2.9/test/short-read.c:43:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.9/test/short-read.c:26:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/short-read.c:29:24: branch_false: ...to here
liburing-2.9/test/short-read.c:34:14: acquire_resource: opened here
liburing-2.9/test/short-read.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:43:15: branch_false: ...to here
liburing-2.9/test/short-read.c:43:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/short-read.c:43:15: danger: ‘open(".short-read", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def519]
liburing-2.9/test/short-read.c:44:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.9/test/short-read.c:26:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/short-read.c:29:24: branch_false: ...to here
liburing-2.9/test/short-read.c:34:14: acquire_resource: opened here
liburing-2.9/test/short-read.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:43:15: branch_false: ...to here
liburing-2.9/test/short-read.c:44:12: danger: ‘open(".short-read", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING: [#def520]
liburing-2.9/test/shutdown.c:52:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:52:15: danger: ‘recv_s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def521]
liburing-2.9/test/shutdown.c:61:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:61:25: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/shutdown.c:61:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def522]
liburing-2.9/test/shutdown.c:65:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:65:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/shutdown.c:65:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def523]
liburing-2.9/test/shutdown.c:68:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:68:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/shutdown.c:68:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def524]
liburing-2.9/test/shutdown.c:71:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:69:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:71:17: branch_true: ...to here
liburing-2.9/test/shutdown.c:71:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/shutdown.c:71:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def525]
liburing-2.9/test/shutdown.c:75:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:69:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:71:17: branch_true: ...to here
liburing-2.9/test/shutdown.c:72:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:74:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:75:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/shutdown.c:75:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def526]
liburing-2.9/test/shutdown.c:78:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:69:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:71:17: branch_true: ...to here
liburing-2.9/test/shutdown.c:72:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:74:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:76:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:78:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:78:19: throw: if ‘accept’ throws an exception...
liburing-2.9/test/shutdown.c:78:19: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING: [#def527]
liburing-2.9/test/socket-nb.c:45:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:45:15: danger: ‘recv_s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def528]
liburing-2.9/test/socket-nb.c:54:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:54:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-nb.c:54:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def529]
liburing-2.9/test/socket-nb.c:58:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:55:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:57:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:58:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-nb.c:58:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def530]
liburing-2.9/test/socket-nb.c:61:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:55:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:57:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:59:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:61:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:61:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/socket-nb.c:61:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def531]
liburing-2.9/test/socket-nb.c:64:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:55:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:57:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:59:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:61:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:64:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:64:19: throw: if ‘accept’ throws an exception...
liburing-2.9/test/socket-nb.c:64:19: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING: [#def532]
liburing-2.9/test/socket-rw-eagain.c:47:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:47:15: danger: ‘recv_s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def533]
liburing-2.9/test/socket-rw-eagain.c:56:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:56:25: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-eagain.c:56:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def534]
liburing-2.9/test/socket-rw-eagain.c:60:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:57:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:59:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:60:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-eagain.c:60:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def535]
liburing-2.9/test/socket-rw-eagain.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:57:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:59:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:61:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:63:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:63:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/socket-rw-eagain.c:63:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
liburing-2.9/test/socket-rw-eagain.c:66:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:57:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:59:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:61:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:63:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:66:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:66:19: throw: if ‘accept’ throws an exception...
liburing-2.9/test/socket-rw-eagain.c:66:19: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def537]
liburing-2.9/test/socket-rw-eagain.c:128:16: warning[-Wanalyzer-infinite-loop]: infinite loop
liburing-2.9/test/socket-rw-eagain.c:128:16: danger: infinite loop here
liburing-2.9/test/socket-rw-eagain.c:128:16: branch_true: when ‘count != 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:129:17: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:129:17: branch_true: if it ever follows ‘true’ branch, it will always do so...
liburing-2.9/test/socket-rw-eagain.c:129:17: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:129:17: branch_false: when ‘cqe’ is NULL: always following ‘false’ branch...
liburing-2.9/test/socket-rw-eagain.c:140:17: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:140:17: branch_true: when ‘count <= 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:141:17: branch_true: ...to here
Error: GCC_ANALYZER_WARNING: [#def538]
liburing-2.9/test/socket-rw-offset.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:49:15: danger: ‘recv_s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def539]
liburing-2.9/test/socket-rw-offset.c:59:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:59:25: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:59:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def540]
liburing-2.9/test/socket-rw-offset.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:63:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:63:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def541]
liburing-2.9/test/socket-rw-offset.c:66:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:66:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:66:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def542]
liburing-2.9/test/socket-rw-offset.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:69:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:69:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def543]
liburing-2.9/test/socket-rw-offset.c:73:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:73:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:73:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def544]
liburing-2.9/test/socket-rw-offset.c:76:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:74:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:76:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:76:19: throw: if ‘accept’ throws an exception...
liburing-2.9/test/socket-rw-offset.c:76:19: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def545]
liburing-2.9/test/socket-rw-offset.c:131:16: warning[-Wanalyzer-infinite-loop]: infinite loop
liburing-2.9/test/socket-rw-offset.c:131:16: danger: infinite loop here
liburing-2.9/test/socket-rw-offset.c:131:16: branch_true: when ‘count != 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:132:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:132:17: branch_true: if it ever follows ‘true’ branch, it will always do so...
liburing-2.9/test/socket-rw-offset.c:132:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:132:17: branch_false: when ‘cqe’ is NULL: always following ‘false’ branch...
liburing-2.9/test/socket-rw-offset.c:142:17: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:142:17: branch_true: when ‘count <= 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:143:17: branch_true: ...to here
Error: GCC_ANALYZER_WARNING: [#def546]
liburing-2.9/test/socket-rw.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:49:15: danger: ‘recv_s0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def547]
liburing-2.9/test/socket-rw.c:59:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:59:25: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw.c:59:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
liburing-2.9/test/socket-rw.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:63:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw.c:63:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def549]
liburing-2.9/test/socket-rw.c:66:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:66:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/socket-rw.c:66:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def550]
liburing-2.9/test/socket-rw.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:69:17: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw.c:69:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def551]
liburing-2.9/test/socket-rw.c:73:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:73:15: throw: if ‘fcntl’ throws an exception...
liburing-2.9/test/socket-rw.c:73:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def552]
liburing-2.9/test/socket-rw.c:76:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:74:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:76:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:76:19: throw: if ‘accept’ throws an exception...
liburing-2.9/test/socket-rw.c:76:19: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def553]
liburing-2.9/test/socket-rw.c:125:16: warning[-Wanalyzer-infinite-loop]: infinite loop
liburing-2.9/test/socket-rw.c:125:16: danger: infinite loop here
liburing-2.9/test/socket-rw.c:125:16: branch_true: when ‘count != 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw.c:126:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:126:17: branch_true: if it ever follows ‘true’ branch, it will always do so...
liburing-2.9/test/socket-rw.c:126:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:126:17: branch_false: when ‘cqe’ is NULL: always following ‘false’ branch...
liburing-2.9/test/socket-rw.c:131:17: branch_false: ...to here
liburing-2.9/test/socket-rw.c:131:17: branch_true: when ‘count <= 2’: always following ‘true’ branch...
liburing-2.9/test/socket-rw.c:132:17: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def554]
liburing-2.9/test/socket.c:187:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/socket.c:181:18: acquire_resource: datagram socket created here
liburing-2.9/test/socket.c:182:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
liburing-2.9/test/socket.c:187:15: branch_false: ...to here
liburing-2.9/test/socket.c:187:15: throw: if ‘connect’ throws an exception...
liburing-2.9/test/socket.c:187:15: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def555]
liburing-2.9/test/splice.c:111:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
liburing-2.9/test/splice.c:444:5: enter_function: entry to ‘main’
liburing-2.9/test/splice.c:452:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/splice.c:455:15: branch_false: ...to here
liburing-2.9/test/splice.c:456:12: branch_false: following ‘false’ branch...
liburing-2.9/test/splice.c:460:15: branch_false: ...to here
liburing-2.9/test/splice.c:460:12: branch_false: following ‘false’ branch...
liburing-2.9/test/splice.c:465:15: branch_false: ...to here
liburing-2.9/test/splice.c:465:15: call_function: calling ‘init_splice_ctx’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def556]
liburing-2.9/test/sq-poll-dup.c:186:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/sq-poll-dup.c:159:5: enter_function: entry to ‘main’
liburing-2.9/test/sq-poll-dup.c:173:14: acquire_resource: opened here
liburing-2.9/test/sq-poll-dup.c:174:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-dup.c:186:22: branch_false: ...to here
liburing-2.9/test/sq-poll-dup.c:189:15: call_function: calling ‘test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def557]
liburing-2.9/test/sq-poll-kthread.c:52:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:52:15: throw: if ‘t_create_ring_params’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:52:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def558]
liburing-2.9/test/sq-poll-kthread.c:52:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:52:15: throw: if ‘t_create_ring_params’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:52:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def559]
liburing-2.9/test/sq-poll-kthread.c:62:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:53:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/sq-poll-kthread.c:56:19: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:56:19: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/sq-poll-kthread.c:62:15: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:62:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:62:15: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def560]
liburing-2.9/test/sq-poll-kthread.c:62:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:53:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/sq-poll-kthread.c:56:19: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:56:19: branch_false: following ‘false’ branch (when ‘ret == 0’)...
liburing-2.9/test/sq-poll-kthread.c:62:15: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:62:15: throw: if ‘io_uring_register_files’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:62:15: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def561]
liburing-2.9/test/sq-poll-kthread.c:114:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:114:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:114:9: danger: ‘pipe1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def562]
liburing-2.9/test/sq-poll-kthread.c:114:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:114:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:114:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def563]
liburing-2.9/test/sq-poll-kthread.c:115:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
liburing-2.9/test/sq-poll-kthread.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-kthread.c:48:9: branch_false: ...to here
liburing-2.9/test/sq-poll-kthread.c:115:9: throw: if ‘close’ throws an exception...
liburing-2.9/test/sq-poll-kthread.c:115:9: danger: ‘pipe1[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def564]
liburing-2.9/test/sq-poll-share.c:99:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
liburing-2.9/test/sq-poll-share.c:91:14: acquire_resource: opened here
liburing-2.9/test/sq-poll-share.c:92:12: branch_false: following ‘false’ branch...
liburing-2.9/test/sq-poll-share.c:99:22: branch_false: ...to here
liburing-2.9/test/sq-poll-share.c:102:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
liburing-2.9/test/sq-poll-share.c:103:40: branch_true: ...to here
liburing-2.9/test/sq-poll-share.c:106:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
liburing-2.9/test/sq-poll-share.c:110:23: branch_false: ...to here
liburing-2.9/test/sq-poll-share.c:110:23: throw: if ‘io_uring_queue_init_params’ throws an exception...
liburing-2.9/test/sq-poll-share.c:99:22: danger: ‘open(fname, 16384)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def565]
liburing-2.9/test/sqpoll-disable-exit.c:54:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 524289)’
liburing-2.9/test/sqpoll-disable-exit.c:51:12: acquire_resource: opened here
liburing-2.9/test/sqpoll-disable-exit.c:52:6: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:54:7: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:54:7: throw: if ‘write’ throws an exception...
liburing-2.9/test/sqpoll-disable-exit.c:54:7: danger: ‘open(file, 524289)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
liburing-2.9/test/sqpoll-disable-exit.c:118:28: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/fs/fuse/connections")’
liburing-2.9/test/sqpoll-disable-exit.c:110:19: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/sqpoll-disable-exit.c:111:9: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:115:14: acquire_memory: allocated here
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: following ‘true’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:118:28: throw: if ‘readdir’ throws an exception...
liburing-2.9/test/sqpoll-disable-exit.c:118:28: danger: ‘opendir("/sys/fs/fuse/connections")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def567]
liburing-2.9/test/sqpoll-disable-exit.c:130:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/sqpoll-disable-exit.c:110:19: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/sqpoll-disable-exit.c:111:9: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: following ‘true’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:119:10: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:121:18: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:126:16: acquire_resource: opened here
liburing-2.9/test/sqpoll-disable-exit.c:130:11: throw: if ‘write’ throws an exception...
liburing-2.9/test/sqpoll-disable-exit.c:130:11: danger: ‘open(&abort, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def568]
liburing-2.9/test/sqpoll-disable-exit.c:132:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&abort, 1)’
liburing-2.9/test/sqpoll-disable-exit.c:110:19: branch_true: following ‘true’ branch (when ‘i != 100’)...
liburing-2.9/test/sqpoll-disable-exit.c:111:9: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:111:8: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:113:5: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: following ‘true’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:116:6: branch_true: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:119:10: branch_false: following ‘false’ branch...
liburing-2.9/test/sqpoll-disable-exit.c:121:18: branch_false: ...to here
liburing-2.9/test/sqpoll-disable-exit.c:126:16: acquire_resource: opened here
liburing-2.9/test/sqpoll-disable-exit.c:132:7: danger: ‘open(&abort, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def569]
liburing-2.9/test/stdout.c:33:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/stdout.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/stdout.c:33:15: branch_false: ...to here
liburing-2.9/test/stdout.c:33:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/stdout.c:33:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def570]
liburing-2.9/test/stdout.c:33:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/stdout.c:28:12: branch_false: following ‘false’ branch...
liburing-2.9/test/stdout.c:33:15: branch_false: ...to here
liburing-2.9/test/stdout.c:33:15: throw: if ‘io_uring_register_buffers’ throws an exception...
liburing-2.9/test/stdout.c:33:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def571]
liburing-2.9/test/submit-link-fail.c:71:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/submit-link-fail.c:34:9: branch_true: following ‘true’ branch (when ‘link_size > fail_idx’)...
liburing-2.9/test/submit-link-fail.c:35:9: branch_true: ...to here
liburing-2.9/test/submit-link-fail.c:35:9: branch_true: following ‘true’ branch (when ‘link_size <= 39’)...
liburing-2.9/test/submit-link-fail.c:38:15: branch_true: ...to here
liburing-2.9/test/submit-link-fail.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-link-fail.c:43:13: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-link-fail.c:48:12: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:48:12: branch_false: following ‘false’ branch (when ‘drain == 0’)...
liburing-2.9/test/submit-link-fail.c:57:9: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:57:21: branch_false: following ‘false’ branch (when ‘i >= link_size’)...
liburing-2.9/test/submit-link-fail.c:71:15: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:71:15: throw: if ‘io_uring_submit’ throws an exception...
liburing-2.9/test/submit-link-fail.c:71:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def572]
liburing-2.9/test/submit-link-fail.c:71:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/submit-link-fail.c:34:9: branch_true: following ‘true’ branch (when ‘link_size > fail_idx’)...
liburing-2.9/test/submit-link-fail.c:35:9: branch_true: ...to here
liburing-2.9/test/submit-link-fail.c:35:9: branch_true: following ‘true’ branch (when ‘link_size <= 39’)...
liburing-2.9/test/submit-link-fail.c:38:15: branch_true: ...to here
liburing-2.9/test/submit-link-fail.c:39:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-link-fail.c:43:13: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:43:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-link-fail.c:48:12: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:48:12: branch_false: following ‘false’ branch (when ‘drain == 0’)...
liburing-2.9/test/submit-link-fail.c:57:9: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:57:21: branch_false: following ‘false’ branch (when ‘i >= link_size’)...
liburing-2.9/test/submit-link-fail.c:71:15: branch_false: ...to here
liburing-2.9/test/submit-link-fail.c:71:15: throw: if ‘io_uring_submit’ throws an exception...
liburing-2.9/test/submit-link-fail.c:71:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def573]
liburing-2.9/test/submit-reuse.c:146:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname1, 0)’
liburing-2.9/test/submit-reuse.c:117:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:122:15: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:122:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:129:12: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:136:15: acquire_resource: opened here
liburing-2.9/test/submit-reuse.c:139:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:146:9: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:146:9: throw: if ‘t_create_file’ throws an exception...
liburing-2.9/test/submit-reuse.c:146:9: danger: ‘open(fname1, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def574]
liburing-2.9/test/submit-reuse.c:147:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname1, 0)’
liburing-2.9/test/submit-reuse.c:117:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:122:15: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:122:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:129:12: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:136:15: acquire_resource: opened here
liburing-2.9/test/submit-reuse.c:139:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:146:9: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:147:15: throw: if ‘open’ throws an exception...
liburing-2.9/test/submit-reuse.c:147:15: danger: ‘open(fname1, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def575]
liburing-2.9/test/submit-reuse.c:149:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname1, 0)’
liburing-2.9/test/submit-reuse.c:117:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:122:15: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:122:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:129:12: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:136:15: acquire_resource: opened here
liburing-2.9/test/submit-reuse.c:139:12: branch_false: following ‘false’ branch...
liburing-2.9/test/submit-reuse.c:146:9: branch_false: ...to here
liburing-2.9/test/submit-reuse.c:149:12: danger: ‘open(fname1, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def576]
liburing-2.9/test/thread-exit.c:86:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:86:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/thread-exit.c:86:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
liburing-2.9/test/thread-exit.c:86:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:86:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/thread-exit.c:86:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def578]
liburing-2.9/test/thread-exit.c:98:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:92:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/thread-exit.c:98:17: branch_false: ...to here
liburing-2.9/test/thread-exit.c:98:17: throw: if ‘t_create_file’ throws an exception...
liburing-2.9/test/thread-exit.c:98:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def579]
liburing-2.9/test/thread-exit.c:98:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:92:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/thread-exit.c:98:17: branch_false: ...to here
liburing-2.9/test/thread-exit.c:98:17: throw: if ‘t_create_file’ throws an exception...
liburing-2.9/test/thread-exit.c:98:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def580]
liburing-2.9/test/thread-exit.c:101:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:101:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/thread-exit.c:101:14: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
liburing-2.9/test/thread-exit.c:101:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:101:14: throw: if ‘open’ throws an exception...
liburing-2.9/test/thread-exit.c:101:14: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def582]
liburing-2.9/test/thread-exit.c:107:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:104:12: branch_true: following ‘true’ branch...
liburing-2.9/test/thread-exit.c:105:21: branch_true: ...to here
liburing-2.9/test/thread-exit.c:105:20: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:107:17: branch_false: ...to here
liburing-2.9/test/thread-exit.c:107:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/thread-exit.c:107:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def583]
liburing-2.9/test/thread-exit.c:107:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:104:12: branch_true: following ‘true’ branch...
liburing-2.9/test/thread-exit.c:105:21: branch_true: ...to here
liburing-2.9/test/thread-exit.c:105:20: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:107:17: branch_false: ...to here
liburing-2.9/test/thread-exit.c:107:17: throw: if ‘perror’ throws an exception...
liburing-2.9/test/thread-exit.c:107:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def584]
liburing-2.9/test/thread-exit.c:120:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:104:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:111:9: branch_false: ...to here
liburing-2.9/test/thread-exit.c:116:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:117:17: branch_true: ...to here
liburing-2.9/test/thread-exit.c:120:17: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/thread-exit.c:120:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def585]
liburing-2.9/test/thread-exit.c:120:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.9/test/thread-exit.c:81:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:86:15: branch_false: ...to here
liburing-2.9/test/thread-exit.c:87:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:92:12: branch_false: ...to here
liburing-2.9/test/thread-exit.c:104:12: branch_false: following ‘false’ branch...
liburing-2.9/test/thread-exit.c:111:9: branch_false: ...to here
liburing-2.9/test/thread-exit.c:116:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:117:17: branch_true: ...to here
liburing-2.9/test/thread-exit.c:116:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/thread-exit.c:117:17: branch_true: ...to here
liburing-2.9/test/thread-exit.c:120:17: throw: if ‘pthread_join’ throws an exception...
liburing-2.9/test/thread-exit.c:120:17: danger: ‘fds[i]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def586]
liburing-2.9/test/tty-write-dpoll.c:38:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
liburing-2.9/test/tty-write-dpoll.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/tty-write-dpoll.c:34:14: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:34:14: acquire_resource: opened here
liburing-2.9/test/tty-write-dpoll.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/tty-write-dpoll.c:38:15: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:38:15: throw: if ‘t_create_ring’ throws an exception...
liburing-2.9/test/tty-write-dpoll.c:38:15: danger: ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def587]
liburing-2.9/test/tty-write-dpoll.c:39:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
liburing-2.9/test/tty-write-dpoll.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/tty-write-dpoll.c:34:14: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:34:14: acquire_resource: opened here
liburing-2.9/test/tty-write-dpoll.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/tty-write-dpoll.c:38:15: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:39:12: danger: ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def588]
liburing-2.9/test/tty-write-dpoll.c:41:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
liburing-2.9/test/tty-write-dpoll.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/tty-write-dpoll.c:34:14: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:34:14: acquire_resource: opened here
liburing-2.9/test/tty-write-dpoll.c:35:12: branch_false: following ‘false’ branch...
liburing-2.9/test/tty-write-dpoll.c:38:15: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:39:12: branch_false: following ‘false’ branch (when ‘ret != 1’)...
liburing-2.9/test/tty-write-dpoll.c:41:17: branch_false: ...to here
liburing-2.9/test/tty-write-dpoll.c:41:17: danger: ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-664): [#def589]
liburing-2.9/test/uring_cmd_ublk.c:163: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-404): [#def590]
liburing-2.9/test/uring_cmd_ublk.c:163:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
liburing-2.9/test/uring_cmd_ublk.c:1217:5: enter_function: entry to ‘main’
liburing-2.9/test/uring_cmd_ublk.c:1224:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/uring_cmd_ublk.c:1227:15: branch_false: ...to here
liburing-2.9/test/uring_cmd_ublk.c:1227:15: call_function: calling ‘ublk_ctrl_init’ from ‘main’
Error: CPPCHECK_WARNING (CWE-664): [#def591]
liburing-2.9/test/uring_cmd_ublk.c:171: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
liburing-2.9/test/uring_cmd_ublk.c:210:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.9/test/uring_cmd_ublk.c:1217:5: enter_function: entry to ‘main’
liburing-2.9/test/uring_cmd_ublk.c:1224:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/uring_cmd_ublk.c:1227:15: branch_false: ...to here
liburing-2.9/test/uring_cmd_ublk.c:1227:15: call_function: calling ‘ublk_ctrl_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
liburing-2.9/test/uring_cmd_ublk.c:210:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
liburing-2.9/test/uring_cmd_ublk.c:1217:5: enter_function: entry to ‘main’
liburing-2.9/test/uring_cmd_ublk.c:1224:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/uring_cmd_ublk.c:1227:15: branch_false: ...to here
liburing-2.9/test/uring_cmd_ublk.c:1227:15: call_function: calling ‘ublk_ctrl_init’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def594]
liburing-2.9/test/uring_cmd_ublk.c:356: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
liburing-2.9/test/uring_cmd_ublk.c:356:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
liburing-2.9/test/uring_cmd_ublk.c:1217:5: enter_function: entry to ‘main’
liburing-2.9/test/uring_cmd_ublk.c:1224:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/uring_cmd_ublk.c:1227:15: branch_false: ...to here
liburing-2.9/test/uring_cmd_ublk.c:1227:15: call_function: calling ‘ublk_ctrl_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
liburing-2.9/test/uring_cmd_ublk.c:356:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
liburing-2.9/test/uring_cmd_ublk.c:1217:5: enter_function: entry to ‘main’
liburing-2.9/test/uring_cmd_ublk.c:1224:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/uring_cmd_ublk.c:1227:15: branch_false: ...to here
liburing-2.9/test/uring_cmd_ublk.c:1227:15: call_function: calling ‘ublk_ctrl_init’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def597]
liburing-2.9/test/uring_cmd_ublk.c:357: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-775): [#def598]
liburing-2.9/test/wakeup-hang.c:71:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/wakeup-hang.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wakeup-hang.c:71:15: branch_false: ...to here
liburing-2.9/test/wakeup-hang.c:71:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/wakeup-hang.c:71:15: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def599]
liburing-2.9/test/wakeup-hang.c:71:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/wakeup-hang.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wakeup-hang.c:71:15: branch_false: ...to here
liburing-2.9/test/wakeup-hang.c:71:15: throw: if ‘io_uring_queue_init’ throws an exception...
liburing-2.9/test/wakeup-hang.c:71:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def600]
liburing-2.9/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/wakeup-hang.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wakeup-hang.c:71:15: branch_false: ...to here
liburing-2.9/test/wakeup-hang.c:72:12: branch_true: following ‘true’ branch...
liburing-2.9/test/wakeup-hang.c:73:17: branch_true: ...to here
liburing-2.9/test/wakeup-hang.c:74:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def601]
liburing-2.9/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/wakeup-hang.c:68:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wakeup-hang.c:71:15: branch_false: ...to here
liburing-2.9/test/wakeup-hang.c:72:12: branch_true: following ‘true’ branch...
liburing-2.9/test/wakeup-hang.c:73:17: branch_true: ...to here
liburing-2.9/test/wakeup-hang.c:74:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def602]
liburing-2.9/test/wq-aff.c:32:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&comm, 0)’
liburing-2.9/test/wq-aff.c:24:14: acquire_resource: opened here
liburing-2.9/test/wq-aff.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wq-aff.c:30:15: branch_false: ...to here
liburing-2.9/test/wq-aff.c:31:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
liburing-2.9/test/wq-aff.c:32:17: branch_true: ...to here
liburing-2.9/test/wq-aff.c:32:17: danger: ‘open(&comm, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def603]
liburing-2.9/test/wq-aff.c:36:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&comm, 0)’
liburing-2.9/test/wq-aff.c:24:14: acquire_resource: opened here
liburing-2.9/test/wq-aff.c:25:12: branch_false: following ‘false’ branch...
liburing-2.9/test/wq-aff.c:30:15: branch_false: ...to here
liburing-2.9/test/wq-aff.c:31:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
liburing-2.9/test/wq-aff.c:36:32: branch_false: ...to here
liburing-2.9/test/wq-aff.c:36:12: branch_true: following ‘true’ branch...
liburing-2.9/test/wq-aff.c:37:17: branch_true: ...to here
liburing-2.9/test/wq-aff.c:36:13: danger: ‘open(&comm, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| 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-54.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-x86_64 |
| project-name | liburing-2.9-2.fc43 |
| store-results-to | /tmp/tmp20fjtfr1/liburing-2.9-2.fc43.tar.xz |
| time-created | 2026-01-08 19:20:50 |
| time-finished | 2026-01-08 19:23:07 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp20fjtfr1/liburing-2.9-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp20fjtfr1/liburing-2.9-2.fc43.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |