lttng-ust-2.13.9-1.fc43

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-469): [#def1]
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/doc/examples/demo/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def2]
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/doc/examples/easy-ust/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def3]
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/doc/examples/gen-tp/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def4]
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/doc/examples/hello-static-lib/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
lttng-ust-2.13.9/src/common/../../src/common/ringbuffer-clients/template.h:378:18: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  376|   				handle);
#  377|   	struct lttng_ust_channel_buffer *lttng_chan = channel_get_private(chan);
#  378|-> 	uint64_t cnt = shmp_index(handle, buf->backend.buf_cnt, subbuf_idx)->seq_cnt;
#  379|   
#  380|   	assert(header);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
lttng-ust-2.13.9/src/common/counter/counter.c:81:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'layout'
lttng-ust-2.13.9/src/common/counter/counter.c:209:21: enter_function: entry to 'lttng_counter_create'
lttng-ust-2.13.9/src/common/counter/counter.c:224:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:228:19: call_function: inlined call to 'zmalloc' from 'lttng_counter_create'
lttng-ust-2.13.9/src/common/counter/counter.c:229:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:231:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:234:13: call_function: calling 'lttng_counter_set_global_sum_step' from 'lttng_counter_create'
lttng-ust-2.13.9/src/common/counter/counter.c:234:13: return_function: returning to 'lttng_counter_create' from 'lttng_counter_set_global_sum_step'
lttng-ust-2.13.9/src/common/counter/counter.c:234:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:236:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:238:12: branch_false: following 'false' branch...
 branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:240:29: branch_false: following 'false' branch (when 'dimension >= nr_dimensions')...
lttng-ust-2.13.9/src/common/counter/counter.c:242:13: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:242:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:250:13: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:250:13: call_function: calling 'lttng_counter_init_stride' from 'lttng_counter_create'
lttng-ust-2.13.9/src/common/counter/counter.c:250:13: return_function: returning to 'lttng_counter_create' from 'lttng_counter_init_stride'
lttng-ust-2.13.9/src/common/counter/counter.c:250:12: branch_false: following 'false' branch...
 branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:253:29: branch_false: following 'false' branch (when 'dimension >= nr_dimensions')...
