Error: CPPCHECK_WARNING (CWE-457): [#def1] libuv-1.49.2-build/libuv-v1.49.2/src/inet.c:209: error[uninitvar]: Uninitialized variable: tmp # 207| if (octets < 4) # 208| return UV_EINVAL; # 209|-> memcpy(dst, tmp, sizeof(struct in_addr)); # 210| return 0; # 211| } Error: CPPCHECK_WARNING (CWE-823): [#def2] libuv-1.49.2-build/libuv-v1.49.2/src/strscpy.c:29: error[arrayIndexOutOfBounds]: Array 's[2]' accessed at index 3, which is out of bounds. # 27| # 28| for (i = 0; i < n; i++) # 29|-> if ('\0' == (d[i] = s[i])) # 30| return i > SSIZE_MAX ? UV_E2BIG : (ssize_t) i; # 31| Error: GCC_ANALYZER_WARNING (CWE-775): [#def3] libuv-1.49.2-build/libuv-v1.49.2/src/unix/core.c: scope_hint: In function ‘uv__open_file’ libuv-1.49.2-build/libuv-v1.49.2/src/unix/core.c:1048:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘uv__open_cloexec(path, 0)’ # 1046| int fd; # 1047| # 1048|-> fd = open(path, flags | O_CLOEXEC); # 1049| if (fd == -1) # 1050| return UV__ERR(errno); Error: GCC_ANALYZER_WARNING (CWE-775): [#def4] libuv-1.49.2-build/libuv-v1.49.2/src/unix/pipe.c: scope_hint: In function ‘uv__pipe_listen’ libuv-1.49.2-build/libuv-v1.49.2/src/unix/pipe.c:167:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*handle.io_watcher.fd’ # 165| #endif # 166| # 167|-> if (listen(uv__stream_fd(handle), backlog)) # 168| return UV__ERR(errno); # 169| Error: GCC_ANALYZER_WARNING (CWE-775): [#def5] libuv-1.49.2-build/libuv-v1.49.2/src/unix/pipe.c:172:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*handle.io_watcher.fd’ # 170| handle->connection_cb = cb; # 171| handle->io_watcher.cb = uv__server_io; # 172|-> uv__io_start(handle->loop, &handle->io_watcher, POLLIN); # 173| return 0; # 174| } Error: GCC_ANALYZER_WARNING (CWE-688): [#def6] libuv-1.49.2-build/libuv-v1.49.2/src/unix/pipe.c: scope_hint: In function ‘uv__pipe_getsockpeername’ libuv-1.49.2-build/libuv-v1.49.2/src/unix/pipe.c:391:3: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 389| } # 390| # 391|-> memcpy(buffer, sa.sun_path, addrlen); # 392| *size = addrlen; # 393| Error: GCC_ANALYZER_WARNING (CWE-775): [#def7] libuv-1.49.2-build/libuv-v1.49.2/src/unix/process.c: scope_hint: In function ‘uv__process_child_init’ libuv-1.49.2-build/libuv-v1.49.2/src/unix/process.c:333:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘close_fd’ # 331| use_fd = pipes[fd][1]; # 332| # 333|-> if (use_fd < 0) { # 334| if (fd >= 3) # 335| continue; Error: GCC_ANALYZER_WARNING (CWE-775): [#def8] libuv-1.49.2-build/libuv-v1.49.2/src/unix/tcp.c: scope_hint: In function ‘uv__tcp_listen’ libuv-1.49.2-build/libuv-v1.49.2/src/unix/tcp.c:440:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*tcp.io_watcher.fd’ # 438| return err; # 439| # 440|-> if (listen(tcp->io_watcher.fd, backlog)) # 441| return UV__ERR(errno); # 442| Error: GCC_ANALYZER_WARNING (CWE-775): [#def9] libuv-1.49.2-build/libuv-v1.49.2/src/unix/tcp.c:448:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*tcp.io_watcher.fd’ # 446| /* Start listening for connections. */ # 447| tcp->io_watcher.cb = uv__server_io; # 448|-> uv__io_start(tcp->loop, &tcp->io_watcher, POLLIN); # 449| # 450| return 0; Error: CPPCHECK_WARNING (CWE-457): [#def10] libuv-1.49.2-build/libuv-v1.49.2/src/unix/thread.c:147: warning[uninitvar]: Uninitialized variable: params->stack_size # 145| # 146| stack_size = # 147|-> params->flags & UV_THREAD_HAS_STACK_SIZE ? params->stack_size : 0; # 148| # 149| attr = NULL; Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c: scope_hint: In function ‘buf_alloc’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:68:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ab’ # 66| } # 67| # 68|-> *buf = ab->uv_buf_t; # 69| } # 70| Error: CPPCHECK_WARNING (CWE-401): [#def12] libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:69: error[memleak]: Memory leak: ab # 67| # 68| *buf = ab->uv_buf_t; # 69|-> } # 70| # 71| Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c: scope_hint: In function ‘pinger_new’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:188:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pinger’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:185:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:186:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-pongs.c:186:3: note: in expansion of macro ‘ASSERT_OK’ # 186| ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); # 187| pinger = malloc(sizeof(*pinger)); # 188|-> pinger->state = 0; # 189| pinger->pongs = 0; # 190| Error: GCC_ANALYZER_WARNING (CWE-476): [#def14] libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c: scope_hint: In function ‘udp_pinger_new’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:123:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pinger’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:161:1: note: in expansion of macro ‘BENCHMARK_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:167:1: note: in expansion of macro ‘X’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:167:1: note: in expansion of macro ‘X’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-ping-udp.c:122:3: note: in expansion of macro ‘ASSERT_OK’ # 121| # 122| ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &pinger->server_addr)); # 123|-> pinger->state = 0; # 124| pinger->pongs = 0; # 125| Error: CPPCHECK_WARNING (CWE-401): [#def15] libuv-1.49.2-build/libuv-v1.49.2/test/benchmark-pump.c:366: error[memleak]: Memory leak: ab # 364| # 365| *buf = ab->uv_buf_t; # 366|-> } # 367| # 368| Error: GCC_ANALYZER_WARNING (CWE-401): [#def16] libuv-1.49.2-build/libuv-v1.49.2/test/echo-server.c: scope_hint: In function ‘after_read’ libuv-1.49.2-build/libuv-v1.49.2/test/echo-server.c:94:8: warning[-Wanalyzer-malloc-leak]: leak of ‘sreq’ libuv-1.49.2-build/libuv-v1.49.2/test/echo-server.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/echo-server.c:90:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/echo-server.c:90:5: note: in expansion of macro ‘ASSERT_EQ’ # 92| free(buf->base); # 93| sreq = malloc(sizeof* sreq); # 94|-> if (uv_is_writable(handle)) { # 95| ASSERT_OK(uv_shutdown(sreq, handle, after_shutdown)); # 96| } Error: GCC_ANALYZER_WARNING (CWE-688): [#def17] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c: scope_hint: In function ‘process_start’ libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:116:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘tmpfile()’ where non-null expected libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.h:26: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:22: included_from: Included from here. /usr/include/stdio.h:873:12: note: argument 1 of ‘fileno’ must be non-null # 114| # 115| stdout_file = tmpfile(); # 116|-> stdout_fd = fileno(stdout_file); # 117| if (!stdout_file) { # 118| perror("tmpfile"); Error: GCC_ANALYZER_WARNING (CWE-775): [#def18] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:119:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’ # 117| if (!stdout_file) { # 118| perror("tmpfile"); # 119|-> return -1; # 120| } # 121| Error: GCC_ANALYZER_WARNING (CWE-401): [#def19] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:123:8: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’ # 121| # 122| if (is_helper) { # 123|-> if (pipe(pipefd)) { # 124| perror("pipe"); # 125| return -1; Error: GCC_ANALYZER_WARNING (CWE-401): [#def20] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:128:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’ # 126| } # 127| # 128|-> snprintf(fdstr, sizeof(fdstr), "%d", pipefd[1]); # 129| if (setenv("UV_TEST_RUNNER_FD", fdstr, /* overwrite */ 1)) { # 130| perror("setenv"); Error: GCC_ANALYZER_WARNING (CWE-401): [#def21] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:144:6: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’ # 142| #endif # 143| # 144|-> if (pid < 0) { # 145| perror("fork"); # 146| return -1; Error: GCC_ANALYZER_WARNING (CWE-401): [#def22] libuv-1.49.2-build/libuv-v1.49.2/test/runner-unix.c:149:6: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’ # 147| } # 148| # 149|-> if (pid == 0) { # 150| /* child */ # 151| if (is_helper) Error: CPPCHECK_WARNING (CWE-457): [#def23] libuv-1.49.2-build/libuv-v1.49.2/test/runner.c:405: error[uninitvar]: Uninitialized variables: helpers.task_name, helpers.process_name, helpers.main, helpers.is_helper, helpers.show_output, helpers.timeout # 403| printf("%-25s (helpers:", task->task_name); # 404| for (i = 0; i < n_helpers; i++) { # 405|-> printf(" %s", helpers[i]->process_name); # 406| } # 407| printf(")\n"); Error: GCC_ANALYZER_WARNING (CWE-775): [#def24] libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_bound_socket(addr)’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:534:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:529:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:200:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:112:3: note: in expansion of macro ‘ASSERT_GE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:120:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:125:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:243:3: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:468:3: note: in expansion of macro ‘ASSERT_NOT_NULL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:475:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:534:3: note: in expansion of macro ‘ASSERT_OK’ # 114| #define ASSERT_BASE(a, operator, b, type, conv) \ # 115| do { \ # 116|-> volatile type eval_a = (type) (a); \ # 117| volatile type eval_b = (type) (b); \ # 118| if (!(eval_a operator eval_b)) { \ Error: GCC_ANALYZER_WARNING (CWE-775): [#def25] libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c: scope_hint: In function ‘run_test_poll_bad_fdtype’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 0)’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:650:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:650:3: note: in expansion of macro ‘ASSERT_NE’ # 114| #define ASSERT_BASE(a, operator, b, type, conv) \ # 115| do { \ # 116|-> volatile type eval_a = (type) (a); \ # 117| volatile type eval_b = (type) (b); \ # 118| if (!(eval_a operator eval_b)) { \ Error: GCC_ANALYZER_WARNING (CWE-775): [#def26] libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:25: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c: scope_hint: In function ‘run_test_emfile’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:295:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘first_fd’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:58:5: note: in expansion of macro ‘RETURN_SKIP’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:62:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:63:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:63:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:65:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:65:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:66:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:66:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:201:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:72:3: note: in expansion of macro ‘ASSERT_GT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:75:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:90:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:94:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:94:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:95:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:95:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:105:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:105:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:105:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:58:5: note: in expansion of macro ‘RETURN_SKIP’ # 293| fprintf(stderr, "%s\n", explanation); \ # 294| fflush(stderr); \ # 295|-> return TEST_SKIP; \ # 296| } while (0) # 297| Error: GCC_ANALYZER_WARNING (CWE-775): [#def27] libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:74:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup(0)’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:62:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:63:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:63:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:65:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:65:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:66:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:66:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:201:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-emfile.c:72:3: note: in expansion of macro ‘ASSERT_GT’ # 72| ASSERT_GT(first_fd, 0); # 73| # 74|-> while (dup(0) != -1 || errno == EINTR); # 75| ASSERT_EQ(errno, EMFILE); # 76| close(maxfd); Error: GCC_ANALYZER_WARNING (CWE-457): [#def28] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:35: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c: scope_hint: In function ‘run_test_fork_socketpair_started’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:209:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:209:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:169:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:184:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:201:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:205:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:205:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:207:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:208:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:208:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:209:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:209:5: note: in expansion of macro ‘ASSERT_EQ’ # 207| ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); # 208| ASSERT_OK(socket_cb_called); # 209|-> ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert child */ # 210| ASSERT_EQ(3, send(socket_fds[1], "hi\n", 3, 0)); # 211| Error: GCC_ANALYZER_WARNING (CWE-457): [#def29] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:219:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:219:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:169:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:184:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:201:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:219:5: note: in expansion of macro ‘ASSERT_EQ’ # 217| /* child */ # 218| printf("Child is %d\n", getpid()); # 219|-> ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for parent */ # 220| ASSERT_OK(uv_loop_fork(uv_default_loop())); # 221| ASSERT_OK(socket_cb_called); Error: GCC_ANALYZER_WARNING (CWE-775): [#def30] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:233:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:169:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:184:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:201:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:219:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:220:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:220:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:221:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:221:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:226:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:227:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:227:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:229:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 231| # 232| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 233|-> return 0; # 234| } # 235| Error: GCC_ANALYZER_WARNING (CWE-775): [#def31] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:233:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:169:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:179:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:184:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:187:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:188:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:194:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:201:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:219:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:220:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:220:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:221:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:221:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:226:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:227:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:227:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:229:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:232:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 231| # 232| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 233|-> return 0; # 234| } # 235| Error: GCC_ANALYZER_WARNING (CWE-457): [#def32] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c: scope_hint: In function ‘run_test_fork_signal_to_child’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:275:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:275:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:246:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:261:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:271:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:275:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:275:5: note: in expansion of macro ‘ASSERT_EQ’ # 273| if (child_pid != 0) { # 274| /* parent */ # 275|-> ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for child */ # 276| ASSERT_OK(kill(child_pid, SIGUSR1)); # 277| /* Run the loop, make sure we don't get the signal. */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def33] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:246:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:261:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:271:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:286:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:286:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ # 285| /* child */ # 286| ASSERT_OK(uv_loop_fork(uv_default_loop())); # 287|-> ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert parent */ # 288| /* Get the signal. */ # 289| ASSERT_NE(0, uv_loop_alive(uv_default_loop())); Error: GCC_ANALYZER_WARNING (CWE-775): [#def34] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:296:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:246:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:261:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:271:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:286:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:289:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:289:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:291:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:292:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:292:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 294| # 295| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 296|-> return 0; # 297| } # 298| Error: GCC_ANALYZER_WARNING (CWE-775): [#def35] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:296:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:246:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:256:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:261:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:262:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:271:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:286:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:287:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:289:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:289:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:291:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:292:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:292:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:295:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 294| # 295| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 296|-> return 0; # 297| } # 298| Error: GCC_ANALYZER_WARNING (CWE-457): [#def36] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c: scope_hint: In function ‘run_test_fork_signal_to_child_closed’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ # 332| /* parent */ # 333| printf("Wating on child in parent\n"); # 334|-> ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for child */ # 335| printf("Parent killing child\n"); # 336| ASSERT_OK(kill(child_pid, SIGUSR1)); Error: GCC_ANALYZER_WARNING (CWE-457): [#def37] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe2[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:336:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:343:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:345:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ # 344| printf("Signal in parent %d\n", fork_signal_cb_called); # 345| ASSERT_OK(fork_signal_cb_called); # 346|-> ASSERT_EQ(1, write(sync_pipe2[1], "1", 1)); /* alert child */ # 347| printf("Waiting for child in parent\n"); # 348| assert_wait_child(child_pid); Error: GCC_ANALYZER_WARNING (CWE-457): [#def38] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:355:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:355:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:351:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:351:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:353:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:117:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:355:5: note: in expansion of macro ‘ASSERT_EQ’ # 353| ASSERT_NE(0, uv_loop_alive(uv_default_loop())); # 354| printf("Alerting parent in child\n"); # 355|-> ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert parent */ # 356| /* Don't run the loop. Wait for the parent to call us */ # 357| printf("Waiting on parent in child\n"); Error: GCC_ANALYZER_WARNING (CWE-457): [#def39] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:361:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sync_pipe2[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:351:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:351:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:353:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:355:5: note: in expansion of macro ‘ASSERT_EQ’ # 359| and exited, so this ASSERT is generous. # 360| */ # 361|-> r = read(sync_pipe2[0], sync_buf, 1); # 362| ASSERT(-1 <= r && r <= 1); # 363| ASSERT_OK(fork_signal_cb_called); Error: GCC_ANALYZER_WARNING (CWE-775): [#def40] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:375:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe2[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:336:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:343:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:345:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:90:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:91:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:92:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 373| # 374| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 375|-> return 0; # 376| } # 377| Error: GCC_ANALYZER_WARNING (CWE-775): [#def41] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:375:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe2[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:336:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:343:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:345:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:90:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:91:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:92:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 373| # 374| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 375|-> return 0; # 376| } # 377| Error: GCC_ANALYZER_WARNING (CWE-775): [#def42] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:375:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:336:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:343:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:345:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:90:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:91:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:92:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 373| # 374| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 375|-> return 0; # 376| } # 377| Error: GCC_ANALYZER_WARNING (CWE-775): [#def43] libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:375:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sync_pipe[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:300:1: note: in expansion of macro ‘TEST_IMPL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:313:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:314:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:319:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:320:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:329:3: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:334:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:336:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:74:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:76:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:77:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:343:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:345:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:346:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:90:3: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:91:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:104:9: note: in definition of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:92:3: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fork.c:374:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 373| # 374| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 375|-> return 0; # 376| } # 377| Error: GCC_ANALYZER_WARNING (CWE-457): [#def44] libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c: scope_hint: In function ‘test_fs_partial’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3831:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipe_fds[doread]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/task.h:243:3: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3810:3: note: in expansion of macro ‘ASSERT_NOT_NULL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:243:3: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3817:3: note: in expansion of macro ‘ASSERT_NOT_NULL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:243:3: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3819:3: note: in expansion of macro ‘ASSERT_NOT_NULL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3826:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3827:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3827:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3829:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3829:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-fs.c:3829:3: note: in expansion of macro ‘ASSERT_OK’ # 3829| ASSERT_OK(pipe(pipe_fds)); # 3830| # 3831|-> ctx.fd = pipe_fds[doread]; # 3832| ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); # 3833| Error: GCC_ANALYZER_WARNING (CWE-457): [#def45] libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c: scope_hint: In function ‘run_test_iouring_pollhup’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:97:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipefds[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:97:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:91:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:92:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:92:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:93:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:94:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:94:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:94:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:95:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:95:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:95:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:97:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-iouring-pollhup.c:97:3: note: in expansion of macro ‘ASSERT_OK’ # 95| ASSERT_OK(pipe(newpipefds)); # 96| # 97|-> ASSERT_OK(uv_pipe_open(&p1, pipefds[0])); # 98| duped_fd = dup(pipefds[0]); # 99| ASSERT_NE(duped_fd, -1); Error: GCC_ANALYZER_WARNING (CWE-457): [#def46] libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c: scope_hint: In function ‘run_test_pipe_close_stdout_read_stdin’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:77:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fd[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:34: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:64:3: note: in expansion of macro ‘ASSERT_OK’ # 75| * The write side will be closed by the parent process. # 76| */ # 77|-> close(fd[1]); # 78| /* block until write end of pipe is closed */ # 79| r = read(fd[0], &buf, 1); Error: GCC_ANALYZER_WARNING (CWE-457): [#def47] libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:107:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fd[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:64:3: note: in expansion of macro ‘ASSERT_OK’ # 105| * the other end. # 106| */ # 107|-> close(fd[1]); # 108| close(fd[0]); # 109| Error: GCC_ANALYZER_WARNING (CWE-775): [#def48] libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:115:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:80:5: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:83:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:87:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:90:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:93:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:100:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:100:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 113| # 114| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 115|-> return 0; # 116| } # 117| Error: GCC_ANALYZER_WARNING (CWE-775): [#def49] libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:115:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:64:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:80:5: note: in expansion of macro ‘ASSERT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:204:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:83:5: note: in expansion of macro ‘ASSERT_NE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:87:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:90:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:93:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:100:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:100:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:199:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:260:5: note: in expansion of macro ‘ASSERT_EQ’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ libuv-1.49.2-build/libuv-v1.49.2/test/test-pipe-close-stdout-read-stdin.c:114:3: note: in expansion of macro ‘MAKE_VALGRIND_HAPPY’ # 113| # 114| MAKE_VALGRIND_HAPPY(uv_default_loop()); # 115|-> return 0; # 116| } # 117| Error: GCC_ANALYZER_WARNING: [#def50] libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c: scope_hint: In function ‘start_server’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:533:7: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘-1’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:33: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:529:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:200:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:112:3: note: in expansion of macro ‘ASSERT_GE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:120:5: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:125:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:243:3: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:468:3: note: in expansion of macro ‘ASSERT_NOT_NULL’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-poll.c:475:3: note: in expansion of macro ‘ASSERT_OK’ # 531| context = create_server_context(sock); # 532| # 533|-> r = listen(sock, 100); # 534| ASSERT_OK(r); # 535| Error: GCC_ANALYZER_WARNING (CWE-457): [#def51] libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:24: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c: scope_hint: In function ‘run_test_signal_pending_on_close’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:75:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipefds[1]’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:65:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:67:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:67:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:69:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:71:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:71:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:71:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:73:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:75:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-signal-pending-on-close.c:75:3: note: in expansion of macro ‘ASSERT_OK’ # 73| ASSERT_OK(uv_pipe_init(&loop, &pipe_hdl, 0)); # 74| # 75|-> ASSERT_OK(uv_pipe_open(&pipe_hdl, pipefds[1])); # 76| # 77| /* Write data large enough so it needs loop iteration */ Error: GCC_ANALYZER_WARNING (CWE-686): [#def52] libuv-1.49.2-build/libuv-v1.49.2/test/test-threadpool-cancel.c: scope_hint: In function ‘saturate_threadpool’ libuv-1.49.2-build/libuv-v1.49.2/test/test-threadpool-cancel.c:76:3: warning[-Wanalyzer-putenv-of-auto-var]: ‘putenv’ on a pointer to automatic variable ‘buf’ [POS34-C] libuv-1.49.2-build/libuv-v1.49.2/test/test-threadpool-cancel.c:69:8: note: ‘buf’ declared on stack here libuv-1.49.2-build/libuv-v1.49.2/test/test-threadpool-cancel.c:76:3: note: perhaps use ‘setenv’ rather than ‘putenv’ # 74| "UV_THREADPOOL_SIZE=%lu", # 75| (unsigned long)ARRAY_SIZE(pause_reqs)); # 76|-> putenv(buf); # 77| # 78| loop = uv_default_loop(); Error: CPPCHECK_WARNING (CWE-457): [#def53] libuv-1.49.2-build/libuv-v1.49.2/test/test-threadpool-cancel.c:220: error[uninitvar]: Uninitialized variable: &hints # 218| ASSERT_OK(r); # 219| # 220|-> r = uv_getaddrinfo(loop, reqs + 3, getaddrinfo_cb, "fail", NULL, &hints); # 221| ASSERT_OK(r); # 222| Error: GCC_ANALYZER_WARNING: [#def54] libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:23: included_from: Included from here. libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c: scope_hint: In function ‘run_test_udp_send_unix’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:326:13: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:326:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:203:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:318:3: note: in expansion of macro ‘ASSERT_LT’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:200:25: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:322:3: note: in expansion of macro ‘ASSERT_GE’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:205:22: note: in expansion of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:325:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:326:3: note: in expansion of macro ‘ASSERT_OK’ libuv-1.49.2-build/libuv-v1.49.2/test/task.h:116:34: note: in definition of macro ‘ASSERT_BASE’ libuv-1.49.2-build/libuv-v1.49.2/test/test-udp-open.c:326:3: note: in expansion of macro ‘ASSERT_OK’ # 324| unlink(TEST_PIPENAME); # 325| ASSERT_OK(bind(fd, (const struct sockaddr*)&addr, sizeof addr)); # 326|-> ASSERT_OK(listen(fd, 1)); # 327| # 328| r = uv_udp_init(loop, &handle);
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-83.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | libuv-1.49.2-1.fc42 |
store-results-to | /tmp/tmpyyq7cxvz/libuv-1.49.2-1.fc42.tar.xz |
time-created | 2024-11-13 01:53:53 |
time-finished | 2024-11-13 01:56:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpyyq7cxvz/libuv-1.49.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpyyq7cxvz/libuv-1.49.2-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |