liburing-2.8-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
liburing-2.8-build/liburing-2.8/examples/helpers.c: scope_hint: In function ‘setup_listening_socket’
liburing-2.8-build/liburing-2.8/examples/helpers.c:29:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
#   27|   	if (fd == -1) {
#   28|   		perror("socket()");
#   29|-> 		return -1;
#   30|   	}
#   31|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:69:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
#   67|   		if (posix_memalign(&buf, 4096, 4096))
#   68|   			return 1;
#   69|-> 		iovecs[i].iov_base = buf;
#   70|   		iovecs[i].iov_len = 4096;
#   71|   		fsize += 4096;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
liburing-2.8-build/liburing-2.8/examples/io_uring-test.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:58:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
#   56|   		if (posix_memalign(&buf, 4096, 4096))
#   57|   			return 1;
#   58|-> 		iovecs[i].iov_base = buf;
#   59|   		iovecs[i].iov_len = 4096;
#   60|   		fsize += 4096;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
liburing-2.8-build/liburing-2.8/examples/proxy.c: scope_hint: In function ‘show_buckets’
liburing-2.8-build/liburing-2.8/examples/proxy.c:515:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sstat’
#  513|   	for (i = 0; i <= nr_bufs; i++) {
#  514|   		snd_total += cd->snd_bucket[i];
#  515|-> 		sstat[i].nr_packets = i;
#  516|   		sstat[i].count = cd->snd_bucket[i];
#  517|   		rcv_total += cd->rcv_bucket[i];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
liburing-2.8-build/liburing-2.8/examples/proxy.c:518:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rstat’
#  516|   		sstat[i].count = cd->snd_bucket[i];
#  517|   		rcv_total += cd->rcv_bucket[i];
#  518|-> 		rstat[i].nr_packets = i;
#  519|   		rstat[i].count = cd->rcv_bucket[i];
#  520|   	}