lttng-ust-2.13.9/src/common/counter/counter.c:255:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:259:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:262:33: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:263:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:266:13: branch_false: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:271:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:272:17: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/common/counter/counter.c:273:86: branch_true: ...to here
lttng-ust-2.13.9/src/common/counter/counter.c:273:31: call_function: calling 'lttng_counter_layout_init' from 'lttng_counter_create'
#   79|   		return -EINVAL;
#   80|   	}
#   81|-> 	layout->shm_fd = shm_fd;
#   82|   	counters_offset = shm_length;
#   83|   	shm_length += counter_size * nr_elem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:51:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#   49|   		return -EINVAL;
#   50|   
#   51|-> 	subbuf_size = chanb->subbuf_size;
#   52|   	num_subbuf_alloc = num_subbuf;
#   53|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:184:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  182|   	config = &chanb->config;
#  183|   
#  184|-> 	num_subbuf_alloc = chanb->num_subbuf;
#  185|   	if (chanb->extra_reader_sb)
#  186|   		num_subbuf_alloc++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:430:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  428|   	config = &chanb->config;
#  429|   	orig_len = len;
#  430|-> 	offset &= chanb->buf_size - 1;
#  431|   
#  432|   	if (caa_unlikely(!len))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:484:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:482:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:484:19: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:484:19: danger: dereference of NULL '<unknown>'
#  482|   	if (caa_unlikely(!len))
#  483|   		return -EINVAL;
#  484|-> 	offset &= chanb->buf_size - 1;
#  485|   	orig_offset = offset;
#  486|   	id = bufb->buf_rsb.id;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:537:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  535|   		return NULL;
#  536|   	config = &chanb->config;
#  537|-> 	offset &= chanb->buf_size - 1;
#  538|   	id = bufb->buf_rsb.id;
#  539|   	sb_bindex = subbuffer_id_get_index(config, id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:577:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  575|   		return NULL;
#  576|   	config = &chanb->config;
#  577|-> 	offset &= chanb->buf_size - 1;
#  578|   	sbidx = offset >> chanb->subbuf_size_order;
#  579|   	sb = shmp_index(handle, bufb->buf_wsb, sbidx);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:202:15: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(memory_map_size, 1)'
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:180:20: enter_function: entry to '_shm_object_table_alloc_mem'
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:187:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:189:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:191:22: call_function: inlined call to 'zmalloc' from '_shm_object_table_alloc_mem'
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:192:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:196:15: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:197:12: branch_false: following 'false' branch (when 'ret >= 0')...
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:202:15: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:203:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:204:17: branch_true: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:222:21: branch_true: following 'true' branch (when 'i != 2')...
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:223:23: branch_true: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/shm.c:202:15: danger: 'calloc(memory_map_size, 1)' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  200|   	}
#  201|   	/* The write end of the pipe needs to be non-blocking */
#  202|-> 	ret = fcntl(waitfd[1], F_SETFL, O_NONBLOCK);
#  203|   	if (ret < 0) {
#  204|   		PERROR("fcntl");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
lttng-ust-2.13.9/src/common/ringbuffer/shm.h:49:29: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:34:5: enter_function: entry to 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:47:18: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:58:12: branch_false: following 'false' branch (when 'page_size > 0')...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:62:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:65:13: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:65:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:72:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:75:13: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:75:12: branch_false: following 'false' branch...
 branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:79:21: branch_true: following 'true' branch (when 'num_subbuf_alloc > i')...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:80:17: branch_true: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:81:17: call_function: calling '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:81:17: return_function: returning to 'lib_ring_buffer_backend_allocate' from '_shmp_offset'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:84:22: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
#   47|   	size_t objindex, ref_offset;
#   48|   
#   49|-> 	objindex = (size_t) ref->index;
#   50|   	if (caa_unlikely(objindex >= table->allocated_len))
#   51|   		return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
lttng-ust-2.13.9/src/common/ringbuffer/shm.h:69:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:34:5: enter_function: entry to 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:47:18: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:58:12: branch_false: following 'false' branch (when 'page_size > 0')...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:62:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:65:13: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:65:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:72:9: branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:75:13: call_function: inlined call to '_shmp_offset' from 'lib_ring_buffer_backend_allocate'
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:75:12: branch_false: following 'false' branch...
 branch_false: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:79:21: branch_true: following 'true' branch (when 'num_subbuf_alloc > i')...
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:80:17: branch_true: ...to here
lttng-ust-2.13.9/src/common/ringbuffer/ring_buffer_backend.c:81:17: call_function: inlined call to '_set_shmp' from 'lib_ring_buffer_backend_allocate'
#   67|   void _set_shmp(struct shm_ref *ref, struct shm_ref src)
#   68|   {
#   69|-> 	*ref = src;
#   70|   }
#   71|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def16]
lttng-ust-2.13.9/src/common/smp.c:157:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 0)'
lttng-ust-2.13.9/src/common/smp.c:266:5: enter_function: entry to 'get_possible_cpus_array_len'
lttng-ust-2.13.9/src/common/smp.c:268:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/common/smp.c:269:17: branch_true: ...to here
lttng-ust-2.13.9/src/common/smp.c:269:17: call_function: calling 'update_possible_cpus_array_len_cache' from 'get_possible_cpus_array_len'
#  155|   
#  156|   	do {
#  157|-> 		bytes_read = read(fd, buf + total_bytes_read,
#  158|   				max_bytes - total_bytes_read);
#  159|   