Error: GCC_ANALYZER_WARNING (CWE-416): [#def6]
liburing-2.8-build/liburing-2.8/examples/proxy.c:534:30: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘rstat’
#  532|   	for (i = 0; i <= nr_bufs; i++) {
#  533|   		double snd_prc = 0.0, rcv_prc = 0.0;
#  534|-> 		if (!rstat[i].count && !sstat[i].count)
#  535|   			continue;
#  536|   		if (rstat[i].count)

Error: GCC_ANALYZER_WARNING (CWE-415): [#def7]
liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘sstat’
#  544|   	}
#  545|   
#  546|-> 	free(sstat);
#  547|   	free(rstat);
#  548|   }

Error: GCC_ANALYZER_WARNING (CWE-415): [#def8]
liburing-2.8-build/liburing-2.8/examples/proxy.c:547:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘rstat’
#  545|   
#  546|   	free(sstat);
#  547|-> 	free(rstat);
#  548|   }
#  549|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*<unknown>, 0)’
/usr/include/signal.h:328: included_from: Included from here.
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:14: included_from: Included from here.
#  205|   			return 1;
#  206|   		}
#  207|-> 		outfd = open(argv[i + 1], O_WRONLY | O_CREAT | O_TRUNC, 0644);
#  208|   		if (outfd < 0) {
#  209|   			perror("open outfile");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:214:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pbundle’
#  212|   
#  213|   		arguments_bundle *pbundle = malloc(sizeof(*pbundle));
#  214|-> 		pbundle->pctx = pctx;
#  215|   		pbundle->psuccess = &success;
#  216|   		pbundle->pfailure = &failure;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:362:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: scope_hint: In function ‘queue_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘queue_read’
liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: scope_hint: In function ‘queue_read’
#  360|   IOURINGINLINE void io_uring_sqe_set_data(struct io_uring_sqe *sqe, void *data)
#  361|   {
#  362|-> 	sqe->user_data = (unsigned long) data;
#  363|   }
#  364|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: scope_hint: In function ‘main’
#  418|   				    __u64 offset)
#  419|   {
#  420|-> 	sqe->opcode = (__u8) op;
#  421|   	sqe->fd = fd;
#  422|   	sqe->off = offset;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sqe’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:18: included_from: Included from here.
#  418|   				    __u64 offset)
#  419|   {
#  420|-> 	sqe->opcode = (__u8) op;
#  421|   	sqe->fd = fd;
#  422|   	sqe->off = offset;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:421:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: scope_hint: In function ‘test_io_uring_submit_enters’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_io_uring_submit_enters’
liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: scope_hint: In function ‘test_io_uring_submit_enters’
#  419|   {
#  420|   	sqe->opcode = (__u8) op;
#  421|-> 	sqe->fd = fd;
#  422|   	sqe->off = offset;
#  423|   	sqe->addr = (unsigned long) addr;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:422:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.8-build/liburing-2.8/test/short-read.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/short-read.c: scope_hint: In function ‘main’
#  420|   	sqe->opcode = (__u8) op;
#  421|   	sqe->fd = fd;
#  422|-> 	sqe->off = offset;
#  423|   	sqe->addr = (unsigned long) addr;
#  424|   	sqe->len = len;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:424:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
#  422|   	sqe->off = offset;
#  423|   	sqe->addr = (unsigned long) addr;
#  424|-> 	sqe->len = len;
#  425|   }
#  426|   

Error: CPPCHECK_WARNING (CWE-457): [#def17]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning[uninitvar]: Uninitialized variable: buf
#  775|   				      void *buf, unsigned nbytes, __u64 offset)
#  776|   {
#  777|-> 	io_uring_prep_rw(IORING_OP_READ, sqe, fd, buf, nbytes, offset);
#  778|   }
#  779|   

Error: CPPCHECK_WARNING (CWE-457): [#def18]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:898: warning[uninitvar]: Uninitialized variable: buf
#  896|   				      void *buf, size_t len, int flags)
#  897|   {
#  898|-> 	io_uring_prep_rw(IORING_OP_RECV, sqe, sockfd, buf, (__u32) len, 0);
#  899|   	sqe->msg_flags = (__u32) flags;
#  900|   }

Error: CPPCHECK_WARNING (CWE-457): [#def19]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008: warning[uninitvar]: Uninitialized variable: addr
# 1006|   						 int bgid, int bid)
# 1007|   {
# 1008|-> 	io_uring_prep_rw(IORING_OP_PROVIDE_BUFFERS, sqe, nr, addr, (__u32) len,
# 1009|   				(__u64) bid);
# 1010|   	sqe->buf_group = (__u16) bgid;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
# 1500|   {
# 1501|   	struct io_uring_sq *sq = &ring->sq;
# 1502|-> 	unsigned int head, next = sq->sqe_tail + 1;
# 1503|   	int shift = 0;
# 1504|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
liburing-2.8-build/liburing-2.8/test/helpers.h:12: included_from: Included from here.
liburing-2.8-build/liburing-2.8/test/fpos.c:14: included_from: Included from here.
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".test_fpos_read", 0)’
liburing-2.8-build/liburing-2.8/test/fpos.c:12: included_from: Included from here.
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
# 1500|   {
# 1501|   	struct io_uring_sq *sq = &ring->sq;
# 1502|-> 	unsigned int head, next = sq->sqe_tail + 1;
# 1503|   	int shift = 0;
# 1504|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
liburing-2.8-build/liburing-2.8/src/setup.c:445:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
#  443|   		if (!(ring->int_flags & INT_FLAG_APP_MEM)) {
#  444|   			__sys_munmap(sq->sqes,
#  445|-> 				*sq->kring_entries * sizeof(struct io_uring_sqe));
#  446|   			io_uring_unmap_rings(sq, cq);
#  447|   		}

Error: GCC_ANALYZER_WARNING: [#def23]
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c: scope_hint: In function ‘rcv’
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:94:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘s0’
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:12: included_from: Included from here.
#   92|   		assert(res != -1);
#   93|   	}
#   94|-> 	res = listen(s0, 128);
#   95|   	assert(res != -1);
#   96|   

Error: GCC_ANALYZER_WARNING (CWE-479): [#def24]
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c: scope_hint: In function ‘sig_int’
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#  314|   static void sig_int(int sig)
#  315|   {
#  316|-> 	exit(0);
#  317|   }
#  318|   

Error: GCC_ANALYZER_WARNING (CWE-479): [#def25]
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c: scope_hint: In function ‘sig_int’
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#  169|   static void sig_int(int sig)
#  170|   {
#  171|-> 	exit(0);
#  172|   }
#  173|   

Error: GCC_ANALYZER_WARNING: [#def26]
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: scope_hint: In function ‘start_accept_listen’
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
#   54|   	ret = bind(fd, (struct sockaddr *) &addr, sizeof(addr));
#   55|   	assert(ret != -1);
#   56|-> 	ret = listen(fd, 20000);
#   57|   	assert(ret != -1);
#   58|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def27]
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: scope_hint: In function ‘test_maccept’
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:127:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fds’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  125|   
#  126|   	fds = malloc(MAX_ACCEPTS * sizeof(int));
#  127|-> 	memset(fds, -1, MAX_ACCEPTS * sizeof(int));
#  128|   
#  129|   	if (fixed) {

Error: GCC_ANALYZER_WARNING: [#def28]
liburing-2.8-build/liburing-2.8/test/accept.c: scope_hint: In function ‘start_accept_listen’
liburing-2.8-build/liburing-2.8/test/accept.c:204:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
#  202|   	ret = t_bind_ephemeral_port(fd, addr);
#  203|   	assert(!ret);
#  204|-> 	ret = listen(fd, 128);
#  205|   	assert(ret != -1);
#  206|   

Error: CPPCHECK_WARNING (CWE-401): [#def29]
liburing-2.8-build/liburing-2.8/test/buf-ring.c:353: error[memleak]: Memory leak: buffers
#  351|   	read_fd = open("/dev/zero", O_RDONLY);
#  352|   	if (read_fd < 0)
#  353|-> 		return T_EXIT_SKIP;
#  354|   
#  355|   	for (loop = 0; loop < loops; loop++) {

Error: CPPCHECK_WARNING (CWE-476): [#def30]
liburing-2.8-build/liburing-2.8/test/coredump.c:41: error[nullPointer]: Null pointer dereference: ptr
#   39|   
#   40|   	io_uring_submit(&ring);
#   41|-> 	*ptr = 0;
#   42|   	exit(0);
#   43|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
liburing-2.8-build/liburing-2.8/test/coredump.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/coredump.c:41:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/coredump.c: scope_hint: In function ‘test’
#   39|   
#   40|   	io_uring_submit(&ring);
#   41|-> 	*ptr = 0;
#   42|   	exit(0);
#   43|   }

Error: GCC_ANALYZER_WARNING (CWE-479): [#def32]
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c: scope_hint: In function ‘sig_alrm’
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#   11|   {
#   12|   	fprintf(stderr, "Timed out!\n");
#   13|-> 	exit(1);
#   14|   }
#   15|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: scope_hint: In function ‘test_exec’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:63:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
#   61|   	if (!(x)) {								\
#   62|   		fprintf(stderr, "%s:%d %s failed\n", __FILE__, __LINE__, #x);	\
#   63|-> 		return -1;							\
#   64|   	}									\
#   65|   } while (0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c:54:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
#   52|   
#   53|   	sqe = io_uring_get_sqe(&ring);
#   54|-> 	sqe->user_data = 2;
#   55|   	io_uring_prep_nop(sqe);
#   56|   	io_uring_submit(&ring);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c:53:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
#   51|   
#   52|   	sqe = io_uring_get_sqe(&ring);
#   53|-> 	sqe->user_data = 2;
#   54|   	io_uring_prep_nop(sqe);
#   55|   	io_uring_submit(&ring);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c: scope_hint: In function ‘inject_fault’
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/thread-self/fail-nth", 2)’
#   49|       exit(1);
#   50|     char buf[16];
#   51|->   sprintf(buf, "%d", nth + 1);
#   52|     if (write(fd, buf, strlen(buf)) != (ssize_t)strlen(buf))
#   53|       exit(1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:54:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<return-value>’
#   52|     if (write(fd, buf, strlen(buf)) != (ssize_t)strlen(buf))
#   53|       exit(1);
#   54|->   return fd;
#   55|   }
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-910): [#def38]
liburing-2.8-build/liburing-2.8/test/fd-install.c: scope_hint: In function ‘test_working’
liburing-2.8-build/liburing-2.8/test/fd-install.c:227:15: warning[-Wanalyzer-fd-use-after-close]: ‘read’ on closed file descriptor ‘fds[0]’
#  225|   
#  226|   	/* normal read should fail */
#  227|-> 	ret = read(fds[0], buf, 1);
#  228|   	if (ret != -1) {
#  229|   		fprintf(stderr, "unexpected read ret %d\n", ret);

Error: CPPCHECK_WARNING (CWE-401): [#def39]
liburing-2.8-build/liburing-2.8/test/fdinfo.c:39: error[memleak]: Memory leak: buf
#   37|   	if (fd < 0) {
#   38|   		perror("open");
#   39|-> 		return;
#   40|   	}
#   41|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c:39:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
#   37|   	if (fd < 0) {
#   38|   		perror("open");
#   39|-> 		return;
#   40|   	}
#   41|   

Error: CPPCHECK_WARNING (CWE-457): [#def41]
liburing-2.8-build/liburing-2.8/test/file-register.c:726: error[uninitvar]: Uninitialized variable: buffer
#  724|   		return -1;
#  725|   	}
#  726|-> 	io_uring_prep_write(sqe, 1, buffer, sizeof(buffer), 0);
#  727|   	sqe->flags |= IOSQE_FIXED_FILE;
#  728|   	sqe->user_data = 2;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
liburing-2.8-build/liburing-2.8/test/file-verify.c: scope_hint: In function ‘fill_pattern’
liburing-2.8-build/liburing-2.8/test/file-verify.c:532:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 1)’
#  530|   			ptr++;
#  531|   		}
#  532|-> 		if (write(fd, buf, 4096) != 4096)
#  533|   			return 1;
#  534|   		left -= 4096;

Error: GCC_ANALYZER_WARNING (CWE-479): [#def43]
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#   54|   static void alarm_sig(int sig)
#   55|   {
#   56|-> 	exit(0);
#   57|   }
#   58|   

Error: GCC_ANALYZER_WARNING (CWE-479): [#def44]
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#   61|   static void alarm_sig(int sig)
#   62|   {
#   63|-> 	exit(0);
#   64|   }
#   65|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def45]
liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:42:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4096)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   40|   		iov[i].iov_base = malloc(BUF_SIZE);
#   41|   		iov[i].iov_len = BUF_SIZE;
#   42|-> 		memset(iov[i].iov_base, 0, BUF_SIZE);
#   43|   	}
#   44|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
liburing-2.8-build/liburing-2.8/test/fixed-link.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/fixed-link.c:42:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
#   40|   
#   41|   	ret = io_uring_register_buffers(&ring, iovecs, IOVECS_LEN);
#   42|-> 	if (ret) {
#   43|   		fprintf(stderr, "Failed to register buffers\n");
#   44|   		return T_EXIT_FAIL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
liburing-2.8-build/liburing-2.8/test/helpers.c: scope_hint: In function ‘__t_create_file’
liburing-2.8-build/liburing-2.8/test/helpers.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘t_malloc(size)’
liburing-2.8-build/liburing-2.8/test/helpers.c:6: included_from: Included from here.
#   82|   
#   83|   	buf = t_malloc(size);
#   84|-> 	memset(buf, pattern, size);
#   85|   
#   86|   	fd = open(file, O_WRONLY | O_CREAT, 0644);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
liburing-2.8-build/liburing-2.8/test/helpers.c: scope_hint: In function ‘t_create_socket_pair’
liburing-2.8-build/liburing-2.8/test/helpers.c:186:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor
#  184|   	if (fd[0] < 0)
#  185|   		return errno;
#  186|-> 	fd[1] = socket(AF_INET, type, 0);
#  187|   	if (fd[1] < 0) {
#  188|   		ret = errno;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
liburing-2.8-build/liburing-2.8/test/helpers.c:210:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*fd’
#  208|   	}
#  209|   
#  210|-> 	if (stream && listen(fd[0], 16)) {
#  211|   		fprintf(stderr, "listen failed\n");
#  212|   		goto errno_cleanup;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
#  192|   	if (ret) {
#  193|   		fprintf(stderr, "ring create failed: %d\n", ret);
#  194|-> 		return 1;
#  195|   	}
#  196|   	ret = io_uring_queue_init(8, &ring2, 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
#  192|   	if (ret) {
#  193|   		fprintf(stderr, "ring create failed: %d\n", ret);
#  194|-> 		return 1;
#  195|   	}
#  196|   	ret = io_uring_queue_init(8, &ring2, 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def52]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘test_max_fds’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:18: included_from: Included from here.
#  176|   	fds = mmap(fd_as, 128*1024*1024, PROT_READ|PROT_WRITE,
#  177|   		   MAP_SHARED|MAP_FIXED, fdtable_fd, 0);
#  178|-> 	if (fds == MAP_FAILED) {
#  179|   		perror("mmap fdtable");
#  180|   		exit(1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  184|   	nr_fds = 128*1024*1024 / sizeof(int);
#  185|   	for (i = 0; i < nr_fds; i++)
#  186|-> 		fds[i] = io_fd;
#  187|   
#  188|   	/* map the file through the rest of the address space */

Error: COMPILER_WARNING: [#def54]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:410:9: warning[-Wstringop-overflow=]: ‘memset’ writing 63 bytes into a region of size 0 overflows the destination
cc1: note: destination object is likely at address zero
#  408|   
#  409|   	sqe = io_uring_get_sqe(ring);
#  410|-> 	memset(sqe, 0, sizeof(*sqe));
#  411|   	sqe->opcode = IORING_OP_POLL_ADD;
#  412|   	if (fixed)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘ioring_poll’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:411:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘ioring_poll’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘ioring_poll’
#  409|   	sqe = io_uring_get_sqe(ring);
#  410|   	memset(sqe, 0, sizeof(*sqe));
#  411|-> 	sqe->opcode = IORING_OP_POLL_ADD;
#  412|   	if (fixed)
#  413|   		sqe->flags = IOSQE_FIXED_FILE;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:110:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 65536)’
#  108|   
#  109|   	ret = io_uring_queue_init(RSIZE, &ring, 0);
#  110|-> 	if (ret < 0)
#  111|   		DIE("failed to init io_uring: %s\n", strerror(-ret));
#  112|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
#   91|   	if (pipe(fds)) {
#   92|   		perror("pipe");
#   93|-> 		return 1;
#   94|   	}
#   95|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
#   91|   	if (pipe(fds)) {
#   92|   		perror("pipe");
#   93|-> 		return 1;
#   94|   	}
#   95|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 2097152)’
#  225|   
#  226|   	ret = io_uring_queue_init(RSIZE, &ring, 0);
#  227|-> 	if (ret < 0)
#  228|   		DIE("failed to init io_uring: %s\n", strerror(-ret));
#  229|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
#  683|   	if (pipe(fds)) {
#  684|   		perror("pipe");
#  685|-> 		return 1;
#  686|   	}
#  687|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
#  683|   	if (pipe(fds)) {
#  684|   		perror("pipe");
#  685|-> 		return 1;
#  686|   	}
#  687|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def62]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][0]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
liburing-2.8-build/liburing-2.8/test/min-timeout.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][1]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][0]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][1]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][0]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][1]’
#   81|   	ret = io_uring_queue_init_params(NPIPES, &ring, &p);
#   82|   	if (ret == -EINVAL)
#   83|-> 		return T_EXIT_SKIP;
#   84|   	if (!(p.features & IORING_FEAT_MIN_TIMEOUT)) {
#   85|   		no_min_timeout = 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: scope_hint: In function ‘test_local’
liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:168:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#  166|   
#  167|   	if (no_fd_pass)
#  168|-> 		return 0;
#  169|   
#  170|   	fd = -1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#  286|   	if (pipe(pipe1) != 0 || pipe(pipe2) != 0) {
#  287|   		perror("pipe");
#  288|-> 		return 1;
#  289|   	}
#  290|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[i]’
#  286|   	if (pipe(pipe1) != 0 || pipe(pipe2) != 0) {
#  287|   		perror("pipe");
#  288|-> 		return 1;
#  289|   	}
#  290|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
#  286|   	if (pipe(pipe1) != 0 || pipe(pipe2) != 0) {
#  287|   		perror("pipe");
#  288|-> 		return 1;
#  289|   	}
#  290|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[i]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
#  286|   	if (pipe(pipe1) != 0 || pipe(pipe2) != 0) {
#  287|   		perror("pipe");
#  288|-> 		return 1;
#  289|   	}
#  290|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
liburing-2.8-build/liburing-2.8/test/pipe-bug.c: scope_hint: In function ‘pipe_bug’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
#   19|   	if (!(x)) {								\
#   20|   		fprintf(stderr, "%s:%d %s failed\n", __FILE__, __LINE__, #x);	\
#   21|-> 		return -1;							\
#   22|   	}									\
#   23|   } while (0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
#   19|   	if (!(x)) {								\
#   20|   		fprintf(stderr, "%s:%d %s failed\n", __FILE__, __LINE__, #x);	\
#   21|-> 		return -1;							\
#   22|   	}									\
#   23|   } while (0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
#   39|   	if (pipe(pipe1) != 0) {
#   40|   		perror("pipe");
#   41|-> 		return 1;
#   42|   	}
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
liburing-2.8-build/liburing-2.8/test/poll-cancel.c: scope_hint: In function ‘test_poll_cancel’
liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#   39|   	if (pipe(pipe1) != 0) {
#   40|   		perror("pipe");
#   41|-> 		return 1;
#   42|   	}
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c: scope_hint: In function ‘test_downgrade’
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#  149|   	if (pipe(fds) != 0) {
#  150|   		perror("pipe");
#  151|-> 		return -1;
#  152|   	}
#  153|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#  149|   	if (pipe(fds) != 0) {
#  150|   		perror("pipe");
#  151|-> 		return -1;
#  152|   	}
#  153|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: scope_hint: In function ‘run’
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘run’
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: scope_hint: In function ‘run’
#  225|   
#  226|   	for (i = 0; i < nfiles; i++) {
#  227|-> 		if (pipe(p[i].fd) < 0) {
#  228|   			perror("pipe");
#  229|   			return 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_pipe_pollin_test’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:100:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#   98|   	if (pipe(pipe1) < 0) {
#   99|   		perror("pipe");
#  100|-> 		return 1;
#  101|   	}
#  102|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_pipe_pollout_test’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:139:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
#  137|   	if (pipe(pipe1) < 0) {
#  138|   		perror("pipe");
#  139|-> 		return 1;
#  140|   	}
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘do_test_epoll’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_test_epoll’
#  246|   	if (fd < 0) {
#  247|   		perror("epoll_create");
#  248|-> 		return 1;
#  249|   	}
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_test_epoll’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#  246|   	if (fd < 0) {
#  247|   		perror("epoll_create");
#  248|-> 		return 1;
#  249|   	}
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
liburing-2.8-build/liburing-2.8/test/poll.c: scope_hint: In function ‘test_basic’
liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
#   43|   	if (pipe(pipe1) != 0) {
#   44|   		perror("pipe");
#   45|-> 		return 1;
#   46|   	}
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#   43|   	if (pipe(pipe1) != 0) {
#   44|   		perror("pipe");
#   45|-> 		return 1;
#   46|   	}
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def86]
liburing-2.8-build/liburing-2.8/test/read-mshot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#  284|   	if (ret) {
#  285|   		fprintf(stderr, "ring setup failed: %d\n", ret);
#  286|-> 		return 1;
#  287|   	}
#  288|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#  284|   	if (ret) {
#  285|   		fprintf(stderr, "ring setup failed: %d\n", ret);
#  286|-> 		return 1;
#  287|   	}
#  288|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c: scope_hint: In function ‘do_send’
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:273:24: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
#  271|   	if (ret) {
#  272|   		fprintf(stderr, "queue init failed: %d\n", ret);
#  273|-> 		return 1;
#  274|   	}
#  275|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
#  276|   	buf = malloc(MAX_MSG * sizeof(int));
#  277|   	for (i = 0; i < MAX_MSG; i++)
#  278|-> 		buf[i] = i;
#  279|   
#  280|   	sockfd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, IPPROTO_TCP);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
liburing-2.8-build/liburing-2.8/test/recv-msgall.c: scope_hint: In function ‘do_send’
liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
#  162|   	buf = malloc(MAX_MSG * sizeof(int));
#  163|   	for (i = 0; i < MAX_MSG; i++)
#  164|-> 		buf[i] = i;
#  165|   
#  166|   	memset(&saddr, 0, sizeof(saddr));

Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
#   32|   	if (pipe(pipe1) != 0) {
#   33|   		perror("pipe");
#   34|-> 		return T_EXIT_FAIL;
#   35|   	}
#   36|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
liburing-2.8-build/liburing-2.8/test/register-restrictions.c: scope_hint: In function ‘test_restrictions_sqe_op’
liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
#   32|   	if (pipe(pipe1) != 0) {
#   33|   		perror("pipe");
#   34|-> 		return T_EXIT_FAIL;
#   35|   	}
#   36|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
liburing-2.8-build/liburing-2.8/test/ring-leak.c: scope_hint: In function ‘test_scm_cycles’
liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#  163|   	if (socketpair(AF_UNIX, SOCK_DGRAM, 0, sp) != 0) {
#  164|   		perror("Failed to create Unix-domain socket pair\n");
#  165|-> 		return 1;
#  166|   	}
#  167|   	ret = io_uring_queue_init(8, &ring, 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#  163|   	if (socketpair(AF_UNIX, SOCK_DGRAM, 0, sp) != 0) {
#  164|   		perror("Failed to create Unix-domain socket pair\n");
#  165|-> 		return 1;
#  166|   	}
#  167|   	ret = io_uring_queue_init(8, &ring, 0);

Error: GCC_ANALYZER_WARNING: [#def95]
liburing-2.8-build/liburing-2.8/test/ring-leak2.c: scope_hint: In function ‘server_thread’
liburing-2.8-build/liburing-2.8/test/ring-leak2.c:115:13: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘sock_listen_fd’
#  113|   		exit(1);
#  114|   	}
#  115|-> 	if (listen(sock_listen_fd, 1) < 0) {
#  116|   		perror("Error listening on socket...\n");
#  117|   		exit(1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#   95|   	if (ret) {
#   96|   		fprintf(stderr, "ring setup failed: %d\n", ret);
#   97|-> 		return 1;
#   98|   	}
#   99|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#   95|   	if (ret) {
#   96|   		fprintf(stderr, "ring setup failed: %d\n", ret);
#   97|-> 		return 1;
#   98|   	}
#   99|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c: scope_hint: In function ‘create_socketpair_ip’
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:293:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:5: included_from: Included from here.
#  291|   	if (sock < 0) {
#  292|   		perror("socket");
#  293|-> 		return 1;
#  294|   	}
#  295|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
#   42|   
#   43|   	ret = io_uring_queue_init(32, &ring, 0);
#   44|-> 	if (ret) {
#   45|   		fprintf(stderr, "queue init failed: %d\n", ret);
#   46|   		return ret;

Error: GCC_ANALYZER_WARNING: [#def100]
liburing-2.8-build/liburing-2.8/test/shutdown.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
#   50|   	ret = t_bind_ephemeral_port(recv_s0, &addr);
#   51|   	assert(!ret);
#   52|-> 	ret = listen(recv_s0, 128);
#   53|   	assert(ret != -1);
#   54|   

Error: GCC_ANALYZER_WARNING: [#def101]
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:47:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:9: included_from: Included from here.
#   45|   	ret = t_bind_ephemeral_port(recv_s0, &addr);
#   46|   	assert(!ret);
#   47|-> 	ret = listen(recv_s0, 128);
#   48|   	assert(ret != -1);
#   49|   

Error: GCC_ANALYZER_WARNING: [#def102]
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:11: included_from: Included from here.
#   47|   	ret = t_bind_ephemeral_port(recv_s0, &addr);
#   48|   	assert(!ret);
#   49|-> 	ret = listen(recv_s0, 128);
#   50|   	assert(ret != -1);
#   51|   

Error: GCC_ANALYZER_WARNING: [#def103]
liburing-2.8-build/liburing-2.8/test/socket-rw.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw.c:11: included_from: Included from here.
#   47|   	ret = t_bind_ephemeral_port(recv_s0, &addr);
#   48|   	assert(!ret);
#   49|-> 	ret = listen(recv_s0, 128);
#   50|   	assert(ret != -1);
#   51|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
liburing-2.8-build/liburing-2.8/test/splice.c: scope_hint: In function ‘init_splice_ctx’
liburing-2.8-build/liburing-2.8/test/splice.c:111:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
#  109|   		return 1;
#  110|   
#  111|-> 	ret = read_buf(rnd_fd, ctx->buf_in, BUF_SIZE);
#  112|   	if (ret != 0)
#  113|   		return 1;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
liburing-2.8-build/liburing-2.8/test/sq-poll-share.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
#   97|   	}
#   98|   
#   99|-> 	if (fname != argv[1])
#  100|   		unlink(fname);
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
liburing-2.8-build/liburing-2.8/test/submit-reuse.c: scope_hint: In function ‘test_reuse’
liburing-2.8-build/liburing-2.8/test/submit-reuse.c:149:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname1, 0)’
#  147|   	fd2 = open(".reuse.2", O_RDONLY);
#  148|   	unlink(".reuse.2");
#  149|-> 	if (fd2 < 0) {
#  150|   		perror("open .reuse.2");
#  151|   		goto err;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
#   37|   
#   38|   	ret = t_create_ring(SQES, &ring, 0);
#   39|-> 	if (ret == T_SETUP_SKIP)
#   40|   		return 0;
#   41|   	else if (ret < 0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
#   39|   	if (ret == T_SETUP_SKIP)
#   40|   		return 0;
#   41|-> 	else if (ret < 0)
#   42|   		return 1;
#   43|   

Error: CPPCHECK_WARNING (CWE-664): [#def109]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
#  161|   	va_start(ap, fmt);
#  162|   	vfprintf(stderr, fmt, ap);
#  163|-> }
#  164|   
#  165|   static void ublk_dbg(int level, const char *fmt, ...)

Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: scope_hint: In function ‘ublk_err’
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#  161|   	va_start(ap, fmt);
#  162|   	vfprintf(stderr, fmt, ap);
#  163|-> }
#  164|   
#  165|   static void ublk_dbg(int level, const char *fmt, ...)

Error: CPPCHECK_WARNING (CWE-664): [#def111]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:171: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
#  169|   		va_start(ap, fmt);
#  170|   		vfprintf(stdout, fmt, ap);
#  171|->         }
#  172|   }
#  173|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: scope_hint: In function ‘ublk_ctrl_init’
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:356:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
#  354|   	int ret;
#  355|   
#  356|-> 	dev->ctrl_fd = open(CTRL_DEV, O_RDWR);
#  357|   	if (dev->ctrl_fd < 0) {
#  358|   		free(dev);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: scope_hint: In function ‘test_pipes’
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#   72|   	if (ret) {
#   73|   		fprintf(stderr, "Unable to setup io_uring: %s\n", strerror(-ret));
#   74|-> 		return 1;
#   75|   	}
#   76|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#   72|   	if (ret) {
#   73|   		fprintf(stderr, "Unable to setup io_uring: %s\n", strerror(-ret));
#   74|-> 		return 1;
#   75|   	}
#   76|   

Scan Properties

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