Error: COMPILER_WARNING: [#def17]
lttng-ust-2.13.9/src/common/snprintf/vfprintf.c: scope_hint: In function 'ust_safe_vfprintf'
lttng-ust-2.13.9/src/common/snprintf/vfprintf.c:248:45: warning[-Wunterminated-string-initialization]: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available)
#  248 |         static const char xdigs_lower[16] = "0123456789abcdef";
#      |                                             ^~~~~~~~~~~~~~~~~~
#  246|   	 {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'};
#  247|   
#  248|-> 	static const char xdigs_lower[16] = "0123456789abcdef";
#  249|   	static const char xdigs_upper[16] = "0123456789ABCDEF";
#  250|   

Error: COMPILER_WARNING: [#def18]
lttng-ust-2.13.9/src/common/snprintf/vfprintf.c:249:45: warning[-Wunterminated-string-initialization]: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available)
#  249 |         static const char xdigs_upper[16] = "0123456789ABCDEF";
#      |                                             ^~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics
#  247|   
#  248|   	static const char xdigs_lower[16] = "0123456789abcdef";
#  249|-> 	static const char xdigs_upper[16] = "0123456789ABCDEF";
#  250|   
#  251|   	/*

Error: COMPILER_WARNING (CWE-563): [#def19]
lttng-ust-2.13.9/src/lib/lttng-ust-ctl/ustctl.c: scope_hint: In function 'lttng_ust_ctl_get_mmap_base'
lttng-ust-2.13.9/src/lib/lttng-ust-ctl/ustctl.c:107:17: warning[-Wunused-value]: statement with no effect
#  107 |                 true; \
#      |                 ^~~~
lttng-ust-2.13.9/src/lib/lttng-ust-ctl/ustctl.c:1733:13: note: in expansion of macro 'sigbus_begin'
# 1733 |         if (sigbus_begin())
#      |             ^~~~~~~~~~~~
#  105|   		/* SIGBUS. */ \
#  106|   		CMM_STORE_SHARED(lttng_ust_sigbus_state.jmp_ready, 0); \
#  107|-> 		true; \
#  108|   	} \
#  109|   	cmm_barrier(); \

Error: GCC_ANALYZER_WARNING (CWE-469): [#def20]
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:598:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-cyg-profile/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def21]
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:598:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-dl/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def22]
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:598:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-libc-wrapper/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def23]
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:598:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-pthread-wrapper/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def24]
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:598:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust-python-agent/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def25]
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:605:12: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:628:12: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
lttng-ust-2.13.9/src/lib/lttng-ust/event-notifier-notification.c:219:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'integer_type'
lttng-ust-2.13.9/src/lib/lttng-ust/event-notifier-notification.c:276:5: enter_function: entry to 'notification_append_capture'
lttng-ust-2.13.9/src/lib/lttng-ust/event-notifier-notification.c:297:23: call_function: calling 'capture_sequence' from 'notification_append_capture'
#  217|   		goto end;
#  218|   	}
#  219|-> 	signedness = integer_type->signedness;
#  220|   	for (i = 0; i < output->u.sequence.nr_elem; i++) {
#  221|   		if (signedness) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:262:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:734:5: enter_function: entry to 'lttng_bytecode_interpret'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:885:9: branch_false: following 'false' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:885:9: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:2342:89: branch_true: following 'true' branch (when 'top > 1')...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:2342:89: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:2342:31: call_function: calling 'dynamic_get_index' from 'lttng_bytecode_interpret'
#  260|   			ptr->ptr = &ptr->u.u64;
#  261|   		}
#  262|-> 		ptr->rev_bo = itype->reverse_byte_order;
#  263|   		break;
#  264|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:686:58: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:640:5: enter_function: entry to 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:686:58: call_function: inlined call to 'lttng_ust_get_type_sequence' from 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:686:58: danger: dereference of NULL '<unknown>'
#  684|   			output->u.sequence.ptr = *(const char **) (ax->u.ptr.ptr + sizeof(unsigned long));
#  685|   			output->u.sequence.nr_elem = *(unsigned long *) ax->u.ptr.ptr;
#  686|-> 			output->u.sequence.nested_type = lttng_ust_get_type_sequence(ax->u.ptr.field->type)->elem_type;
#  687|   			break;
#  688|   		case OBJECT_TYPE_ARRAY:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:692:54: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:640:5: enter_function: entry to 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:692:54: call_function: inlined call to 'lttng_ust_get_type_array' from 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:692:54: danger: dereference of NULL '<unknown>'
#  690|   			output->type = LTTNG_INTERPRETER_TYPE_SEQUENCE;
#  691|   			output->u.sequence.ptr = *(const char **) (ax->u.ptr.ptr + sizeof(unsigned long));
#  692|-> 			output->u.sequence.nr_elem = lttng_ust_get_type_array(ax->u.ptr.field->type)->length;
#  693|   			output->u.sequence.nested_type = lttng_ust_get_type_array(ax->u.ptr.field->type)->elem_type;
#  694|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:693:58: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:640:5: enter_function: entry to 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:692:54: call_function: inlined call to 'lttng_ust_get_type_array' from 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:692:54: branch_false: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:693:58: call_function: inlined call to 'lttng_ust_get_type_array' from 'lttng_bytecode_interpret_format_output'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-interpreter.c:693:58: danger: dereference of NULL '<unknown>'
#  691|   			output->u.sequence.ptr = *(const char **) (ax->u.ptr.ptr + sizeof(unsigned long));
#  692|   			output->u.sequence.nr_elem = lttng_ust_get_type_array(ax->u.ptr.field->type)->length;
#  693|-> 			output->u.sequence.nested_type = lttng_ust_get_type_array(ax->u.ptr.field->type)->elem_type;
#  694|   			break;
#  695|   		case OBJECT_TYPE_SIGNED_ENUM:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:516:15: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(strlen(orig_name) + 6, 1)'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1398:33: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1398:33: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1413:39: call_function: calling 'specialize_app_context_lookup' from 'lttng_bytecode_specialize'
#  514|   	strcpy(name, "$app.");
#  515|   	strcat(name, orig_name);
#  516|-> 	idx = lttng_get_context_index(*pctx, name);
#  517|   	if (idx < 0) {
#  518|   		assert(lttng_context_is_app(name));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:652:29: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:652:29: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:652:29: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:652:29: danger: dereference of NULL '<unknown>'
#  650|   
#  651|   		case BYTECODE_OP_RETURN:
#  652|-> 			if (vstack_ax(stack)->type == REG_S64 ||
#  653|   					vstack_ax(stack)->type == REG_U64)
#  654|   				*(bytecode_opcode_t *) pc = BYTECODE_OP_RETURN_S64;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:659:29: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:659:29: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:659:29: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:659:29: danger: dereference of NULL '<unknown>'
#  657|   
#  658|   		case BYTECODE_OP_RETURN_S64:
#  659|-> 			if (vstack_ax(stack)->type != REG_S64 &&
#  660|   					vstack_ax(stack)->type != REG_U64) {
#  661|   				ERR("Unexpected register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: danger: dereference of NULL '<unknown>'
#  681|   			struct binary_op *insn = (struct binary_op *) pc;
#  682|   
#  683|-> 			switch(vstack_ax(stack)->type) {
#  684|   			default:
#  685|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:690:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:690:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:690:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:690:37: danger: dereference of NULL '<unknown>'
#  688|   
#  689|   			case REG_STRING:
#  690|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  691|   					break;
#  692|   				if (vstack_bx(stack)->type == REG_STAR_GLOB_STRING)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:698:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1226:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1230:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:698:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:698:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:698:37: danger: dereference of NULL '<unknown>'
#  696|   				break;
#  697|   			case REG_STAR_GLOB_STRING:
#  698|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  699|   					break;
#  700|   				insn->op = BYTECODE_OP_EQ_STAR_GLOB_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:704:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:704:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:704:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:704:37: danger: dereference of NULL '<unknown>'
#  702|   			case REG_S64:
#  703|   			case REG_U64:
#  704|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  705|   					break;
#  706|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:713:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:683:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:713:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:713:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:713:37: danger: dereference of NULL '<unknown>'
#  711|   				break;
#  712|   			case REG_DOUBLE:
#  713|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  714|   					break;
#  715|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: danger: dereference of NULL '<unknown>'
#  736|   			struct binary_op *insn = (struct binary_op *) pc;
#  737|   
#  738|-> 			switch(vstack_ax(stack)->type) {
#  739|   			default:
#  740|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:745:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:745:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:745:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:745:37: danger: dereference of NULL '<unknown>'
#  743|   
#  744|   			case REG_STRING:
#  745|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  746|   					break;
#  747|   				if (vstack_bx(stack)->type == REG_STAR_GLOB_STRING)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:753:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1226:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1230:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:753:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:753:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:753:37: danger: dereference of NULL '<unknown>'
#  751|   				break;
#  752|   			case REG_STAR_GLOB_STRING:
#  753|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  754|   					break;
#  755|   				insn->op = BYTECODE_OP_NE_STAR_GLOB_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:759:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:759:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:759:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:759:37: danger: dereference of NULL '<unknown>'
#  757|   			case REG_S64:
#  758|   			case REG_U64:
#  759|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  760|   					break;
#  761|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:768:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:738:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:768:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:768:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:768:37: danger: dereference of NULL '<unknown>'
#  766|   				break;
#  767|   			case REG_DOUBLE:
#  768|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  769|   					break;
#  770|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: danger: dereference of NULL '<unknown>'
#  791|   			struct binary_op *insn = (struct binary_op *) pc;
#  792|   
#  793|-> 			switch(vstack_ax(stack)->type) {
#  794|   			default:
#  795|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:804:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:804:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:804:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:804:37: danger: dereference of NULL '<unknown>'
#  802|   				goto end;
#  803|   			case REG_STRING:
#  804|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  805|   					break;
#  806|   				insn->op = BYTECODE_OP_GT_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:810:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:810:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:810:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:810:37: danger: dereference of NULL '<unknown>'
#  808|   			case REG_S64:
#  809|   			case REG_U64:
#  810|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  811|   					break;
#  812|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:819:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:793:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:819:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:819:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:819:37: danger: dereference of NULL '<unknown>'
#  817|   				break;
#  818|   			case REG_DOUBLE:
#  819|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  820|   					break;
#  821|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: danger: dereference of NULL '<unknown>'
#  842|   			struct binary_op *insn = (struct binary_op *) pc;
#  843|   
#  844|-> 			switch(vstack_ax(stack)->type) {
#  845|   			default:
#  846|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:855:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:855:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:855:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:855:37: danger: dereference of NULL '<unknown>'
#  853|   				goto end;
#  854|   			case REG_STRING:
#  855|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  856|   					break;
#  857|   				insn->op = BYTECODE_OP_LT_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:861:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:861:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:861:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:861:37: danger: dereference of NULL '<unknown>'
#  859|   			case REG_S64:
#  860|   			case REG_U64:
#  861|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  862|   					break;
#  863|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:870:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:844:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:870:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:870:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:870:37: danger: dereference of NULL '<unknown>'
#  868|   				break;
#  869|   			case REG_DOUBLE:
#  870|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  871|   					break;
#  872|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: danger: dereference of NULL '<unknown>'
#  893|   			struct binary_op *insn = (struct binary_op *) pc;
#  894|   
#  895|-> 			switch(vstack_ax(stack)->type) {
#  896|   			default:
#  897|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:906:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:906:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:906:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:906:37: danger: dereference of NULL '<unknown>'
#  904|   				goto end;
#  905|   			case REG_STRING:
#  906|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  907|   					break;
#  908|   				insn->op = BYTECODE_OP_GE_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:912:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:912:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:912:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:912:37: danger: dereference of NULL '<unknown>'
#  910|   			case REG_S64:
#  911|   			case REG_U64:
#  912|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  913|   					break;
#  914|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:921:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:895:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:921:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:921:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:921:37: danger: dereference of NULL '<unknown>'
#  919|   				break;
#  920|   			case REG_DOUBLE:
#  921|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  922|   					break;
#  923|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: danger: dereference of NULL '<unknown>'
#  943|   			struct binary_op *insn = (struct binary_op *) pc;
#  944|   
#  945|-> 			switch(vstack_ax(stack)->type) {
#  946|   			default:
#  947|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:956:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1213:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1217:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:956:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:956:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:956:37: danger: dereference of NULL '<unknown>'
#  954|   				goto end;
#  955|   			case REG_STRING:
#  956|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  957|   					break;
#  958|   				insn->op = BYTECODE_OP_LE_STRING;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:962:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1188:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1192:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:962:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:962:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:962:37: danger: dereference of NULL '<unknown>'
#  960|   			case REG_S64:
#  961|   			case REG_U64:
#  962|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  963|   					break;
#  964|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:971:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1249:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1253:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:945:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:971:37: call_function: inlined call to 'vstack_bx' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:971:37: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:971:37: danger: dereference of NULL '<unknown>'
#  969|   				break;
#  970|   			case REG_DOUBLE:
#  971|-> 				if (vstack_bx(stack)->type == REG_UNKNOWN)
#  972|   					break;
#  973|   				if (vstack_bx(stack)->type == REG_S64 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1025:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1226:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1230:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1021:29: call_function: inlined call to 'vstack_pop' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1025:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1025:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1025:25: danger: dereference of NULL '<unknown>'
# 1023|   				goto end;
# 1024|   			}
# 1025|-> 			vstack_ax(stack)->type = REG_S64;
# 1026|   			next_pc += sizeof(struct binary_op);
# 1027|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1041:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1226:29: call_function: inlined call to 'vstack_push' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1230:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1037:29: call_function: inlined call to 'vstack_pop' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1041:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1041:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1041:25: danger: dereference of NULL '<unknown>'
# 1039|   				goto end;
# 1040|   			}
# 1041|-> 			vstack_ax(stack)->type = REG_S64;
# 1042|   			next_pc += sizeof(struct binary_op);
# 1043|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1051:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1051:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1051:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1051:32: danger: dereference of NULL '<unknown>'
# 1049|   			struct unary_op *insn = (struct unary_op *) pc;
# 1050|   
# 1051|-> 			switch(vstack_ax(stack)->type) {
# 1052|   			default:
# 1053|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1076:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1076:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1076:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1076:32: danger: dereference of NULL '<unknown>'
# 1074|   			struct unary_op *insn = (struct unary_op *) pc;
# 1075|   
# 1076|-> 			switch(vstack_ax(stack)->type) {
# 1077|   			default:
# 1078|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1101:32: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1101:32: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1101:32: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1101:32: danger: dereference of NULL '<unknown>'
# 1099|   			struct unary_op *insn = (struct unary_op *) pc;
# 1100|   
# 1101|-> 			switch(vstack_ax(stack)->type) {
# 1102|   			default:
# 1103|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1264:33: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1264:33: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1264:33: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1264:33: danger: dereference of NULL '<unknown>'
# 1262|   			struct cast_op *insn = (struct cast_op *) pc;
# 1263|   
# 1264|-> 			switch (vstack_ax(stack)->type) {
# 1265|   			default:
# 1266|   				ERR("unknown register type\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1293:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1293:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1293:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1293:25: danger: dereference of NULL '<unknown>'
# 1291|   		{
# 1292|   			/* Pop 1, push 1 */
# 1293|-> 			vstack_ax(stack)->type = REG_S64;
# 1294|   			next_pc += sizeof(struct cast_op);
# 1295|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1344:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1344:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1344:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1344:25: danger: dereference of NULL '<unknown>'
# 1342|   			struct load_op *insn = (struct load_op *) pc;
# 1343|   
# 1344|-> 			assert(vstack_ax(stack)->type == REG_PTR);
# 1345|   			/* Pop 1, push 1 */
# 1346|   			ret = specialize_load_field(vstack_ax(stack), insn);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1360:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1360:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1360:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1360:25: danger: dereference of NULL '<unknown>'
# 1358|   		{
# 1359|   			/* Pop 1, push 1 */
# 1360|-> 			vstack_ax(stack)->type = REG_S64;
# 1361|   			next_pc += sizeof(struct load_op);
# 1362|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1371:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1371:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1371:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1371:25: danger: dereference of NULL '<unknown>'
# 1369|   		{
# 1370|   			/* Pop 1, push 1 */
# 1371|-> 			vstack_ax(stack)->type = REG_U64;
# 1372|   			next_pc += sizeof(struct load_op);
# 1373|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1380:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1380:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1380:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1380:25: danger: dereference of NULL '<unknown>'
# 1378|   		{
# 1379|   			/* Pop 1, push 1 */
# 1380|-> 			vstack_ax(stack)->type = REG_STRING;
# 1381|   			next_pc += sizeof(struct load_op);
# 1382|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1388:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:629:5: enter_function: entry to 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:641:39: branch_true: following 'true' branch...
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:643:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1388:25: call_function: inlined call to 'vstack_ax' from 'lttng_bytecode_specialize'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1388:25: branch_true: ...to here
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-bytecode-specialize.c:1388:25: danger: dereference of NULL '<unknown>'
# 1386|   		{
# 1387|   			/* Pop 1, push 1 */
# 1388|-> 			vstack_ax(stack)->type = REG_DOUBLE;
# 1389|   			next_pc += sizeof(struct load_op);
# 1390|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-ust-abi.c:212:21: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-ust-abi.c:1354:6: enter_function: entry to 'lttng_ust_abi_exit'
lttng-ust-2.13.9/src/lib/lttng-ust/lttng-ust-abi.c:1358:9: call_function: calling 'objd_table_destroy' from 'lttng_ust_abi_exit'
#  210|   		const struct lttng_ust_abi_objd_ops *ops = lttng_ust_abi_objd_ops(id);
#  211|   
#  212|-> 		if (ops->release)
#  213|   			ops->release(id);
#  214|   		objd_free(id);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def73]
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/benchmark/../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def74]
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api0/ctf-types/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def75]
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello-many/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def76]
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api0/hello/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def77]
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api0/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def78]
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello-many/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def79]
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api1/hello/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def80]
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api1/same_line_tracepoint/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def81]
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api1/test-app-ctx/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def82]
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/compile/api1/ust-fields/../../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Error: GCC_ANALYZER_WARNING (CWE-469): [#def83]
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:630:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:598:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:600:13: branch_false: ...to here
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:605:12: branch_false: following ‘false’ branch...
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:609:13: branch_false: ...to here
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:628:12: branch_true: following ‘true’ branch...
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:630:67: branch_true: ...to here
lttng-ust-2.13.9/tests/regression/abi0-conflict/../../../include/lttng/tracepoint.h:630:67: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  628|   	if (lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register) {
#  629|   		lttng_ust_tracepoint_dlopen_ptr->lttng_ust_tracepoint_module_register(__start_lttng_ust_tracepoints_ptrs,
#  630|-> 				__stop_lttng_ust_tracepoints_ptrs -
#  631|   				__start_lttng_ust_tracepoints_ptrs);
#  632|   	}

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-47.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelttng-ust-2.13.9-1.fc43
store-results-to/tmp/tmpdrziad5o/lttng-ust-2.13.9-1.fc43.tar.xz
time-created2025-04-25 14:21:42
time-finished2025-04-25 14:24:25
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpdrziad5o/lttng-ust-2.13.9-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdrziad5o/lttng-ust-2.13.9-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9