mesa-24.2.6-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
mesa-24.2.6-build/mesa-24.2.6/include/tensorflow/lite/c/common.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘PrepareDelegate’
mesa-24.2.6-build/mesa-24.2.6/include/tensorflow/lite/core/c/common.h:219:14: warning[-Wanalyzer-malloc-leak]: leak of ‘supported_nodes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
#  217|       const TfLiteStatus s = (a);  \
#  218|       if (s != kTfLiteOk) {        \
#  219|->       return s;                  \
#  220|       }                            \
#  221|     } while (0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:43:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-lex.l:621:2: note: in expansion of macro ‘yy_scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2751:17: note: in expansion of macro ‘yy_scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2724:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2459:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2469:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
#   41|   #ifdef yy_scan_bytes
#   42|   #define glcpp__scan_bytes_ALREADY_DEFINED
#   43|-> #else
#   44|   #define yy_scan_bytes glcpp__scan_bytes
#   45|   #endif

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:43:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-lex.l:621:2: note: in expansion of macro ‘yy_scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2751:17: note: in expansion of macro ‘yy_scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2773:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2459:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2469:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
#   41|   #ifdef yy_scan_bytes
#   42|   #define glcpp__scan_bytes_ALREADY_DEFINED
#   43|-> #else
#   44|   #define yy_scan_bytes glcpp__scan_bytes
#   45|   #endif

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2520:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2506:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2510:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__create_buffer’
# 2518|   	 * we need to put in 2 end-of-buffer characters.
# 2519|   	 */
# 2520|-> 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 2521|   	if ( ! b->yy_ch_buf )
# 2522|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2562:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2441:10: note: in expansion of macro ‘yyrestart’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2506:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2525:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2554:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2583:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2525:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2554:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2583:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
# 2560|   
# 2561|   	yy_flush_buffer( b , yyscanner);
# 2562|-> 
# 2563|   	b->yy_input_file = file;
# 2564|   	b->yy_fill_buffer = 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2780:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2773:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
# 2778|   	for ( i = 0; i < _yybytes_len; ++i )
# 2779|   		buf[i] = yybytes[i];
# 2780|-> 
# 2781|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 2782|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1993:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_build_addr_iadd’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_build_addr_iadd’
# 1991|   nir_u2u32(nir_builder *build, nir_def *src0)
# 1992|   {
# 1993|->    if (src0->bit_size == 32)
# 1994|         return src0;
# 1995|      return nir_build_alu1(build, nir_op_u2u32, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1993:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tex_h’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘lower_txq’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_private.h:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_tex.c:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_txq’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
# 1991|   nir_u2u32(nir_builder *build, nir_def *src0)
# 1992|   {
# 1993|->    if (src0->bit_size == 32)
# 1994|         return src0;
# 1995|      return nir_build_alu1(build, nir_op_u2u32, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2000:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/pan_ir.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.h:79:51: note: in definition of macro ‘rzalloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:297:4: note: in expansion of macro ‘COMPILE_SHADER’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:213:19: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:40:4: note: in expansion of macro ‘nir_load_ubo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:197:4: note: in expansion of macro ‘panfrost_afbc_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c:214:24: note: in expansion of macro ‘panfrost_afbc_size_get_info_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘read_afbc_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_afbc_cso.c: scope_hint: In function ‘read_afbc_header’
# 1998|   nir_u2u64(nir_builder *build, nir_def *src0)
# 1999|   {
# 2000|->    if (src0->bit_size == 64)
# 2001|         return src0;
# 2002|      return nir_build_alu1(build, nir_op_u2u64, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2000:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data_w’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘shrink_image_load’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘shrink_image_load’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘shrink_image_load’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘shrink_image_load’
# 1998|   nir_u2u64(nir_builder *build, nir_def *src0)
# 1999|   {
# 2000|->    if (src0->bit_size == 64)
# 2001|         return src0;
# 2002|      return nir_build_alu1(build, nir_op_u2u64, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/pan_lower_sample_position.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_u2u64’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2000:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_u2u64’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/pan_lower_sample_position.c: scope_hint: In function ‘nir_u2u64’
# 1998|   nir_u2u64(nir_builder *build, nir_def *src0)
# 1999|   {
# 2000|->    if (src0->bit_size == 64)
# 2001|         return src0;
# 2002|      return nir_build_alu1(build, nir_op_u2u64, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_lower_subgroups.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_brcst_active_ir3’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:4899:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_lower_subgroups.c:567:24: note: in expansion of macro ‘nir_brcst_active_ir3’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_lower_subgroups.c:567:24: note: in expansion of macro ‘nir_brcst_active_ir3’
# 4897|         build->shader, nir_intrinsic_brcst_active_ir3);
# 4898|   
# 4899|->       nir_def_init(&intrin->instr, &intrin->def, 1, src0->bit_size);
# 4900|      intrin->src[0] = nir_src_for_ssa(src0);
# 4901|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_lower_tess_io_to_mem.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:11882:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_shader_util.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_lower_tess_io_to_mem.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_lower_tess_io_to_mem.c: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_lower_tess_io_to_mem.c: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_lower_tess_io_to_mem.c:746:4: note: in expansion of macro ‘nir_store_buffer_amd’
#11880|         build->shader, nir_intrinsic_store_buffer_amd);
#11881|   
#11882|->    intrin->num_components = src0->num_components;
#11883|      intrin->src[0] = nir_src_for_ssa(src0);
#11884|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:12225:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:484:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:484:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1946:4: note: in expansion of macro ‘nir_build_store_reg’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_reg’
#12223|         build->shader, nir_intrinsic_store_reg);
#12224|   
#12225|->    intrin->num_components = src0->num_components;
#12226|      intrin->src[0] = nir_src_for_ssa(src0);
#12227|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:12295:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_task_shader.c:437:7: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_task_shader.c:437:7: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_task_shader.c: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_task_shader.c: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_task_shader.c:90:4: note: in expansion of macro ‘nir_store_shared’
#12293|         build->shader, nir_intrinsic_store_shared);
#12294|   
#12295|->    intrin->num_components = src0->num_components;
#12296|      intrin->src[0] = nir_src_for_ssa(src0);
#12297|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:12370:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1481:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/nir_spirv.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:78: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1481:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1481:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1481:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1493:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1493:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1493:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1493:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1496:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1496:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1496:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1496:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_query.c:1397:4: note: in expansion of macro ‘nir_store_ssbo’
#12368|         build->shader, nir_intrinsic_store_ssbo);
#12369|   
#12370|->    intrin->num_components = src0->num_components;
#12371|      intrin->src[0] = nir_src_for_ssa(src0);
#12372|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def17]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14754:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘channels[i]’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
#14752|   #define nir_quad_vote_all _nir_build_quad_vote_all
#14753|   #define nir_quad_vote_any _nir_build_quad_vote_any
#14754|-> #define nir_read_first_invocation _nir_build_read_first_invocation
#14755|   #define nir_read_invocation _nir_build_read_invocation
#14756|   #define nir_read_invocation_cond_ir3 _nir_build_read_invocation_cond_ir3

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_ieq_imm’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:15272:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
#15270|   nir_ieq_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#15271|   {
#15272|->    return nir_ieq(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#15273|   }
#15274|   static inline nir_def *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_ine_imm’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:15277:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:394:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:270:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:271:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:271:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:271:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c: scope_hint: In function ‘nir_ine_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:271:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_rt.c:271:7: note: in expansion of macro ‘nir_foreach_instr_safe’
#15275|   nir_ine_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#15276|   {
#15277|->    return nir_ine(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#15278|   }
#15279|   static inline nir_def *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_ult_imm’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:15282:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_ult_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ult_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_ult_imm’
#15280|   nir_ult_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#15281|   {
#15282|->    return nir_ult(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#15283|   }
#15284|   static inline nir_def *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_intrinsics_indices.h:56:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:174:4: note: in expansion of macro ‘list_for_each_entry_safe’
#   54|   nir_intrinsic_write_mask(const nir_intrinsic_instr *instr)
#   55|   {
#   56|->    const nir_intrinsic_info *info = &nir_intrinsic_infos[instr->intrinsic];
#   57|      assert(info->index_map[NIR_INTRINSIC_WRITE_MASK] > 0);
#   58|      return (unsigned)instr->const_index[info->index_map[NIR_INTRINSIC_WRITE_MASK] - 1];

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3767:18: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3769:41: note: in expansion of macro ‘yyrealloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3769:41: note: in expansion of macro ‘yyrealloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
# 3765|   				else
# 3766|   					b->yy_buf_size *= 2;
# 3767|-> 
# 3768|   				b->yy_ch_buf = (char *)
# 3769|   					/* Include room in for 2 EOB chars. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4089:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4075:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4079:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_create_buffer’
# 4087|   	 * we need to put in 2 end-of-buffer characters.
# 4088|   	 */
# 4089|-> 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
# 4090|   	if ( ! b->yy_ch_buf )
# 4091|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4343:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4327:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4336:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4345:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4277:17: note: in expansion of macro ‘yy_scan_buffer’
# 4341|   	for ( i = 0; i < _yybytes_len; ++i )
# 4342|   		buf[i] = yybytes[i];
# 4343|-> 
# 4344|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 4345|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c: scope_hint: In function ‘ir3_yyparse’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1270:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1255:9: note: in expansion of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3077:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1270:25: note: in definition of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3077:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1255:9: note: in expansion of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3077:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
# 1268|   #  if defined __GNUC__ && 1 < __GNUC__
# 1269|   #   define YYCOPY(Dst, Src, Count) \
# 1270|->       __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# 1271|   #  else
# 1272|   #   define YYCOPY(Dst, Src, Count)              \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3204:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
# 3202|        unconditionally makes the parser a bit smaller, and it avoids a
# 3203|        GCC warning that YYVAL may be used uninitialized.  */
# 3204|->   yyval = yyvsp[1-yylen];
# 3205|   
# 3206|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6276:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4653:4: note: in expansion of macro ‘CALL_CompressedTexImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4653:4: note: in expansion of macro ‘CALL_CompressedTexImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4653:4: note: in expansion of macro ‘CALL_CompressedTexImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4653:4: note: in expansion of macro ‘CALL_CompressedTexImage1D’
# 6274|   
# 6275|   typedef void (GLAPIENTRYP _glptr_CompressedTexImage1D)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
# 6276|-> #define CALL_CompressedTexImage1D(disp, parameters) (* GET_CompressedTexImage1D(disp)) parameters
# 6277|   #define GET_CompressedTexImage1D(disp) ((_glptr_CompressedTexImage1D)(GET_by_offset((disp), _gloffset_CompressedTexImage1D)))
# 6278|   #define SET_CompressedTexImage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6284:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4607:4: note: in expansion of macro ‘CALL_CompressedTexImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4607:4: note: in expansion of macro ‘CALL_CompressedTexImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4607:4: note: in expansion of macro ‘CALL_CompressedTexImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4607:4: note: in expansion of macro ‘CALL_CompressedTexImage2D’
# 6282|   
# 6283|   typedef void (GLAPIENTRYP _glptr_CompressedTexImage2D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
# 6284|-> #define CALL_CompressedTexImage2D(disp, parameters) (* GET_CompressedTexImage2D(disp)) parameters
# 6285|   #define GET_CompressedTexImage2D(disp) ((_glptr_CompressedTexImage2D)(GET_by_offset((disp), _gloffset_CompressedTexImage2D)))
# 6286|   #define SET_CompressedTexImage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6292:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4558:4: note: in expansion of macro ‘CALL_CompressedTexImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4558:4: note: in expansion of macro ‘CALL_CompressedTexImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4558:4: note: in expansion of macro ‘CALL_CompressedTexImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4558:4: note: in expansion of macro ‘CALL_CompressedTexImage3D’
# 6290|   
# 6291|   typedef void (GLAPIENTRYP _glptr_CompressedTexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
# 6292|-> #define CALL_CompressedTexImage3D(disp, parameters) (* GET_CompressedTexImage3D(disp)) parameters
# 6293|   #define GET_CompressedTexImage3D(disp) ((_glptr_CompressedTexImage3D)(GET_by_offset((disp), _gloffset_CompressedTexImage3D)))
# 6294|   #define SET_CompressedTexImage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6300:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4806:4: note: in expansion of macro ‘CALL_CompressedTexSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4806:4: note: in expansion of macro ‘CALL_CompressedTexSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4806:4: note: in expansion of macro ‘CALL_CompressedTexSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4806:4: note: in expansion of macro ‘CALL_CompressedTexSubImage1D’
# 6298|   
# 6299|   typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
# 6300|-> #define CALL_CompressedTexSubImage1D(disp, parameters) (* GET_CompressedTexSubImage1D(disp)) parameters
# 6301|   #define GET_CompressedTexSubImage1D(disp) ((_glptr_CompressedTexSubImage1D)(GET_by_offset((disp), _gloffset_CompressedTexSubImage1D)))
# 6302|   #define SET_CompressedTexSubImage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6308:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4759:4: note: in expansion of macro ‘CALL_CompressedTexSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4759:4: note: in expansion of macro ‘CALL_CompressedTexSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4759:4: note: in expansion of macro ‘CALL_CompressedTexSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4759:4: note: in expansion of macro ‘CALL_CompressedTexSubImage2D’
# 6306|   
# 6307|   typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
# 6308|-> #define CALL_CompressedTexSubImage2D(disp, parameters) (* GET_CompressedTexSubImage2D(disp)) parameters
# 6309|   #define GET_CompressedTexSubImage2D(disp) ((_glptr_CompressedTexSubImage2D)(GET_by_offset((disp), _gloffset_CompressedTexSubImage2D)))
# 6310|   #define SET_CompressedTexSubImage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTexSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6316:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4706:4: note: in expansion of macro ‘CALL_CompressedTexSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4706:4: note: in expansion of macro ‘CALL_CompressedTexSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4706:4: note: in expansion of macro ‘CALL_CompressedTexSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4706:4: note: in expansion of macro ‘CALL_CompressedTexSubImage3D’
# 6314|   
# 6315|   typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
# 6316|-> #define CALL_CompressedTexSubImage3D(disp, parameters) (* GET_CompressedTexSubImage3D(disp)) parameters
# 6317|   #define GET_CompressedTexSubImage3D(disp) ((_glptr_CompressedTexSubImage3D)(GET_by_offset((disp), _gloffset_CompressedTexSubImage3D)))
# 6318|   #define SET_CompressedTexSubImage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_GetCompressedTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6324:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4843:4: note: in expansion of macro ‘CALL_GetCompressedTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4843:4: note: in expansion of macro ‘CALL_GetCompressedTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4843:4: note: in expansion of macro ‘CALL_GetCompressedTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4843:4: note: in expansion of macro ‘CALL_GetCompressedTexImage’
# 6322|   
# 6323|   typedef void (GLAPIENTRYP _glptr_GetCompressedTexImage)(GLenum, GLint, GLvoid *);
# 6324|-> #define CALL_GetCompressedTexImage(disp, parameters) (* GET_GetCompressedTexImage(disp)) parameters
# 6325|   #define GET_GetCompressedTexImage(disp) ((_glptr_GetCompressedTexImage)(GET_by_offset((disp), _gloffset_GetCompressedTexImage)))
# 6326|   #define SET_GetCompressedTexImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_LoadTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6332:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4451:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4451:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4451:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4451:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixd’
# 6330|   
# 6331|   typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixd)(const GLdouble *);
# 6332|-> #define CALL_LoadTransposeMatrixd(disp, parameters) (* GET_LoadTransposeMatrixd(disp)) parameters
# 6333|   #define GET_LoadTransposeMatrixd(disp) ((_glptr_LoadTransposeMatrixd)(GET_by_offset((disp), _gloffset_LoadTransposeMatrixd)))
# 6334|   #define SET_LoadTransposeMatrixd(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_LoadTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6340:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4429:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4429:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4429:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4429:4: note: in expansion of macro ‘CALL_LoadTransposeMatrixf’
# 6338|   
# 6339|   typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixf)(const GLfloat *);
# 6340|-> #define CALL_LoadTransposeMatrixf(disp, parameters) (* GET_LoadTransposeMatrixf(disp)) parameters
# 6341|   #define GET_LoadTransposeMatrixf(disp) ((_glptr_LoadTransposeMatrixf)(GET_by_offset((disp), _gloffset_LoadTransposeMatrixf)))
# 6342|   #define SET_LoadTransposeMatrixf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_MultTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6348:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4495:4: note: in expansion of macro ‘CALL_MultTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4495:4: note: in expansion of macro ‘CALL_MultTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4495:4: note: in expansion of macro ‘CALL_MultTransposeMatrixd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4495:4: note: in expansion of macro ‘CALL_MultTransposeMatrixd’
# 6346|   
# 6347|   typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixd)(const GLdouble *);
# 6348|-> #define CALL_MultTransposeMatrixd(disp, parameters) (* GET_MultTransposeMatrixd(disp)) parameters
# 6349|   #define GET_MultTransposeMatrixd(disp) ((_glptr_MultTransposeMatrixd)(GET_by_offset((disp), _gloffset_MultTransposeMatrixd)))
# 6350|   #define SET_MultTransposeMatrixd(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_MultTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6356:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4473:4: note: in expansion of macro ‘CALL_MultTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4473:4: note: in expansion of macro ‘CALL_MultTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4473:4: note: in expansion of macro ‘CALL_MultTransposeMatrixf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4473:4: note: in expansion of macro ‘CALL_MultTransposeMatrixf’
# 6354|   
# 6355|   typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixf)(const GLfloat *);
# 6356|-> #define CALL_MultTransposeMatrixf(disp, parameters) (* GET_MultTransposeMatrixf(disp)) parameters
# 6357|   #define GET_MultTransposeMatrixf(disp) ((_glptr_MultTransposeMatrixf)(GET_by_offset((disp), _gloffset_MultTransposeMatrixf)))
# 6358|   #define SET_MultTransposeMatrixf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_SampleCoverage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6364:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4519:4: note: in expansion of macro ‘CALL_SampleCoverage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4519:4: note: in expansion of macro ‘CALL_SampleCoverage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4519:4: note: in expansion of macro ‘CALL_SampleCoverage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4519:4: note: in expansion of macro ‘CALL_SampleCoverage’
# 6362|   
# 6363|   typedef void (GLAPIENTRYP _glptr_SampleCoverage)(GLclampf, GLboolean);
# 6364|-> #define CALL_SampleCoverage(disp, parameters) (* GET_SampleCoverage(disp)) parameters
# 6365|   #define GET_SampleCoverage(disp) ((_glptr_SampleCoverage)(GET_by_offset((disp), _gloffset_SampleCoverage)))
# 6366|   #define SET_SampleCoverage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_BlendFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6372:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4878:4: note: in expansion of macro ‘CALL_BlendFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4878:4: note: in expansion of macro ‘CALL_BlendFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4878:4: note: in expansion of macro ‘CALL_BlendFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4878:4: note: in expansion of macro ‘CALL_BlendFuncSeparate’
# 6370|   
# 6371|   typedef void (GLAPIENTRYP _glptr_BlendFuncSeparate)(GLenum, GLenum, GLenum, GLenum);
# 6372|-> #define CALL_BlendFuncSeparate(disp, parameters) (* GET_BlendFuncSeparate(disp)) parameters
# 6373|   #define GET_BlendFuncSeparate(disp) ((_glptr_BlendFuncSeparate)(GET_by_offset((disp), _gloffset_BlendFuncSeparate)))
# 6374|   #define SET_BlendFuncSeparate(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_FogCoordPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6380:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5002:4: note: in expansion of macro ‘CALL_FogCoordPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5002:4: note: in expansion of macro ‘CALL_FogCoordPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5002:4: note: in expansion of macro ‘CALL_FogCoordPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5002:4: note: in expansion of macro ‘CALL_FogCoordPointer’
# 6378|   
# 6379|   typedef void (GLAPIENTRYP _glptr_FogCoordPointer)(GLenum, GLsizei, const GLvoid *);
# 6380|-> #define CALL_FogCoordPointer(disp, parameters) (* GET_FogCoordPointer(disp)) parameters
# 6381|   #define GET_FogCoordPointer(disp) ((_glptr_FogCoordPointer)(GET_by_offset((disp), _gloffset_FogCoordPointer)))
# 6382|   #define SET_FogCoordPointer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_FogCoordd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6388:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4947:4: note: in expansion of macro ‘CALL_FogCoordd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4947:4: note: in expansion of macro ‘CALL_FogCoordd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4947:4: note: in expansion of macro ‘CALL_FogCoordd’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4947:4: note: in expansion of macro ‘CALL_FogCoordd’
# 6386|   
# 6387|   typedef void (GLAPIENTRYP _glptr_FogCoordd)(GLdouble);
# 6388|-> #define CALL_FogCoordd(disp, parameters) (* GET_FogCoordd(disp)) parameters
# 6389|   #define GET_FogCoordd(disp) ((_glptr_FogCoordd)(GET_by_offset((disp), _gloffset_FogCoordd)))
# 6390|   #define SET_FogCoordd(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_FogCoorddv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6396:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4969:4: note: in expansion of macro ‘CALL_FogCoorddv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4969:4: note: in expansion of macro ‘CALL_FogCoorddv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4969:4: note: in expansion of macro ‘CALL_FogCoorddv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4969:4: note: in expansion of macro ‘CALL_FogCoorddv’
# 6394|   
# 6395|   typedef void (GLAPIENTRYP _glptr_FogCoorddv)(const GLdouble *);
# 6396|-> #define CALL_FogCoorddv(disp, parameters) (* GET_FogCoorddv(disp)) parameters
# 6397|   #define GET_FogCoorddv(disp) ((_glptr_FogCoorddv)(GET_by_offset((disp), _gloffset_FogCoorddv)))
# 6398|   #define SET_FogCoorddv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_PointParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6412:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5045:4: note: in expansion of macro ‘CALL_PointParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5045:4: note: in expansion of macro ‘CALL_PointParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5045:4: note: in expansion of macro ‘CALL_PointParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5045:4: note: in expansion of macro ‘CALL_PointParameterf’
# 6410|   
# 6411|   typedef void (GLAPIENTRYP _glptr_PointParameterf)(GLenum, GLfloat);
# 6412|-> #define CALL_PointParameterf(disp, parameters) (* GET_PointParameterf(disp)) parameters
# 6413|   #define GET_PointParameterf(disp) ((_glptr_PointParameterf)(GET_by_offset((disp), _gloffset_PointParameterf)))
# 6414|   #define SET_PointParameterf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_PointParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6420:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5073:4: note: in expansion of macro ‘CALL_PointParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5073:4: note: in expansion of macro ‘CALL_PointParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5073:4: note: in expansion of macro ‘CALL_PointParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5073:4: note: in expansion of macro ‘CALL_PointParameterfv’
# 6418|   
# 6419|   typedef void (GLAPIENTRYP _glptr_PointParameterfv)(GLenum, const GLfloat *);
# 6420|-> #define CALL_PointParameterfv(disp, parameters) (* GET_PointParameterfv(disp)) parameters
# 6421|   #define GET_PointParameterfv(disp) ((_glptr_PointParameterfv)(GET_by_offset((disp), _gloffset_PointParameterfv)))
# 6422|   #define SET_PointParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_PointParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6428:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5102:4: note: in expansion of macro ‘CALL_PointParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5102:4: note: in expansion of macro ‘CALL_PointParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5102:4: note: in expansion of macro ‘CALL_PointParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5102:4: note: in expansion of macro ‘CALL_PointParameteri’
# 6426|   
# 6427|   typedef void (GLAPIENTRYP _glptr_PointParameteri)(GLenum, GLint);
# 6428|-> #define CALL_PointParameteri(disp, parameters) (* GET_PointParameteri(disp)) parameters
# 6429|   #define GET_PointParameteri(disp) ((_glptr_PointParameteri)(GET_by_offset((disp), _gloffset_PointParameteri)))
# 6430|   #define SET_PointParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_PointParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6436:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5130:4: note: in expansion of macro ‘CALL_PointParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5130:4: note: in expansion of macro ‘CALL_PointParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5130:4: note: in expansion of macro ‘CALL_PointParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5130:4: note: in expansion of macro ‘CALL_PointParameteriv’
# 6434|   
# 6435|   typedef void (GLAPIENTRYP _glptr_PointParameteriv)(GLenum, const GLint *);
# 6436|-> #define CALL_PointParameteriv(disp, parameters) (* GET_PointParameteriv(disp)) parameters
# 6437|   #define GET_PointParameteriv(disp) ((_glptr_PointParameteriv)(GET_by_offset((disp), _gloffset_PointParameteriv)))
# 6438|   #define SET_PointParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6444:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:57:4: note: in expansion of macro ‘CALL_SecondaryColor3b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:57:4: note: in expansion of macro ‘CALL_SecondaryColor3b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:57:4: note: in expansion of macro ‘CALL_SecondaryColor3b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:57:4: note: in expansion of macro ‘CALL_SecondaryColor3b’
# 6442|   
# 6443|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3b)(GLbyte, GLbyte, GLbyte);
# 6444|-> #define CALL_SecondaryColor3b(disp, parameters) (* GET_SecondaryColor3b(disp)) parameters
# 6445|   #define GET_SecondaryColor3b(disp) ((_glptr_SecondaryColor3b)(GET_by_offset((disp), _gloffset_SecondaryColor3b)))
# 6446|   #define SET_SecondaryColor3b(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6452:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:81:4: note: in expansion of macro ‘CALL_SecondaryColor3bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:81:4: note: in expansion of macro ‘CALL_SecondaryColor3bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:81:4: note: in expansion of macro ‘CALL_SecondaryColor3bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:81:4: note: in expansion of macro ‘CALL_SecondaryColor3bv’
# 6450|   
# 6451|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3bv)(const GLbyte *);
# 6452|-> #define CALL_SecondaryColor3bv(disp, parameters) (* GET_SecondaryColor3bv(disp)) parameters
# 6453|   #define GET_SecondaryColor3bv(disp) ((_glptr_SecondaryColor3bv)(GET_by_offset((disp), _gloffset_SecondaryColor3bv)))
# 6454|   #define SET_SecondaryColor3bv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6460:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:107:4: note: in expansion of macro ‘CALL_SecondaryColor3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:107:4: note: in expansion of macro ‘CALL_SecondaryColor3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:107:4: note: in expansion of macro ‘CALL_SecondaryColor3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:107:4: note: in expansion of macro ‘CALL_SecondaryColor3d’
# 6458|   
# 6459|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3d)(GLdouble, GLdouble, GLdouble);
# 6460|-> #define CALL_SecondaryColor3d(disp, parameters) (* GET_SecondaryColor3d(disp)) parameters
# 6461|   #define GET_SecondaryColor3d(disp) ((_glptr_SecondaryColor3d)(GET_by_offset((disp), _gloffset_SecondaryColor3d)))
# 6462|   #define SET_SecondaryColor3d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6468:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:131:4: note: in expansion of macro ‘CALL_SecondaryColor3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:131:4: note: in expansion of macro ‘CALL_SecondaryColor3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:131:4: note: in expansion of macro ‘CALL_SecondaryColor3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:131:4: note: in expansion of macro ‘CALL_SecondaryColor3dv’
# 6466|   
# 6467|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3dv)(const GLdouble *);
# 6468|-> #define CALL_SecondaryColor3dv(disp, parameters) (* GET_SecondaryColor3dv(disp)) parameters
# 6469|   #define GET_SecondaryColor3dv(disp) ((_glptr_SecondaryColor3dv)(GET_by_offset((disp), _gloffset_SecondaryColor3dv)))
# 6470|   #define SET_SecondaryColor3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6476:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:207:4: note: in expansion of macro ‘CALL_SecondaryColor3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:207:4: note: in expansion of macro ‘CALL_SecondaryColor3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:207:4: note: in expansion of macro ‘CALL_SecondaryColor3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:207:4: note: in expansion of macro ‘CALL_SecondaryColor3i’
# 6474|   
# 6475|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3i)(GLint, GLint, GLint);
# 6476|-> #define CALL_SecondaryColor3i(disp, parameters) (* GET_SecondaryColor3i(disp)) parameters
# 6477|   #define GET_SecondaryColor3i(disp) ((_glptr_SecondaryColor3i)(GET_by_offset((disp), _gloffset_SecondaryColor3i)))
# 6478|   #define SET_SecondaryColor3i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6484:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:231:4: note: in expansion of macro ‘CALL_SecondaryColor3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:231:4: note: in expansion of macro ‘CALL_SecondaryColor3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:231:4: note: in expansion of macro ‘CALL_SecondaryColor3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:231:4: note: in expansion of macro ‘CALL_SecondaryColor3iv’
# 6482|   
# 6483|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3iv)(const GLint *);
# 6484|-> #define CALL_SecondaryColor3iv(disp, parameters) (* GET_SecondaryColor3iv(disp)) parameters
# 6485|   #define GET_SecondaryColor3iv(disp) ((_glptr_SecondaryColor3iv)(GET_by_offset((disp), _gloffset_SecondaryColor3iv)))
# 6486|   #define SET_SecondaryColor3iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6492:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:257:4: note: in expansion of macro ‘CALL_SecondaryColor3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:257:4: note: in expansion of macro ‘CALL_SecondaryColor3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:257:4: note: in expansion of macro ‘CALL_SecondaryColor3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:257:4: note: in expansion of macro ‘CALL_SecondaryColor3s’
# 6490|   
# 6491|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3s)(GLshort, GLshort, GLshort);
# 6492|-> #define CALL_SecondaryColor3s(disp, parameters) (* GET_SecondaryColor3s(disp)) parameters
# 6493|   #define GET_SecondaryColor3s(disp) ((_glptr_SecondaryColor3s)(GET_by_offset((disp), _gloffset_SecondaryColor3s)))
# 6494|   #define SET_SecondaryColor3s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6500:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:281:4: note: in expansion of macro ‘CALL_SecondaryColor3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:281:4: note: in expansion of macro ‘CALL_SecondaryColor3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:281:4: note: in expansion of macro ‘CALL_SecondaryColor3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:281:4: note: in expansion of macro ‘CALL_SecondaryColor3sv’
# 6498|   
# 6499|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3sv)(const GLshort *);
# 6500|-> #define CALL_SecondaryColor3sv(disp, parameters) (* GET_SecondaryColor3sv(disp)) parameters
# 6501|   #define GET_SecondaryColor3sv(disp) ((_glptr_SecondaryColor3sv)(GET_by_offset((disp), _gloffset_SecondaryColor3sv)))
# 6502|   #define SET_SecondaryColor3sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3ub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6508:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:307:4: note: in expansion of macro ‘CALL_SecondaryColor3ub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:307:4: note: in expansion of macro ‘CALL_SecondaryColor3ub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:307:4: note: in expansion of macro ‘CALL_SecondaryColor3ub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:307:4: note: in expansion of macro ‘CALL_SecondaryColor3ub’
# 6506|   
# 6507|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3ub)(GLubyte, GLubyte, GLubyte);
# 6508|-> #define CALL_SecondaryColor3ub(disp, parameters) (* GET_SecondaryColor3ub(disp)) parameters
# 6509|   #define GET_SecondaryColor3ub(disp) ((_glptr_SecondaryColor3ub)(GET_by_offset((disp), _gloffset_SecondaryColor3ub)))
# 6510|   #define SET_SecondaryColor3ub(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6516:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:331:4: note: in expansion of macro ‘CALL_SecondaryColor3ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:331:4: note: in expansion of macro ‘CALL_SecondaryColor3ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:331:4: note: in expansion of macro ‘CALL_SecondaryColor3ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:331:4: note: in expansion of macro ‘CALL_SecondaryColor3ubv’
# 6514|   
# 6515|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubv)(const GLubyte *);
# 6516|-> #define CALL_SecondaryColor3ubv(disp, parameters) (* GET_SecondaryColor3ubv(disp)) parameters
# 6517|   #define GET_SecondaryColor3ubv(disp) ((_glptr_SecondaryColor3ubv)(GET_by_offset((disp), _gloffset_SecondaryColor3ubv)))
# 6518|   #define SET_SecondaryColor3ubv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6524:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:357:4: note: in expansion of macro ‘CALL_SecondaryColor3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:357:4: note: in expansion of macro ‘CALL_SecondaryColor3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:357:4: note: in expansion of macro ‘CALL_SecondaryColor3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:357:4: note: in expansion of macro ‘CALL_SecondaryColor3ui’
# 6522|   
# 6523|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3ui)(GLuint, GLuint, GLuint);
# 6524|-> #define CALL_SecondaryColor3ui(disp, parameters) (* GET_SecondaryColor3ui(disp)) parameters
# 6525|   #define GET_SecondaryColor3ui(disp) ((_glptr_SecondaryColor3ui)(GET_by_offset((disp), _gloffset_SecondaryColor3ui)))
# 6526|   #define SET_SecondaryColor3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6532:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:381:4: note: in expansion of macro ‘CALL_SecondaryColor3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:381:4: note: in expansion of macro ‘CALL_SecondaryColor3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:381:4: note: in expansion of macro ‘CALL_SecondaryColor3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:381:4: note: in expansion of macro ‘CALL_SecondaryColor3uiv’
# 6530|   
# 6531|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiv)(const GLuint *);
# 6532|-> #define CALL_SecondaryColor3uiv(disp, parameters) (* GET_SecondaryColor3uiv(disp)) parameters
# 6533|   #define GET_SecondaryColor3uiv(disp) ((_glptr_SecondaryColor3uiv)(GET_by_offset((disp), _gloffset_SecondaryColor3uiv)))
# 6534|   #define SET_SecondaryColor3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3us’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6540:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:407:4: note: in expansion of macro ‘CALL_SecondaryColor3us’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:407:4: note: in expansion of macro ‘CALL_SecondaryColor3us’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:407:4: note: in expansion of macro ‘CALL_SecondaryColor3us’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:407:4: note: in expansion of macro ‘CALL_SecondaryColor3us’
# 6538|   
# 6539|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3us)(GLushort, GLushort, GLushort);
# 6540|-> #define CALL_SecondaryColor3us(disp, parameters) (* GET_SecondaryColor3us(disp)) parameters
# 6541|   #define GET_SecondaryColor3us(disp) ((_glptr_SecondaryColor3us)(GET_by_offset((disp), _gloffset_SecondaryColor3us)))
# 6542|   #define SET_SecondaryColor3us(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6548:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:431:4: note: in expansion of macro ‘CALL_SecondaryColor3usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:431:4: note: in expansion of macro ‘CALL_SecondaryColor3usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:431:4: note: in expansion of macro ‘CALL_SecondaryColor3usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:431:4: note: in expansion of macro ‘CALL_SecondaryColor3usv’
# 6546|   
# 6547|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3usv)(const GLushort *);
# 6548|-> #define CALL_SecondaryColor3usv(disp, parameters) (* GET_SecondaryColor3usv(disp)) parameters
# 6549|   #define GET_SecondaryColor3usv(disp) ((_glptr_SecondaryColor3usv)(GET_by_offset((disp), _gloffset_SecondaryColor3usv)))
# 6550|   #define SET_SecondaryColor3usv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColorPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6556:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:466:4: note: in expansion of macro ‘CALL_SecondaryColorPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:466:4: note: in expansion of macro ‘CALL_SecondaryColorPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:466:4: note: in expansion of macro ‘CALL_SecondaryColorPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:466:4: note: in expansion of macro ‘CALL_SecondaryColorPointer’
# 6554|   
# 6555|   typedef void (GLAPIENTRYP _glptr_SecondaryColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
# 6556|-> #define CALL_SecondaryColorPointer(disp, parameters) (* GET_SecondaryColorPointer(disp)) parameters
# 6557|   #define GET_SecondaryColorPointer(disp) ((_glptr_SecondaryColorPointer)(GET_by_offset((disp), _gloffset_SecondaryColorPointer)))
# 6558|   #define SET_SecondaryColorPointer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6564:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:511:4: note: in expansion of macro ‘CALL_WindowPos2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:511:4: note: in expansion of macro ‘CALL_WindowPos2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:511:4: note: in expansion of macro ‘CALL_WindowPos2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:511:4: note: in expansion of macro ‘CALL_WindowPos2d’
# 6562|   
# 6563|   typedef void (GLAPIENTRYP _glptr_WindowPos2d)(GLdouble, GLdouble);
# 6564|-> #define CALL_WindowPos2d(disp, parameters) (* GET_WindowPos2d(disp)) parameters
# 6565|   #define GET_WindowPos2d(disp) ((_glptr_WindowPos2d)(GET_by_offset((disp), _gloffset_WindowPos2d)))
# 6566|   #define SET_WindowPos2d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6572:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:534:4: note: in expansion of macro ‘CALL_WindowPos2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:534:4: note: in expansion of macro ‘CALL_WindowPos2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:534:4: note: in expansion of macro ‘CALL_WindowPos2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:534:4: note: in expansion of macro ‘CALL_WindowPos2dv’
# 6570|   
# 6571|   typedef void (GLAPIENTRYP _glptr_WindowPos2dv)(const GLdouble *);
# 6572|-> #define CALL_WindowPos2dv(disp, parameters) (* GET_WindowPos2dv(disp)) parameters
# 6573|   #define GET_WindowPos2dv(disp) ((_glptr_WindowPos2dv)(GET_by_offset((disp), _gloffset_WindowPos2dv)))
# 6574|   #define SET_WindowPos2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6580:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:558:4: note: in expansion of macro ‘CALL_WindowPos2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:558:4: note: in expansion of macro ‘CALL_WindowPos2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:558:4: note: in expansion of macro ‘CALL_WindowPos2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:558:4: note: in expansion of macro ‘CALL_WindowPos2f’
# 6578|   
# 6579|   typedef void (GLAPIENTRYP _glptr_WindowPos2f)(GLfloat, GLfloat);
# 6580|-> #define CALL_WindowPos2f(disp, parameters) (* GET_WindowPos2f(disp)) parameters
# 6581|   #define GET_WindowPos2f(disp) ((_glptr_WindowPos2f)(GET_by_offset((disp), _gloffset_WindowPos2f)))
# 6582|   #define SET_WindowPos2f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6588:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:581:4: note: in expansion of macro ‘CALL_WindowPos2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:581:4: note: in expansion of macro ‘CALL_WindowPos2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:581:4: note: in expansion of macro ‘CALL_WindowPos2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:581:4: note: in expansion of macro ‘CALL_WindowPos2fv’
# 6586|   
# 6587|   typedef void (GLAPIENTRYP _glptr_WindowPos2fv)(const GLfloat *);
# 6588|-> #define CALL_WindowPos2fv(disp, parameters) (* GET_WindowPos2fv(disp)) parameters
# 6589|   #define GET_WindowPos2fv(disp) ((_glptr_WindowPos2fv)(GET_by_offset((disp), _gloffset_WindowPos2fv)))
# 6590|   #define SET_WindowPos2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6596:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:605:4: note: in expansion of macro ‘CALL_WindowPos2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:605:4: note: in expansion of macro ‘CALL_WindowPos2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:605:4: note: in expansion of macro ‘CALL_WindowPos2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:605:4: note: in expansion of macro ‘CALL_WindowPos2i’
# 6594|   
# 6595|   typedef void (GLAPIENTRYP _glptr_WindowPos2i)(GLint, GLint);
# 6596|-> #define CALL_WindowPos2i(disp, parameters) (* GET_WindowPos2i(disp)) parameters
# 6597|   #define GET_WindowPos2i(disp) ((_glptr_WindowPos2i)(GET_by_offset((disp), _gloffset_WindowPos2i)))
# 6598|   #define SET_WindowPos2i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6604:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:628:4: note: in expansion of macro ‘CALL_WindowPos2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:628:4: note: in expansion of macro ‘CALL_WindowPos2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:628:4: note: in expansion of macro ‘CALL_WindowPos2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:628:4: note: in expansion of macro ‘CALL_WindowPos2iv’
# 6602|   
# 6603|   typedef void (GLAPIENTRYP _glptr_WindowPos2iv)(const GLint *);
# 6604|-> #define CALL_WindowPos2iv(disp, parameters) (* GET_WindowPos2iv(disp)) parameters
# 6605|   #define GET_WindowPos2iv(disp) ((_glptr_WindowPos2iv)(GET_by_offset((disp), _gloffset_WindowPos2iv)))
# 6606|   #define SET_WindowPos2iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6612:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:652:4: note: in expansion of macro ‘CALL_WindowPos2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:652:4: note: in expansion of macro ‘CALL_WindowPos2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:652:4: note: in expansion of macro ‘CALL_WindowPos2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:652:4: note: in expansion of macro ‘CALL_WindowPos2s’
# 6610|   
# 6611|   typedef void (GLAPIENTRYP _glptr_WindowPos2s)(GLshort, GLshort);
# 6612|-> #define CALL_WindowPos2s(disp, parameters) (* GET_WindowPos2s(disp)) parameters
# 6613|   #define GET_WindowPos2s(disp) ((_glptr_WindowPos2s)(GET_by_offset((disp), _gloffset_WindowPos2s)))
# 6614|   #define SET_WindowPos2s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6620:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:675:4: note: in expansion of macro ‘CALL_WindowPos2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:675:4: note: in expansion of macro ‘CALL_WindowPos2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:675:4: note: in expansion of macro ‘CALL_WindowPos2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:675:4: note: in expansion of macro ‘CALL_WindowPos2sv’
# 6618|   
# 6619|   typedef void (GLAPIENTRYP _glptr_WindowPos2sv)(const GLshort *);
# 6620|-> #define CALL_WindowPos2sv(disp, parameters) (* GET_WindowPos2sv(disp)) parameters
# 6621|   #define GET_WindowPos2sv(disp) ((_glptr_WindowPos2sv)(GET_by_offset((disp), _gloffset_WindowPos2sv)))
# 6622|   #define SET_WindowPos2sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6628:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:701:4: note: in expansion of macro ‘CALL_WindowPos3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:701:4: note: in expansion of macro ‘CALL_WindowPos3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:701:4: note: in expansion of macro ‘CALL_WindowPos3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:701:4: note: in expansion of macro ‘CALL_WindowPos3d’
# 6626|   
# 6627|   typedef void (GLAPIENTRYP _glptr_WindowPos3d)(GLdouble, GLdouble, GLdouble);
# 6628|-> #define CALL_WindowPos3d(disp, parameters) (* GET_WindowPos3d(disp)) parameters
# 6629|   #define GET_WindowPos3d(disp) ((_glptr_WindowPos3d)(GET_by_offset((disp), _gloffset_WindowPos3d)))
# 6630|   #define SET_WindowPos3d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6636:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:725:4: note: in expansion of macro ‘CALL_WindowPos3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:725:4: note: in expansion of macro ‘CALL_WindowPos3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:725:4: note: in expansion of macro ‘CALL_WindowPos3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:725:4: note: in expansion of macro ‘CALL_WindowPos3dv’
# 6634|   
# 6635|   typedef void (GLAPIENTRYP _glptr_WindowPos3dv)(const GLdouble *);
# 6636|-> #define CALL_WindowPos3dv(disp, parameters) (* GET_WindowPos3dv(disp)) parameters
# 6637|   #define GET_WindowPos3dv(disp) ((_glptr_WindowPos3dv)(GET_by_offset((disp), _gloffset_WindowPos3dv)))
# 6638|   #define SET_WindowPos3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6644:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:751:4: note: in expansion of macro ‘CALL_WindowPos3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:751:4: note: in expansion of macro ‘CALL_WindowPos3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:751:4: note: in expansion of macro ‘CALL_WindowPos3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:751:4: note: in expansion of macro ‘CALL_WindowPos3f’
# 6642|   
# 6643|   typedef void (GLAPIENTRYP _glptr_WindowPos3f)(GLfloat, GLfloat, GLfloat);
# 6644|-> #define CALL_WindowPos3f(disp, parameters) (* GET_WindowPos3f(disp)) parameters
# 6645|   #define GET_WindowPos3f(disp) ((_glptr_WindowPos3f)(GET_by_offset((disp), _gloffset_WindowPos3f)))
# 6646|   #define SET_WindowPos3f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6652:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:775:4: note: in expansion of macro ‘CALL_WindowPos3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:775:4: note: in expansion of macro ‘CALL_WindowPos3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:775:4: note: in expansion of macro ‘CALL_WindowPos3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:775:4: note: in expansion of macro ‘CALL_WindowPos3fv’
# 6650|   
# 6651|   typedef void (GLAPIENTRYP _glptr_WindowPos3fv)(const GLfloat *);
# 6652|-> #define CALL_WindowPos3fv(disp, parameters) (* GET_WindowPos3fv(disp)) parameters
# 6653|   #define GET_WindowPos3fv(disp) ((_glptr_WindowPos3fv)(GET_by_offset((disp), _gloffset_WindowPos3fv)))
# 6654|   #define SET_WindowPos3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6660:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:801:4: note: in expansion of macro ‘CALL_WindowPos3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:801:4: note: in expansion of macro ‘CALL_WindowPos3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:801:4: note: in expansion of macro ‘CALL_WindowPos3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:801:4: note: in expansion of macro ‘CALL_WindowPos3i’
# 6658|   
# 6659|   typedef void (GLAPIENTRYP _glptr_WindowPos3i)(GLint, GLint, GLint);
# 6660|-> #define CALL_WindowPos3i(disp, parameters) (* GET_WindowPos3i(disp)) parameters
# 6661|   #define GET_WindowPos3i(disp) ((_glptr_WindowPos3i)(GET_by_offset((disp), _gloffset_WindowPos3i)))
# 6662|   #define SET_WindowPos3i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6668:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:825:4: note: in expansion of macro ‘CALL_WindowPos3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:825:4: note: in expansion of macro ‘CALL_WindowPos3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:825:4: note: in expansion of macro ‘CALL_WindowPos3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:825:4: note: in expansion of macro ‘CALL_WindowPos3iv’
# 6666|   
# 6667|   typedef void (GLAPIENTRYP _glptr_WindowPos3iv)(const GLint *);
# 6668|-> #define CALL_WindowPos3iv(disp, parameters) (* GET_WindowPos3iv(disp)) parameters
# 6669|   #define GET_WindowPos3iv(disp) ((_glptr_WindowPos3iv)(GET_by_offset((disp), _gloffset_WindowPos3iv)))
# 6670|   #define SET_WindowPos3iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6676:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:851:4: note: in expansion of macro ‘CALL_WindowPos3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:851:4: note: in expansion of macro ‘CALL_WindowPos3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:851:4: note: in expansion of macro ‘CALL_WindowPos3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:851:4: note: in expansion of macro ‘CALL_WindowPos3s’
# 6674|   
# 6675|   typedef void (GLAPIENTRYP _glptr_WindowPos3s)(GLshort, GLshort, GLshort);
# 6676|-> #define CALL_WindowPos3s(disp, parameters) (* GET_WindowPos3s(disp)) parameters
# 6677|   #define GET_WindowPos3s(disp) ((_glptr_WindowPos3s)(GET_by_offset((disp), _gloffset_WindowPos3s)))
# 6678|   #define SET_WindowPos3s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6684:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:875:4: note: in expansion of macro ‘CALL_WindowPos3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:875:4: note: in expansion of macro ‘CALL_WindowPos3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:875:4: note: in expansion of macro ‘CALL_WindowPos3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:875:4: note: in expansion of macro ‘CALL_WindowPos3sv’
# 6682|   
# 6683|   typedef void (GLAPIENTRYP _glptr_WindowPos3sv)(const GLshort *);
# 6684|-> #define CALL_WindowPos3sv(disp, parameters) (* GET_WindowPos3sv(disp)) parameters
# 6685|   #define GET_WindowPos3sv(disp) ((_glptr_WindowPos3sv)(GET_by_offset((disp), _gloffset_WindowPos3sv)))
# 6686|   #define SET_WindowPos3sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BeginQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6692:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1076:4: note: in expansion of macro ‘CALL_BeginQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1076:4: note: in expansion of macro ‘CALL_BeginQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1076:4: note: in expansion of macro ‘CALL_BeginQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1076:4: note: in expansion of macro ‘CALL_BeginQuery’
# 6690|   
# 6691|   typedef void (GLAPIENTRYP _glptr_BeginQuery)(GLenum, GLuint);
# 6692|-> #define CALL_BeginQuery(disp, parameters) (* GET_BeginQuery(disp)) parameters
# 6693|   #define GET_BeginQuery(disp) ((_glptr_BeginQuery)(GET_by_offset((disp), _gloffset_BeginQuery)))
# 6694|   #define SET_BeginQuery(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c: scope_hint: In function ‘_mesa_unmarshal_BindBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6700:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:227:4: note: in expansion of macro ‘CALL_BindBuffer’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:227:4: note: in expansion of macro ‘CALL_BindBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6700:68: note: in definition of macro ‘CALL_BindBuffer’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:227:4: note: in expansion of macro ‘CALL_BindBuffer’
# 6698|   
# 6699|   typedef void (GLAPIENTRYP _glptr_BindBuffer)(GLenum, GLuint);
# 6700|-> #define CALL_BindBuffer(disp, parameters) (* GET_BindBuffer(disp)) parameters
# 6701|   #define GET_BindBuffer(disp) ((_glptr_BindBuffer)(GET_by_offset((disp), _gloffset_BindBuffer)))
# 6702|   #define SET_BindBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6708:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:347:7: note: in expansion of macro ‘CALL_BufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6709:73: note: in expansion of macro ‘_gloffset_BufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6708:46: note: in expansion of macro ‘GET_BufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:347:7: note: in expansion of macro ‘CALL_BufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:347:7: note: in expansion of macro ‘CALL_BufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:347:7: note: in expansion of macro ‘CALL_BufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:347:7: note: in expansion of macro ‘CALL_BufferData’
# 6706|   
# 6707|   typedef void (GLAPIENTRYP _glptr_BufferData)(GLenum, GLsizeiptr, const GLvoid *, GLenum);
# 6708|-> #define CALL_BufferData(disp, parameters) (* GET_BufferData(disp)) parameters
# 6709|   #define GET_BufferData(disp) ((_glptr_BufferData)(GET_by_offset((disp), _gloffset_BufferData)))
# 6710|   #define SET_BufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6716:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:465:7: note: in expansion of macro ‘CALL_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6717:79: note: in expansion of macro ‘_gloffset_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6716:49: note: in expansion of macro ‘GET_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:465:7: note: in expansion of macro ‘CALL_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:465:7: note: in expansion of macro ‘CALL_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:465:7: note: in expansion of macro ‘CALL_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:465:7: note: in expansion of macro ‘CALL_BufferSubData’
# 6714|   
# 6715|   typedef void (GLAPIENTRYP _glptr_BufferSubData)(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
# 6716|-> #define CALL_BufferSubData(disp, parameters) (* GET_BufferSubData(disp)) parameters
# 6717|   #define GET_BufferSubData(disp) ((_glptr_BufferSubData)(GET_by_offset((disp), _gloffset_BufferSubData)))
# 6718|   #define SET_BufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def82]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6724:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:902:4: note: in expansion of macro ‘CALL_DeleteBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:902:4: note: in expansion of macro ‘CALL_DeleteBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:902:4: note: in expansion of macro ‘CALL_DeleteBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:902:4: note: in expansion of macro ‘CALL_DeleteBuffers’
# 6722|   
# 6723|   typedef void (GLAPIENTRYP _glptr_DeleteBuffers)(GLsizei, const GLuint *);
# 6724|-> #define CALL_DeleteBuffers(disp, parameters) (* GET_DeleteBuffers(disp)) parameters
# 6725|   #define GET_DeleteBuffers(disp) ((_glptr_DeleteBuffers)(GET_by_offset((disp), _gloffset_DeleteBuffers)))
# 6726|   #define SET_DeleteBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6732:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1033:4: note: in expansion of macro ‘CALL_DeleteQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1033:4: note: in expansion of macro ‘CALL_DeleteQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1033:4: note: in expansion of macro ‘CALL_DeleteQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1033:4: note: in expansion of macro ‘CALL_DeleteQueries’
# 6730|   
# 6731|   typedef void (GLAPIENTRYP _glptr_DeleteQueries)(GLsizei, const GLuint *);
# 6732|-> #define CALL_DeleteQueries(disp, parameters) (* GET_DeleteQueries(disp)) parameters
# 6733|   #define GET_DeleteQueries(disp) ((_glptr_DeleteQueries)(GET_by_offset((disp), _gloffset_DeleteQueries)))
# 6734|   #define SET_DeleteQueries(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_EndQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6740:42: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1099:4: note: in expansion of macro ‘CALL_EndQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1099:4: note: in expansion of macro ‘CALL_EndQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1099:4: note: in expansion of macro ‘CALL_EndQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1099:4: note: in expansion of macro ‘CALL_EndQuery’
# 6738|   
# 6739|   typedef void (GLAPIENTRYP _glptr_EndQuery)(GLenum);
# 6740|-> #define CALL_EndQuery(disp, parameters) (* GET_EndQuery(disp)) parameters
# 6741|   #define GET_EndQuery(disp) ((_glptr_EndQuery)(GET_by_offset((disp), _gloffset_EndQuery)))
# 6742|   #define SET_EndQuery(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GenBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6748:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:932:4: note: in expansion of macro ‘CALL_GenBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:932:4: note: in expansion of macro ‘CALL_GenBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:932:4: note: in expansion of macro ‘CALL_GenBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:932:4: note: in expansion of macro ‘CALL_GenBuffers’
# 6746|   
# 6747|   typedef void (GLAPIENTRYP _glptr_GenBuffers)(GLsizei, GLuint *);
# 6748|-> #define CALL_GenBuffers(disp, parameters) (* GET_GenBuffers(disp)) parameters
# 6749|   #define GET_GenBuffers(disp) ((_glptr_GenBuffers)(GET_by_offset((disp), _gloffset_GenBuffers)))
# 6750|   #define SET_GenBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GenQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6756:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1015:4: note: in expansion of macro ‘CALL_GenQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1015:4: note: in expansion of macro ‘CALL_GenQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1015:4: note: in expansion of macro ‘CALL_GenQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1015:4: note: in expansion of macro ‘CALL_GenQueries’
# 6754|   
# 6755|   typedef void (GLAPIENTRYP _glptr_GenQueries)(GLsizei, GLuint *);
# 6756|-> #define CALL_GenQueries(disp, parameters) (* GET_GenQueries(disp)) parameters
# 6757|   #define GET_GenQueries(disp) ((_glptr_GenQueries)(GET_by_offset((disp), _gloffset_GenQueries)))
# 6758|   #define SET_GenQueries(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6764:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:942:4: note: in expansion of macro ‘CALL_GetBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:942:4: note: in expansion of macro ‘CALL_GetBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:942:4: note: in expansion of macro ‘CALL_GetBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:942:4: note: in expansion of macro ‘CALL_GetBufferParameteriv’
# 6762|   
# 6763|   typedef void (GLAPIENTRYP _glptr_GetBufferParameteriv)(GLenum, GLenum, GLint *);
# 6764|-> #define CALL_GetBufferParameteriv(disp, parameters) (* GET_GetBufferParameteriv(disp)) parameters
# 6765|   #define GET_GetBufferParameteriv(disp) ((_glptr_GetBufferParameteriv)(GET_by_offset((disp), _gloffset_GetBufferParameteriv)))
# 6766|   #define SET_GetBufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6772:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:952:4: note: in expansion of macro ‘CALL_GetBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:952:4: note: in expansion of macro ‘CALL_GetBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:952:4: note: in expansion of macro ‘CALL_GetBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:952:4: note: in expansion of macro ‘CALL_GetBufferPointerv’
# 6770|   
# 6771|   typedef void (GLAPIENTRYP _glptr_GetBufferPointerv)(GLenum, GLenum, GLvoid **);
# 6772|-> #define CALL_GetBufferPointerv(disp, parameters) (* GET_GetBufferPointerv(disp)) parameters
# 6773|   #define GET_GetBufferPointerv(disp) ((_glptr_GetBufferPointerv)(GET_by_offset((disp), _gloffset_GetBufferPointerv)))
# 6774|   #define SET_GetBufferPointerv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6780:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:962:4: note: in expansion of macro ‘CALL_GetBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:962:4: note: in expansion of macro ‘CALL_GetBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:962:4: note: in expansion of macro ‘CALL_GetBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:962:4: note: in expansion of macro ‘CALL_GetBufferSubData’
# 6778|   
# 6779|   typedef void (GLAPIENTRYP _glptr_GetBufferSubData)(GLenum, GLintptr, GLsizeiptr, GLvoid *);
# 6780|-> #define CALL_GetBufferSubData(disp, parameters) (* GET_GetBufferSubData(disp)) parameters
# 6781|   #define GET_GetBufferSubData(disp) ((_glptr_GetBufferSubData)(GET_by_offset((disp), _gloffset_GetBufferSubData)))
# 6782|   #define SET_GetBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetQueryObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6788:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1128:4: note: in expansion of macro ‘CALL_GetQueryObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1128:4: note: in expansion of macro ‘CALL_GetQueryObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1128:4: note: in expansion of macro ‘CALL_GetQueryObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1128:4: note: in expansion of macro ‘CALL_GetQueryObjectiv’
# 6786|   
# 6787|   typedef void (GLAPIENTRYP _glptr_GetQueryObjectiv)(GLuint, GLenum, GLint *);
# 6788|-> #define CALL_GetQueryObjectiv(disp, parameters) (* GET_GetQueryObjectiv(disp)) parameters
# 6789|   #define GET_GetQueryObjectiv(disp) ((_glptr_GetQueryObjectiv)(GET_by_offset((disp), _gloffset_GetQueryObjectiv)))
# 6790|   #define SET_GetQueryObjectiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetQueryObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6796:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1138:4: note: in expansion of macro ‘CALL_GetQueryObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1138:4: note: in expansion of macro ‘CALL_GetQueryObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1138:4: note: in expansion of macro ‘CALL_GetQueryObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1138:4: note: in expansion of macro ‘CALL_GetQueryObjectuiv’
# 6794|   
# 6795|   typedef void (GLAPIENTRYP _glptr_GetQueryObjectuiv)(GLuint, GLenum, GLuint *);
# 6796|-> #define CALL_GetQueryObjectuiv(disp, parameters) (* GET_GetQueryObjectuiv(disp)) parameters
# 6797|   #define GET_GetQueryObjectuiv(disp) ((_glptr_GetQueryObjectuiv)(GET_by_offset((disp), _gloffset_GetQueryObjectuiv)))
# 6798|   #define SET_GetQueryObjectuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetQueryiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6804:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1118:4: note: in expansion of macro ‘CALL_GetQueryiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1118:4: note: in expansion of macro ‘CALL_GetQueryiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1118:4: note: in expansion of macro ‘CALL_GetQueryiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1118:4: note: in expansion of macro ‘CALL_GetQueryiv’
# 6802|   
# 6803|   typedef void (GLAPIENTRYP _glptr_GetQueryiv)(GLenum, GLenum, GLint *);
# 6804|-> #define CALL_GetQueryiv(disp, parameters) (* GET_GetQueryiv(disp)) parameters
# 6805|   #define GET_GetQueryiv(disp) ((_glptr_GetQueryiv)(GET_by_offset((disp), _gloffset_GetQueryiv)))
# 6806|   #define SET_GetQueryiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6812:42: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:972:11: note: in expansion of macro ‘CALL_IsBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:972:11: note: in expansion of macro ‘CALL_IsBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:972:11: note: in expansion of macro ‘CALL_IsBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:972:11: note: in expansion of macro ‘CALL_IsBuffer’
# 6810|   
# 6811|   typedef GLboolean (GLAPIENTRYP _glptr_IsBuffer)(GLuint);
# 6812|-> #define CALL_IsBuffer(disp, parameters) (* GET_IsBuffer(disp)) parameters
# 6813|   #define GET_IsBuffer(disp) ((_glptr_IsBuffer)(GET_by_offset((disp), _gloffset_IsBuffer)))
# 6814|   #define SET_IsBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6820:41: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1061:11: note: in expansion of macro ‘CALL_IsQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1061:11: note: in expansion of macro ‘CALL_IsQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1061:11: note: in expansion of macro ‘CALL_IsQuery’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1061:11: note: in expansion of macro ‘CALL_IsQuery’
# 6818|   
# 6819|   typedef GLboolean (GLAPIENTRYP _glptr_IsQuery)(GLuint);
# 6820|-> #define CALL_IsQuery(disp, parameters) (* GET_IsQuery(disp)) parameters
# 6821|   #define GET_IsQuery(disp) ((_glptr_IsQuery)(GET_by_offset((disp), _gloffset_IsQuery)))
# 6822|   #define SET_IsQuery(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_MapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6828:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:982:11: note: in expansion of macro ‘CALL_MapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:982:11: note: in expansion of macro ‘CALL_MapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:982:11: note: in expansion of macro ‘CALL_MapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:982:11: note: in expansion of macro ‘CALL_MapBuffer’
# 6826|   
# 6827|   typedef GLvoid * (GLAPIENTRYP _glptr_MapBuffer)(GLenum, GLenum);
# 6828|-> #define CALL_MapBuffer(disp, parameters) (* GET_MapBuffer(disp)) parameters
# 6829|   #define GET_MapBuffer(disp) ((_glptr_MapBuffer)(GET_by_offset((disp), _gloffset_MapBuffer)))
# 6830|   #define SET_MapBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UnmapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6836:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:995:4: note: in expansion of macro ‘CALL_UnmapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:995:4: note: in expansion of macro ‘CALL_UnmapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:995:4: note: in expansion of macro ‘CALL_UnmapBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:995:4: note: in expansion of macro ‘CALL_UnmapBuffer’
# 6834|   
# 6835|   typedef GLboolean (GLAPIENTRYP _glptr_UnmapBuffer)(GLenum);
# 6836|-> #define CALL_UnmapBuffer(disp, parameters) (* GET_UnmapBuffer(disp)) parameters
# 6837|   #define GET_UnmapBuffer(disp) ((_glptr_UnmapBuffer)(GET_by_offset((disp), _gloffset_UnmapBuffer)))
# 6838|   #define SET_UnmapBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_AttachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6844:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1297:4: note: in expansion of macro ‘CALL_AttachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1297:4: note: in expansion of macro ‘CALL_AttachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1297:4: note: in expansion of macro ‘CALL_AttachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1297:4: note: in expansion of macro ‘CALL_AttachShader’
# 6842|   
# 6843|   typedef void (GLAPIENTRYP _glptr_AttachShader)(GLuint, GLuint);
# 6844|-> #define CALL_AttachShader(disp, parameters) (* GET_AttachShader(disp)) parameters
# 6845|   #define GET_AttachShader(disp) ((_glptr_AttachShader)(GET_by_offset((disp), _gloffset_AttachShader)))
# 6846|   #define SET_AttachShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BindAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6852:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1327:4: note: in expansion of macro ‘CALL_BindAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1327:4: note: in expansion of macro ‘CALL_BindAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1327:4: note: in expansion of macro ‘CALL_BindAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1327:4: note: in expansion of macro ‘CALL_BindAttribLocation’
# 6850|   
# 6851|   typedef void (GLAPIENTRYP _glptr_BindAttribLocation)(GLuint, GLuint, const GLchar *);
# 6852|-> #define CALL_BindAttribLocation(disp, parameters) (* GET_BindAttribLocation(disp)) parameters
# 6853|   #define GET_BindAttribLocation(disp) ((_glptr_BindAttribLocation)(GET_by_offset((disp), _gloffset_BindAttribLocation)))
# 6854|   #define SET_BindAttribLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BlendEquationSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6860:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1153:4: note: in expansion of macro ‘CALL_BlendEquationSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1153:4: note: in expansion of macro ‘CALL_BlendEquationSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1153:4: note: in expansion of macro ‘CALL_BlendEquationSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1153:4: note: in expansion of macro ‘CALL_BlendEquationSeparate’
# 6858|   
# 6859|   typedef void (GLAPIENTRYP _glptr_BlendEquationSeparate)(GLenum, GLenum);
# 6860|-> #define CALL_BlendEquationSeparate(disp, parameters) (* GET_BlendEquationSeparate(disp)) parameters
# 6861|   #define GET_BlendEquationSeparate(disp) ((_glptr_BlendEquationSeparate)(GET_by_offset((disp), _gloffset_BlendEquationSeparate)))
# 6862|   #define SET_BlendEquationSeparate(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_CompileShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6868:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1359:4: note: in expansion of macro ‘CALL_CompileShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1359:4: note: in expansion of macro ‘CALL_CompileShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1359:4: note: in expansion of macro ‘CALL_CompileShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1359:4: note: in expansion of macro ‘CALL_CompileShader’
# 6866|   
# 6867|   typedef void (GLAPIENTRYP _glptr_CompileShader)(GLuint);
# 6868|-> #define CALL_CompileShader(disp, parameters) (* GET_CompileShader(disp)) parameters
# 6869|   #define GET_CompileShader(disp) ((_glptr_CompileShader)(GET_by_offset((disp), _gloffset_CompileShader)))
# 6870|   #define SET_CompileShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_CreateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6876:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1378:11: note: in expansion of macro ‘CALL_CreateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1378:11: note: in expansion of macro ‘CALL_CreateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1378:11: note: in expansion of macro ‘CALL_CreateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1378:11: note: in expansion of macro ‘CALL_CreateProgram’
# 6874|   
# 6875|   typedef GLuint (GLAPIENTRYP _glptr_CreateProgram)(void);
# 6876|-> #define CALL_CreateProgram(disp, parameters) (* GET_CreateProgram(disp)) parameters
# 6877|   #define GET_CreateProgram(disp) ((_glptr_CreateProgram)(GET_by_offset((disp), _gloffset_CreateProgram)))
# 6878|   #define SET_CreateProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_CreateShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6884:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1388:11: note: in expansion of macro ‘CALL_CreateShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1388:11: note: in expansion of macro ‘CALL_CreateShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1388:11: note: in expansion of macro ‘CALL_CreateShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1388:11: note: in expansion of macro ‘CALL_CreateShader’
# 6882|   
# 6883|   typedef GLuint (GLAPIENTRYP _glptr_CreateShader)(GLenum);
# 6884|-> #define CALL_CreateShader(disp, parameters) (* GET_CreateShader(disp)) parameters
# 6885|   #define GET_CreateShader(disp) ((_glptr_CreateShader)(GET_by_offset((disp), _gloffset_CreateShader)))
# 6886|   #define SET_CreateShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6892:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1401:4: note: in expansion of macro ‘CALL_DeleteProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1401:4: note: in expansion of macro ‘CALL_DeleteProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1401:4: note: in expansion of macro ‘CALL_DeleteProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1401:4: note: in expansion of macro ‘CALL_DeleteProgram’
# 6890|   
# 6891|   typedef void (GLAPIENTRYP _glptr_DeleteProgram)(GLuint);
# 6892|-> #define CALL_DeleteProgram(disp, parameters) (* GET_DeleteProgram(disp)) parameters
# 6893|   #define GET_DeleteProgram(disp) ((_glptr_DeleteProgram)(GET_by_offset((disp), _gloffset_DeleteProgram)))
# 6894|   #define SET_DeleteProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6900:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1424:4: note: in expansion of macro ‘CALL_DeleteShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1424:4: note: in expansion of macro ‘CALL_DeleteShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1424:4: note: in expansion of macro ‘CALL_DeleteShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1424:4: note: in expansion of macro ‘CALL_DeleteShader’
# 6898|   
# 6899|   typedef void (GLAPIENTRYP _glptr_DeleteShader)(GLuint);
# 6900|-> #define CALL_DeleteShader(disp, parameters) (* GET_DeleteShader(disp)) parameters
# 6901|   #define GET_DeleteShader(disp) ((_glptr_DeleteShader)(GET_by_offset((disp), _gloffset_DeleteShader)))
# 6902|   #define SET_DeleteShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DetachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6908:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1448:4: note: in expansion of macro ‘CALL_DetachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1448:4: note: in expansion of macro ‘CALL_DetachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1448:4: note: in expansion of macro ‘CALL_DetachShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1448:4: note: in expansion of macro ‘CALL_DetachShader’
# 6906|   
# 6907|   typedef void (GLAPIENTRYP _glptr_DetachShader)(GLuint, GLuint);
# 6908|-> #define CALL_DetachShader(disp, parameters) (* GET_DetachShader(disp)) parameters
# 6909|   #define GET_DetachShader(disp) ((_glptr_DetachShader)(GET_by_offset((disp), _gloffset_DetachShader)))
# 6910|   #define SET_DetachShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DisableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6916:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1471:4: note: in expansion of macro ‘CALL_DisableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1471:4: note: in expansion of macro ‘CALL_DisableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1471:4: note: in expansion of macro ‘CALL_DisableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1471:4: note: in expansion of macro ‘CALL_DisableVertexAttribArray’
# 6914|   
# 6915|   typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArray)(GLuint);
# 6916|-> #define CALL_DisableVertexAttribArray(disp, parameters) (* GET_DisableVertexAttribArray(disp)) parameters
# 6917|   #define GET_DisableVertexAttribArray(disp) ((_glptr_DisableVertexAttribArray)(GET_by_offset((disp), _gloffset_DisableVertexAttribArray)))
# 6918|   #define SET_DisableVertexAttribArray(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6924:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1181:4: note: in expansion of macro ‘CALL_DrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1181:4: note: in expansion of macro ‘CALL_DrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1181:4: note: in expansion of macro ‘CALL_DrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1181:4: note: in expansion of macro ‘CALL_DrawBuffers’
# 6922|   
# 6923|   typedef void (GLAPIENTRYP _glptr_DrawBuffers)(GLsizei, const GLenum *);
# 6924|-> #define CALL_DrawBuffers(disp, parameters) (* GET_DrawBuffers(disp)) parameters
# 6925|   #define GET_DrawBuffers(disp) ((_glptr_DrawBuffers)(GET_by_offset((disp), _gloffset_DrawBuffers)))
# 6926|   #define SET_DrawBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_EnableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6932:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1494:4: note: in expansion of macro ‘CALL_EnableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1494:4: note: in expansion of macro ‘CALL_EnableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1494:4: note: in expansion of macro ‘CALL_EnableVertexAttribArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1494:4: note: in expansion of macro ‘CALL_EnableVertexAttribArray’
# 6930|   
# 6931|   typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArray)(GLuint);
# 6932|-> #define CALL_EnableVertexAttribArray(disp, parameters) (* GET_EnableVertexAttribArray(disp)) parameters
# 6933|   #define GET_EnableVertexAttribArray(disp) ((_glptr_EnableVertexAttribArray)(GET_by_offset((disp), _gloffset_EnableVertexAttribArray)))
# 6934|   #define SET_EnableVertexAttribArray(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetActiveAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6940:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1514:4: note: in expansion of macro ‘CALL_GetActiveAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1514:4: note: in expansion of macro ‘CALL_GetActiveAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1514:4: note: in expansion of macro ‘CALL_GetActiveAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1514:4: note: in expansion of macro ‘CALL_GetActiveAttrib’
# 6938|   
# 6939|   typedef void (GLAPIENTRYP _glptr_GetActiveAttrib)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
# 6940|-> #define CALL_GetActiveAttrib(disp, parameters) (* GET_GetActiveAttrib(disp)) parameters
# 6941|   #define GET_GetActiveAttrib(disp) ((_glptr_GetActiveAttrib)(GET_by_offset((disp), _gloffset_GetActiveAttrib)))
# 6942|   #define SET_GetActiveAttrib(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c: scope_hint: In function ‘_mesa_marshal_GetActiveUniform’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6948:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:63:7: note: in expansion of macro ‘CALL_GetActiveUniform’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:63:7: note: in expansion of macro ‘CALL_GetActiveUniform’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:63:7: note: in expansion of macro ‘CALL_GetActiveUniform’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:63:7: note: in expansion of macro ‘CALL_GetActiveUniform’
# 6946|   
# 6947|   typedef void (GLAPIENTRYP _glptr_GetActiveUniform)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
# 6948|-> #define CALL_GetActiveUniform(disp, parameters) (* GET_GetActiveUniform(disp)) parameters
# 6949|   #define GET_GetActiveUniform(disp) ((_glptr_GetActiveUniform)(GET_by_offset((disp), _gloffset_GetActiveUniform)))
# 6950|   #define SET_GetActiveUniform(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetAttachedShaders’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6956:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1524:4: note: in expansion of macro ‘CALL_GetAttachedShaders’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1524:4: note: in expansion of macro ‘CALL_GetAttachedShaders’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1524:4: note: in expansion of macro ‘CALL_GetAttachedShaders’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1524:4: note: in expansion of macro ‘CALL_GetAttachedShaders’
# 6954|   
# 6955|   typedef void (GLAPIENTRYP _glptr_GetAttachedShaders)(GLuint, GLsizei, GLsizei *, GLuint *);
# 6956|-> #define CALL_GetAttachedShaders(disp, parameters) (* GET_GetAttachedShaders(disp)) parameters
# 6957|   #define GET_GetAttachedShaders(disp) ((_glptr_GetAttachedShaders)(GET_by_offset((disp), _gloffset_GetAttachedShaders)))
# 6958|   #define SET_GetAttachedShaders(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6964:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1534:11: note: in expansion of macro ‘CALL_GetAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1534:11: note: in expansion of macro ‘CALL_GetAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1534:11: note: in expansion of macro ‘CALL_GetAttribLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1534:11: note: in expansion of macro ‘CALL_GetAttribLocation’
# 6962|   
# 6963|   typedef GLint (GLAPIENTRYP _glptr_GetAttribLocation)(GLuint, const GLchar *);
# 6964|-> #define CALL_GetAttribLocation(disp, parameters) (* GET_GetAttribLocation(disp)) parameters
# 6965|   #define GET_GetAttribLocation(disp) ((_glptr_GetAttribLocation)(GET_by_offset((disp), _gloffset_GetAttribLocation)))
# 6966|   #define SET_GetAttribLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6972:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1554:4: note: in expansion of macro ‘CALL_GetProgramInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1554:4: note: in expansion of macro ‘CALL_GetProgramInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1554:4: note: in expansion of macro ‘CALL_GetProgramInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1554:4: note: in expansion of macro ‘CALL_GetProgramInfoLog’
# 6970|   
# 6971|   typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
# 6972|-> #define CALL_GetProgramInfoLog(disp, parameters) (* GET_GetProgramInfoLog(disp)) parameters
# 6973|   #define GET_GetProgramInfoLog(disp) ((_glptr_GetProgramInfoLog)(GET_by_offset((disp), _gloffset_GetProgramInfoLog)))
# 6974|   #define SET_GetProgramInfoLog(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6980:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1544:4: note: in expansion of macro ‘CALL_GetProgramiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1544:4: note: in expansion of macro ‘CALL_GetProgramiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1544:4: note: in expansion of macro ‘CALL_GetProgramiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1544:4: note: in expansion of macro ‘CALL_GetProgramiv’
# 6978|   
# 6979|   typedef void (GLAPIENTRYP _glptr_GetProgramiv)(GLuint, GLenum, GLint *);
# 6980|-> #define CALL_GetProgramiv(disp, parameters) (* GET_GetProgramiv(disp)) parameters
# 6981|   #define GET_GetProgramiv(disp) ((_glptr_GetProgramiv)(GET_by_offset((disp), _gloffset_GetProgramiv)))
# 6982|   #define SET_GetProgramiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetShaderInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6988:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1574:4: note: in expansion of macro ‘CALL_GetShaderInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1574:4: note: in expansion of macro ‘CALL_GetShaderInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1574:4: note: in expansion of macro ‘CALL_GetShaderInfoLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1574:4: note: in expansion of macro ‘CALL_GetShaderInfoLog’
# 6986|   
# 6987|   typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
# 6988|-> #define CALL_GetShaderInfoLog(disp, parameters) (* GET_GetShaderInfoLog(disp)) parameters
# 6989|   #define GET_GetShaderInfoLog(disp) ((_glptr_GetShaderInfoLog)(GET_by_offset((disp), _gloffset_GetShaderInfoLog)))
# 6990|   #define SET_GetShaderInfoLog(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:6996:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1584:4: note: in expansion of macro ‘CALL_GetShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1584:4: note: in expansion of macro ‘CALL_GetShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1584:4: note: in expansion of macro ‘CALL_GetShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1584:4: note: in expansion of macro ‘CALL_GetShaderSource’
# 6994|   
# 6995|   typedef void (GLAPIENTRYP _glptr_GetShaderSource)(GLuint, GLsizei, GLsizei *, GLchar *);
# 6996|-> #define CALL_GetShaderSource(disp, parameters) (* GET_GetShaderSource(disp)) parameters
# 6997|   #define GET_GetShaderSource(disp) ((_glptr_GetShaderSource)(GET_by_offset((disp), _gloffset_GetShaderSource)))
# 6998|   #define SET_GetShaderSource(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetShaderiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7004:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1564:4: note: in expansion of macro ‘CALL_GetShaderiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1564:4: note: in expansion of macro ‘CALL_GetShaderiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1564:4: note: in expansion of macro ‘CALL_GetShaderiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1564:4: note: in expansion of macro ‘CALL_GetShaderiv’
# 7002|   
# 7003|   typedef void (GLAPIENTRYP _glptr_GetShaderiv)(GLuint, GLenum, GLint *);
# 7004|-> #define CALL_GetShaderiv(disp, parameters) (* GET_GetShaderiv(disp)) parameters
# 7005|   #define GET_GetShaderiv(disp) ((_glptr_GetShaderiv)(GET_by_offset((disp), _gloffset_GetShaderiv)))
# 7006|   #define SET_GetShaderiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c: scope_hint: In function ‘_mesa_marshal_GetUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7012:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:98:14: note: in expansion of macro ‘CALL_GetUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:98:14: note: in expansion of macro ‘CALL_GetUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:98:14: note: in expansion of macro ‘CALL_GetUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_shaderobj.c:98:14: note: in expansion of macro ‘CALL_GetUniformLocation’
# 7010|   
# 7011|   typedef GLint (GLAPIENTRYP _glptr_GetUniformLocation)(GLuint, const GLchar *);
# 7012|-> #define CALL_GetUniformLocation(disp, parameters) (* GET_GetUniformLocation(disp)) parameters
# 7013|   #define GET_GetUniformLocation(disp) ((_glptr_GetUniformLocation)(GET_by_offset((disp), _gloffset_GetUniformLocation)))
# 7014|   #define SET_GetUniformLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetUniformfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7020:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1594:4: note: in expansion of macro ‘CALL_GetUniformfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1594:4: note: in expansion of macro ‘CALL_GetUniformfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1594:4: note: in expansion of macro ‘CALL_GetUniformfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1594:4: note: in expansion of macro ‘CALL_GetUniformfv’
# 7018|   
# 7019|   typedef void (GLAPIENTRYP _glptr_GetUniformfv)(GLuint, GLint, GLfloat *);
# 7020|-> #define CALL_GetUniformfv(disp, parameters) (* GET_GetUniformfv(disp)) parameters
# 7021|   #define GET_GetUniformfv(disp) ((_glptr_GetUniformfv)(GET_by_offset((disp), _gloffset_GetUniformfv)))
# 7022|   #define SET_GetUniformfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7028:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1604:4: note: in expansion of macro ‘CALL_GetUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1604:4: note: in expansion of macro ‘CALL_GetUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1604:4: note: in expansion of macro ‘CALL_GetUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1604:4: note: in expansion of macro ‘CALL_GetUniformiv’
# 7026|   
# 7027|   typedef void (GLAPIENTRYP _glptr_GetUniformiv)(GLuint, GLint, GLint *);
# 7028|-> #define CALL_GetUniformiv(disp, parameters) (* GET_GetUniformiv(disp)) parameters
# 7029|   #define GET_GetUniformiv(disp) ((_glptr_GetUniformiv)(GET_by_offset((disp), _gloffset_GetUniformiv)))
# 7030|   #define SET_GetUniformiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7036:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1644:4: note: in expansion of macro ‘CALL_GetVertexAttribPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1644:4: note: in expansion of macro ‘CALL_GetVertexAttribPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1644:4: note: in expansion of macro ‘CALL_GetVertexAttribPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1644:4: note: in expansion of macro ‘CALL_GetVertexAttribPointerv’
# 7034|   
# 7035|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointerv)(GLuint, GLenum, GLvoid **);
# 7036|-> #define CALL_GetVertexAttribPointerv(disp, parameters) (* GET_GetVertexAttribPointerv(disp)) parameters
# 7037|   #define GET_GetVertexAttribPointerv(disp) ((_glptr_GetVertexAttribPointerv)(GET_by_offset((disp), _gloffset_GetVertexAttribPointerv)))
# 7038|   #define SET_GetVertexAttribPointerv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7044:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1614:4: note: in expansion of macro ‘CALL_GetVertexAttribdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1614:4: note: in expansion of macro ‘CALL_GetVertexAttribdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1614:4: note: in expansion of macro ‘CALL_GetVertexAttribdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1614:4: note: in expansion of macro ‘CALL_GetVertexAttribdv’
# 7042|   
# 7043|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribdv)(GLuint, GLenum, GLdouble *);
# 7044|-> #define CALL_GetVertexAttribdv(disp, parameters) (* GET_GetVertexAttribdv(disp)) parameters
# 7045|   #define GET_GetVertexAttribdv(disp) ((_glptr_GetVertexAttribdv)(GET_by_offset((disp), _gloffset_GetVertexAttribdv)))
# 7046|   #define SET_GetVertexAttribdv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7052:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1624:4: note: in expansion of macro ‘CALL_GetVertexAttribfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1624:4: note: in expansion of macro ‘CALL_GetVertexAttribfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1624:4: note: in expansion of macro ‘CALL_GetVertexAttribfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1624:4: note: in expansion of macro ‘CALL_GetVertexAttribfv’
# 7050|   
# 7051|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribfv)(GLuint, GLenum, GLfloat *);
# 7052|-> #define CALL_GetVertexAttribfv(disp, parameters) (* GET_GetVertexAttribfv(disp)) parameters
# 7053|   #define GET_GetVertexAttribfv(disp) ((_glptr_GetVertexAttribfv)(GET_by_offset((disp), _gloffset_GetVertexAttribfv)))
# 7054|   #define SET_GetVertexAttribfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7060:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1634:4: note: in expansion of macro ‘CALL_GetVertexAttribiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1634:4: note: in expansion of macro ‘CALL_GetVertexAttribiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1634:4: note: in expansion of macro ‘CALL_GetVertexAttribiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1634:4: note: in expansion of macro ‘CALL_GetVertexAttribiv’
# 7058|   
# 7059|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribiv)(GLuint, GLenum, GLint *);
# 7060|-> #define CALL_GetVertexAttribiv(disp, parameters) (* GET_GetVertexAttribiv(disp)) parameters
# 7061|   #define GET_GetVertexAttribiv(disp) ((_glptr_GetVertexAttribiv)(GET_by_offset((disp), _gloffset_GetVertexAttribiv)))
# 7062|   #define SET_GetVertexAttribiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7068:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1654:11: note: in expansion of macro ‘CALL_IsProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1654:11: note: in expansion of macro ‘CALL_IsProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1654:11: note: in expansion of macro ‘CALL_IsProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1654:11: note: in expansion of macro ‘CALL_IsProgram’
# 7066|   
# 7067|   typedef GLboolean (GLAPIENTRYP _glptr_IsProgram)(GLuint);
# 7068|-> #define CALL_IsProgram(disp, parameters) (* GET_IsProgram(disp)) parameters
# 7069|   #define GET_IsProgram(disp) ((_glptr_IsProgram)(GET_by_offset((disp), _gloffset_IsProgram)))
# 7070|   #define SET_IsProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7076:42: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1664:11: note: in expansion of macro ‘CALL_IsShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1664:11: note: in expansion of macro ‘CALL_IsShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1664:11: note: in expansion of macro ‘CALL_IsShader’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1664:11: note: in expansion of macro ‘CALL_IsShader’
# 7074|   
# 7075|   typedef GLboolean (GLAPIENTRYP _glptr_IsShader)(GLuint);
# 7076|-> #define CALL_IsShader(disp, parameters) (* GET_IsShader(disp)) parameters
# 7077|   #define GET_IsShader(disp) ((_glptr_IsShader)(GET_by_offset((disp), _gloffset_IsShader)))
# 7078|   #define SET_IsShader(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_LinkProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7084:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1677:4: note: in expansion of macro ‘CALL_LinkProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1677:4: note: in expansion of macro ‘CALL_LinkProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1677:4: note: in expansion of macro ‘CALL_LinkProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1677:4: note: in expansion of macro ‘CALL_LinkProgram’
# 7082|   
# 7083|   typedef void (GLAPIENTRYP _glptr_LinkProgram)(GLuint);
# 7084|-> #define CALL_LinkProgram(disp, parameters) (* GET_LinkProgram(disp)) parameters
# 7085|   #define GET_LinkProgram(disp) ((_glptr_LinkProgram)(GET_by_offset((disp), _gloffset_LinkProgram)))
# 7086|   #define SET_LinkProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_ShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7092:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1697:4: note: in expansion of macro ‘CALL_ShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1697:4: note: in expansion of macro ‘CALL_ShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1697:4: note: in expansion of macro ‘CALL_ShaderSource’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1697:4: note: in expansion of macro ‘CALL_ShaderSource’
# 7090|   
# 7091|   typedef void (GLAPIENTRYP _glptr_ShaderSource)(GLuint, GLsizei, const GLchar * const *, const GLint *);
# 7092|-> #define CALL_ShaderSource(disp, parameters) (* GET_ShaderSource(disp)) parameters
# 7093|   #define GET_ShaderSource(disp) ((_glptr_ShaderSource)(GET_by_offset((disp), _gloffset_ShaderSource)))
# 7094|   #define SET_ShaderSource(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_StencilFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7100:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1214:4: note: in expansion of macro ‘CALL_StencilFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1214:4: note: in expansion of macro ‘CALL_StencilFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1214:4: note: in expansion of macro ‘CALL_StencilFuncSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1214:4: note: in expansion of macro ‘CALL_StencilFuncSeparate’
# 7098|   
# 7099|   typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate)(GLenum, GLenum, GLint, GLuint);
# 7100|-> #define CALL_StencilFuncSeparate(disp, parameters) (* GET_StencilFuncSeparate(disp)) parameters
# 7101|   #define GET_StencilFuncSeparate(disp) ((_glptr_StencilFuncSeparate)(GET_by_offset((disp), _gloffset_StencilFuncSeparate)))
# 7102|   #define SET_StencilFuncSeparate(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_StencilMaskSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7108:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1272:4: note: in expansion of macro ‘CALL_StencilMaskSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1272:4: note: in expansion of macro ‘CALL_StencilMaskSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1272:4: note: in expansion of macro ‘CALL_StencilMaskSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1272:4: note: in expansion of macro ‘CALL_StencilMaskSeparate’
# 7106|   
# 7107|   typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate)(GLenum, GLuint);
# 7108|-> #define CALL_StencilMaskSeparate(disp, parameters) (* GET_StencilMaskSeparate(disp)) parameters
# 7109|   #define GET_StencilMaskSeparate(disp) ((_glptr_StencilMaskSeparate)(GET_by_offset((disp), _gloffset_StencilMaskSeparate)))
# 7110|   #define SET_StencilMaskSeparate(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_StencilOpSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7116:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1245:4: note: in expansion of macro ‘CALL_StencilOpSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1245:4: note: in expansion of macro ‘CALL_StencilOpSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1245:4: note: in expansion of macro ‘CALL_StencilOpSeparate’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1245:4: note: in expansion of macro ‘CALL_StencilOpSeparate’
# 7114|   
# 7115|   typedef void (GLAPIENTRYP _glptr_StencilOpSeparate)(GLenum, GLenum, GLenum, GLenum);
# 7116|-> #define CALL_StencilOpSeparate(disp, parameters) (* GET_StencilOpSeparate(disp)) parameters
# 7117|   #define GET_StencilOpSeparate(disp) ((_glptr_StencilOpSeparate)(GET_by_offset((disp), _gloffset_StencilOpSeparate)))
# 7118|   #define SET_StencilOpSeparate(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7124:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1735:4: note: in expansion of macro ‘CALL_Uniform1f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1735:4: note: in expansion of macro ‘CALL_Uniform1f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1735:4: note: in expansion of macro ‘CALL_Uniform1f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1735:4: note: in expansion of macro ‘CALL_Uniform1f’
# 7122|   
# 7123|   typedef void (GLAPIENTRYP _glptr_Uniform1f)(GLint, GLfloat);
# 7124|-> #define CALL_Uniform1f(disp, parameters) (* GET_Uniform1f(disp)) parameters
# 7125|   #define GET_Uniform1f(disp) ((_glptr_Uniform1f)(GET_by_offset((disp), _gloffset_Uniform1f)))
# 7126|   #define SET_Uniform1f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7132:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1976:4: note: in expansion of macro ‘CALL_Uniform1fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1976:4: note: in expansion of macro ‘CALL_Uniform1fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1976:4: note: in expansion of macro ‘CALL_Uniform1fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1976:4: note: in expansion of macro ‘CALL_Uniform1fv’
# 7130|   
# 7131|   typedef void (GLAPIENTRYP _glptr_Uniform1fv)(GLint, GLsizei, const GLfloat *);
# 7132|-> #define CALL_Uniform1fv(disp, parameters) (* GET_Uniform1fv(disp)) parameters
# 7133|   #define GET_Uniform1fv(disp) ((_glptr_Uniform1fv)(GET_by_offset((disp), _gloffset_Uniform1fv)))
# 7134|   #define SET_Uniform1fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7140:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1853:4: note: in expansion of macro ‘CALL_Uniform1i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1853:4: note: in expansion of macro ‘CALL_Uniform1i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1853:4: note: in expansion of macro ‘CALL_Uniform1i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1853:4: note: in expansion of macro ‘CALL_Uniform1i’
# 7138|   
# 7139|   typedef void (GLAPIENTRYP _glptr_Uniform1i)(GLint, GLint);
# 7140|-> #define CALL_Uniform1i(disp, parameters) (* GET_Uniform1i(disp)) parameters
# 7141|   #define GET_Uniform1i(disp) ((_glptr_Uniform1i)(GET_by_offset((disp), _gloffset_Uniform1i)))
# 7142|   #define SET_Uniform1i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7148:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2132:4: note: in expansion of macro ‘CALL_Uniform1iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2132:4: note: in expansion of macro ‘CALL_Uniform1iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2132:4: note: in expansion of macro ‘CALL_Uniform1iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2132:4: note: in expansion of macro ‘CALL_Uniform1iv’
# 7146|   
# 7147|   typedef void (GLAPIENTRYP _glptr_Uniform1iv)(GLint, GLsizei, const GLint *);
# 7148|-> #define CALL_Uniform1iv(disp, parameters) (* GET_Uniform1iv(disp)) parameters
# 7149|   #define GET_Uniform1iv(disp) ((_glptr_Uniform1iv)(GET_by_offset((disp), _gloffset_Uniform1iv)))
# 7150|   #define SET_Uniform1iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7156:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1762:4: note: in expansion of macro ‘CALL_Uniform2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1762:4: note: in expansion of macro ‘CALL_Uniform2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1762:4: note: in expansion of macro ‘CALL_Uniform2f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1762:4: note: in expansion of macro ‘CALL_Uniform2f’
# 7154|   
# 7155|   typedef void (GLAPIENTRYP _glptr_Uniform2f)(GLint, GLfloat, GLfloat);
# 7156|-> #define CALL_Uniform2f(disp, parameters) (* GET_Uniform2f(disp)) parameters
# 7157|   #define GET_Uniform2f(disp) ((_glptr_Uniform2f)(GET_by_offset((disp), _gloffset_Uniform2f)))
# 7158|   #define SET_Uniform2f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7164:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2015:4: note: in expansion of macro ‘CALL_Uniform2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2015:4: note: in expansion of macro ‘CALL_Uniform2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2015:4: note: in expansion of macro ‘CALL_Uniform2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2015:4: note: in expansion of macro ‘CALL_Uniform2fv’
# 7162|   
# 7163|   typedef void (GLAPIENTRYP _glptr_Uniform2fv)(GLint, GLsizei, const GLfloat *);
# 7164|-> #define CALL_Uniform2fv(disp, parameters) (* GET_Uniform2fv(disp)) parameters
# 7165|   #define GET_Uniform2fv(disp) ((_glptr_Uniform2fv)(GET_by_offset((disp), _gloffset_Uniform2fv)))
# 7166|   #define SET_Uniform2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7172:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1880:4: note: in expansion of macro ‘CALL_Uniform2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1880:4: note: in expansion of macro ‘CALL_Uniform2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1880:4: note: in expansion of macro ‘CALL_Uniform2i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1880:4: note: in expansion of macro ‘CALL_Uniform2i’
# 7170|   
# 7171|   typedef void (GLAPIENTRYP _glptr_Uniform2i)(GLint, GLint, GLint);
# 7172|-> #define CALL_Uniform2i(disp, parameters) (* GET_Uniform2i(disp)) parameters
# 7173|   #define GET_Uniform2i(disp) ((_glptr_Uniform2i)(GET_by_offset((disp), _gloffset_Uniform2i)))
# 7174|   #define SET_Uniform2i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7180:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2171:4: note: in expansion of macro ‘CALL_Uniform2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2171:4: note: in expansion of macro ‘CALL_Uniform2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2171:4: note: in expansion of macro ‘CALL_Uniform2iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2171:4: note: in expansion of macro ‘CALL_Uniform2iv’
# 7178|   
# 7179|   typedef void (GLAPIENTRYP _glptr_Uniform2iv)(GLint, GLsizei, const GLint *);
# 7180|-> #define CALL_Uniform2iv(disp, parameters) (* GET_Uniform2iv(disp)) parameters
# 7181|   #define GET_Uniform2iv(disp) ((_glptr_Uniform2iv)(GET_by_offset((disp), _gloffset_Uniform2iv)))
# 7182|   #define SET_Uniform2iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7188:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1792:4: note: in expansion of macro ‘CALL_Uniform3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1792:4: note: in expansion of macro ‘CALL_Uniform3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1792:4: note: in expansion of macro ‘CALL_Uniform3f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1792:4: note: in expansion of macro ‘CALL_Uniform3f’
# 7186|   
# 7187|   typedef void (GLAPIENTRYP _glptr_Uniform3f)(GLint, GLfloat, GLfloat, GLfloat);
# 7188|-> #define CALL_Uniform3f(disp, parameters) (* GET_Uniform3f(disp)) parameters
# 7189|   #define GET_Uniform3f(disp) ((_glptr_Uniform3f)(GET_by_offset((disp), _gloffset_Uniform3f)))
# 7190|   #define SET_Uniform3f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7196:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2054:4: note: in expansion of macro ‘CALL_Uniform3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2054:4: note: in expansion of macro ‘CALL_Uniform3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2054:4: note: in expansion of macro ‘CALL_Uniform3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2054:4: note: in expansion of macro ‘CALL_Uniform3fv’
# 7194|   
# 7195|   typedef void (GLAPIENTRYP _glptr_Uniform3fv)(GLint, GLsizei, const GLfloat *);
# 7196|-> #define CALL_Uniform3fv(disp, parameters) (* GET_Uniform3fv(disp)) parameters
# 7197|   #define GET_Uniform3fv(disp) ((_glptr_Uniform3fv)(GET_by_offset((disp), _gloffset_Uniform3fv)))
# 7198|   #define SET_Uniform3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7204:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1910:4: note: in expansion of macro ‘CALL_Uniform3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1910:4: note: in expansion of macro ‘CALL_Uniform3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1910:4: note: in expansion of macro ‘CALL_Uniform3i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1910:4: note: in expansion of macro ‘CALL_Uniform3i’
# 7202|   
# 7203|   typedef void (GLAPIENTRYP _glptr_Uniform3i)(GLint, GLint, GLint, GLint);
# 7204|-> #define CALL_Uniform3i(disp, parameters) (* GET_Uniform3i(disp)) parameters
# 7205|   #define GET_Uniform3i(disp) ((_glptr_Uniform3i)(GET_by_offset((disp), _gloffset_Uniform3i)))
# 7206|   #define SET_Uniform3i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7212:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2210:4: note: in expansion of macro ‘CALL_Uniform3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2210:4: note: in expansion of macro ‘CALL_Uniform3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2210:4: note: in expansion of macro ‘CALL_Uniform3iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2210:4: note: in expansion of macro ‘CALL_Uniform3iv’
# 7210|   
# 7211|   typedef void (GLAPIENTRYP _glptr_Uniform3iv)(GLint, GLsizei, const GLint *);
# 7212|-> #define CALL_Uniform3iv(disp, parameters) (* GET_Uniform3iv(disp)) parameters
# 7213|   #define GET_Uniform3iv(disp) ((_glptr_Uniform3iv)(GET_by_offset((disp), _gloffset_Uniform3iv)))
# 7214|   #define SET_Uniform3iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7220:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1825:4: note: in expansion of macro ‘CALL_Uniform4f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1825:4: note: in expansion of macro ‘CALL_Uniform4f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1825:4: note: in expansion of macro ‘CALL_Uniform4f’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1825:4: note: in expansion of macro ‘CALL_Uniform4f’
# 7218|   
# 7219|   typedef void (GLAPIENTRYP _glptr_Uniform4f)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);
# 7220|-> #define CALL_Uniform4f(disp, parameters) (* GET_Uniform4f(disp)) parameters
# 7221|   #define GET_Uniform4f(disp) ((_glptr_Uniform4f)(GET_by_offset((disp), _gloffset_Uniform4f)))
# 7222|   #define SET_Uniform4f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7228:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2093:4: note: in expansion of macro ‘CALL_Uniform4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2093:4: note: in expansion of macro ‘CALL_Uniform4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2093:4: note: in expansion of macro ‘CALL_Uniform4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2093:4: note: in expansion of macro ‘CALL_Uniform4fv’
# 7226|   
# 7227|   typedef void (GLAPIENTRYP _glptr_Uniform4fv)(GLint, GLsizei, const GLfloat *);
# 7228|-> #define CALL_Uniform4fv(disp, parameters) (* GET_Uniform4fv(disp)) parameters
# 7229|   #define GET_Uniform4fv(disp) ((_glptr_Uniform4fv)(GET_by_offset((disp), _gloffset_Uniform4fv)))
# 7230|   #define SET_Uniform4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7236:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1943:4: note: in expansion of macro ‘CALL_Uniform4i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1943:4: note: in expansion of macro ‘CALL_Uniform4i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1943:4: note: in expansion of macro ‘CALL_Uniform4i’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1943:4: note: in expansion of macro ‘CALL_Uniform4i’
# 7234|   
# 7235|   typedef void (GLAPIENTRYP _glptr_Uniform4i)(GLint, GLint, GLint, GLint, GLint);
# 7236|-> #define CALL_Uniform4i(disp, parameters) (* GET_Uniform4i(disp)) parameters
# 7237|   #define GET_Uniform4i(disp) ((_glptr_Uniform4i)(GET_by_offset((disp), _gloffset_Uniform4i)))
# 7238|   #define SET_Uniform4i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7244:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2249:4: note: in expansion of macro ‘CALL_Uniform4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2249:4: note: in expansion of macro ‘CALL_Uniform4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2249:4: note: in expansion of macro ‘CALL_Uniform4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2249:4: note: in expansion of macro ‘CALL_Uniform4iv’
# 7242|   
# 7243|   typedef void (GLAPIENTRYP _glptr_Uniform4iv)(GLint, GLsizei, const GLint *);
# 7244|-> #define CALL_Uniform4iv(disp, parameters) (* GET_Uniform4iv(disp)) parameters
# 7245|   #define GET_Uniform4iv(disp) ((_glptr_Uniform4iv)(GET_by_offset((disp), _gloffset_Uniform4iv)))
# 7246|   #define SET_Uniform4iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7252:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2290:4: note: in expansion of macro ‘CALL_UniformMatrix2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2290:4: note: in expansion of macro ‘CALL_UniformMatrix2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2290:4: note: in expansion of macro ‘CALL_UniformMatrix2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2290:4: note: in expansion of macro ‘CALL_UniformMatrix2fv’
# 7250|   
# 7251|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7252|-> #define CALL_UniformMatrix2fv(disp, parameters) (* GET_UniformMatrix2fv(disp)) parameters
# 7253|   #define GET_UniformMatrix2fv(disp) ((_glptr_UniformMatrix2fv)(GET_by_offset((disp), _gloffset_UniformMatrix2fv)))
# 7254|   #define SET_UniformMatrix2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7260:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2332:4: note: in expansion of macro ‘CALL_UniformMatrix3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2332:4: note: in expansion of macro ‘CALL_UniformMatrix3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2332:4: note: in expansion of macro ‘CALL_UniformMatrix3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2332:4: note: in expansion of macro ‘CALL_UniformMatrix3fv’
# 7258|   
# 7259|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7260|-> #define CALL_UniformMatrix3fv(disp, parameters) (* GET_UniformMatrix3fv(disp)) parameters
# 7261|   #define GET_UniformMatrix3fv(disp) ((_glptr_UniformMatrix3fv)(GET_by_offset((disp), _gloffset_UniformMatrix3fv)))
# 7262|   #define SET_UniformMatrix3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7268:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2374:4: note: in expansion of macro ‘CALL_UniformMatrix4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2374:4: note: in expansion of macro ‘CALL_UniformMatrix4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2374:4: note: in expansion of macro ‘CALL_UniformMatrix4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2374:4: note: in expansion of macro ‘CALL_UniformMatrix4fv’
# 7266|   
# 7267|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7268|-> #define CALL_UniformMatrix4fv(disp, parameters) (* GET_UniformMatrix4fv(disp)) parameters
# 7269|   #define GET_UniformMatrix4fv(disp) ((_glptr_UniformMatrix4fv)(GET_by_offset((disp), _gloffset_UniformMatrix4fv)))
# 7270|   #define SET_UniformMatrix4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UseProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7276:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1710:4: note: in expansion of macro ‘CALL_UseProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1710:4: note: in expansion of macro ‘CALL_UseProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1710:4: note: in expansion of macro ‘CALL_UseProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1710:4: note: in expansion of macro ‘CALL_UseProgram’
# 7274|   
# 7275|   typedef void (GLAPIENTRYP _glptr_UseProgram)(GLuint);
# 7276|-> #define CALL_UseProgram(disp, parameters) (* GET_UseProgram(disp)) parameters
# 7277|   #define GET_UseProgram(disp) ((_glptr_UseProgram)(GET_by_offset((disp), _gloffset_UseProgram)))
# 7278|   #define SET_UseProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ValidateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7284:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2407:4: note: in expansion of macro ‘CALL_ValidateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2407:4: note: in expansion of macro ‘CALL_ValidateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2407:4: note: in expansion of macro ‘CALL_ValidateProgram’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2407:4: note: in expansion of macro ‘CALL_ValidateProgram’
# 7282|   
# 7283|   typedef void (GLAPIENTRYP _glptr_ValidateProgram)(GLuint);
# 7284|-> #define CALL_ValidateProgram(disp, parameters) (* GET_ValidateProgram(disp)) parameters
# 7285|   #define GET_ValidateProgram(disp) ((_glptr_ValidateProgram)(GET_by_offset((disp), _gloffset_ValidateProgram)))
# 7286|   #define SET_ValidateProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7292:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2431:4: note: in expansion of macro ‘CALL_VertexAttrib1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2431:4: note: in expansion of macro ‘CALL_VertexAttrib1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2431:4: note: in expansion of macro ‘CALL_VertexAttrib1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2431:4: note: in expansion of macro ‘CALL_VertexAttrib1d’
# 7290|   
# 7291|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1d)(GLuint, GLdouble);
# 7292|-> #define CALL_VertexAttrib1d(disp, parameters) (* GET_VertexAttrib1d(disp)) parameters
# 7293|   #define GET_VertexAttrib1d(disp) ((_glptr_VertexAttrib1d)(GET_by_offset((disp), _gloffset_VertexAttrib1d)))
# 7294|   #define SET_VertexAttrib1d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7300:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2456:4: note: in expansion of macro ‘CALL_VertexAttrib1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2456:4: note: in expansion of macro ‘CALL_VertexAttrib1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2456:4: note: in expansion of macro ‘CALL_VertexAttrib1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2456:4: note: in expansion of macro ‘CALL_VertexAttrib1dv’
# 7298|   
# 7299|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1dv)(GLuint, const GLdouble *);
# 7300|-> #define CALL_VertexAttrib1dv(disp, parameters) (* GET_VertexAttrib1dv(disp)) parameters
# 7301|   #define GET_VertexAttrib1dv(disp) ((_glptr_VertexAttrib1dv)(GET_by_offset((disp), _gloffset_VertexAttrib1dv)))
# 7302|   #define SET_VertexAttrib1dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7308:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2531:4: note: in expansion of macro ‘CALL_VertexAttrib1s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2531:4: note: in expansion of macro ‘CALL_VertexAttrib1s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2531:4: note: in expansion of macro ‘CALL_VertexAttrib1s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2531:4: note: in expansion of macro ‘CALL_VertexAttrib1s’
# 7306|   
# 7307|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1s)(GLuint, GLshort);
# 7308|-> #define CALL_VertexAttrib1s(disp, parameters) (* GET_VertexAttrib1s(disp)) parameters
# 7309|   #define GET_VertexAttrib1s(disp) ((_glptr_VertexAttrib1s)(GET_by_offset((disp), _gloffset_VertexAttrib1s)))
# 7310|   #define SET_VertexAttrib1s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7316:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2556:4: note: in expansion of macro ‘CALL_VertexAttrib1sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2556:4: note: in expansion of macro ‘CALL_VertexAttrib1sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2556:4: note: in expansion of macro ‘CALL_VertexAttrib1sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2556:4: note: in expansion of macro ‘CALL_VertexAttrib1sv’
# 7314|   
# 7315|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1sv)(GLuint, const GLshort *);
# 7316|-> #define CALL_VertexAttrib1sv(disp, parameters) (* GET_VertexAttrib1sv(disp)) parameters
# 7317|   #define GET_VertexAttrib1sv(disp) ((_glptr_VertexAttrib1sv)(GET_by_offset((disp), _gloffset_VertexAttrib1sv)))
# 7318|   #define SET_VertexAttrib1sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7324:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2583:4: note: in expansion of macro ‘CALL_VertexAttrib2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2583:4: note: in expansion of macro ‘CALL_VertexAttrib2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2583:4: note: in expansion of macro ‘CALL_VertexAttrib2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2583:4: note: in expansion of macro ‘CALL_VertexAttrib2d’
# 7322|   
# 7323|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2d)(GLuint, GLdouble, GLdouble);
# 7324|-> #define CALL_VertexAttrib2d(disp, parameters) (* GET_VertexAttrib2d(disp)) parameters
# 7325|   #define GET_VertexAttrib2d(disp) ((_glptr_VertexAttrib2d)(GET_by_offset((disp), _gloffset_VertexAttrib2d)))
# 7326|   #define SET_VertexAttrib2d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7332:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2609:4: note: in expansion of macro ‘CALL_VertexAttrib2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2609:4: note: in expansion of macro ‘CALL_VertexAttrib2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2609:4: note: in expansion of macro ‘CALL_VertexAttrib2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2609:4: note: in expansion of macro ‘CALL_VertexAttrib2dv’
# 7330|   
# 7331|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2dv)(GLuint, const GLdouble *);
# 7332|-> #define CALL_VertexAttrib2dv(disp, parameters) (* GET_VertexAttrib2dv(disp)) parameters
# 7333|   #define GET_VertexAttrib2dv(disp) ((_glptr_VertexAttrib2dv)(GET_by_offset((disp), _gloffset_VertexAttrib2dv)))
# 7334|   #define SET_VertexAttrib2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7340:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2689:4: note: in expansion of macro ‘CALL_VertexAttrib2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2689:4: note: in expansion of macro ‘CALL_VertexAttrib2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2689:4: note: in expansion of macro ‘CALL_VertexAttrib2s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2689:4: note: in expansion of macro ‘CALL_VertexAttrib2s’
# 7338|   
# 7339|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2s)(GLuint, GLshort, GLshort);
# 7340|-> #define CALL_VertexAttrib2s(disp, parameters) (* GET_VertexAttrib2s(disp)) parameters
# 7341|   #define GET_VertexAttrib2s(disp) ((_glptr_VertexAttrib2s)(GET_by_offset((disp), _gloffset_VertexAttrib2s)))
# 7342|   #define SET_VertexAttrib2s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7348:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2715:4: note: in expansion of macro ‘CALL_VertexAttrib2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2715:4: note: in expansion of macro ‘CALL_VertexAttrib2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2715:4: note: in expansion of macro ‘CALL_VertexAttrib2sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2715:4: note: in expansion of macro ‘CALL_VertexAttrib2sv’
# 7346|   
# 7347|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2sv)(GLuint, const GLshort *);
# 7348|-> #define CALL_VertexAttrib2sv(disp, parameters) (* GET_VertexAttrib2sv(disp)) parameters
# 7349|   #define GET_VertexAttrib2sv(disp) ((_glptr_VertexAttrib2sv)(GET_by_offset((disp), _gloffset_VertexAttrib2sv)))
# 7350|   #define SET_VertexAttrib2sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7356:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2744:4: note: in expansion of macro ‘CALL_VertexAttrib3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2744:4: note: in expansion of macro ‘CALL_VertexAttrib3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2744:4: note: in expansion of macro ‘CALL_VertexAttrib3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2744:4: note: in expansion of macro ‘CALL_VertexAttrib3d’
# 7354|   
# 7355|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3d)(GLuint, GLdouble, GLdouble, GLdouble);
# 7356|-> #define CALL_VertexAttrib3d(disp, parameters) (* GET_VertexAttrib3d(disp)) parameters
# 7357|   #define GET_VertexAttrib3d(disp) ((_glptr_VertexAttrib3d)(GET_by_offset((disp), _gloffset_VertexAttrib3d)))
# 7358|   #define SET_VertexAttrib3d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7364:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2771:4: note: in expansion of macro ‘CALL_VertexAttrib3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2771:4: note: in expansion of macro ‘CALL_VertexAttrib3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2771:4: note: in expansion of macro ‘CALL_VertexAttrib3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2771:4: note: in expansion of macro ‘CALL_VertexAttrib3dv’
# 7362|   
# 7363|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3dv)(GLuint, const GLdouble *);
# 7364|-> #define CALL_VertexAttrib3dv(disp, parameters) (* GET_VertexAttrib3dv(disp)) parameters
# 7365|   #define GET_VertexAttrib3dv(disp) ((_glptr_VertexAttrib3dv)(GET_by_offset((disp), _gloffset_VertexAttrib3dv)))
# 7366|   #define SET_VertexAttrib3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7372:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2856:4: note: in expansion of macro ‘CALL_VertexAttrib3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2856:4: note: in expansion of macro ‘CALL_VertexAttrib3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2856:4: note: in expansion of macro ‘CALL_VertexAttrib3s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2856:4: note: in expansion of macro ‘CALL_VertexAttrib3s’
# 7370|   
# 7371|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3s)(GLuint, GLshort, GLshort, GLshort);
# 7372|-> #define CALL_VertexAttrib3s(disp, parameters) (* GET_VertexAttrib3s(disp)) parameters
# 7373|   #define GET_VertexAttrib3s(disp) ((_glptr_VertexAttrib3s)(GET_by_offset((disp), _gloffset_VertexAttrib3s)))
# 7374|   #define SET_VertexAttrib3s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7380:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2883:4: note: in expansion of macro ‘CALL_VertexAttrib3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2883:4: note: in expansion of macro ‘CALL_VertexAttrib3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2883:4: note: in expansion of macro ‘CALL_VertexAttrib3sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2883:4: note: in expansion of macro ‘CALL_VertexAttrib3sv’
# 7378|   
# 7379|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3sv)(GLuint, const GLshort *);
# 7380|-> #define CALL_VertexAttrib3sv(disp, parameters) (* GET_VertexAttrib3sv(disp)) parameters
# 7381|   #define GET_VertexAttrib3sv(disp) ((_glptr_VertexAttrib3sv)(GET_by_offset((disp), _gloffset_VertexAttrib3sv)))
# 7382|   #define SET_VertexAttrib3sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nbv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7388:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2908:4: note: in expansion of macro ‘CALL_VertexAttrib4Nbv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2908:4: note: in expansion of macro ‘CALL_VertexAttrib4Nbv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2908:4: note: in expansion of macro ‘CALL_VertexAttrib4Nbv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2908:4: note: in expansion of macro ‘CALL_VertexAttrib4Nbv’
# 7386|   
# 7387|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nbv)(GLuint, const GLbyte *);
# 7388|-> #define CALL_VertexAttrib4Nbv(disp, parameters) (* GET_VertexAttrib4Nbv(disp)) parameters
# 7389|   #define GET_VertexAttrib4Nbv(disp) ((_glptr_VertexAttrib4Nbv)(GET_by_offset((disp), _gloffset_VertexAttrib4Nbv)))
# 7390|   #define SET_VertexAttrib4Nbv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Niv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7396:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2933:4: note: in expansion of macro ‘CALL_VertexAttrib4Niv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2933:4: note: in expansion of macro ‘CALL_VertexAttrib4Niv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2933:4: note: in expansion of macro ‘CALL_VertexAttrib4Niv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2933:4: note: in expansion of macro ‘CALL_VertexAttrib4Niv’
# 7394|   
# 7395|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Niv)(GLuint, const GLint *);
# 7396|-> #define CALL_VertexAttrib4Niv(disp, parameters) (* GET_VertexAttrib4Niv(disp)) parameters
# 7397|   #define GET_VertexAttrib4Niv(disp) ((_glptr_VertexAttrib4Niv)(GET_by_offset((disp), _gloffset_VertexAttrib4Niv)))
# 7398|   #define SET_VertexAttrib4Niv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nsv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7404:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2958:4: note: in expansion of macro ‘CALL_VertexAttrib4Nsv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2958:4: note: in expansion of macro ‘CALL_VertexAttrib4Nsv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2958:4: note: in expansion of macro ‘CALL_VertexAttrib4Nsv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2958:4: note: in expansion of macro ‘CALL_VertexAttrib4Nsv’
# 7402|   
# 7403|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nsv)(GLuint, const GLshort *);
# 7404|-> #define CALL_VertexAttrib4Nsv(disp, parameters) (* GET_VertexAttrib4Nsv(disp)) parameters
# 7405|   #define GET_VertexAttrib4Nsv(disp) ((_glptr_VertexAttrib4Nsv)(GET_by_offset((disp), _gloffset_VertexAttrib4Nsv)))
# 7406|   #define SET_VertexAttrib4Nsv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7412:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2989:4: note: in expansion of macro ‘CALL_VertexAttrib4Nub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2989:4: note: in expansion of macro ‘CALL_VertexAttrib4Nub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2989:4: note: in expansion of macro ‘CALL_VertexAttrib4Nub’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2989:4: note: in expansion of macro ‘CALL_VertexAttrib4Nub’
# 7410|   
# 7411|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nub)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
# 7412|-> #define CALL_VertexAttrib4Nub(disp, parameters) (* GET_VertexAttrib4Nub(disp)) parameters
# 7413|   #define GET_VertexAttrib4Nub(disp) ((_glptr_VertexAttrib4Nub)(GET_by_offset((disp), _gloffset_VertexAttrib4Nub)))
# 7414|   #define SET_VertexAttrib4Nub(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7420:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3017:4: note: in expansion of macro ‘CALL_VertexAttrib4Nubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3017:4: note: in expansion of macro ‘CALL_VertexAttrib4Nubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3017:4: note: in expansion of macro ‘CALL_VertexAttrib4Nubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3017:4: note: in expansion of macro ‘CALL_VertexAttrib4Nubv’
# 7418|   
# 7419|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nubv)(GLuint, const GLubyte *);
# 7420|-> #define CALL_VertexAttrib4Nubv(disp, parameters) (* GET_VertexAttrib4Nubv(disp)) parameters
# 7421|   #define GET_VertexAttrib4Nubv(disp) ((_glptr_VertexAttrib4Nubv)(GET_by_offset((disp), _gloffset_VertexAttrib4Nubv)))
# 7422|   #define SET_VertexAttrib4Nubv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7428:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3042:4: note: in expansion of macro ‘CALL_VertexAttrib4Nuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3042:4: note: in expansion of macro ‘CALL_VertexAttrib4Nuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3042:4: note: in expansion of macro ‘CALL_VertexAttrib4Nuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3042:4: note: in expansion of macro ‘CALL_VertexAttrib4Nuiv’
# 7426|   
# 7427|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nuiv)(GLuint, const GLuint *);
# 7428|-> #define CALL_VertexAttrib4Nuiv(disp, parameters) (* GET_VertexAttrib4Nuiv(disp)) parameters
# 7429|   #define GET_VertexAttrib4Nuiv(disp) ((_glptr_VertexAttrib4Nuiv)(GET_by_offset((disp), _gloffset_VertexAttrib4Nuiv)))
# 7430|   #define SET_VertexAttrib4Nuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4Nusv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7436:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3067:4: note: in expansion of macro ‘CALL_VertexAttrib4Nusv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3067:4: note: in expansion of macro ‘CALL_VertexAttrib4Nusv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3067:4: note: in expansion of macro ‘CALL_VertexAttrib4Nusv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3067:4: note: in expansion of macro ‘CALL_VertexAttrib4Nusv’
# 7434|   
# 7435|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nusv)(GLuint, const GLushort *);
# 7436|-> #define CALL_VertexAttrib4Nusv(disp, parameters) (* GET_VertexAttrib4Nusv(disp)) parameters
# 7437|   #define GET_VertexAttrib4Nusv(disp) ((_glptr_VertexAttrib4Nusv)(GET_by_offset((disp), _gloffset_VertexAttrib4Nusv)))
# 7438|   #define SET_VertexAttrib4Nusv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7444:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3092:4: note: in expansion of macro ‘CALL_VertexAttrib4bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3092:4: note: in expansion of macro ‘CALL_VertexAttrib4bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3092:4: note: in expansion of macro ‘CALL_VertexAttrib4bv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3092:4: note: in expansion of macro ‘CALL_VertexAttrib4bv’
# 7442|   
# 7443|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4bv)(GLuint, const GLbyte *);
# 7444|-> #define CALL_VertexAttrib4bv(disp, parameters) (* GET_VertexAttrib4bv(disp)) parameters
# 7445|   #define GET_VertexAttrib4bv(disp) ((_glptr_VertexAttrib4bv)(GET_by_offset((disp), _gloffset_VertexAttrib4bv)))
# 7446|   #define SET_VertexAttrib4bv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7452:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3123:4: note: in expansion of macro ‘CALL_VertexAttrib4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3123:4: note: in expansion of macro ‘CALL_VertexAttrib4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3123:4: note: in expansion of macro ‘CALL_VertexAttrib4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3123:4: note: in expansion of macro ‘CALL_VertexAttrib4d’
# 7450|   
# 7451|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4d)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
# 7452|-> #define CALL_VertexAttrib4d(disp, parameters) (* GET_VertexAttrib4d(disp)) parameters
# 7453|   #define GET_VertexAttrib4d(disp) ((_glptr_VertexAttrib4d)(GET_by_offset((disp), _gloffset_VertexAttrib4d)))
# 7454|   #define SET_VertexAttrib4d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7460:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3151:4: note: in expansion of macro ‘CALL_VertexAttrib4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3151:4: note: in expansion of macro ‘CALL_VertexAttrib4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3151:4: note: in expansion of macro ‘CALL_VertexAttrib4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3151:4: note: in expansion of macro ‘CALL_VertexAttrib4dv’
# 7458|   
# 7459|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4dv)(GLuint, const GLdouble *);
# 7460|-> #define CALL_VertexAttrib4dv(disp, parameters) (* GET_VertexAttrib4dv(disp)) parameters
# 7461|   #define GET_VertexAttrib4dv(disp) ((_glptr_VertexAttrib4dv)(GET_by_offset((disp), _gloffset_VertexAttrib4dv)))
# 7462|   #define SET_VertexAttrib4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7468:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3235:4: note: in expansion of macro ‘CALL_VertexAttrib4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3235:4: note: in expansion of macro ‘CALL_VertexAttrib4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3235:4: note: in expansion of macro ‘CALL_VertexAttrib4iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3235:4: note: in expansion of macro ‘CALL_VertexAttrib4iv’
# 7466|   
# 7467|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4iv)(GLuint, const GLint *);
# 7468|-> #define CALL_VertexAttrib4iv(disp, parameters) (* GET_VertexAttrib4iv(disp)) parameters
# 7469|   #define GET_VertexAttrib4iv(disp) ((_glptr_VertexAttrib4iv)(GET_by_offset((disp), _gloffset_VertexAttrib4iv)))
# 7470|   #define SET_VertexAttrib4iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7476:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3266:4: note: in expansion of macro ‘CALL_VertexAttrib4s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3266:4: note: in expansion of macro ‘CALL_VertexAttrib4s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3266:4: note: in expansion of macro ‘CALL_VertexAttrib4s’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3266:4: note: in expansion of macro ‘CALL_VertexAttrib4s’
# 7474|   
# 7475|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4s)(GLuint, GLshort, GLshort, GLshort, GLshort);
# 7476|-> #define CALL_VertexAttrib4s(disp, parameters) (* GET_VertexAttrib4s(disp)) parameters
# 7477|   #define GET_VertexAttrib4s(disp) ((_glptr_VertexAttrib4s)(GET_by_offset((disp), _gloffset_VertexAttrib4s)))
# 7478|   #define SET_VertexAttrib4s(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7484:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3294:4: note: in expansion of macro ‘CALL_VertexAttrib4sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3294:4: note: in expansion of macro ‘CALL_VertexAttrib4sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3294:4: note: in expansion of macro ‘CALL_VertexAttrib4sv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3294:4: note: in expansion of macro ‘CALL_VertexAttrib4sv’
# 7482|   
# 7483|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4sv)(GLuint, const GLshort *);
# 7484|-> #define CALL_VertexAttrib4sv(disp, parameters) (* GET_VertexAttrib4sv(disp)) parameters
# 7485|   #define GET_VertexAttrib4sv(disp) ((_glptr_VertexAttrib4sv)(GET_by_offset((disp), _gloffset_VertexAttrib4sv)))
# 7486|   #define SET_VertexAttrib4sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7492:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3319:4: note: in expansion of macro ‘CALL_VertexAttrib4ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3319:4: note: in expansion of macro ‘CALL_VertexAttrib4ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3319:4: note: in expansion of macro ‘CALL_VertexAttrib4ubv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3319:4: note: in expansion of macro ‘CALL_VertexAttrib4ubv’
# 7490|   
# 7491|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubv)(GLuint, const GLubyte *);
# 7492|-> #define CALL_VertexAttrib4ubv(disp, parameters) (* GET_VertexAttrib4ubv(disp)) parameters
# 7493|   #define GET_VertexAttrib4ubv(disp) ((_glptr_VertexAttrib4ubv)(GET_by_offset((disp), _gloffset_VertexAttrib4ubv)))
# 7494|   #define SET_VertexAttrib4ubv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7500:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3344:4: note: in expansion of macro ‘CALL_VertexAttrib4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3344:4: note: in expansion of macro ‘CALL_VertexAttrib4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3344:4: note: in expansion of macro ‘CALL_VertexAttrib4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3344:4: note: in expansion of macro ‘CALL_VertexAttrib4uiv’
# 7498|   
# 7499|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4uiv)(GLuint, const GLuint *);
# 7500|-> #define CALL_VertexAttrib4uiv(disp, parameters) (* GET_VertexAttrib4uiv(disp)) parameters
# 7501|   #define GET_VertexAttrib4uiv(disp) ((_glptr_VertexAttrib4uiv)(GET_by_offset((disp), _gloffset_VertexAttrib4uiv)))
# 7502|   #define SET_VertexAttrib4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7508:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3369:4: note: in expansion of macro ‘CALL_VertexAttrib4usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3369:4: note: in expansion of macro ‘CALL_VertexAttrib4usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3369:4: note: in expansion of macro ‘CALL_VertexAttrib4usv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3369:4: note: in expansion of macro ‘CALL_VertexAttrib4usv’
# 7506|   
# 7507|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4usv)(GLuint, const GLushort *);
# 7508|-> #define CALL_VertexAttrib4usv(disp, parameters) (* GET_VertexAttrib4usv(disp)) parameters
# 7509|   #define GET_VertexAttrib4usv(disp) ((_glptr_VertexAttrib4usv)(GET_by_offset((disp), _gloffset_VertexAttrib4usv)))
# 7510|   #define SET_VertexAttrib4usv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7516:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3412:4: note: in expansion of macro ‘CALL_VertexAttribPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3412:4: note: in expansion of macro ‘CALL_VertexAttribPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3412:4: note: in expansion of macro ‘CALL_VertexAttribPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3412:4: note: in expansion of macro ‘CALL_VertexAttribPointer’
# 7514|   
# 7515|   typedef void (GLAPIENTRYP _glptr_VertexAttribPointer)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
# 7516|-> #define CALL_VertexAttribPointer(disp, parameters) (* GET_VertexAttribPointer(disp)) parameters
# 7517|   #define GET_VertexAttribPointer(disp) ((_glptr_VertexAttribPointer)(GET_by_offset((disp), _gloffset_VertexAttribPointer)))
# 7518|   #define SET_VertexAttribPointer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7524:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3471:4: note: in expansion of macro ‘CALL_UniformMatrix2x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3471:4: note: in expansion of macro ‘CALL_UniformMatrix2x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3471:4: note: in expansion of macro ‘CALL_UniformMatrix2x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3471:4: note: in expansion of macro ‘CALL_UniformMatrix2x3fv’
# 7522|   
# 7523|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7524|-> #define CALL_UniformMatrix2x3fv(disp, parameters) (* GET_UniformMatrix2x3fv(disp)) parameters
# 7525|   #define GET_UniformMatrix2x3fv(disp) ((_glptr_UniformMatrix2x3fv)(GET_by_offset((disp), _gloffset_UniformMatrix2x3fv)))
# 7526|   #define SET_UniformMatrix2x3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7532:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3555:4: note: in expansion of macro ‘CALL_UniformMatrix2x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3555:4: note: in expansion of macro ‘CALL_UniformMatrix2x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3555:4: note: in expansion of macro ‘CALL_UniformMatrix2x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3555:4: note: in expansion of macro ‘CALL_UniformMatrix2x4fv’
# 7530|   
# 7531|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7532|-> #define CALL_UniformMatrix2x4fv(disp, parameters) (* GET_UniformMatrix2x4fv(disp)) parameters
# 7533|   #define GET_UniformMatrix2x4fv(disp) ((_glptr_UniformMatrix2x4fv)(GET_by_offset((disp), _gloffset_UniformMatrix2x4fv)))
# 7534|   #define SET_UniformMatrix2x4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7540:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3513:4: note: in expansion of macro ‘CALL_UniformMatrix3x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3513:4: note: in expansion of macro ‘CALL_UniformMatrix3x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3513:4: note: in expansion of macro ‘CALL_UniformMatrix3x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3513:4: note: in expansion of macro ‘CALL_UniformMatrix3x2fv’
# 7538|   
# 7539|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7540|-> #define CALL_UniformMatrix3x2fv(disp, parameters) (* GET_UniformMatrix3x2fv(disp)) parameters
# 7541|   #define GET_UniformMatrix3x2fv(disp) ((_glptr_UniformMatrix3x2fv)(GET_by_offset((disp), _gloffset_UniformMatrix3x2fv)))
# 7542|   #define SET_UniformMatrix3x2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7548:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3639:4: note: in expansion of macro ‘CALL_UniformMatrix3x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3639:4: note: in expansion of macro ‘CALL_UniformMatrix3x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3639:4: note: in expansion of macro ‘CALL_UniformMatrix3x4fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3639:4: note: in expansion of macro ‘CALL_UniformMatrix3x4fv’
# 7546|   
# 7547|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7548|-> #define CALL_UniformMatrix3x4fv(disp, parameters) (* GET_UniformMatrix3x4fv(disp)) parameters
# 7549|   #define GET_UniformMatrix3x4fv(disp) ((_glptr_UniformMatrix3x4fv)(GET_by_offset((disp), _gloffset_UniformMatrix3x4fv)))
# 7550|   #define SET_UniformMatrix3x4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7556:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3597:4: note: in expansion of macro ‘CALL_UniformMatrix4x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3597:4: note: in expansion of macro ‘CALL_UniformMatrix4x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3597:4: note: in expansion of macro ‘CALL_UniformMatrix4x2fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3597:4: note: in expansion of macro ‘CALL_UniformMatrix4x2fv’
# 7554|   
# 7555|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7556|-> #define CALL_UniformMatrix4x2fv(disp, parameters) (* GET_UniformMatrix4x2fv(disp)) parameters
# 7557|   #define GET_UniformMatrix4x2fv(disp) ((_glptr_UniformMatrix4x2fv)(GET_by_offset((disp), _gloffset_UniformMatrix4x2fv)))
# 7558|   #define SET_UniformMatrix4x2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7564:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3681:4: note: in expansion of macro ‘CALL_UniformMatrix4x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3681:4: note: in expansion of macro ‘CALL_UniformMatrix4x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3681:4: note: in expansion of macro ‘CALL_UniformMatrix4x3fv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3681:4: note: in expansion of macro ‘CALL_UniformMatrix4x3fv’
# 7562|   
# 7563|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
# 7564|-> #define CALL_UniformMatrix4x3fv(disp, parameters) (* GET_UniformMatrix4x3fv(disp)) parameters
# 7565|   #define GET_UniformMatrix4x3fv(disp) ((_glptr_UniformMatrix4x3fv)(GET_by_offset((disp), _gloffset_UniformMatrix4x3fv)))
# 7566|   #define SET_UniformMatrix4x3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BeginConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7572:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:741:4: note: in expansion of macro ‘CALL_BeginConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:741:4: note: in expansion of macro ‘CALL_BeginConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:741:4: note: in expansion of macro ‘CALL_BeginConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:741:4: note: in expansion of macro ‘CALL_BeginConditionalRender’
# 7570|   
# 7571|   typedef void (GLAPIENTRYP _glptr_BeginConditionalRender)(GLuint, GLenum);
# 7572|-> #define CALL_BeginConditionalRender(disp, parameters) (* GET_BeginConditionalRender(disp)) parameters
# 7573|   #define GET_BeginConditionalRender(disp) ((_glptr_BeginConditionalRender)(GET_by_offset((disp), _gloffset_BeginConditionalRender)))
# 7574|   #define SET_BeginConditionalRender(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BeginTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7580:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:616:4: note: in expansion of macro ‘CALL_BeginTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:616:4: note: in expansion of macro ‘CALL_BeginTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:616:4: note: in expansion of macro ‘CALL_BeginTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:616:4: note: in expansion of macro ‘CALL_BeginTransformFeedback’
# 7578|   
# 7579|   typedef void (GLAPIENTRYP _glptr_BeginTransformFeedback)(GLenum);
# 7580|-> #define CALL_BeginTransformFeedback(disp, parameters) (* GET_BeginTransformFeedback(disp)) parameters
# 7581|   #define GET_BeginTransformFeedback(disp) ((_glptr_BeginTransformFeedback)(GET_by_offset((disp), _gloffset_BeginTransformFeedback)))
# 7582|   #define SET_BeginTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BindBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7588:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:695:4: note: in expansion of macro ‘CALL_BindBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:695:4: note: in expansion of macro ‘CALL_BindBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:695:4: note: in expansion of macro ‘CALL_BindBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:695:4: note: in expansion of macro ‘CALL_BindBufferBase’
# 7586|   
# 7587|   typedef void (GLAPIENTRYP _glptr_BindBufferBase)(GLenum, GLuint, GLuint);
# 7588|-> #define CALL_BindBufferBase(disp, parameters) (* GET_BindBufferBase(disp)) parameters
# 7589|   #define GET_BindBufferBase(disp) ((_glptr_BindBufferBase)(GET_by_offset((disp), _gloffset_BindBufferBase)))
# 7590|   #define SET_BindBufferBase(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BindBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7596:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:665:4: note: in expansion of macro ‘CALL_BindBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:665:4: note: in expansion of macro ‘CALL_BindBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:665:4: note: in expansion of macro ‘CALL_BindBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:665:4: note: in expansion of macro ‘CALL_BindBufferRange’
# 7594|   
# 7595|   typedef void (GLAPIENTRYP _glptr_BindBufferRange)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
# 7596|-> #define CALL_BindBufferRange(disp, parameters) (* GET_BindBufferRange(disp)) parameters
# 7597|   #define GET_BindBufferRange(disp) ((_glptr_BindBufferRange)(GET_by_offset((disp), _gloffset_BindBufferRange)))
# 7598|   #define SET_BindBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BindFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7604:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:428:4: note: in expansion of macro ‘CALL_BindFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:428:4: note: in expansion of macro ‘CALL_BindFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:428:4: note: in expansion of macro ‘CALL_BindFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:428:4: note: in expansion of macro ‘CALL_BindFragDataLocation’
# 7602|   
# 7603|   typedef void (GLAPIENTRYP _glptr_BindFragDataLocation)(GLuint, GLuint, const GLchar *);
# 7604|-> #define CALL_BindFragDataLocation(disp, parameters) (* GET_BindFragDataLocation(disp)) parameters
# 7605|   #define GET_BindFragDataLocation(disp) ((_glptr_BindFragDataLocation)(GET_by_offset((disp), _gloffset_BindFragDataLocation)))
# 7606|   #define SET_BindFragDataLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ClampColor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7612:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4302:4: note: in expansion of macro ‘CALL_ClampColor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4302:4: note: in expansion of macro ‘CALL_ClampColor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4302:4: note: in expansion of macro ‘CALL_ClampColor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4302:4: note: in expansion of macro ‘CALL_ClampColor’
# 7610|   
# 7611|   typedef void (GLAPIENTRYP _glptr_ClampColor)(GLenum, GLenum);
# 7612|-> #define CALL_ClampColor(disp, parameters) (* GET_ClampColor(disp)) parameters
# 7613|   #define GET_ClampColor(disp) ((_glptr_ClampColor)(GET_by_offset((disp), _gloffset_ClampColor)))
# 7614|   #define SET_ClampColor(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_ClearBufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7620:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:581:4: note: in expansion of macro ‘CALL_ClearBufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:581:4: note: in expansion of macro ‘CALL_ClearBufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:581:4: note: in expansion of macro ‘CALL_ClearBufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:581:4: note: in expansion of macro ‘CALL_ClearBufferfi’
# 7618|   
# 7619|   typedef void (GLAPIENTRYP _glptr_ClearBufferfi)(GLenum, GLint, GLfloat, GLint);
# 7620|-> #define CALL_ClearBufferfi(disp, parameters) (* GET_ClearBufferfi(disp)) parameters
# 7621|   #define GET_ClearBufferfi(disp) ((_glptr_ClearBufferfi)(GET_by_offset((disp), _gloffset_ClearBufferfi)))
# 7622|   #define SET_ClearBufferfi(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def195]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_ClearBufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7628:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:547:4: note: in expansion of macro ‘CALL_ClearBufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:547:4: note: in expansion of macro ‘CALL_ClearBufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:547:4: note: in expansion of macro ‘CALL_ClearBufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:547:4: note: in expansion of macro ‘CALL_ClearBufferfv’
# 7626|   
# 7627|   typedef void (GLAPIENTRYP _glptr_ClearBufferfv)(GLenum, GLint, const GLfloat *);
# 7628|-> #define CALL_ClearBufferfv(disp, parameters) (* GET_ClearBufferfv(disp)) parameters
# 7629|   #define GET_ClearBufferfv(disp) ((_glptr_ClearBufferfv)(GET_by_offset((disp), _gloffset_ClearBufferfv)))
# 7630|   #define SET_ClearBufferfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def196]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_ClearBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7636:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:477:4: note: in expansion of macro ‘CALL_ClearBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:477:4: note: in expansion of macro ‘CALL_ClearBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:477:4: note: in expansion of macro ‘CALL_ClearBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:477:4: note: in expansion of macro ‘CALL_ClearBufferiv’
# 7634|   
# 7635|   typedef void (GLAPIENTRYP _glptr_ClearBufferiv)(GLenum, GLint, const GLint *);
# 7636|-> #define CALL_ClearBufferiv(disp, parameters) (* GET_ClearBufferiv(disp)) parameters
# 7637|   #define GET_ClearBufferiv(disp) ((_glptr_ClearBufferiv)(GET_by_offset((disp), _gloffset_ClearBufferiv)))
# 7638|   #define SET_ClearBufferiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_ClearBufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7644:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:512:4: note: in expansion of macro ‘CALL_ClearBufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:512:4: note: in expansion of macro ‘CALL_ClearBufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:512:4: note: in expansion of macro ‘CALL_ClearBufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:512:4: note: in expansion of macro ‘CALL_ClearBufferuiv’
# 7642|   
# 7643|   typedef void (GLAPIENTRYP _glptr_ClearBufferuiv)(GLenum, GLint, const GLuint *);
# 7644|-> #define CALL_ClearBufferuiv(disp, parameters) (* GET_ClearBufferuiv(disp)) parameters
# 7645|   #define GET_ClearBufferuiv(disp) ((_glptr_ClearBufferuiv)(GET_by_offset((disp), _gloffset_ClearBufferuiv)))
# 7646|   #define SET_ClearBufferuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_EndConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7676:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:762:4: note: in expansion of macro ‘CALL_EndConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:762:4: note: in expansion of macro ‘CALL_EndConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:762:4: note: in expansion of macro ‘CALL_EndConditionalRender’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:762:4: note: in expansion of macro ‘CALL_EndConditionalRender’
# 7674|   
# 7675|   typedef void (GLAPIENTRYP _glptr_EndConditionalRender)(void);
# 7676|-> #define CALL_EndConditionalRender(disp, parameters) (* GET_EndConditionalRender(disp)) parameters
# 7677|   #define GET_EndConditionalRender(disp) ((_glptr_EndConditionalRender)(GET_by_offset((disp), _gloffset_EndConditionalRender)))
# 7678|   #define SET_EndConditionalRender(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_EndTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7684:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:636:4: note: in expansion of macro ‘CALL_EndTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:636:4: note: in expansion of macro ‘CALL_EndTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:636:4: note: in expansion of macro ‘CALL_EndTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:636:4: note: in expansion of macro ‘CALL_EndTransformFeedback’
# 7682|   
# 7683|   typedef void (GLAPIENTRYP _glptr_EndTransformFeedback)(void);
# 7684|-> #define CALL_EndTransformFeedback(disp, parameters) (* GET_EndTransformFeedback(disp)) parameters
# 7685|   #define GET_EndTransformFeedback(disp) ((_glptr_EndTransformFeedback)(GET_by_offset((disp), _gloffset_EndTransformFeedback)))
# 7686|   #define SET_EndTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7700:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:457:11: note: in expansion of macro ‘CALL_GetFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:457:11: note: in expansion of macro ‘CALL_GetFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:457:11: note: in expansion of macro ‘CALL_GetFragDataLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:457:11: note: in expansion of macro ‘CALL_GetFragDataLocation’
# 7698|   
# 7699|   typedef GLint (GLAPIENTRYP _glptr_GetFragDataLocation)(GLuint, const GLchar *);
# 7700|-> #define CALL_GetFragDataLocation(disp, parameters) (* GET_GetFragDataLocation(disp)) parameters
# 7701|   #define GET_GetFragDataLocation(disp) ((_glptr_GetFragDataLocation)(GET_by_offset((disp), _gloffset_GetFragDataLocation)))
# 7702|   #define SET_GetFragDataLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetStringi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7716:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:603:11: note: in expansion of macro ‘CALL_GetStringi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:603:11: note: in expansion of macro ‘CALL_GetStringi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:603:11: note: in expansion of macro ‘CALL_GetStringi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:603:11: note: in expansion of macro ‘CALL_GetStringi’
# 7714|   
# 7715|   typedef const GLubyte * (GLAPIENTRYP _glptr_GetStringi)(GLenum, GLuint);
# 7716|-> #define CALL_GetStringi(disp, parameters) (* GET_GetStringi(disp)) parameters
# 7717|   #define GET_GetStringi(disp) ((_glptr_GetStringi)(GET_by_offset((disp), _gloffset_GetStringi)))
# 7718|   #define SET_GetStringi(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetTransformFeedbackVarying’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7740:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:726:4: note: in expansion of macro ‘CALL_GetTransformFeedbackVarying’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:726:4: note: in expansion of macro ‘CALL_GetTransformFeedbackVarying’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:726:4: note: in expansion of macro ‘CALL_GetTransformFeedbackVarying’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:726:4: note: in expansion of macro ‘CALL_GetTransformFeedbackVarying’
# 7738|   
# 7739|   typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVarying)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
# 7740|-> #define CALL_GetTransformFeedbackVarying(disp, parameters) (* GET_GetTransformFeedbackVarying(disp)) parameters
# 7741|   #define GET_GetTransformFeedbackVarying(disp) ((_glptr_GetTransformFeedbackVarying)(GET_by_offset((disp), _gloffset_GetTransformFeedbackVarying)))
# 7742|   #define SET_GetTransformFeedbackVarying(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetUniformuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7748:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:408:4: note: in expansion of macro ‘CALL_GetUniformuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:408:4: note: in expansion of macro ‘CALL_GetUniformuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:408:4: note: in expansion of macro ‘CALL_GetUniformuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:408:4: note: in expansion of macro ‘CALL_GetUniformuiv’
# 7746|   
# 7747|   typedef void (GLAPIENTRYP _glptr_GetUniformuiv)(GLuint, GLint, GLuint *);
# 7748|-> #define CALL_GetUniformuiv(disp, parameters) (* GET_GetUniformuiv(disp)) parameters
# 7749|   #define GET_GetUniformuiv(disp) ((_glptr_GetUniformuiv)(GET_by_offset((disp), _gloffset_GetUniformuiv)))
# 7750|   #define SET_GetUniformuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7756:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:114:4: note: in expansion of macro ‘CALL_GetVertexAttribIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:114:4: note: in expansion of macro ‘CALL_GetVertexAttribIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:114:4: note: in expansion of macro ‘CALL_GetVertexAttribIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:114:4: note: in expansion of macro ‘CALL_GetVertexAttribIiv’
# 7754|   
# 7755|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribIiv)(GLuint, GLenum, GLint *);
# 7756|-> #define CALL_GetVertexAttribIiv(disp, parameters) (* GET_GetVertexAttribIiv(disp)) parameters
# 7757|   #define GET_GetVertexAttribIiv(disp) ((_glptr_GetVertexAttribIiv)(GET_by_offset((disp), _gloffset_GetVertexAttribIiv)))
# 7758|   #define SET_GetVertexAttribIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7764:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:124:4: note: in expansion of macro ‘CALL_GetVertexAttribIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:124:4: note: in expansion of macro ‘CALL_GetVertexAttribIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:124:4: note: in expansion of macro ‘CALL_GetVertexAttribIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:124:4: note: in expansion of macro ‘CALL_GetVertexAttribIuiv’
# 7762|   
# 7763|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuiv)(GLuint, GLenum, GLuint *);
# 7764|-> #define CALL_GetVertexAttribIuiv(disp, parameters) (* GET_GetVertexAttribIuiv(disp)) parameters
# 7765|   #define GET_GetVertexAttribIuiv(disp) ((_glptr_GetVertexAttribIuiv)(GET_by_offset((disp), _gloffset_GetVertexAttribIuiv)))
# 7766|   #define SET_GetVertexAttribIuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_TransformFeedbackVaryings’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7796:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:716:4: note: in expansion of macro ‘CALL_TransformFeedbackVaryings’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:716:4: note: in expansion of macro ‘CALL_TransformFeedbackVaryings’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:716:4: note: in expansion of macro ‘CALL_TransformFeedbackVaryings’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:716:4: note: in expansion of macro ‘CALL_TransformFeedbackVaryings’
# 7794|   
# 7795|   typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryings)(GLuint, GLsizei, const GLchar * const *, GLenum);
# 7796|-> #define CALL_TransformFeedbackVaryings(disp, parameters) (* GET_TransformFeedbackVaryings(disp)) parameters
# 7797|   #define GET_TransformFeedbackVaryings(disp) ((_glptr_TransformFeedbackVaryings)(GET_by_offset((disp), _gloffset_TransformFeedbackVaryings)))
# 7798|   #define SET_TransformFeedbackVaryings(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7804:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:139:4: note: in expansion of macro ‘CALL_Uniform1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:139:4: note: in expansion of macro ‘CALL_Uniform1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:139:4: note: in expansion of macro ‘CALL_Uniform1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:139:4: note: in expansion of macro ‘CALL_Uniform1ui’
# 7802|   
# 7803|   typedef void (GLAPIENTRYP _glptr_Uniform1ui)(GLint, GLuint);
# 7804|-> #define CALL_Uniform1ui(disp, parameters) (* GET_Uniform1ui(disp)) parameters
# 7805|   #define GET_Uniform1ui(disp) ((_glptr_Uniform1ui)(GET_by_offset((disp), _gloffset_Uniform1ui)))
# 7806|   #define SET_Uniform1ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7812:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:262:4: note: in expansion of macro ‘CALL_Uniform1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:262:4: note: in expansion of macro ‘CALL_Uniform1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:262:4: note: in expansion of macro ‘CALL_Uniform1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:262:4: note: in expansion of macro ‘CALL_Uniform1uiv’
# 7810|   
# 7811|   typedef void (GLAPIENTRYP _glptr_Uniform1uiv)(GLint, GLsizei, const GLuint *);
# 7812|-> #define CALL_Uniform1uiv(disp, parameters) (* GET_Uniform1uiv(disp)) parameters
# 7813|   #define GET_Uniform1uiv(disp) ((_glptr_Uniform1uiv)(GET_by_offset((disp), _gloffset_Uniform1uiv)))
# 7814|   #define SET_Uniform1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7820:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:166:4: note: in expansion of macro ‘CALL_Uniform2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:166:4: note: in expansion of macro ‘CALL_Uniform2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:166:4: note: in expansion of macro ‘CALL_Uniform2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:166:4: note: in expansion of macro ‘CALL_Uniform2ui’
# 7818|   
# 7819|   typedef void (GLAPIENTRYP _glptr_Uniform2ui)(GLint, GLuint, GLuint);
# 7820|-> #define CALL_Uniform2ui(disp, parameters) (* GET_Uniform2ui(disp)) parameters
# 7821|   #define GET_Uniform2ui(disp) ((_glptr_Uniform2ui)(GET_by_offset((disp), _gloffset_Uniform2ui)))
# 7822|   #define SET_Uniform2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7828:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:301:4: note: in expansion of macro ‘CALL_Uniform2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:301:4: note: in expansion of macro ‘CALL_Uniform2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:301:4: note: in expansion of macro ‘CALL_Uniform2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:301:4: note: in expansion of macro ‘CALL_Uniform2uiv’
# 7826|   
# 7827|   typedef void (GLAPIENTRYP _glptr_Uniform2uiv)(GLint, GLsizei, const GLuint *);
# 7828|-> #define CALL_Uniform2uiv(disp, parameters) (* GET_Uniform2uiv(disp)) parameters
# 7829|   #define GET_Uniform2uiv(disp) ((_glptr_Uniform2uiv)(GET_by_offset((disp), _gloffset_Uniform2uiv)))
# 7830|   #define SET_Uniform2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7836:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:196:4: note: in expansion of macro ‘CALL_Uniform3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:196:4: note: in expansion of macro ‘CALL_Uniform3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:196:4: note: in expansion of macro ‘CALL_Uniform3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:196:4: note: in expansion of macro ‘CALL_Uniform3ui’
# 7834|   
# 7835|   typedef void (GLAPIENTRYP _glptr_Uniform3ui)(GLint, GLuint, GLuint, GLuint);
# 7836|-> #define CALL_Uniform3ui(disp, parameters) (* GET_Uniform3ui(disp)) parameters
# 7837|   #define GET_Uniform3ui(disp) ((_glptr_Uniform3ui)(GET_by_offset((disp), _gloffset_Uniform3ui)))
# 7838|   #define SET_Uniform3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7844:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:340:4: note: in expansion of macro ‘CALL_Uniform3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:340:4: note: in expansion of macro ‘CALL_Uniform3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:340:4: note: in expansion of macro ‘CALL_Uniform3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:340:4: note: in expansion of macro ‘CALL_Uniform3uiv’
# 7842|   
# 7843|   typedef void (GLAPIENTRYP _glptr_Uniform3uiv)(GLint, GLsizei, const GLuint *);
# 7844|-> #define CALL_Uniform3uiv(disp, parameters) (* GET_Uniform3uiv(disp)) parameters
# 7845|   #define GET_Uniform3uiv(disp) ((_glptr_Uniform3uiv)(GET_by_offset((disp), _gloffset_Uniform3uiv)))
# 7846|   #define SET_Uniform3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7852:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:229:4: note: in expansion of macro ‘CALL_Uniform4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:229:4: note: in expansion of macro ‘CALL_Uniform4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:229:4: note: in expansion of macro ‘CALL_Uniform4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:229:4: note: in expansion of macro ‘CALL_Uniform4ui’
# 7850|   
# 7851|   typedef void (GLAPIENTRYP _glptr_Uniform4ui)(GLint, GLuint, GLuint, GLuint, GLuint);
# 7852|-> #define CALL_Uniform4ui(disp, parameters) (* GET_Uniform4ui(disp)) parameters
# 7853|   #define GET_Uniform4ui(disp) ((_glptr_Uniform4ui)(GET_by_offset((disp), _gloffset_Uniform4ui)))
# 7854|   #define SET_Uniform4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7860:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:379:4: note: in expansion of macro ‘CALL_Uniform4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:379:4: note: in expansion of macro ‘CALL_Uniform4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:379:4: note: in expansion of macro ‘CALL_Uniform4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:379:4: note: in expansion of macro ‘CALL_Uniform4uiv’
# 7858|   
# 7859|   typedef void (GLAPIENTRYP _glptr_Uniform4uiv)(GLint, GLsizei, const GLuint *);
# 7860|-> #define CALL_Uniform4uiv(disp, parameters) (* GET_Uniform4uiv(disp)) parameters
# 7861|   #define GET_Uniform4uiv(disp) ((_glptr_Uniform4uiv)(GET_by_offset((disp), _gloffset_Uniform4uiv)))
# 7862|   #define SET_Uniform4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribIPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7916:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:70:4: note: in expansion of macro ‘CALL_VertexAttribIPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:70:4: note: in expansion of macro ‘CALL_VertexAttribIPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:70:4: note: in expansion of macro ‘CALL_VertexAttribIPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:70:4: note: in expansion of macro ‘CALL_VertexAttribIPointer’
# 7914|   
# 7915|   typedef void (GLAPIENTRYP _glptr_VertexAttribIPointer)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
# 7916|-> #define CALL_VertexAttribIPointer(disp, parameters) (* GET_VertexAttribIPointer(disp)) parameters
# 7917|   #define GET_VertexAttribIPointer(disp) ((_glptr_VertexAttribIPointer)(GET_by_offset((disp), _gloffset_VertexAttribIPointer)))
# 7918|   #define SET_VertexAttribIPointer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_PrimitiveRestartIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7924:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:783:4: note: in expansion of macro ‘CALL_PrimitiveRestartIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:783:4: note: in expansion of macro ‘CALL_PrimitiveRestartIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:783:4: note: in expansion of macro ‘CALL_PrimitiveRestartIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:783:4: note: in expansion of macro ‘CALL_PrimitiveRestartIndex’
# 7922|   
# 7923|   typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndex)(GLuint);
# 7924|-> #define CALL_PrimitiveRestartIndex(disp, parameters) (* GET_PrimitiveRestartIndex(disp)) parameters
# 7925|   #define GET_PrimitiveRestartIndex(disp) ((_glptr_PrimitiveRestartIndex)(GET_by_offset((disp), _gloffset_PrimitiveRestartIndex)))
# 7926|   #define SET_PrimitiveRestartIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7932:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:172:4: note: in expansion of macro ‘CALL_TexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:172:4: note: in expansion of macro ‘CALL_TexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:172:4: note: in expansion of macro ‘CALL_TexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:172:4: note: in expansion of macro ‘CALL_TexBuffer’
# 7930|   
# 7931|   typedef void (GLAPIENTRYP _glptr_TexBuffer)(GLenum, GLenum, GLuint);
# 7932|-> #define CALL_TexBuffer(disp, parameters) (* GET_TexBuffer(disp)) parameters
# 7933|   #define GET_TexBuffer(disp) ((_glptr_TexBuffer)(GET_by_offset((disp), _gloffset_TexBuffer)))
# 7934|   #define SET_TexBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7940:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:832:4: note: in expansion of macro ‘CALL_FramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:832:4: note: in expansion of macro ‘CALL_FramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:832:4: note: in expansion of macro ‘CALL_FramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:832:4: note: in expansion of macro ‘CALL_FramebufferTexture’
# 7938|   
# 7939|   typedef void (GLAPIENTRYP _glptr_FramebufferTexture)(GLenum, GLenum, GLuint, GLint);
# 7940|-> #define CALL_FramebufferTexture(disp, parameters) (* GET_FramebufferTexture(disp)) parameters
# 7941|   #define GET_FramebufferTexture(disp) ((_glptr_FramebufferTexture)(GET_by_offset((disp), _gloffset_FramebufferTexture)))
# 7942|   #define SET_FramebufferTexture(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7948:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:813:4: note: in expansion of macro ‘CALL_GetBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:813:4: note: in expansion of macro ‘CALL_GetBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:813:4: note: in expansion of macro ‘CALL_GetBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:813:4: note: in expansion of macro ‘CALL_GetBufferParameteri64v’
# 7946|   
# 7947|   typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v)(GLenum, GLenum, GLint64 *);
# 7948|-> #define CALL_GetBufferParameteri64v(disp, parameters) (* GET_GetBufferParameteri64v(disp)) parameters
# 7949|   #define GET_GetBufferParameteri64v(disp) ((_glptr_GetBufferParameteri64v)(GET_by_offset((disp), _gloffset_GetBufferParameteri64v)))
# 7950|   #define SET_GetBufferParameteri64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetInteger64i_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7956:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:803:4: note: in expansion of macro ‘CALL_GetInteger64i_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:803:4: note: in expansion of macro ‘CALL_GetInteger64i_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:803:4: note: in expansion of macro ‘CALL_GetInteger64i_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:803:4: note: in expansion of macro ‘CALL_GetInteger64i_v’
# 7954|   
# 7955|   typedef void (GLAPIENTRYP _glptr_GetInteger64i_v)(GLenum, GLuint, GLint64 *);
# 7956|-> #define CALL_GetInteger64i_v(disp, parameters) (* GET_GetInteger64i_v(disp)) parameters
# 7957|   #define GET_GetInteger64i_v(disp) ((_glptr_GetInteger64i_v)(GET_by_offset((disp), _gloffset_GetInteger64i_v)))
# 7958|   #define SET_GetInteger64i_v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7964:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:77:4: note: in expansion of macro ‘CALL_VertexAttribDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:77:4: note: in expansion of macro ‘CALL_VertexAttribDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:77:4: note: in expansion of macro ‘CALL_VertexAttribDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:77:4: note: in expansion of macro ‘CALL_VertexAttribDivisor’
# 7962|   
# 7963|   typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor)(GLuint, GLuint);
# 7964|-> #define CALL_VertexAttribDivisor(disp, parameters) (* GET_VertexAttribDivisor(disp)) parameters
# 7965|   #define GET_VertexAttribDivisor(disp) ((_glptr_VertexAttribDivisor)(GET_by_offset((disp), _gloffset_VertexAttribDivisor)))
# 7966|   #define SET_VertexAttribDivisor(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MinSampleShading’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7972:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:727:4: note: in expansion of macro ‘CALL_MinSampleShading’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:727:4: note: in expansion of macro ‘CALL_MinSampleShading’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:727:4: note: in expansion of macro ‘CALL_MinSampleShading’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:727:4: note: in expansion of macro ‘CALL_MinSampleShading’
# 7970|   
# 7971|   typedef void (GLAPIENTRYP _glptr_MinSampleShading)(GLfloat);
# 7972|-> #define CALL_MinSampleShading(disp, parameters) (* GET_MinSampleShading(disp)) parameters
# 7973|   #define GET_MinSampleShading(disp) ((_glptr_MinSampleShading)(GET_by_offset((disp), _gloffset_MinSampleShading)))
# 7974|   #define SET_MinSampleShading(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BindProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7988:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3758:4: note: in expansion of macro ‘CALL_BindProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3758:4: note: in expansion of macro ‘CALL_BindProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3758:4: note: in expansion of macro ‘CALL_BindProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3758:4: note: in expansion of macro ‘CALL_BindProgramARB’
# 7986|   
# 7987|   typedef void (GLAPIENTRYP _glptr_BindProgramARB)(GLenum, GLuint);
# 7988|-> #define CALL_BindProgramARB(disp, parameters) (* GET_BindProgramARB(disp)) parameters
# 7989|   #define GET_BindProgramARB(disp) ((_glptr_BindProgramARB)(GET_by_offset((disp), _gloffset_BindProgramARB)))
# 7990|   #define SET_BindProgramARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:7996:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3786:4: note: in expansion of macro ‘CALL_DeleteProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3786:4: note: in expansion of macro ‘CALL_DeleteProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3786:4: note: in expansion of macro ‘CALL_DeleteProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3786:4: note: in expansion of macro ‘CALL_DeleteProgramsARB’
# 7994|   
# 7995|   typedef void (GLAPIENTRYP _glptr_DeleteProgramsARB)(GLsizei, const GLuint *);
# 7996|-> #define CALL_DeleteProgramsARB(disp, parameters) (* GET_DeleteProgramsARB(disp)) parameters
# 7997|   #define GET_DeleteProgramsARB(disp) ((_glptr_DeleteProgramsARB)(GET_by_offset((disp), _gloffset_DeleteProgramsARB)))
# 7998|   #define SET_DeleteProgramsARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def225]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GenProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8004:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3814:4: note: in expansion of macro ‘CALL_GenProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3814:4: note: in expansion of macro ‘CALL_GenProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3814:4: note: in expansion of macro ‘CALL_GenProgramsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3814:4: note: in expansion of macro ‘CALL_GenProgramsARB’
# 8002|   
# 8003|   typedef void (GLAPIENTRYP _glptr_GenProgramsARB)(GLsizei, GLuint *);
# 8004|-> #define CALL_GenProgramsARB(disp, parameters) (* GET_GenProgramsARB(disp)) parameters
# 8005|   #define GET_GenProgramsARB(disp) ((_glptr_GenProgramsARB)(GET_by_offset((disp), _gloffset_GenProgramsARB)))
# 8006|   #define SET_GenProgramsARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramEnvParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8012:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4094:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4094:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4094:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4094:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterdvARB’
# 8010|   
# 8011|   typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB)(GLenum, GLuint, GLdouble *);
# 8012|-> #define CALL_GetProgramEnvParameterdvARB(disp, parameters) (* GET_GetProgramEnvParameterdvARB(disp)) parameters
# 8013|   #define GET_GetProgramEnvParameterdvARB(disp) ((_glptr_GetProgramEnvParameterdvARB)(GET_by_offset((disp), _gloffset_GetProgramEnvParameterdvARB)))
# 8014|   #define SET_GetProgramEnvParameterdvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramEnvParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8020:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4104:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4104:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4104:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4104:4: note: in expansion of macro ‘CALL_GetProgramEnvParameterfvARB’
# 8018|   
# 8019|   typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB)(GLenum, GLuint, GLfloat *);
# 8020|-> #define CALL_GetProgramEnvParameterfvARB(disp, parameters) (* GET_GetProgramEnvParameterfvARB(disp)) parameters
# 8021|   #define GET_GetProgramEnvParameterfvARB(disp) ((_glptr_GetProgramEnvParameterfvARB)(GET_by_offset((disp), _gloffset_GetProgramEnvParameterfvARB)))
# 8022|   #define SET_GetProgramEnvParameterfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramLocalParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8028:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4114:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4114:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4114:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4114:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterdvARB’
# 8026|   
# 8027|   typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB)(GLenum, GLuint, GLdouble *);
# 8028|-> #define CALL_GetProgramLocalParameterdvARB(disp, parameters) (* GET_GetProgramLocalParameterdvARB(disp)) parameters
# 8029|   #define GET_GetProgramLocalParameterdvARB(disp) ((_glptr_GetProgramLocalParameterdvARB)(GET_by_offset((disp), _gloffset_GetProgramLocalParameterdvARB)))
# 8030|   #define SET_GetProgramLocalParameterdvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramLocalParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8036:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4124:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4124:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4124:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4124:4: note: in expansion of macro ‘CALL_GetProgramLocalParameterfvARB’
# 8034|   
# 8035|   typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB)(GLenum, GLuint, GLfloat *);
# 8036|-> #define CALL_GetProgramLocalParameterfvARB(disp, parameters) (* GET_GetProgramLocalParameterfvARB(disp)) parameters
# 8037|   #define GET_GetProgramLocalParameterfvARB(disp) ((_glptr_GetProgramLocalParameterfvARB)(GET_by_offset((disp), _gloffset_GetProgramLocalParameterfvARB)))
# 8038|   #define SET_GetProgramLocalParameterfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8044:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4144:4: note: in expansion of macro ‘CALL_GetProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4144:4: note: in expansion of macro ‘CALL_GetProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4144:4: note: in expansion of macro ‘CALL_GetProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4144:4: note: in expansion of macro ‘CALL_GetProgramStringARB’
# 8042|   
# 8043|   typedef void (GLAPIENTRYP _glptr_GetProgramStringARB)(GLenum, GLenum, GLvoid *);
# 8044|-> #define CALL_GetProgramStringARB(disp, parameters) (* GET_GetProgramStringARB(disp)) parameters
# 8045|   #define GET_GetProgramStringARB(disp) ((_glptr_GetProgramStringARB)(GET_by_offset((disp), _gloffset_GetProgramStringARB)))
# 8046|   #define SET_GetProgramStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetProgramivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8052:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4134:4: note: in expansion of macro ‘CALL_GetProgramivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4134:4: note: in expansion of macro ‘CALL_GetProgramivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4134:4: note: in expansion of macro ‘CALL_GetProgramivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4134:4: note: in expansion of macro ‘CALL_GetProgramivARB’
# 8050|   
# 8051|   typedef void (GLAPIENTRYP _glptr_GetProgramivARB)(GLenum, GLenum, GLint *);
# 8052|-> #define CALL_GetProgramivARB(disp, parameters) (* GET_GetProgramivARB(disp)) parameters
# 8053|   #define GET_GetProgramivARB(disp) ((_glptr_GetProgramivARB)(GET_by_offset((disp), _gloffset_GetProgramivARB)))
# 8054|   #define SET_GetProgramivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def232]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8060:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3824:11: note: in expansion of macro ‘CALL_IsProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3824:11: note: in expansion of macro ‘CALL_IsProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3824:11: note: in expansion of macro ‘CALL_IsProgramARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3824:11: note: in expansion of macro ‘CALL_IsProgramARB’
# 8058|   
# 8059|   typedef GLboolean (GLAPIENTRYP _glptr_IsProgramARB)(GLuint);
# 8060|-> #define CALL_IsProgramARB(disp, parameters) (* GET_IsProgramARB(disp)) parameters
# 8061|   #define GET_IsProgramARB(disp) ((_glptr_IsProgramARB)(GET_by_offset((disp), _gloffset_IsProgramARB)))
# 8062|   #define SET_IsProgramARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def233]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramEnvParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8068:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3847:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3847:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3847:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3847:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dARB’
# 8066|   
# 8067|   typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
# 8068|-> #define CALL_ProgramEnvParameter4dARB(disp, parameters) (* GET_ProgramEnvParameter4dARB(disp)) parameters
# 8069|   #define GET_ProgramEnvParameter4dARB(disp) ((_glptr_ProgramEnvParameter4dARB)(GET_by_offset((disp), _gloffset_ProgramEnvParameter4dARB)))
# 8070|   #define SET_ProgramEnvParameter4dARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def234]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramEnvParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8076:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3878:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3878:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3878:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3878:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4dvARB’
# 8074|   
# 8075|   typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB)(GLenum, GLuint, const GLdouble *);
# 8076|-> #define CALL_ProgramEnvParameter4dvARB(disp, parameters) (* GET_ProgramEnvParameter4dvARB(disp)) parameters
# 8077|   #define GET_ProgramEnvParameter4dvARB(disp) ((_glptr_ProgramEnvParameter4dvARB)(GET_by_offset((disp), _gloffset_ProgramEnvParameter4dvARB)))
# 8078|   #define SET_ProgramEnvParameter4dvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramEnvParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8084:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3912:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3912:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3912:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3912:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fARB’
# 8082|   
# 8083|   typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
# 8084|-> #define CALL_ProgramEnvParameter4fARB(disp, parameters) (* GET_ProgramEnvParameter4fARB(disp)) parameters
# 8085|   #define GET_ProgramEnvParameter4fARB(disp) ((_glptr_ProgramEnvParameter4fARB)(GET_by_offset((disp), _gloffset_ProgramEnvParameter4fARB)))
# 8086|   #define SET_ProgramEnvParameter4fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramEnvParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8092:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3943:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3943:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3943:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3943:4: note: in expansion of macro ‘CALL_ProgramEnvParameter4fvARB’
# 8090|   
# 8091|   typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB)(GLenum, GLuint, const GLfloat *);
# 8092|-> #define CALL_ProgramEnvParameter4fvARB(disp, parameters) (* GET_ProgramEnvParameter4fvARB(disp)) parameters
# 8093|   #define GET_ProgramEnvParameter4fvARB(disp) ((_glptr_ProgramEnvParameter4fvARB)(GET_by_offset((disp), _gloffset_ProgramEnvParameter4fvARB)))
# 8094|   #define SET_ProgramEnvParameter4fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramLocalParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8100:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3977:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3977:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3977:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3977:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dARB’
# 8098|   
# 8099|   typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
# 8100|-> #define CALL_ProgramLocalParameter4dARB(disp, parameters) (* GET_ProgramLocalParameter4dARB(disp)) parameters
# 8101|   #define GET_ProgramLocalParameter4dARB(disp) ((_glptr_ProgramLocalParameter4dARB)(GET_by_offset((disp), _gloffset_ProgramLocalParameter4dARB)))
# 8102|   #define SET_ProgramLocalParameter4dARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramLocalParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8108:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4008:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4008:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4008:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4008:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4dvARB’
# 8106|   
# 8107|   typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB)(GLenum, GLuint, const GLdouble *);
# 8108|-> #define CALL_ProgramLocalParameter4dvARB(disp, parameters) (* GET_ProgramLocalParameter4dvARB(disp)) parameters
# 8109|   #define GET_ProgramLocalParameter4dvARB(disp) ((_glptr_ProgramLocalParameter4dvARB)(GET_by_offset((disp), _gloffset_ProgramLocalParameter4dvARB)))
# 8110|   #define SET_ProgramLocalParameter4dvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramLocalParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8116:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4042:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4042:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4042:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4042:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fARB’
# 8114|   
# 8115|   typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
# 8116|-> #define CALL_ProgramLocalParameter4fARB(disp, parameters) (* GET_ProgramLocalParameter4fARB(disp)) parameters
# 8117|   #define GET_ProgramLocalParameter4fARB(disp) ((_glptr_ProgramLocalParameter4fARB)(GET_by_offset((disp), _gloffset_ProgramLocalParameter4fARB)))
# 8118|   #define SET_ProgramLocalParameter4fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramLocalParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8124:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4073:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4073:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4073:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4073:4: note: in expansion of macro ‘CALL_ProgramLocalParameter4fvARB’
# 8122|   
# 8123|   typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *);
# 8124|-> #define CALL_ProgramLocalParameter4fvARB(disp, parameters) (* GET_ProgramLocalParameter4fvARB(disp)) parameters
# 8125|   #define GET_ProgramLocalParameter4fvARB(disp) ((_glptr_ProgramLocalParameter4fvARB)(GET_by_offset((disp), _gloffset_ProgramLocalParameter4fvARB)))
# 8126|   #define SET_ProgramLocalParameter4fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_ProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8132:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3723:4: note: in expansion of macro ‘CALL_ProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3723:4: note: in expansion of macro ‘CALL_ProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3723:4: note: in expansion of macro ‘CALL_ProgramStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3723:4: note: in expansion of macro ‘CALL_ProgramStringARB’
# 8130|   
# 8131|   typedef void (GLAPIENTRYP _glptr_ProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *);
# 8132|-> #define CALL_ProgramStringARB(disp, parameters) (* GET_ProgramStringARB(disp)) parameters
# 8133|   #define GET_ProgramStringARB(disp) ((_glptr_ProgramStringARB)(GET_by_offset((disp), _gloffset_ProgramStringARB)))
# 8134|   #define SET_ProgramStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8140:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2481:4: note: in expansion of macro ‘CALL_VertexAttrib1fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2481:4: note: in expansion of macro ‘CALL_VertexAttrib1fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2481:4: note: in expansion of macro ‘CALL_VertexAttrib1fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2481:4: note: in expansion of macro ‘CALL_VertexAttrib1fARB’
# 8138|   
# 8139|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB)(GLuint, GLfloat);
# 8140|-> #define CALL_VertexAttrib1fARB(disp, parameters) (* GET_VertexAttrib1fARB(disp)) parameters
# 8141|   #define GET_VertexAttrib1fARB(disp) ((_glptr_VertexAttrib1fARB)(GET_by_offset((disp), _gloffset_VertexAttrib1fARB)))
# 8142|   #define SET_VertexAttrib1fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8148:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2506:4: note: in expansion of macro ‘CALL_VertexAttrib1fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2506:4: note: in expansion of macro ‘CALL_VertexAttrib1fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2506:4: note: in expansion of macro ‘CALL_VertexAttrib1fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2506:4: note: in expansion of macro ‘CALL_VertexAttrib1fvARB’
# 8146|   
# 8147|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB)(GLuint, const GLfloat *);
# 8148|-> #define CALL_VertexAttrib1fvARB(disp, parameters) (* GET_VertexAttrib1fvARB(disp)) parameters
# 8149|   #define GET_VertexAttrib1fvARB(disp) ((_glptr_VertexAttrib1fvARB)(GET_by_offset((disp), _gloffset_VertexAttrib1fvARB)))
# 8150|   #define SET_VertexAttrib1fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8156:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2636:4: note: in expansion of macro ‘CALL_VertexAttrib2fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2636:4: note: in expansion of macro ‘CALL_VertexAttrib2fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2636:4: note: in expansion of macro ‘CALL_VertexAttrib2fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2636:4: note: in expansion of macro ‘CALL_VertexAttrib2fARB’
# 8154|   
# 8155|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB)(GLuint, GLfloat, GLfloat);
# 8156|-> #define CALL_VertexAttrib2fARB(disp, parameters) (* GET_VertexAttrib2fARB(disp)) parameters
# 8157|   #define GET_VertexAttrib2fARB(disp) ((_glptr_VertexAttrib2fARB)(GET_by_offset((disp), _gloffset_VertexAttrib2fARB)))
# 8158|   #define SET_VertexAttrib2fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8164:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2662:4: note: in expansion of macro ‘CALL_VertexAttrib2fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2662:4: note: in expansion of macro ‘CALL_VertexAttrib2fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2662:4: note: in expansion of macro ‘CALL_VertexAttrib2fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2662:4: note: in expansion of macro ‘CALL_VertexAttrib2fvARB’
# 8162|   
# 8163|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB)(GLuint, const GLfloat *);
# 8164|-> #define CALL_VertexAttrib2fvARB(disp, parameters) (* GET_VertexAttrib2fvARB(disp)) parameters
# 8165|   #define GET_VertexAttrib2fvARB(disp) ((_glptr_VertexAttrib2fvARB)(GET_by_offset((disp), _gloffset_VertexAttrib2fvARB)))
# 8166|   #define SET_VertexAttrib2fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8172:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2800:4: note: in expansion of macro ‘CALL_VertexAttrib3fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2800:4: note: in expansion of macro ‘CALL_VertexAttrib3fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2800:4: note: in expansion of macro ‘CALL_VertexAttrib3fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2800:4: note: in expansion of macro ‘CALL_VertexAttrib3fARB’
# 8170|   
# 8171|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB)(GLuint, GLfloat, GLfloat, GLfloat);
# 8172|-> #define CALL_VertexAttrib3fARB(disp, parameters) (* GET_VertexAttrib3fARB(disp)) parameters
# 8173|   #define GET_VertexAttrib3fARB(disp) ((_glptr_VertexAttrib3fARB)(GET_by_offset((disp), _gloffset_VertexAttrib3fARB)))
# 8174|   #define SET_VertexAttrib3fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def247]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8180:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2827:4: note: in expansion of macro ‘CALL_VertexAttrib3fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2827:4: note: in expansion of macro ‘CALL_VertexAttrib3fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2827:4: note: in expansion of macro ‘CALL_VertexAttrib3fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2827:4: note: in expansion of macro ‘CALL_VertexAttrib3fvARB’
# 8178|   
# 8179|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB)(GLuint, const GLfloat *);
# 8180|-> #define CALL_VertexAttrib3fvARB(disp, parameters) (* GET_VertexAttrib3fvARB(disp)) parameters
# 8181|   #define GET_VertexAttrib3fvARB(disp) ((_glptr_VertexAttrib3fvARB)(GET_by_offset((disp), _gloffset_VertexAttrib3fvARB)))
# 8182|   #define SET_VertexAttrib3fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8188:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3182:4: note: in expansion of macro ‘CALL_VertexAttrib4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3182:4: note: in expansion of macro ‘CALL_VertexAttrib4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3182:4: note: in expansion of macro ‘CALL_VertexAttrib4fARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3182:4: note: in expansion of macro ‘CALL_VertexAttrib4fARB’
# 8186|   
# 8187|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
# 8188|-> #define CALL_VertexAttrib4fARB(disp, parameters) (* GET_VertexAttrib4fARB(disp)) parameters
# 8189|   #define GET_VertexAttrib4fARB(disp) ((_glptr_VertexAttrib4fARB)(GET_by_offset((disp), _gloffset_VertexAttrib4fARB)))
# 8190|   #define SET_VertexAttrib4fARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8196:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3210:4: note: in expansion of macro ‘CALL_VertexAttrib4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3210:4: note: in expansion of macro ‘CALL_VertexAttrib4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3210:4: note: in expansion of macro ‘CALL_VertexAttrib4fvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3210:4: note: in expansion of macro ‘CALL_VertexAttrib4fvARB’
# 8194|   
# 8195|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB)(GLuint, const GLfloat *);
# 8196|-> #define CALL_VertexAttrib4fvARB(disp, parameters) (* GET_VertexAttrib4fvARB(disp)) parameters
# 8197|   #define GET_VertexAttrib4fvARB(disp) ((_glptr_VertexAttrib4fvARB)(GET_by_offset((disp), _gloffset_VertexAttrib4fvARB)))
# 8198|   #define SET_VertexAttrib4fvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_AttachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8204:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4237:4: note: in expansion of macro ‘CALL_AttachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4237:4: note: in expansion of macro ‘CALL_AttachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4237:4: note: in expansion of macro ‘CALL_AttachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4237:4: note: in expansion of macro ‘CALL_AttachObjectARB’
# 8202|   
# 8203|   typedef void (GLAPIENTRYP _glptr_AttachObjectARB)(GLhandleARB, GLhandleARB);
# 8204|-> #define CALL_AttachObjectARB(disp, parameters) (* GET_AttachObjectARB(disp)) parameters
# 8205|   #define GET_AttachObjectARB(disp) ((_glptr_AttachObjectARB)(GET_by_offset((disp), _gloffset_AttachObjectARB)))
# 8206|   #define SET_AttachObjectARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_CreateProgramObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8212:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4222:11: note: in expansion of macro ‘CALL_CreateProgramObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4222:11: note: in expansion of macro ‘CALL_CreateProgramObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4222:11: note: in expansion of macro ‘CALL_CreateProgramObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4222:11: note: in expansion of macro ‘CALL_CreateProgramObjectARB’
# 8210|   
# 8211|   typedef GLhandleARB (GLAPIENTRYP _glptr_CreateProgramObjectARB)(void);
# 8212|-> #define CALL_CreateProgramObjectARB(disp, parameters) (* GET_CreateProgramObjectARB(disp)) parameters
# 8213|   #define GET_CreateProgramObjectARB(disp) ((_glptr_CreateProgramObjectARB)(GET_by_offset((disp), _gloffset_CreateProgramObjectARB)))
# 8214|   #define SET_CreateProgramObjectARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_CreateShaderObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8220:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4212:11: note: in expansion of macro ‘CALL_CreateShaderObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4212:11: note: in expansion of macro ‘CALL_CreateShaderObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4212:11: note: in expansion of macro ‘CALL_CreateShaderObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4212:11: note: in expansion of macro ‘CALL_CreateShaderObjectARB’
# 8218|   
# 8219|   typedef GLhandleARB (GLAPIENTRYP _glptr_CreateShaderObjectARB)(GLenum);
# 8220|-> #define CALL_CreateShaderObjectARB(disp, parameters) (* GET_CreateShaderObjectARB(disp)) parameters
# 8221|   #define GET_CreateShaderObjectARB(disp) ((_glptr_CreateShaderObjectARB)(GET_by_offset((disp), _gloffset_CreateShaderObjectARB)))
# 8222|   #define SET_CreateShaderObjectARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8228:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4157:4: note: in expansion of macro ‘CALL_DeleteObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4157:4: note: in expansion of macro ‘CALL_DeleteObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4157:4: note: in expansion of macro ‘CALL_DeleteObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4157:4: note: in expansion of macro ‘CALL_DeleteObjectARB’
# 8226|   
# 8227|   typedef void (GLAPIENTRYP _glptr_DeleteObjectARB)(GLhandleARB);
# 8228|-> #define CALL_DeleteObjectARB(disp, parameters) (* GET_DeleteObjectARB(disp)) parameters
# 8229|   #define GET_DeleteObjectARB(disp) ((_glptr_DeleteObjectARB)(GET_by_offset((disp), _gloffset_DeleteObjectARB)))
# 8230|   #define SET_DeleteObjectARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DetachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8236:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4192:4: note: in expansion of macro ‘CALL_DetachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4192:4: note: in expansion of macro ‘CALL_DetachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4192:4: note: in expansion of macro ‘CALL_DetachObjectARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4192:4: note: in expansion of macro ‘CALL_DetachObjectARB’
# 8234|   
# 8235|   typedef void (GLAPIENTRYP _glptr_DetachObjectARB)(GLhandleARB, GLhandleARB);
# 8236|-> #define CALL_DetachObjectARB(disp, parameters) (* GET_DetachObjectARB(disp)) parameters
# 8237|   #define GET_DetachObjectARB(disp) ((_glptr_DetachObjectARB)(GET_by_offset((disp), _gloffset_DetachObjectARB)))
# 8238|   #define SET_DetachObjectARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetAttachedObjectsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8244:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4287:4: note: in expansion of macro ‘CALL_GetAttachedObjectsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4287:4: note: in expansion of macro ‘CALL_GetAttachedObjectsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4287:4: note: in expansion of macro ‘CALL_GetAttachedObjectsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4287:4: note: in expansion of macro ‘CALL_GetAttachedObjectsARB’
# 8242|   
# 8243|   typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
# 8244|-> #define CALL_GetAttachedObjectsARB(disp, parameters) (* GET_GetAttachedObjectsARB(disp)) parameters
# 8245|   #define GET_GetAttachedObjectsARB(disp) ((_glptr_GetAttachedObjectsARB)(GET_by_offset((disp), _gloffset_GetAttachedObjectsARB)))
# 8246|   #define SET_GetAttachedObjectsARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8252:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4177:11: note: in expansion of macro ‘CALL_GetHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4177:11: note: in expansion of macro ‘CALL_GetHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4177:11: note: in expansion of macro ‘CALL_GetHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4177:11: note: in expansion of macro ‘CALL_GetHandleARB’
# 8250|   
# 8251|   typedef GLhandleARB (GLAPIENTRYP _glptr_GetHandleARB)(GLenum);
# 8252|-> #define CALL_GetHandleARB(disp, parameters) (* GET_GetHandleARB(disp)) parameters
# 8253|   #define GET_GetHandleARB(disp) ((_glptr_GetHandleARB)(GET_by_offset((disp), _gloffset_GetHandleARB)))
# 8254|   #define SET_GetHandleARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetInfoLogARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8260:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4277:4: note: in expansion of macro ‘CALL_GetInfoLogARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4277:4: note: in expansion of macro ‘CALL_GetInfoLogARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4277:4: note: in expansion of macro ‘CALL_GetInfoLogARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4277:4: note: in expansion of macro ‘CALL_GetInfoLogARB’
# 8258|   
# 8259|   typedef void (GLAPIENTRYP _glptr_GetInfoLogARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
# 8260|-> #define CALL_GetInfoLogARB(disp, parameters) (* GET_GetInfoLogARB(disp)) parameters
# 8261|   #define GET_GetInfoLogARB(disp) ((_glptr_GetInfoLogARB)(GET_by_offset((disp), _gloffset_GetInfoLogARB)))
# 8262|   #define SET_GetInfoLogARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetObjectParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8268:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4257:4: note: in expansion of macro ‘CALL_GetObjectParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4257:4: note: in expansion of macro ‘CALL_GetObjectParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4257:4: note: in expansion of macro ‘CALL_GetObjectParameterfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4257:4: note: in expansion of macro ‘CALL_GetObjectParameterfvARB’
# 8266|   
# 8267|   typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB)(GLhandleARB, GLenum, GLfloat *);
# 8268|-> #define CALL_GetObjectParameterfvARB(disp, parameters) (* GET_GetObjectParameterfvARB(disp)) parameters
# 8269|   #define GET_GetObjectParameterfvARB(disp) ((_glptr_GetObjectParameterfvARB)(GET_by_offset((disp), _gloffset_GetObjectParameterfvARB)))
# 8270|   #define SET_GetObjectParameterfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetObjectParameterivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8276:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4267:4: note: in expansion of macro ‘CALL_GetObjectParameterivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4267:4: note: in expansion of macro ‘CALL_GetObjectParameterivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4267:4: note: in expansion of macro ‘CALL_GetObjectParameterivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4267:4: note: in expansion of macro ‘CALL_GetObjectParameterivARB’
# 8274|   
# 8275|   typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB)(GLhandleARB, GLenum, GLint *);
# 8276|-> #define CALL_GetObjectParameterivARB(disp, parameters) (* GET_GetObjectParameterivARB(disp)) parameters
# 8277|   #define GET_GetObjectParameterivARB(disp) ((_glptr_GetObjectParameterivARB)(GET_by_offset((disp), _gloffset_GetObjectParameterivARB)))
# 8278|   #define SET_GetObjectParameterivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def260]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BindFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8300:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4493:4: note: in expansion of macro ‘CALL_BindFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4493:4: note: in expansion of macro ‘CALL_BindFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4493:4: note: in expansion of macro ‘CALL_BindFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4493:4: note: in expansion of macro ‘CALL_BindFramebuffer’
# 8298|   
# 8299|   typedef void (GLAPIENTRYP _glptr_BindFramebuffer)(GLenum, GLuint);
# 8300|-> #define CALL_BindFramebuffer(disp, parameters) (* GET_BindFramebuffer(disp)) parameters
# 8301|   #define GET_BindFramebuffer(disp) ((_glptr_BindFramebuffer)(GET_by_offset((disp), _gloffset_BindFramebuffer)))
# 8302|   #define SET_BindFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BindRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8308:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4337:4: note: in expansion of macro ‘CALL_BindRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4337:4: note: in expansion of macro ‘CALL_BindRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4337:4: note: in expansion of macro ‘CALL_BindRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4337:4: note: in expansion of macro ‘CALL_BindRenderbuffer’
# 8306|   
# 8307|   typedef void (GLAPIENTRYP _glptr_BindRenderbuffer)(GLenum, GLuint);
# 8308|-> #define CALL_BindRenderbuffer(disp, parameters) (* GET_BindRenderbuffer(disp)) parameters
# 8309|   #define GET_BindRenderbuffer(disp) ((_glptr_BindRenderbuffer)(GET_by_offset((disp), _gloffset_BindRenderbuffer)))
# 8310|   #define SET_BindRenderbuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_BlitFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8316:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4774:4: note: in expansion of macro ‘CALL_BlitFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4774:4: note: in expansion of macro ‘CALL_BlitFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4774:4: note: in expansion of macro ‘CALL_BlitFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4774:4: note: in expansion of macro ‘CALL_BlitFramebuffer’
# 8314|   
# 8315|   typedef void (GLAPIENTRYP _glptr_BlitFramebuffer)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
# 8316|-> #define CALL_BlitFramebuffer(disp, parameters) (* GET_BlitFramebuffer(disp)) parameters
# 8317|   #define GET_BlitFramebuffer(disp) ((_glptr_BlitFramebuffer)(GET_by_offset((disp), _gloffset_BlitFramebuffer)))
# 8318|   #define SET_BlitFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_CheckFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8324:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4563:11: note: in expansion of macro ‘CALL_CheckFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4563:11: note: in expansion of macro ‘CALL_CheckFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4563:11: note: in expansion of macro ‘CALL_CheckFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4563:11: note: in expansion of macro ‘CALL_CheckFramebufferStatus’
# 8322|   
# 8323|   typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatus)(GLenum);
# 8324|-> #define CALL_CheckFramebufferStatus(disp, parameters) (* GET_CheckFramebufferStatus(disp)) parameters
# 8325|   #define GET_CheckFramebufferStatus(disp) ((_glptr_CheckFramebufferStatus)(GET_by_offset((disp), _gloffset_CheckFramebufferStatus)))
# 8326|   #define SET_CheckFramebufferStatus(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8332:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4522:4: note: in expansion of macro ‘CALL_DeleteFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4522:4: note: in expansion of macro ‘CALL_DeleteFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4522:4: note: in expansion of macro ‘CALL_DeleteFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4522:4: note: in expansion of macro ‘CALL_DeleteFramebuffers’
# 8330|   
# 8331|   typedef void (GLAPIENTRYP _glptr_DeleteFramebuffers)(GLsizei, const GLuint *);
# 8332|-> #define CALL_DeleteFramebuffers(disp, parameters) (* GET_DeleteFramebuffers(disp)) parameters
# 8333|   #define GET_DeleteFramebuffers(disp) ((_glptr_DeleteFramebuffers)(GET_by_offset((disp), _gloffset_DeleteFramebuffers)))
# 8334|   #define SET_DeleteFramebuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_DeleteRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8340:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4365:4: note: in expansion of macro ‘CALL_DeleteRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4365:4: note: in expansion of macro ‘CALL_DeleteRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4365:4: note: in expansion of macro ‘CALL_DeleteRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4365:4: note: in expansion of macro ‘CALL_DeleteRenderbuffers’
# 8338|   
# 8339|   typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffers)(GLsizei, const GLuint *);
# 8340|-> #define CALL_DeleteRenderbuffers(disp, parameters) (* GET_DeleteRenderbuffers(disp)) parameters
# 8341|   #define GET_DeleteRenderbuffers(disp) ((_glptr_DeleteRenderbuffers)(GET_by_offset((disp), _gloffset_DeleteRenderbuffers)))
# 8342|   #define SET_DeleteRenderbuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8348:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4721:4: note: in expansion of macro ‘CALL_FramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4721:4: note: in expansion of macro ‘CALL_FramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4721:4: note: in expansion of macro ‘CALL_FramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4721:4: note: in expansion of macro ‘CALL_FramebufferRenderbuffer’
# 8346|   
# 8347|   typedef void (GLAPIENTRYP _glptr_FramebufferRenderbuffer)(GLenum, GLenum, GLenum, GLuint);
# 8348|-> #define CALL_FramebufferRenderbuffer(disp, parameters) (* GET_FramebufferRenderbuffer(disp)) parameters
# 8349|   #define GET_FramebufferRenderbuffer(disp) ((_glptr_FramebufferRenderbuffer)(GET_by_offset((disp), _gloffset_FramebufferRenderbuffer)))
# 8350|   #define SET_FramebufferRenderbuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def267]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferTexture1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8356:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4584:4: note: in expansion of macro ‘CALL_FramebufferTexture1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4584:4: note: in expansion of macro ‘CALL_FramebufferTexture1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4584:4: note: in expansion of macro ‘CALL_FramebufferTexture1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4584:4: note: in expansion of macro ‘CALL_FramebufferTexture1D’
# 8354|   
# 8355|   typedef void (GLAPIENTRYP _glptr_FramebufferTexture1D)(GLenum, GLenum, GLenum, GLuint, GLint);
# 8356|-> #define CALL_FramebufferTexture1D(disp, parameters) (* GET_FramebufferTexture1D(disp)) parameters
# 8357|   #define GET_FramebufferTexture1D(disp) ((_glptr_FramebufferTexture1D)(GET_by_offset((disp), _gloffset_FramebufferTexture1D)))
# 8358|   #define SET_FramebufferTexture1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferTexture2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8364:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4618:4: note: in expansion of macro ‘CALL_FramebufferTexture2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4618:4: note: in expansion of macro ‘CALL_FramebufferTexture2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4618:4: note: in expansion of macro ‘CALL_FramebufferTexture2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4618:4: note: in expansion of macro ‘CALL_FramebufferTexture2D’
# 8362|   
# 8363|   typedef void (GLAPIENTRYP _glptr_FramebufferTexture2D)(GLenum, GLenum, GLenum, GLuint, GLint);
# 8364|-> #define CALL_FramebufferTexture2D(disp, parameters) (* GET_FramebufferTexture2D(disp)) parameters
# 8365|   #define GET_FramebufferTexture2D(disp) ((_glptr_FramebufferTexture2D)(GET_by_offset((disp), _gloffset_FramebufferTexture2D)))
# 8366|   #define SET_FramebufferTexture2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def269]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferTexture3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8372:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4654:4: note: in expansion of macro ‘CALL_FramebufferTexture3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4654:4: note: in expansion of macro ‘CALL_FramebufferTexture3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4654:4: note: in expansion of macro ‘CALL_FramebufferTexture3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4654:4: note: in expansion of macro ‘CALL_FramebufferTexture3D’
# 8370|   
# 8371|   typedef void (GLAPIENTRYP _glptr_FramebufferTexture3D)(GLenum, GLenum, GLenum, GLuint, GLint, GLint);
# 8372|-> #define CALL_FramebufferTexture3D(disp, parameters) (* GET_FramebufferTexture3D(disp)) parameters
# 8373|   #define GET_FramebufferTexture3D(disp) ((_glptr_FramebufferTexture3D)(GET_by_offset((disp), _gloffset_FramebufferTexture3D)))
# 8374|   #define SET_FramebufferTexture3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def270]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8380:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4689:4: note: in expansion of macro ‘CALL_FramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4689:4: note: in expansion of macro ‘CALL_FramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4689:4: note: in expansion of macro ‘CALL_FramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4689:4: note: in expansion of macro ‘CALL_FramebufferTextureLayer’
# 8378|   
# 8379|   typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayer)(GLenum, GLenum, GLuint, GLint, GLint);
# 8380|-> #define CALL_FramebufferTextureLayer(disp, parameters) (* GET_FramebufferTextureLayer(disp)) parameters
# 8381|   #define GET_FramebufferTextureLayer(disp) ((_glptr_FramebufferTextureLayer)(GET_by_offset((disp), _gloffset_FramebufferTextureLayer)))
# 8382|   #define SET_FramebufferTextureLayer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GenFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8388:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4552:4: note: in expansion of macro ‘CALL_GenFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4552:4: note: in expansion of macro ‘CALL_GenFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4552:4: note: in expansion of macro ‘CALL_GenFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4552:4: note: in expansion of macro ‘CALL_GenFramebuffers’
# 8386|   
# 8387|   typedef void (GLAPIENTRYP _glptr_GenFramebuffers)(GLsizei, GLuint *);
# 8388|-> #define CALL_GenFramebuffers(disp, parameters) (* GET_GenFramebuffers(disp)) parameters
# 8389|   #define GET_GenFramebuffers(disp) ((_glptr_GenFramebuffers)(GET_by_offset((disp), _gloffset_GenFramebuffers)))
# 8390|   #define SET_GenFramebuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def272]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GenRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8396:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4393:4: note: in expansion of macro ‘CALL_GenRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4393:4: note: in expansion of macro ‘CALL_GenRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4393:4: note: in expansion of macro ‘CALL_GenRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4393:4: note: in expansion of macro ‘CALL_GenRenderbuffers’
# 8394|   
# 8395|   typedef void (GLAPIENTRYP _glptr_GenRenderbuffers)(GLsizei, GLuint *);
# 8396|-> #define CALL_GenRenderbuffers(disp, parameters) (* GET_GenRenderbuffers(disp)) parameters
# 8397|   #define GET_GenRenderbuffers(disp) ((_glptr_GenRenderbuffers)(GET_by_offset((disp), _gloffset_GenRenderbuffers)))
# 8398|   #define SET_GenRenderbuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_GenerateMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8404:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:53:4: note: in expansion of macro ‘CALL_GenerateMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:53:4: note: in expansion of macro ‘CALL_GenerateMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:53:4: note: in expansion of macro ‘CALL_GenerateMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:53:4: note: in expansion of macro ‘CALL_GenerateMipmap’
# 8402|   
# 8403|   typedef void (GLAPIENTRYP _glptr_GenerateMipmap)(GLenum);
# 8404|-> #define CALL_GenerateMipmap(disp, parameters) (* GET_GenerateMipmap(disp)) parameters
# 8405|   #define GET_GenerateMipmap(disp) ((_glptr_GenerateMipmap)(GET_by_offset((disp), _gloffset_GenerateMipmap)))
# 8406|   #define SET_GenerateMipmap(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8412:69: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4743:4: note: in expansion of macro ‘CALL_GetFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4743:4: note: in expansion of macro ‘CALL_GetFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4743:4: note: in expansion of macro ‘CALL_GetFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4743:4: note: in expansion of macro ‘CALL_GetFramebufferAttachmentParameteriv’
# 8410|   
# 8411|   typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameteriv)(GLenum, GLenum, GLenum, GLint *);
# 8412|-> #define CALL_GetFramebufferAttachmentParameteriv(disp, parameters) (* GET_GetFramebufferAttachmentParameteriv(disp)) parameters
# 8413|   #define GET_GetFramebufferAttachmentParameteriv(disp) ((_glptr_GetFramebufferAttachmentParameteriv)(GET_by_offset((disp), _gloffset_GetFramebufferAttachmentParameteriv)))
# 8414|   #define SET_GetFramebufferAttachmentParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_GetRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8420:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4468:4: note: in expansion of macro ‘CALL_GetRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4468:4: note: in expansion of macro ‘CALL_GetRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4468:4: note: in expansion of macro ‘CALL_GetRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4468:4: note: in expansion of macro ‘CALL_GetRenderbufferParameteriv’
# 8418|   
# 8419|   typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameteriv)(GLenum, GLenum, GLint *);
# 8420|-> #define CALL_GetRenderbufferParameteriv(disp, parameters) (* GET_GetRenderbufferParameteriv(disp)) parameters
# 8421|   #define GET_GetRenderbufferParameteriv(disp) ((_glptr_GetRenderbufferParameteriv)(GET_by_offset((disp), _gloffset_GetRenderbufferParameteriv)))
# 8422|   #define SET_GetRenderbufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8428:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4478:11: note: in expansion of macro ‘CALL_IsFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4478:11: note: in expansion of macro ‘CALL_IsFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4478:11: note: in expansion of macro ‘CALL_IsFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4478:11: note: in expansion of macro ‘CALL_IsFramebuffer’
# 8426|   
# 8427|   typedef GLboolean (GLAPIENTRYP _glptr_IsFramebuffer)(GLuint);
# 8428|-> #define CALL_IsFramebuffer(disp, parameters) (* GET_IsFramebuffer(disp)) parameters
# 8429|   #define GET_IsFramebuffer(disp) ((_glptr_IsFramebuffer)(GET_by_offset((disp), _gloffset_IsFramebuffer)))
# 8430|   #define SET_IsFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_marshal_IsRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8436:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4322:11: note: in expansion of macro ‘CALL_IsRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4322:11: note: in expansion of macro ‘CALL_IsRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4322:11: note: in expansion of macro ‘CALL_IsRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4322:11: note: in expansion of macro ‘CALL_IsRenderbuffer’
# 8434|   
# 8435|   typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbuffer)(GLuint);
# 8436|-> #define CALL_IsRenderbuffer(disp, parameters) (* GET_IsRenderbuffer(disp)) parameters
# 8437|   #define GET_IsRenderbuffer(disp) ((_glptr_IsRenderbuffer)(GET_by_offset((disp), _gloffset_IsRenderbuffer)))
# 8438|   #define SET_IsRenderbuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_RenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8444:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4412:4: note: in expansion of macro ‘CALL_RenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4412:4: note: in expansion of macro ‘CALL_RenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4412:4: note: in expansion of macro ‘CALL_RenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4412:4: note: in expansion of macro ‘CALL_RenderbufferStorage’
# 8442|   
# 8443|   typedef void (GLAPIENTRYP _glptr_RenderbufferStorage)(GLenum, GLenum, GLsizei, GLsizei);
# 8444|-> #define CALL_RenderbufferStorage(disp, parameters) (* GET_RenderbufferStorage(disp)) parameters
# 8445|   #define GET_RenderbufferStorage(disp) ((_glptr_RenderbufferStorage)(GET_by_offset((disp), _gloffset_RenderbufferStorage)))
# 8446|   #define SET_RenderbufferStorage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_RenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8452:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4445:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4445:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4445:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4445:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisample’
# 8450|   
# 8451|   typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
# 8452|-> #define CALL_RenderbufferStorageMultisample(disp, parameters) (* GET_RenderbufferStorageMultisample(disp)) parameters
# 8453|   #define GET_RenderbufferStorageMultisample(disp) ((_glptr_RenderbufferStorageMultisample)(GET_by_offset((disp), _gloffset_RenderbufferStorageMultisample)))
# 8454|   #define SET_RenderbufferStorageMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_FlushMappedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8460:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:144:4: note: in expansion of macro ‘CALL_FlushMappedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:144:4: note: in expansion of macro ‘CALL_FlushMappedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:144:4: note: in expansion of macro ‘CALL_FlushMappedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:144:4: note: in expansion of macro ‘CALL_FlushMappedBufferRange’
# 8458|   
# 8459|   typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr);
# 8460|-> #define CALL_FlushMappedBufferRange(disp, parameters) (* GET_FlushMappedBufferRange(disp)) parameters
# 8461|   #define GET_FlushMappedBufferRange(disp) ((_glptr_FlushMappedBufferRange)(GET_by_offset((disp), _gloffset_FlushMappedBufferRange)))
# 8462|   #define SET_FlushMappedBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_MapBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8468:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:127:11: note: in expansion of macro ‘CALL_MapBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:127:11: note: in expansion of macro ‘CALL_MapBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:127:11: note: in expansion of macro ‘CALL_MapBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:127:11: note: in expansion of macro ‘CALL_MapBufferRange’
# 8466|   
# 8467|   typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield);
# 8468|-> #define CALL_MapBufferRange(disp, parameters) (* GET_MapBufferRange(disp)) parameters
# 8469|   #define GET_MapBufferRange(disp) ((_glptr_MapBufferRange)(GET_by_offset((disp), _gloffset_MapBufferRange)))
# 8470|   #define SET_MapBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BindVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8476:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:196:4: note: in expansion of macro ‘CALL_BindVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:196:4: note: in expansion of macro ‘CALL_BindVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:196:4: note: in expansion of macro ‘CALL_BindVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:196:4: note: in expansion of macro ‘CALL_BindVertexArray’
# 8474|   
# 8475|   typedef void (GLAPIENTRYP _glptr_BindVertexArray)(GLuint);
# 8476|-> #define CALL_BindVertexArray(disp, parameters) (* GET_BindVertexArray(disp)) parameters
# 8477|   #define GET_BindVertexArray(disp) ((_glptr_BindVertexArray)(GET_by_offset((disp), _gloffset_BindVertexArray)))
# 8478|   #define SET_BindVertexArray(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def283]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DeleteVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8484:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:224:4: note: in expansion of macro ‘CALL_DeleteVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:224:4: note: in expansion of macro ‘CALL_DeleteVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:224:4: note: in expansion of macro ‘CALL_DeleteVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:224:4: note: in expansion of macro ‘CALL_DeleteVertexArrays’
# 8482|   
# 8483|   typedef void (GLAPIENTRYP _glptr_DeleteVertexArrays)(GLsizei, const GLuint *);
# 8484|-> #define CALL_DeleteVertexArrays(disp, parameters) (* GET_DeleteVertexArrays(disp)) parameters
# 8485|   #define GET_DeleteVertexArrays(disp) ((_glptr_DeleteVertexArrays)(GET_by_offset((disp), _gloffset_DeleteVertexArrays)))
# 8486|   #define SET_DeleteVertexArrays(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GenVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8492:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:254:4: note: in expansion of macro ‘CALL_GenVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:254:4: note: in expansion of macro ‘CALL_GenVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:254:4: note: in expansion of macro ‘CALL_GenVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:254:4: note: in expansion of macro ‘CALL_GenVertexArrays’
# 8490|   
# 8491|   typedef void (GLAPIENTRYP _glptr_GenVertexArrays)(GLsizei, GLuint *);
# 8492|-> #define CALL_GenVertexArrays(disp, parameters) (* GET_GenVertexArrays(disp)) parameters
# 8493|   #define GET_GenVertexArrays(disp) ((_glptr_GenVertexArrays)(GET_by_offset((disp), _gloffset_GenVertexArrays)))
# 8494|   #define SET_GenVertexArrays(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_IsVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8500:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:265:11: note: in expansion of macro ‘CALL_IsVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:265:11: note: in expansion of macro ‘CALL_IsVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:265:11: note: in expansion of macro ‘CALL_IsVertexArray’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:265:11: note: in expansion of macro ‘CALL_IsVertexArray’
# 8498|   
# 8499|   typedef GLboolean (GLAPIENTRYP _glptr_IsVertexArray)(GLuint);
# 8500|-> #define CALL_IsVertexArray(disp, parameters) (* GET_IsVertexArray(disp)) parameters
# 8501|   #define GET_IsVertexArray(disp) ((_glptr_IsVertexArray)(GET_by_offset((disp), _gloffset_IsVertexArray)))
# 8502|   #define SET_IsVertexArray(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def286]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveUniformBlockName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8508:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:325:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:325:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:325:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:325:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockName’
# 8506|   
# 8507|   typedef void (GLAPIENTRYP _glptr_GetActiveUniformBlockName)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *);
# 8508|-> #define CALL_GetActiveUniformBlockName(disp, parameters) (* GET_GetActiveUniformBlockName(disp)) parameters
# 8509|   #define GET_GetActiveUniformBlockName(disp) ((_glptr_GetActiveUniformBlockName)(GET_by_offset((disp), _gloffset_GetActiveUniformBlockName)))
# 8510|   #define SET_GetActiveUniformBlockName(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveUniformBlockiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8516:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:315:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:315:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:315:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:315:4: note: in expansion of macro ‘CALL_GetActiveUniformBlockiv’
# 8514|   
# 8515|   typedef void (GLAPIENTRYP _glptr_GetActiveUniformBlockiv)(GLuint, GLuint, GLenum, GLint *);
# 8516|-> #define CALL_GetActiveUniformBlockiv(disp, parameters) (* GET_GetActiveUniformBlockiv(disp)) parameters
# 8517|   #define GET_GetActiveUniformBlockiv(disp) ((_glptr_GetActiveUniformBlockiv)(GET_by_offset((disp), _gloffset_GetActiveUniformBlockiv)))
# 8518|   #define SET_GetActiveUniformBlockiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8524:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:295:4: note: in expansion of macro ‘CALL_GetActiveUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:295:4: note: in expansion of macro ‘CALL_GetActiveUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:295:4: note: in expansion of macro ‘CALL_GetActiveUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:295:4: note: in expansion of macro ‘CALL_GetActiveUniformName’
# 8522|   
# 8523|   typedef void (GLAPIENTRYP _glptr_GetActiveUniformName)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *);
# 8524|-> #define CALL_GetActiveUniformName(disp, parameters) (* GET_GetActiveUniformName(disp)) parameters
# 8525|   #define GET_GetActiveUniformName(disp) ((_glptr_GetActiveUniformName)(GET_by_offset((disp), _gloffset_GetActiveUniformName)))
# 8526|   #define SET_GetActiveUniformName(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveUniformsiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8532:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:285:4: note: in expansion of macro ‘CALL_GetActiveUniformsiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:285:4: note: in expansion of macro ‘CALL_GetActiveUniformsiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:285:4: note: in expansion of macro ‘CALL_GetActiveUniformsiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:285:4: note: in expansion of macro ‘CALL_GetActiveUniformsiv’
# 8530|   
# 8531|   typedef void (GLAPIENTRYP _glptr_GetActiveUniformsiv)(GLuint, GLsizei, const GLuint *, GLenum, GLint *);
# 8532|-> #define CALL_GetActiveUniformsiv(disp, parameters) (* GET_GetActiveUniformsiv(disp)) parameters
# 8533|   #define GET_GetActiveUniformsiv(disp) ((_glptr_GetActiveUniformsiv)(GET_by_offset((disp), _gloffset_GetActiveUniformsiv)))
# 8534|   #define SET_GetActiveUniformsiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetUniformBlockIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8540:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:305:11: note: in expansion of macro ‘CALL_GetUniformBlockIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:305:11: note: in expansion of macro ‘CALL_GetUniformBlockIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:305:11: note: in expansion of macro ‘CALL_GetUniformBlockIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:305:11: note: in expansion of macro ‘CALL_GetUniformBlockIndex’
# 8538|   
# 8539|   typedef GLuint (GLAPIENTRYP _glptr_GetUniformBlockIndex)(GLuint, const GLchar *);
# 8540|-> #define CALL_GetUniformBlockIndex(disp, parameters) (* GET_GetUniformBlockIndex(disp)) parameters
# 8541|   #define GET_GetUniformBlockIndex(disp) ((_glptr_GetUniformBlockIndex)(GET_by_offset((disp), _gloffset_GetUniformBlockIndex)))
# 8542|   #define SET_GetUniformBlockIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def291]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetUniformIndices’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8548:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:275:4: note: in expansion of macro ‘CALL_GetUniformIndices’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:275:4: note: in expansion of macro ‘CALL_GetUniformIndices’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:275:4: note: in expansion of macro ‘CALL_GetUniformIndices’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:275:4: note: in expansion of macro ‘CALL_GetUniformIndices’
# 8546|   
# 8547|   typedef void (GLAPIENTRYP _glptr_GetUniformIndices)(GLuint, GLsizei, const GLchar * const *, GLuint *);
# 8548|-> #define CALL_GetUniformIndices(disp, parameters) (* GET_GetUniformIndices(disp)) parameters
# 8549|   #define GET_GetUniformIndices(disp) ((_glptr_GetUniformIndices)(GET_by_offset((disp), _gloffset_GetUniformIndices)))
# 8550|   #define SET_GetUniformIndices(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8556:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:342:4: note: in expansion of macro ‘CALL_UniformBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:342:4: note: in expansion of macro ‘CALL_UniformBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:342:4: note: in expansion of macro ‘CALL_UniformBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:342:4: note: in expansion of macro ‘CALL_UniformBlockBinding’
# 8554|   
# 8555|   typedef void (GLAPIENTRYP _glptr_UniformBlockBinding)(GLuint, GLuint, GLuint);
# 8556|-> #define CALL_UniformBlockBinding(disp, parameters) (* GET_UniformBlockBinding(disp)) parameters
# 8557|   #define GET_UniformBlockBinding(disp) ((_glptr_UniformBlockBinding)(GET_by_offset((disp), _gloffset_UniformBlockBinding)))
# 8558|   #define SET_UniformBlockBinding(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_CopyBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8564:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:374:4: note: in expansion of macro ‘CALL_CopyBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:374:4: note: in expansion of macro ‘CALL_CopyBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:374:4: note: in expansion of macro ‘CALL_CopyBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:374:4: note: in expansion of macro ‘CALL_CopyBufferSubData’
# 8562|   
# 8563|   typedef void (GLAPIENTRYP _glptr_CopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr);
# 8564|-> #define CALL_CopyBufferSubData(disp, parameters) (* GET_CopyBufferSubData(disp)) parameters
# 8565|   #define GET_CopyBufferSubData(disp) ((_glptr_CopyBufferSubData)(GET_by_offset((disp), _gloffset_CopyBufferSubData)))
# 8566|   #define SET_CopyBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_ClientWaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8572:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:439:11: note: in expansion of macro ‘CALL_ClientWaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:439:11: note: in expansion of macro ‘CALL_ClientWaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:439:11: note: in expansion of macro ‘CALL_ClientWaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:439:11: note: in expansion of macro ‘CALL_ClientWaitSync’
# 8570|   
# 8571|   typedef GLenum (GLAPIENTRYP _glptr_ClientWaitSync)(GLsync, GLbitfield, GLuint64);
# 8572|-> #define CALL_ClientWaitSync(disp, parameters) (* GET_ClientWaitSync(disp)) parameters
# 8573|   #define GET_ClientWaitSync(disp) ((_glptr_ClientWaitSync)(GET_by_offset((disp), _gloffset_ClientWaitSync)))
# 8574|   #define SET_ClientWaitSync(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DeleteSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8580:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:420:4: note: in expansion of macro ‘CALL_DeleteSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:420:4: note: in expansion of macro ‘CALL_DeleteSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:420:4: note: in expansion of macro ‘CALL_DeleteSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:420:4: note: in expansion of macro ‘CALL_DeleteSync’
# 8578|   
# 8579|   typedef void (GLAPIENTRYP _glptr_DeleteSync)(GLsync);
# 8580|-> #define CALL_DeleteSync(disp, parameters) (* GET_DeleteSync(disp)) parameters
# 8581|   #define GET_DeleteSync(disp) ((_glptr_DeleteSync)(GET_by_offset((disp), _gloffset_DeleteSync)))
# 8582|   #define SET_DeleteSync(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def296]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_FenceSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8588:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:397:11: note: in expansion of macro ‘CALL_FenceSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:397:11: note: in expansion of macro ‘CALL_FenceSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:397:11: note: in expansion of macro ‘CALL_FenceSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:397:11: note: in expansion of macro ‘CALL_FenceSync’
# 8586|   
# 8587|   typedef GLsync (GLAPIENTRYP _glptr_FenceSync)(GLenum, GLbitfield);
# 8588|-> #define CALL_FenceSync(disp, parameters) (* GET_FenceSync(disp)) parameters
# 8589|   #define GET_FenceSync(disp) ((_glptr_FenceSync)(GET_by_offset((disp), _gloffset_FenceSync)))
# 8590|   #define SET_FenceSync(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetInteger64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8596:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:477:4: note: in expansion of macro ‘CALL_GetInteger64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:477:4: note: in expansion of macro ‘CALL_GetInteger64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:477:4: note: in expansion of macro ‘CALL_GetInteger64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:477:4: note: in expansion of macro ‘CALL_GetInteger64v’
# 8594|   
# 8595|   typedef void (GLAPIENTRYP _glptr_GetInteger64v)(GLenum, GLint64 *);
# 8596|-> #define CALL_GetInteger64v(disp, parameters) (* GET_GetInteger64v(disp)) parameters
# 8597|   #define GET_GetInteger64v(disp) ((_glptr_GetInteger64v)(GET_by_offset((disp), _gloffset_GetInteger64v)))
# 8598|   #define SET_GetInteger64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSynciv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8604:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:487:4: note: in expansion of macro ‘CALL_GetSynciv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:487:4: note: in expansion of macro ‘CALL_GetSynciv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:487:4: note: in expansion of macro ‘CALL_GetSynciv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:487:4: note: in expansion of macro ‘CALL_GetSynciv’
# 8602|   
# 8603|   typedef void (GLAPIENTRYP _glptr_GetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GLint *);
# 8604|-> #define CALL_GetSynciv(disp, parameters) (* GET_GetSynciv(disp)) parameters
# 8605|   #define GET_GetSynciv(disp) ((_glptr_GetSynciv)(GET_by_offset((disp), _gloffset_GetSynciv)))
# 8606|   #define SET_GetSynciv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def299]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_IsSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8612:40: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:407:11: note: in expansion of macro ‘CALL_IsSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:407:11: note: in expansion of macro ‘CALL_IsSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:407:11: note: in expansion of macro ‘CALL_IsSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:407:11: note: in expansion of macro ‘CALL_IsSync’
# 8610|   
# 8611|   typedef GLboolean (GLAPIENTRYP _glptr_IsSync)(GLsync);
# 8612|-> #define CALL_IsSync(disp, parameters) (* GET_IsSync(disp)) parameters
# 8613|   #define GET_IsSync(disp) ((_glptr_IsSync)(GET_by_offset((disp), _gloffset_IsSync)))
# 8614|   #define SET_IsSync(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def300]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_WaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8620:42: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:456:4: note: in expansion of macro ‘CALL_WaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:456:4: note: in expansion of macro ‘CALL_WaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:456:4: note: in expansion of macro ‘CALL_WaitSync’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:456:4: note: in expansion of macro ‘CALL_WaitSync’
# 8618|   
# 8619|   typedef void (GLAPIENTRYP _glptr_WaitSync)(GLsync, GLbitfield, GLuint64);
# 8620|-> #define CALL_WaitSync(disp, parameters) (* GET_WaitSync(disp)) parameters
# 8621|   #define GET_WaitSync(disp) ((_glptr_WaitSync)(GET_by_offset((disp), _gloffset_WaitSync)))
# 8622|   #define SET_WaitSync(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def301]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8628:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:786:10: note: in expansion of macro ‘CALL_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_marshal_DrawRangeElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8629:97: note: in expansion of macro ‘_gloffset_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8628:58: note: in expansion of macro ‘GET_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:786:10: note: in expansion of macro ‘CALL_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:786:10: note: in expansion of macro ‘CALL_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:786:10: note: in expansion of macro ‘CALL_DrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:786:10: note: in expansion of macro ‘CALL_DrawElementsBaseVertex’
# 8626|   
# 8627|   typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLint);
# 8628|-> #define CALL_DrawElementsBaseVertex(disp, parameters) (* GET_DrawElementsBaseVertex(disp)) parameters
# 8629|   #define GET_DrawElementsBaseVertex(disp) ((_glptr_DrawElementsBaseVertex)(GET_by_offset((disp), _gloffset_DrawElementsBaseVertex)))
# 8630|   #define SET_DrawElementsBaseVertex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def302]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetMultisamplefv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8668:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:574:4: note: in expansion of macro ‘CALL_GetMultisamplefv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:574:4: note: in expansion of macro ‘CALL_GetMultisamplefv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:574:4: note: in expansion of macro ‘CALL_GetMultisamplefv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:574:4: note: in expansion of macro ‘CALL_GetMultisamplefv’
# 8666|   
# 8667|   typedef void (GLAPIENTRYP _glptr_GetMultisamplefv)(GLenum, GLuint, GLfloat *);
# 8668|-> #define CALL_GetMultisamplefv(disp, parameters) (* GET_GetMultisamplefv(disp)) parameters
# 8669|   #define GET_GetMultisamplefv(disp) ((_glptr_GetMultisamplefv)(GET_by_offset((disp), _gloffset_GetMultisamplefv)))
# 8670|   #define SET_GetMultisamplefv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SampleMaski’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8676:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:589:4: note: in expansion of macro ‘CALL_SampleMaski’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:589:4: note: in expansion of macro ‘CALL_SampleMaski’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:589:4: note: in expansion of macro ‘CALL_SampleMaski’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:589:4: note: in expansion of macro ‘CALL_SampleMaski’
# 8674|   
# 8675|   typedef void (GLAPIENTRYP _glptr_SampleMaski)(GLuint, GLbitfield);
# 8676|-> #define CALL_SampleMaski(disp, parameters) (* GET_SampleMaski(disp)) parameters
# 8677|   #define GET_SampleMaski(disp) ((_glptr_SampleMaski)(GET_by_offset((disp), _gloffset_SampleMaski)))
# 8678|   #define SET_SampleMaski(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexImage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8684:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:510:4: note: in expansion of macro ‘CALL_TexImage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:510:4: note: in expansion of macro ‘CALL_TexImage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:510:4: note: in expansion of macro ‘CALL_TexImage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:510:4: note: in expansion of macro ‘CALL_TexImage2DMultisample’
# 8682|   
# 8683|   typedef void (GLAPIENTRYP _glptr_TexImage2DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean);
# 8684|-> #define CALL_TexImage2DMultisample(disp, parameters) (* GET_TexImage2DMultisample(disp)) parameters
# 8685|   #define GET_TexImage2DMultisample(disp) ((_glptr_TexImage2DMultisample)(GET_by_offset((disp), _gloffset_TexImage2DMultisample)))
# 8686|   #define SET_TexImage2DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def305]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexImage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8692:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:549:4: note: in expansion of macro ‘CALL_TexImage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:549:4: note: in expansion of macro ‘CALL_TexImage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:549:4: note: in expansion of macro ‘CALL_TexImage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:549:4: note: in expansion of macro ‘CALL_TexImage3DMultisample’
# 8690|   
# 8691|   typedef void (GLAPIENTRYP _glptr_TexImage3DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean);
# 8692|-> #define CALL_TexImage3DMultisample(disp, parameters) (* GET_TexImage3DMultisample(disp)) parameters
# 8693|   #define GET_TexImage3DMultisample(disp) ((_glptr_TexImage3DMultisample)(GET_by_offset((disp), _gloffset_TexImage3DMultisample)))
# 8694|   #define SET_TexImage3DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def306]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BlendEquationSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8700:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:641:4: note: in expansion of macro ‘CALL_BlendEquationSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:641:4: note: in expansion of macro ‘CALL_BlendEquationSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:641:4: note: in expansion of macro ‘CALL_BlendEquationSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:641:4: note: in expansion of macro ‘CALL_BlendEquationSeparateiARB’
# 8698|   
# 8699|   typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB)(GLuint, GLenum, GLenum);
# 8700|-> #define CALL_BlendEquationSeparateiARB(disp, parameters) (* GET_BlendEquationSeparateiARB(disp)) parameters
# 8701|   #define GET_BlendEquationSeparateiARB(disp) ((_glptr_BlendEquationSeparateiARB)(GET_by_offset((disp), _gloffset_BlendEquationSeparateiARB)))
# 8702|   #define SET_BlendEquationSeparateiARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def307]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BlendEquationiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8708:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:614:4: note: in expansion of macro ‘CALL_BlendEquationiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:614:4: note: in expansion of macro ‘CALL_BlendEquationiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:614:4: note: in expansion of macro ‘CALL_BlendEquationiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:614:4: note: in expansion of macro ‘CALL_BlendEquationiARB’
# 8706|   
# 8707|   typedef void (GLAPIENTRYP _glptr_BlendEquationiARB)(GLuint, GLenum);
# 8708|-> #define CALL_BlendEquationiARB(disp, parameters) (* GET_BlendEquationiARB(disp)) parameters
# 8709|   #define GET_BlendEquationiARB(disp) ((_glptr_BlendEquationiARB)(GET_by_offset((disp), _gloffset_BlendEquationiARB)))
# 8710|   #define SET_BlendEquationiARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BlendFuncSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8716:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:701:4: note: in expansion of macro ‘CALL_BlendFuncSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:701:4: note: in expansion of macro ‘CALL_BlendFuncSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:701:4: note: in expansion of macro ‘CALL_BlendFuncSeparateiARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:701:4: note: in expansion of macro ‘CALL_BlendFuncSeparateiARB’
# 8714|   
# 8715|   typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum);
# 8716|-> #define CALL_BlendFuncSeparateiARB(disp, parameters) (* GET_BlendFuncSeparateiARB(disp)) parameters
# 8717|   #define GET_BlendFuncSeparateiARB(disp) ((_glptr_BlendFuncSeparateiARB)(GET_by_offset((disp), _gloffset_BlendFuncSeparateiARB)))
# 8718|   #define SET_BlendFuncSeparateiARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BlendFunciARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8724:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:669:4: note: in expansion of macro ‘CALL_BlendFunciARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:669:4: note: in expansion of macro ‘CALL_BlendFunciARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:669:4: note: in expansion of macro ‘CALL_BlendFunciARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:669:4: note: in expansion of macro ‘CALL_BlendFunciARB’
# 8722|   
# 8723|   typedef void (GLAPIENTRYP _glptr_BlendFunciARB)(GLuint, GLenum, GLenum);
# 8724|-> #define CALL_BlendFunciARB(disp, parameters) (* GET_BlendFunciARB(disp)) parameters
# 8725|   #define GET_BlendFunciARB(disp) ((_glptr_BlendFunciARB)(GET_by_offset((disp), _gloffset_BlendFunciARB)))
# 8726|   #define SET_BlendFunciARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BindFragDataLocationIndexed’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8732:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:883:4: note: in expansion of macro ‘CALL_BindFragDataLocationIndexed’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:883:4: note: in expansion of macro ‘CALL_BindFragDataLocationIndexed’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:883:4: note: in expansion of macro ‘CALL_BindFragDataLocationIndexed’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:883:4: note: in expansion of macro ‘CALL_BindFragDataLocationIndexed’
# 8730|   
# 8731|   typedef void (GLAPIENTRYP _glptr_BindFragDataLocationIndexed)(GLuint, GLuint, GLuint, const GLchar *);
# 8732|-> #define CALL_BindFragDataLocationIndexed(disp, parameters) (* GET_BindFragDataLocationIndexed(disp)) parameters
# 8733|   #define GET_BindFragDataLocationIndexed(disp) ((_glptr_BindFragDataLocationIndexed)(GET_by_offset((disp), _gloffset_BindFragDataLocationIndexed)))
# 8734|   #define SET_BindFragDataLocationIndexed(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetFragDataIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8740:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:913:11: note: in expansion of macro ‘CALL_GetFragDataIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:913:11: note: in expansion of macro ‘CALL_GetFragDataIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:913:11: note: in expansion of macro ‘CALL_GetFragDataIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:913:11: note: in expansion of macro ‘CALL_GetFragDataIndex’
# 8738|   
# 8739|   typedef GLint (GLAPIENTRYP _glptr_GetFragDataIndex)(GLuint, const GLchar *);
# 8740|-> #define CALL_GetFragDataIndex(disp, parameters) (* GET_GetFragDataIndex(disp)) parameters
# 8741|   #define GET_GetFragDataIndex(disp) ((_glptr_GetFragDataIndex)(GET_by_offset((disp), _gloffset_GetFragDataIndex)))
# 8742|   #define SET_GetFragDataIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BindSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8748:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:984:4: note: in expansion of macro ‘CALL_BindSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:984:4: note: in expansion of macro ‘CALL_BindSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:984:4: note: in expansion of macro ‘CALL_BindSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:984:4: note: in expansion of macro ‘CALL_BindSampler’
# 8746|   
# 8747|   typedef void (GLAPIENTRYP _glptr_BindSampler)(GLuint, GLuint);
# 8748|-> #define CALL_BindSampler(disp, parameters) (* GET_BindSampler(disp)) parameters
# 8749|   #define GET_BindSampler(disp) ((_glptr_BindSampler)(GET_by_offset((disp), _gloffset_BindSampler)))
# 8750|   #define SET_BindSampler(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DeleteSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8756:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:941:4: note: in expansion of macro ‘CALL_DeleteSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:941:4: note: in expansion of macro ‘CALL_DeleteSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:941:4: note: in expansion of macro ‘CALL_DeleteSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:941:4: note: in expansion of macro ‘CALL_DeleteSamplers’
# 8754|   
# 8755|   typedef void (GLAPIENTRYP _glptr_DeleteSamplers)(GLsizei, const GLuint *);
# 8756|-> #define CALL_DeleteSamplers(disp, parameters) (* GET_DeleteSamplers(disp)) parameters
# 8757|   #define GET_DeleteSamplers(disp) ((_glptr_DeleteSamplers)(GET_by_offset((disp), _gloffset_DeleteSamplers)))
# 8758|   #define SET_DeleteSamplers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GenSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8764:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:923:4: note: in expansion of macro ‘CALL_GenSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:923:4: note: in expansion of macro ‘CALL_GenSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:923:4: note: in expansion of macro ‘CALL_GenSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:923:4: note: in expansion of macro ‘CALL_GenSamplers’
# 8762|   
# 8763|   typedef void (GLAPIENTRYP _glptr_GenSamplers)(GLsizei, GLuint *);
# 8764|-> #define CALL_GenSamplers(disp, parameters) (* GET_GenSamplers(disp)) parameters
# 8765|   #define GET_GenSamplers(disp) ((_glptr_GenSamplers)(GET_by_offset((disp), _gloffset_GenSamplers)))
# 8766|   #define SET_GenSamplers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8772:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1220:4: note: in expansion of macro ‘CALL_GetSamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1220:4: note: in expansion of macro ‘CALL_GetSamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1220:4: note: in expansion of macro ‘CALL_GetSamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1220:4: note: in expansion of macro ‘CALL_GetSamplerParameterIiv’
# 8770|   
# 8771|   typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv)(GLuint, GLenum, GLint *);
# 8772|-> #define CALL_GetSamplerParameterIiv(disp, parameters) (* GET_GetSamplerParameterIiv(disp)) parameters
# 8773|   #define GET_GetSamplerParameterIiv(disp) ((_glptr_GetSamplerParameterIiv)(GET_by_offset((disp), _gloffset_GetSamplerParameterIiv)))
# 8774|   #define SET_GetSamplerParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8780:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1230:4: note: in expansion of macro ‘CALL_GetSamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1230:4: note: in expansion of macro ‘CALL_GetSamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1230:4: note: in expansion of macro ‘CALL_GetSamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1230:4: note: in expansion of macro ‘CALL_GetSamplerParameterIuiv’
# 8778|   
# 8779|   typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv)(GLuint, GLenum, GLuint *);
# 8780|-> #define CALL_GetSamplerParameterIuiv(disp, parameters) (* GET_GetSamplerParameterIuiv(disp)) parameters
# 8781|   #define GET_GetSamplerParameterIuiv(disp) ((_glptr_GetSamplerParameterIuiv)(GET_by_offset((disp), _gloffset_GetSamplerParameterIuiv)))
# 8782|   #define SET_GetSamplerParameterIuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8788:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1210:4: note: in expansion of macro ‘CALL_GetSamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1210:4: note: in expansion of macro ‘CALL_GetSamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1210:4: note: in expansion of macro ‘CALL_GetSamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1210:4: note: in expansion of macro ‘CALL_GetSamplerParameterfv’
# 8786|   
# 8787|   typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv)(GLuint, GLenum, GLfloat *);
# 8788|-> #define CALL_GetSamplerParameterfv(disp, parameters) (* GET_GetSamplerParameterfv(disp)) parameters
# 8789|   #define GET_GetSamplerParameterfv(disp) ((_glptr_GetSamplerParameterfv)(GET_by_offset((disp), _gloffset_GetSamplerParameterfv)))
# 8790|   #define SET_GetSamplerParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8796:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1200:4: note: in expansion of macro ‘CALL_GetSamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1200:4: note: in expansion of macro ‘CALL_GetSamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1200:4: note: in expansion of macro ‘CALL_GetSamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1200:4: note: in expansion of macro ‘CALL_GetSamplerParameteriv’
# 8794|   
# 8795|   typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv)(GLuint, GLenum, GLint *);
# 8796|-> #define CALL_GetSamplerParameteriv(disp, parameters) (* GET_GetSamplerParameteriv(disp)) parameters
# 8797|   #define GET_GetSamplerParameteriv(disp) ((_glptr_GetSamplerParameteriv)(GET_by_offset((disp), _gloffset_GetSamplerParameteriv)))
# 8798|   #define SET_GetSamplerParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_IsSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8804:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:969:11: note: in expansion of macro ‘CALL_IsSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:969:11: note: in expansion of macro ‘CALL_IsSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:969:11: note: in expansion of macro ‘CALL_IsSampler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:969:11: note: in expansion of macro ‘CALL_IsSampler’
# 8802|   
# 8803|   typedef GLboolean (GLAPIENTRYP _glptr_IsSampler)(GLuint);
# 8804|-> #define CALL_IsSampler(disp, parameters) (* GET_IsSampler(disp)) parameters
# 8805|   #define GET_IsSampler(disp) ((_glptr_IsSampler)(GET_by_offset((disp), _gloffset_IsSampler)))
# 8806|   #define SET_IsSampler(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8812:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1140:4: note: in expansion of macro ‘CALL_SamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1140:4: note: in expansion of macro ‘CALL_SamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1140:4: note: in expansion of macro ‘CALL_SamplerParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1140:4: note: in expansion of macro ‘CALL_SamplerParameterIiv’
# 8810|   
# 8811|   typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv)(GLuint, GLenum, const GLint *);
# 8812|-> #define CALL_SamplerParameterIiv(disp, parameters) (* GET_SamplerParameterIiv(disp)) parameters
# 8813|   #define GET_SamplerParameterIiv(disp) ((_glptr_SamplerParameterIiv)(GET_by_offset((disp), _gloffset_SamplerParameterIiv)))
# 8814|   #define SET_SamplerParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8820:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1175:4: note: in expansion of macro ‘CALL_SamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1175:4: note: in expansion of macro ‘CALL_SamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1175:4: note: in expansion of macro ‘CALL_SamplerParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1175:4: note: in expansion of macro ‘CALL_SamplerParameterIuiv’
# 8818|   
# 8819|   typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv)(GLuint, GLenum, const GLuint *);
# 8820|-> #define CALL_SamplerParameterIuiv(disp, parameters) (* GET_SamplerParameterIuiv(disp)) parameters
# 8821|   #define GET_SamplerParameterIuiv(disp) ((_glptr_SamplerParameterIuiv)(GET_by_offset((disp), _gloffset_SamplerParameterIuiv)))
# 8822|   #define SET_SamplerParameterIuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def322]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8828:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1039:4: note: in expansion of macro ‘CALL_SamplerParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1039:4: note: in expansion of macro ‘CALL_SamplerParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1039:4: note: in expansion of macro ‘CALL_SamplerParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1039:4: note: in expansion of macro ‘CALL_SamplerParameterf’
# 8826|   
# 8827|   typedef void (GLAPIENTRYP _glptr_SamplerParameterf)(GLuint, GLenum, GLfloat);
# 8828|-> #define CALL_SamplerParameterf(disp, parameters) (* GET_SamplerParameterf(disp)) parameters
# 8829|   #define GET_SamplerParameterf(disp) ((_glptr_SamplerParameterf)(GET_by_offset((disp), _gloffset_SamplerParameterf)))
# 8830|   #define SET_SamplerParameterf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8836:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1105:4: note: in expansion of macro ‘CALL_SamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1105:4: note: in expansion of macro ‘CALL_SamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1105:4: note: in expansion of macro ‘CALL_SamplerParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1105:4: note: in expansion of macro ‘CALL_SamplerParameterfv’
# 8834|   
# 8835|   typedef void (GLAPIENTRYP _glptr_SamplerParameterfv)(GLuint, GLenum, const GLfloat *);
# 8836|-> #define CALL_SamplerParameterfv(disp, parameters) (* GET_SamplerParameterfv(disp)) parameters
# 8837|   #define GET_SamplerParameterfv(disp) ((_glptr_SamplerParameterfv)(GET_by_offset((disp), _gloffset_SamplerParameterfv)))
# 8838|   #define SET_SamplerParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8844:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1011:4: note: in expansion of macro ‘CALL_SamplerParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1011:4: note: in expansion of macro ‘CALL_SamplerParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1011:4: note: in expansion of macro ‘CALL_SamplerParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1011:4: note: in expansion of macro ‘CALL_SamplerParameteri’
# 8842|   
# 8843|   typedef void (GLAPIENTRYP _glptr_SamplerParameteri)(GLuint, GLenum, GLint);
# 8844|-> #define CALL_SamplerParameteri(disp, parameters) (* GET_SamplerParameteri(disp)) parameters
# 8845|   #define GET_SamplerParameteri(disp) ((_glptr_SamplerParameteri)(GET_by_offset((disp), _gloffset_SamplerParameteri)))
# 8846|   #define SET_SamplerParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8852:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1070:4: note: in expansion of macro ‘CALL_SamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1070:4: note: in expansion of macro ‘CALL_SamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1070:4: note: in expansion of macro ‘CALL_SamplerParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1070:4: note: in expansion of macro ‘CALL_SamplerParameteriv’
# 8850|   
# 8851|   typedef void (GLAPIENTRYP _glptr_SamplerParameteriv)(GLuint, GLenum, const GLint *);
# 8852|-> #define CALL_SamplerParameteriv(disp, parameters) (* GET_SamplerParameteriv(disp)) parameters
# 8853|   #define GET_SamplerParameteriv(disp) ((_glptr_SamplerParameteriv)(GET_by_offset((disp), _gloffset_SamplerParameteriv)))
# 8854|   #define SET_SamplerParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetQueryObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8860:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1240:4: note: in expansion of macro ‘CALL_GetQueryObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1240:4: note: in expansion of macro ‘CALL_GetQueryObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1240:4: note: in expansion of macro ‘CALL_GetQueryObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1240:4: note: in expansion of macro ‘CALL_GetQueryObjecti64v’
# 8858|   
# 8859|   typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64v)(GLuint, GLenum, GLint64 *);
# 8860|-> #define CALL_GetQueryObjecti64v(disp, parameters) (* GET_GetQueryObjecti64v(disp)) parameters
# 8861|   #define GET_GetQueryObjecti64v(disp) ((_glptr_GetQueryObjecti64v)(GET_by_offset((disp), _gloffset_GetQueryObjecti64v)))
# 8862|   #define SET_GetQueryObjecti64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetQueryObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8868:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1250:4: note: in expansion of macro ‘CALL_GetQueryObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1250:4: note: in expansion of macro ‘CALL_GetQueryObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1250:4: note: in expansion of macro ‘CALL_GetQueryObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1250:4: note: in expansion of macro ‘CALL_GetQueryObjectui64v’
# 8866|   
# 8867|   typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64v)(GLuint, GLenum, GLuint64 *);
# 8868|-> #define CALL_GetQueryObjectui64v(disp, parameters) (* GET_GetQueryObjectui64v(disp)) parameters
# 8869|   #define GET_GetQueryObjectui64v(disp) ((_glptr_GetQueryObjectui64v)(GET_by_offset((disp), _gloffset_GetQueryObjectui64v)))
# 8870|   #define SET_GetQueryObjectui64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def328]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_QueryCounter’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8876:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1265:4: note: in expansion of macro ‘CALL_QueryCounter’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1265:4: note: in expansion of macro ‘CALL_QueryCounter’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1265:4: note: in expansion of macro ‘CALL_QueryCounter’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1265:4: note: in expansion of macro ‘CALL_QueryCounter’
# 8874|   
# 8875|   typedef void (GLAPIENTRYP _glptr_QueryCounter)(GLuint, GLenum);
# 8876|-> #define CALL_QueryCounter(disp, parameters) (* GET_QueryCounter(disp)) parameters
# 8877|   #define GET_QueryCounter(disp) ((_glptr_QueryCounter)(GET_by_offset((disp), _gloffset_QueryCounter)))
# 8878|   #define SET_QueryCounter(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def329]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8884:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1914:4: note: in expansion of macro ‘CALL_ColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1914:4: note: in expansion of macro ‘CALL_ColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1914:4: note: in expansion of macro ‘CALL_ColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1914:4: note: in expansion of macro ‘CALL_ColorP3ui’
# 8882|   
# 8883|   typedef void (GLAPIENTRYP _glptr_ColorP3ui)(GLenum, GLuint);
# 8884|-> #define CALL_ColorP3ui(disp, parameters) (* GET_ColorP3ui(disp)) parameters
# 8885|   #define GET_ColorP3ui(disp) ((_glptr_ColorP3ui)(GET_by_offset((disp), _gloffset_ColorP3ui)))
# 8886|   #define SET_ColorP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def330]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8892:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1964:4: note: in expansion of macro ‘CALL_ColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1964:4: note: in expansion of macro ‘CALL_ColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1964:4: note: in expansion of macro ‘CALL_ColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1964:4: note: in expansion of macro ‘CALL_ColorP3uiv’
# 8890|   
# 8891|   typedef void (GLAPIENTRYP _glptr_ColorP3uiv)(GLenum, const GLuint *);
# 8892|-> #define CALL_ColorP3uiv(disp, parameters) (* GET_ColorP3uiv(disp)) parameters
# 8893|   #define GET_ColorP3uiv(disp) ((_glptr_ColorP3uiv)(GET_by_offset((disp), _gloffset_ColorP3uiv)))
# 8894|   #define SET_ColorP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def331]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ColorP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8900:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1939:4: note: in expansion of macro ‘CALL_ColorP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1939:4: note: in expansion of macro ‘CALL_ColorP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1939:4: note: in expansion of macro ‘CALL_ColorP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1939:4: note: in expansion of macro ‘CALL_ColorP4ui’
# 8898|   
# 8899|   typedef void (GLAPIENTRYP _glptr_ColorP4ui)(GLenum, GLuint);
# 8900|-> #define CALL_ColorP4ui(disp, parameters) (* GET_ColorP4ui(disp)) parameters
# 8901|   #define GET_ColorP4ui(disp) ((_glptr_ColorP4ui)(GET_by_offset((disp), _gloffset_ColorP4ui)))
# 8902|   #define SET_ColorP4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ColorP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8908:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1989:4: note: in expansion of macro ‘CALL_ColorP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1989:4: note: in expansion of macro ‘CALL_ColorP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1989:4: note: in expansion of macro ‘CALL_ColorP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1989:4: note: in expansion of macro ‘CALL_ColorP4uiv’
# 8906|   
# 8907|   typedef void (GLAPIENTRYP _glptr_ColorP4uiv)(GLenum, const GLuint *);
# 8908|-> #define CALL_ColorP4uiv(disp, parameters) (* GET_ColorP4uiv(disp)) parameters
# 8909|   #define GET_ColorP4uiv(disp) ((_glptr_ColorP4uiv)(GET_by_offset((disp), _gloffset_ColorP4uiv)))
# 8910|   #define SET_ColorP4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def333]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8916:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1642:4: note: in expansion of macro ‘CALL_MultiTexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1642:4: note: in expansion of macro ‘CALL_MultiTexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1642:4: note: in expansion of macro ‘CALL_MultiTexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1642:4: note: in expansion of macro ‘CALL_MultiTexCoordP1ui’
# 8914|   
# 8915|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1ui)(GLenum, GLenum, GLuint);
# 8916|-> #define CALL_MultiTexCoordP1ui(disp, parameters) (* GET_MultiTexCoordP1ui(disp)) parameters
# 8917|   #define GET_MultiTexCoordP1ui(disp) ((_glptr_MultiTexCoordP1ui)(GET_by_offset((disp), _gloffset_MultiTexCoordP1ui)))
# 8918|   #define SET_MultiTexCoordP1ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def334]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8924:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1754:4: note: in expansion of macro ‘CALL_MultiTexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1754:4: note: in expansion of macro ‘CALL_MultiTexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1754:4: note: in expansion of macro ‘CALL_MultiTexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1754:4: note: in expansion of macro ‘CALL_MultiTexCoordP1uiv’
# 8922|   
# 8923|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1uiv)(GLenum, GLenum, const GLuint *);
# 8924|-> #define CALL_MultiTexCoordP1uiv(disp, parameters) (* GET_MultiTexCoordP1uiv(disp)) parameters
# 8925|   #define GET_MultiTexCoordP1uiv(disp) ((_glptr_MultiTexCoordP1uiv)(GET_by_offset((disp), _gloffset_MultiTexCoordP1uiv)))
# 8926|   #define SET_MultiTexCoordP1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def335]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8932:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1670:4: note: in expansion of macro ‘CALL_MultiTexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1670:4: note: in expansion of macro ‘CALL_MultiTexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1670:4: note: in expansion of macro ‘CALL_MultiTexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1670:4: note: in expansion of macro ‘CALL_MultiTexCoordP2ui’
# 8930|   
# 8931|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2ui)(GLenum, GLenum, GLuint);
# 8932|-> #define CALL_MultiTexCoordP2ui(disp, parameters) (* GET_MultiTexCoordP2ui(disp)) parameters
# 8933|   #define GET_MultiTexCoordP2ui(disp) ((_glptr_MultiTexCoordP2ui)(GET_by_offset((disp), _gloffset_MultiTexCoordP2ui)))
# 8934|   #define SET_MultiTexCoordP2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def336]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8940:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1782:4: note: in expansion of macro ‘CALL_MultiTexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1782:4: note: in expansion of macro ‘CALL_MultiTexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1782:4: note: in expansion of macro ‘CALL_MultiTexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1782:4: note: in expansion of macro ‘CALL_MultiTexCoordP2uiv’
# 8938|   
# 8939|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2uiv)(GLenum, GLenum, const GLuint *);
# 8940|-> #define CALL_MultiTexCoordP2uiv(disp, parameters) (* GET_MultiTexCoordP2uiv(disp)) parameters
# 8941|   #define GET_MultiTexCoordP2uiv(disp) ((_glptr_MultiTexCoordP2uiv)(GET_by_offset((disp), _gloffset_MultiTexCoordP2uiv)))
# 8942|   #define SET_MultiTexCoordP2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8948:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1698:4: note: in expansion of macro ‘CALL_MultiTexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1698:4: note: in expansion of macro ‘CALL_MultiTexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1698:4: note: in expansion of macro ‘CALL_MultiTexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1698:4: note: in expansion of macro ‘CALL_MultiTexCoordP3ui’
# 8946|   
# 8947|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3ui)(GLenum, GLenum, GLuint);
# 8948|-> #define CALL_MultiTexCoordP3ui(disp, parameters) (* GET_MultiTexCoordP3ui(disp)) parameters
# 8949|   #define GET_MultiTexCoordP3ui(disp) ((_glptr_MultiTexCoordP3ui)(GET_by_offset((disp), _gloffset_MultiTexCoordP3ui)))
# 8950|   #define SET_MultiTexCoordP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8956:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1810:4: note: in expansion of macro ‘CALL_MultiTexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1810:4: note: in expansion of macro ‘CALL_MultiTexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1810:4: note: in expansion of macro ‘CALL_MultiTexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1810:4: note: in expansion of macro ‘CALL_MultiTexCoordP3uiv’
# 8954|   
# 8955|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3uiv)(GLenum, GLenum, const GLuint *);
# 8956|-> #define CALL_MultiTexCoordP3uiv(disp, parameters) (* GET_MultiTexCoordP3uiv(disp)) parameters
# 8957|   #define GET_MultiTexCoordP3uiv(disp) ((_glptr_MultiTexCoordP3uiv)(GET_by_offset((disp), _gloffset_MultiTexCoordP3uiv)))
# 8958|   #define SET_MultiTexCoordP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def339]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8964:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1726:4: note: in expansion of macro ‘CALL_MultiTexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1726:4: note: in expansion of macro ‘CALL_MultiTexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1726:4: note: in expansion of macro ‘CALL_MultiTexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1726:4: note: in expansion of macro ‘CALL_MultiTexCoordP4ui’
# 8962|   
# 8963|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4ui)(GLenum, GLenum, GLuint);
# 8964|-> #define CALL_MultiTexCoordP4ui(disp, parameters) (* GET_MultiTexCoordP4ui(disp)) parameters
# 8965|   #define GET_MultiTexCoordP4ui(disp) ((_glptr_MultiTexCoordP4ui)(GET_by_offset((disp), _gloffset_MultiTexCoordP4ui)))
# 8966|   #define SET_MultiTexCoordP4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def340]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8972:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1838:4: note: in expansion of macro ‘CALL_MultiTexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1838:4: note: in expansion of macro ‘CALL_MultiTexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1838:4: note: in expansion of macro ‘CALL_MultiTexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1838:4: note: in expansion of macro ‘CALL_MultiTexCoordP4uiv’
# 8970|   
# 8971|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4uiv)(GLenum, GLenum, const GLuint *);
# 8972|-> #define CALL_MultiTexCoordP4uiv(disp, parameters) (* GET_MultiTexCoordP4uiv(disp)) parameters
# 8973|   #define GET_MultiTexCoordP4uiv(disp) ((_glptr_MultiTexCoordP4uiv)(GET_by_offset((disp), _gloffset_MultiTexCoordP4uiv)))
# 8974|   #define SET_MultiTexCoordP4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_NormalP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8980:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1864:4: note: in expansion of macro ‘CALL_NormalP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1864:4: note: in expansion of macro ‘CALL_NormalP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1864:4: note: in expansion of macro ‘CALL_NormalP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1864:4: note: in expansion of macro ‘CALL_NormalP3ui’
# 8978|   
# 8979|   typedef void (GLAPIENTRYP _glptr_NormalP3ui)(GLenum, GLuint);
# 8980|-> #define CALL_NormalP3ui(disp, parameters) (* GET_NormalP3ui(disp)) parameters
# 8981|   #define GET_NormalP3ui(disp) ((_glptr_NormalP3ui)(GET_by_offset((disp), _gloffset_NormalP3ui)))
# 8982|   #define SET_NormalP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_NormalP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8988:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1889:4: note: in expansion of macro ‘CALL_NormalP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1889:4: note: in expansion of macro ‘CALL_NormalP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1889:4: note: in expansion of macro ‘CALL_NormalP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1889:4: note: in expansion of macro ‘CALL_NormalP3uiv’
# 8986|   
# 8987|   typedef void (GLAPIENTRYP _glptr_NormalP3uiv)(GLenum, const GLuint *);
# 8988|-> #define CALL_NormalP3uiv(disp, parameters) (* GET_NormalP3uiv(disp)) parameters
# 8989|   #define GET_NormalP3uiv(disp) ((_glptr_NormalP3uiv)(GET_by_offset((disp), _gloffset_NormalP3uiv)))
# 8990|   #define SET_NormalP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def343]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:8996:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2014:4: note: in expansion of macro ‘CALL_SecondaryColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2014:4: note: in expansion of macro ‘CALL_SecondaryColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2014:4: note: in expansion of macro ‘CALL_SecondaryColorP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2014:4: note: in expansion of macro ‘CALL_SecondaryColorP3ui’
# 8994|   
# 8995|   typedef void (GLAPIENTRYP _glptr_SecondaryColorP3ui)(GLenum, GLuint);
# 8996|-> #define CALL_SecondaryColorP3ui(disp, parameters) (* GET_SecondaryColorP3ui(disp)) parameters
# 8997|   #define GET_SecondaryColorP3ui(disp) ((_glptr_SecondaryColorP3ui)(GET_by_offset((disp), _gloffset_SecondaryColorP3ui)))
# 8998|   #define SET_SecondaryColorP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9004:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2039:4: note: in expansion of macro ‘CALL_SecondaryColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2039:4: note: in expansion of macro ‘CALL_SecondaryColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2039:4: note: in expansion of macro ‘CALL_SecondaryColorP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2039:4: note: in expansion of macro ‘CALL_SecondaryColorP3uiv’
# 9002|   
# 9003|   typedef void (GLAPIENTRYP _glptr_SecondaryColorP3uiv)(GLenum, const GLuint *);
# 9004|-> #define CALL_SecondaryColorP3uiv(disp, parameters) (* GET_SecondaryColorP3uiv(disp)) parameters
# 9005|   #define GET_SecondaryColorP3uiv(disp) ((_glptr_SecondaryColorP3uiv)(GET_by_offset((disp), _gloffset_SecondaryColorP3uiv)))
# 9006|   #define SET_SecondaryColorP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9012:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1440:4: note: in expansion of macro ‘CALL_TexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1440:4: note: in expansion of macro ‘CALL_TexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1440:4: note: in expansion of macro ‘CALL_TexCoordP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1440:4: note: in expansion of macro ‘CALL_TexCoordP1ui’
# 9010|   
# 9011|   typedef void (GLAPIENTRYP _glptr_TexCoordP1ui)(GLenum, GLuint);
# 9012|-> #define CALL_TexCoordP1ui(disp, parameters) (* GET_TexCoordP1ui(disp)) parameters
# 9013|   #define GET_TexCoordP1ui(disp) ((_glptr_TexCoordP1ui)(GET_by_offset((disp), _gloffset_TexCoordP1ui)))
# 9014|   #define SET_TexCoordP1ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def346]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9020:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1540:4: note: in expansion of macro ‘CALL_TexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1540:4: note: in expansion of macro ‘CALL_TexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1540:4: note: in expansion of macro ‘CALL_TexCoordP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1540:4: note: in expansion of macro ‘CALL_TexCoordP1uiv’
# 9018|   
# 9019|   typedef void (GLAPIENTRYP _glptr_TexCoordP1uiv)(GLenum, const GLuint *);
# 9020|-> #define CALL_TexCoordP1uiv(disp, parameters) (* GET_TexCoordP1uiv(disp)) parameters
# 9021|   #define GET_TexCoordP1uiv(disp) ((_glptr_TexCoordP1uiv)(GET_by_offset((disp), _gloffset_TexCoordP1uiv)))
# 9022|   #define SET_TexCoordP1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def347]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9028:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1465:4: note: in expansion of macro ‘CALL_TexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1465:4: note: in expansion of macro ‘CALL_TexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1465:4: note: in expansion of macro ‘CALL_TexCoordP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1465:4: note: in expansion of macro ‘CALL_TexCoordP2ui’
# 9026|   
# 9027|   typedef void (GLAPIENTRYP _glptr_TexCoordP2ui)(GLenum, GLuint);
# 9028|-> #define CALL_TexCoordP2ui(disp, parameters) (* GET_TexCoordP2ui(disp)) parameters
# 9029|   #define GET_TexCoordP2ui(disp) ((_glptr_TexCoordP2ui)(GET_by_offset((disp), _gloffset_TexCoordP2ui)))
# 9030|   #define SET_TexCoordP2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9036:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1565:4: note: in expansion of macro ‘CALL_TexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1565:4: note: in expansion of macro ‘CALL_TexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1565:4: note: in expansion of macro ‘CALL_TexCoordP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1565:4: note: in expansion of macro ‘CALL_TexCoordP2uiv’
# 9034|   
# 9035|   typedef void (GLAPIENTRYP _glptr_TexCoordP2uiv)(GLenum, const GLuint *);
# 9036|-> #define CALL_TexCoordP2uiv(disp, parameters) (* GET_TexCoordP2uiv(disp)) parameters
# 9037|   #define GET_TexCoordP2uiv(disp) ((_glptr_TexCoordP2uiv)(GET_by_offset((disp), _gloffset_TexCoordP2uiv)))
# 9038|   #define SET_TexCoordP2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def349]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9044:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1490:4: note: in expansion of macro ‘CALL_TexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1490:4: note: in expansion of macro ‘CALL_TexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1490:4: note: in expansion of macro ‘CALL_TexCoordP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1490:4: note: in expansion of macro ‘CALL_TexCoordP3ui’
# 9042|   
# 9043|   typedef void (GLAPIENTRYP _glptr_TexCoordP3ui)(GLenum, GLuint);
# 9044|-> #define CALL_TexCoordP3ui(disp, parameters) (* GET_TexCoordP3ui(disp)) parameters
# 9045|   #define GET_TexCoordP3ui(disp) ((_glptr_TexCoordP3ui)(GET_by_offset((disp), _gloffset_TexCoordP3ui)))
# 9046|   #define SET_TexCoordP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def350]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9052:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1590:4: note: in expansion of macro ‘CALL_TexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1590:4: note: in expansion of macro ‘CALL_TexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1590:4: note: in expansion of macro ‘CALL_TexCoordP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1590:4: note: in expansion of macro ‘CALL_TexCoordP3uiv’
# 9050|   
# 9051|   typedef void (GLAPIENTRYP _glptr_TexCoordP3uiv)(GLenum, const GLuint *);
# 9052|-> #define CALL_TexCoordP3uiv(disp, parameters) (* GET_TexCoordP3uiv(disp)) parameters
# 9053|   #define GET_TexCoordP3uiv(disp) ((_glptr_TexCoordP3uiv)(GET_by_offset((disp), _gloffset_TexCoordP3uiv)))
# 9054|   #define SET_TexCoordP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9060:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1515:4: note: in expansion of macro ‘CALL_TexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1515:4: note: in expansion of macro ‘CALL_TexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1515:4: note: in expansion of macro ‘CALL_TexCoordP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1515:4: note: in expansion of macro ‘CALL_TexCoordP4ui’
# 9058|   
# 9059|   typedef void (GLAPIENTRYP _glptr_TexCoordP4ui)(GLenum, GLuint);
# 9060|-> #define CALL_TexCoordP4ui(disp, parameters) (* GET_TexCoordP4ui(disp)) parameters
# 9061|   #define GET_TexCoordP4ui(disp) ((_glptr_TexCoordP4ui)(GET_by_offset((disp), _gloffset_TexCoordP4ui)))
# 9062|   #define SET_TexCoordP4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9068:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1615:4: note: in expansion of macro ‘CALL_TexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1615:4: note: in expansion of macro ‘CALL_TexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1615:4: note: in expansion of macro ‘CALL_TexCoordP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1615:4: note: in expansion of macro ‘CALL_TexCoordP4uiv’
# 9066|   
# 9067|   typedef void (GLAPIENTRYP _glptr_TexCoordP4uiv)(GLenum, const GLuint *);
# 9068|-> #define CALL_TexCoordP4uiv(disp, parameters) (* GET_TexCoordP4uiv(disp)) parameters
# 9069|   #define GET_TexCoordP4uiv(disp) ((_glptr_TexCoordP4uiv)(GET_by_offset((disp), _gloffset_TexCoordP4uiv)))
# 9070|   #define SET_TexCoordP4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9076:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2068:4: note: in expansion of macro ‘CALL_VertexAttribP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2068:4: note: in expansion of macro ‘CALL_VertexAttribP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2068:4: note: in expansion of macro ‘CALL_VertexAttribP1ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2068:4: note: in expansion of macro ‘CALL_VertexAttribP1ui’
# 9074|   
# 9075|   typedef void (GLAPIENTRYP _glptr_VertexAttribP1ui)(GLuint, GLenum, GLboolean, GLuint);
# 9076|-> #define CALL_VertexAttribP1ui(disp, parameters) (* GET_VertexAttribP1ui(disp)) parameters
# 9077|   #define GET_VertexAttribP1ui(disp) ((_glptr_VertexAttribP1ui)(GET_by_offset((disp), _gloffset_VertexAttribP1ui)))
# 9078|   #define SET_VertexAttribP1ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9084:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2192:4: note: in expansion of macro ‘CALL_VertexAttribP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2192:4: note: in expansion of macro ‘CALL_VertexAttribP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2192:4: note: in expansion of macro ‘CALL_VertexAttribP1uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2192:4: note: in expansion of macro ‘CALL_VertexAttribP1uiv’
# 9082|   
# 9083|   typedef void (GLAPIENTRYP _glptr_VertexAttribP1uiv)(GLuint, GLenum, GLboolean, const GLuint *);
# 9084|-> #define CALL_VertexAttribP1uiv(disp, parameters) (* GET_VertexAttribP1uiv(disp)) parameters
# 9085|   #define GET_VertexAttribP1uiv(disp) ((_glptr_VertexAttribP1uiv)(GET_by_offset((disp), _gloffset_VertexAttribP1uiv)))
# 9086|   #define SET_VertexAttribP1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9092:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2099:4: note: in expansion of macro ‘CALL_VertexAttribP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2099:4: note: in expansion of macro ‘CALL_VertexAttribP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2099:4: note: in expansion of macro ‘CALL_VertexAttribP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2099:4: note: in expansion of macro ‘CALL_VertexAttribP2ui’
# 9090|   
# 9091|   typedef void (GLAPIENTRYP _glptr_VertexAttribP2ui)(GLuint, GLenum, GLboolean, GLuint);
# 9092|-> #define CALL_VertexAttribP2ui(disp, parameters) (* GET_VertexAttribP2ui(disp)) parameters
# 9093|   #define GET_VertexAttribP2ui(disp) ((_glptr_VertexAttribP2ui)(GET_by_offset((disp), _gloffset_VertexAttribP2ui)))
# 9094|   #define SET_VertexAttribP2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def356]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9100:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2223:4: note: in expansion of macro ‘CALL_VertexAttribP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2223:4: note: in expansion of macro ‘CALL_VertexAttribP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2223:4: note: in expansion of macro ‘CALL_VertexAttribP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2223:4: note: in expansion of macro ‘CALL_VertexAttribP2uiv’
# 9098|   
# 9099|   typedef void (GLAPIENTRYP _glptr_VertexAttribP2uiv)(GLuint, GLenum, GLboolean, const GLuint *);
# 9100|-> #define CALL_VertexAttribP2uiv(disp, parameters) (* GET_VertexAttribP2uiv(disp)) parameters
# 9101|   #define GET_VertexAttribP2uiv(disp) ((_glptr_VertexAttribP2uiv)(GET_by_offset((disp), _gloffset_VertexAttribP2uiv)))
# 9102|   #define SET_VertexAttribP2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9108:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2130:4: note: in expansion of macro ‘CALL_VertexAttribP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2130:4: note: in expansion of macro ‘CALL_VertexAttribP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2130:4: note: in expansion of macro ‘CALL_VertexAttribP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2130:4: note: in expansion of macro ‘CALL_VertexAttribP3ui’
# 9106|   
# 9107|   typedef void (GLAPIENTRYP _glptr_VertexAttribP3ui)(GLuint, GLenum, GLboolean, GLuint);
# 9108|-> #define CALL_VertexAttribP3ui(disp, parameters) (* GET_VertexAttribP3ui(disp)) parameters
# 9109|   #define GET_VertexAttribP3ui(disp) ((_glptr_VertexAttribP3ui)(GET_by_offset((disp), _gloffset_VertexAttribP3ui)))
# 9110|   #define SET_VertexAttribP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9116:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2254:4: note: in expansion of macro ‘CALL_VertexAttribP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2254:4: note: in expansion of macro ‘CALL_VertexAttribP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2254:4: note: in expansion of macro ‘CALL_VertexAttribP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2254:4: note: in expansion of macro ‘CALL_VertexAttribP3uiv’
# 9114|   
# 9115|   typedef void (GLAPIENTRYP _glptr_VertexAttribP3uiv)(GLuint, GLenum, GLboolean, const GLuint *);
# 9116|-> #define CALL_VertexAttribP3uiv(disp, parameters) (* GET_VertexAttribP3uiv(disp)) parameters
# 9117|   #define GET_VertexAttribP3uiv(disp) ((_glptr_VertexAttribP3uiv)(GET_by_offset((disp), _gloffset_VertexAttribP3uiv)))
# 9118|   #define SET_VertexAttribP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def359]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9124:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2161:4: note: in expansion of macro ‘CALL_VertexAttribP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2161:4: note: in expansion of macro ‘CALL_VertexAttribP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2161:4: note: in expansion of macro ‘CALL_VertexAttribP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2161:4: note: in expansion of macro ‘CALL_VertexAttribP4ui’
# 9122|   
# 9123|   typedef void (GLAPIENTRYP _glptr_VertexAttribP4ui)(GLuint, GLenum, GLboolean, GLuint);
# 9124|-> #define CALL_VertexAttribP4ui(disp, parameters) (* GET_VertexAttribP4ui(disp)) parameters
# 9125|   #define GET_VertexAttribP4ui(disp) ((_glptr_VertexAttribP4ui)(GET_by_offset((disp), _gloffset_VertexAttribP4ui)))
# 9126|   #define SET_VertexAttribP4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9132:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2285:4: note: in expansion of macro ‘CALL_VertexAttribP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2285:4: note: in expansion of macro ‘CALL_VertexAttribP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2285:4: note: in expansion of macro ‘CALL_VertexAttribP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2285:4: note: in expansion of macro ‘CALL_VertexAttribP4uiv’
# 9130|   
# 9131|   typedef void (GLAPIENTRYP _glptr_VertexAttribP4uiv)(GLuint, GLenum, GLboolean, const GLuint *);
# 9132|-> #define CALL_VertexAttribP4uiv(disp, parameters) (* GET_VertexAttribP4uiv(disp)) parameters
# 9133|   #define GET_VertexAttribP4uiv(disp) ((_glptr_VertexAttribP4uiv)(GET_by_offset((disp), _gloffset_VertexAttribP4uiv)))
# 9134|   #define SET_VertexAttribP4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9140:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1290:4: note: in expansion of macro ‘CALL_VertexP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1290:4: note: in expansion of macro ‘CALL_VertexP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1290:4: note: in expansion of macro ‘CALL_VertexP2ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1290:4: note: in expansion of macro ‘CALL_VertexP2ui’
# 9138|   
# 9139|   typedef void (GLAPIENTRYP _glptr_VertexP2ui)(GLenum, GLuint);
# 9140|-> #define CALL_VertexP2ui(disp, parameters) (* GET_VertexP2ui(disp)) parameters
# 9141|   #define GET_VertexP2ui(disp) ((_glptr_VertexP2ui)(GET_by_offset((disp), _gloffset_VertexP2ui)))
# 9142|   #define SET_VertexP2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9148:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1365:4: note: in expansion of macro ‘CALL_VertexP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1365:4: note: in expansion of macro ‘CALL_VertexP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1365:4: note: in expansion of macro ‘CALL_VertexP2uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1365:4: note: in expansion of macro ‘CALL_VertexP2uiv’
# 9146|   
# 9147|   typedef void (GLAPIENTRYP _glptr_VertexP2uiv)(GLenum, const GLuint *);
# 9148|-> #define CALL_VertexP2uiv(disp, parameters) (* GET_VertexP2uiv(disp)) parameters
# 9149|   #define GET_VertexP2uiv(disp) ((_glptr_VertexP2uiv)(GET_by_offset((disp), _gloffset_VertexP2uiv)))
# 9150|   #define SET_VertexP2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9156:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1315:4: note: in expansion of macro ‘CALL_VertexP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1315:4: note: in expansion of macro ‘CALL_VertexP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1315:4: note: in expansion of macro ‘CALL_VertexP3ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1315:4: note: in expansion of macro ‘CALL_VertexP3ui’
# 9154|   
# 9155|   typedef void (GLAPIENTRYP _glptr_VertexP3ui)(GLenum, GLuint);
# 9156|-> #define CALL_VertexP3ui(disp, parameters) (* GET_VertexP3ui(disp)) parameters
# 9157|   #define GET_VertexP3ui(disp) ((_glptr_VertexP3ui)(GET_by_offset((disp), _gloffset_VertexP3ui)))
# 9158|   #define SET_VertexP3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def364]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9164:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1390:4: note: in expansion of macro ‘CALL_VertexP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1390:4: note: in expansion of macro ‘CALL_VertexP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1390:4: note: in expansion of macro ‘CALL_VertexP3uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1390:4: note: in expansion of macro ‘CALL_VertexP3uiv’
# 9162|   
# 9163|   typedef void (GLAPIENTRYP _glptr_VertexP3uiv)(GLenum, const GLuint *);
# 9164|-> #define CALL_VertexP3uiv(disp, parameters) (* GET_VertexP3uiv(disp)) parameters
# 9165|   #define GET_VertexP3uiv(disp) ((_glptr_VertexP3uiv)(GET_by_offset((disp), _gloffset_VertexP3uiv)))
# 9166|   #define SET_VertexP3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def365]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9172:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1340:4: note: in expansion of macro ‘CALL_VertexP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1340:4: note: in expansion of macro ‘CALL_VertexP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1340:4: note: in expansion of macro ‘CALL_VertexP4ui’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1340:4: note: in expansion of macro ‘CALL_VertexP4ui’
# 9170|   
# 9171|   typedef void (GLAPIENTRYP _glptr_VertexP4ui)(GLenum, GLuint);
# 9172|-> #define CALL_VertexP4ui(disp, parameters) (* GET_VertexP4ui(disp)) parameters
# 9173|   #define GET_VertexP4ui(disp) ((_glptr_VertexP4ui)(GET_by_offset((disp), _gloffset_VertexP4ui)))
# 9174|   #define SET_VertexP4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9180:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1415:4: note: in expansion of macro ‘CALL_VertexP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1415:4: note: in expansion of macro ‘CALL_VertexP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1415:4: note: in expansion of macro ‘CALL_VertexP4uiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1415:4: note: in expansion of macro ‘CALL_VertexP4uiv’
# 9178|   
# 9179|   typedef void (GLAPIENTRYP _glptr_VertexP4uiv)(GLenum, const GLuint *);
# 9180|-> #define CALL_VertexP4uiv(disp, parameters) (* GET_VertexP4uiv(disp)) parameters
# 9181|   #define GET_VertexP4uiv(disp) ((_glptr_VertexP4uiv)(GET_by_offset((disp), _gloffset_VertexP4uiv)))
# 9182|   #define SET_VertexP4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_DrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9188:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1419:4: note: in expansion of macro ‘CALL_DrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1419:4: note: in expansion of macro ‘CALL_DrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1419:4: note: in expansion of macro ‘CALL_DrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1419:4: note: in expansion of macro ‘CALL_DrawArraysIndirect’
# 9186|   
# 9187|   typedef void (GLAPIENTRYP _glptr_DrawArraysIndirect)(GLenum, const GLvoid *);
# 9188|-> #define CALL_DrawArraysIndirect(disp, parameters) (* GET_DrawArraysIndirect(disp)) parameters
# 9189|   #define GET_DrawArraysIndirect(disp) ((_glptr_DrawArraysIndirect)(GET_by_offset((disp), _gloffset_DrawArraysIndirect)))
# 9190|   #define SET_DrawArraysIndirect(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_DrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9196:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1454:4: note: in expansion of macro ‘CALL_DrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1454:4: note: in expansion of macro ‘CALL_DrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1454:4: note: in expansion of macro ‘CALL_DrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1454:4: note: in expansion of macro ‘CALL_DrawElementsIndirect’
# 9194|   
# 9195|   typedef void (GLAPIENTRYP _glptr_DrawElementsIndirect)(GLenum, GLenum, const GLvoid *);
# 9196|-> #define CALL_DrawElementsIndirect(disp, parameters) (* GET_DrawElementsIndirect(disp)) parameters
# 9197|   #define GET_DrawElementsIndirect(disp) ((_glptr_DrawElementsIndirect)(GET_by_offset((disp), _gloffset_DrawElementsIndirect)))
# 9198|   #define SET_DrawElementsIndirect(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9212:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2478:4: note: in expansion of macro ‘CALL_Uniform1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2478:4: note: in expansion of macro ‘CALL_Uniform1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2478:4: note: in expansion of macro ‘CALL_Uniform1d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2478:4: note: in expansion of macro ‘CALL_Uniform1d’
# 9210|   
# 9211|   typedef void (GLAPIENTRYP _glptr_Uniform1d)(GLint, GLdouble);
# 9212|-> #define CALL_Uniform1d(disp, parameters) (* GET_Uniform1d(disp)) parameters
# 9213|   #define GET_Uniform1d(disp) ((_glptr_Uniform1d)(GET_by_offset((disp), _gloffset_Uniform1d)))
# 9214|   #define SET_Uniform1d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9220:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2601:4: note: in expansion of macro ‘CALL_Uniform1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2601:4: note: in expansion of macro ‘CALL_Uniform1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2601:4: note: in expansion of macro ‘CALL_Uniform1dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2601:4: note: in expansion of macro ‘CALL_Uniform1dv’
# 9218|   
# 9219|   typedef void (GLAPIENTRYP _glptr_Uniform1dv)(GLint, GLsizei, const GLdouble *);
# 9220|-> #define CALL_Uniform1dv(disp, parameters) (* GET_Uniform1dv(disp)) parameters
# 9221|   #define GET_Uniform1dv(disp) ((_glptr_Uniform1dv)(GET_by_offset((disp), _gloffset_Uniform1dv)))
# 9222|   #define SET_Uniform1dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9228:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2505:4: note: in expansion of macro ‘CALL_Uniform2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2505:4: note: in expansion of macro ‘CALL_Uniform2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2505:4: note: in expansion of macro ‘CALL_Uniform2d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2505:4: note: in expansion of macro ‘CALL_Uniform2d’
# 9226|   
# 9227|   typedef void (GLAPIENTRYP _glptr_Uniform2d)(GLint, GLdouble, GLdouble);
# 9228|-> #define CALL_Uniform2d(disp, parameters) (* GET_Uniform2d(disp)) parameters
# 9229|   #define GET_Uniform2d(disp) ((_glptr_Uniform2d)(GET_by_offset((disp), _gloffset_Uniform2d)))
# 9230|   #define SET_Uniform2d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def372]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9236:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2640:4: note: in expansion of macro ‘CALL_Uniform2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2640:4: note: in expansion of macro ‘CALL_Uniform2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2640:4: note: in expansion of macro ‘CALL_Uniform2dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2640:4: note: in expansion of macro ‘CALL_Uniform2dv’
# 9234|   
# 9235|   typedef void (GLAPIENTRYP _glptr_Uniform2dv)(GLint, GLsizei, const GLdouble *);
# 9236|-> #define CALL_Uniform2dv(disp, parameters) (* GET_Uniform2dv(disp)) parameters
# 9237|   #define GET_Uniform2dv(disp) ((_glptr_Uniform2dv)(GET_by_offset((disp), _gloffset_Uniform2dv)))
# 9238|   #define SET_Uniform2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def373]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9244:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2535:4: note: in expansion of macro ‘CALL_Uniform3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2535:4: note: in expansion of macro ‘CALL_Uniform3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2535:4: note: in expansion of macro ‘CALL_Uniform3d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2535:4: note: in expansion of macro ‘CALL_Uniform3d’
# 9242|   
# 9243|   typedef void (GLAPIENTRYP _glptr_Uniform3d)(GLint, GLdouble, GLdouble, GLdouble);
# 9244|-> #define CALL_Uniform3d(disp, parameters) (* GET_Uniform3d(disp)) parameters
# 9245|   #define GET_Uniform3d(disp) ((_glptr_Uniform3d)(GET_by_offset((disp), _gloffset_Uniform3d)))
# 9246|   #define SET_Uniform3d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def374]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9252:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2679:4: note: in expansion of macro ‘CALL_Uniform3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2679:4: note: in expansion of macro ‘CALL_Uniform3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2679:4: note: in expansion of macro ‘CALL_Uniform3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2679:4: note: in expansion of macro ‘CALL_Uniform3dv’
# 9250|   
# 9251|   typedef void (GLAPIENTRYP _glptr_Uniform3dv)(GLint, GLsizei, const GLdouble *);
# 9252|-> #define CALL_Uniform3dv(disp, parameters) (* GET_Uniform3dv(disp)) parameters
# 9253|   #define GET_Uniform3dv(disp) ((_glptr_Uniform3dv)(GET_by_offset((disp), _gloffset_Uniform3dv)))
# 9254|   #define SET_Uniform3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9260:43: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2568:4: note: in expansion of macro ‘CALL_Uniform4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2568:4: note: in expansion of macro ‘CALL_Uniform4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2568:4: note: in expansion of macro ‘CALL_Uniform4d’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2568:4: note: in expansion of macro ‘CALL_Uniform4d’
# 9258|   
# 9259|   typedef void (GLAPIENTRYP _glptr_Uniform4d)(GLint, GLdouble, GLdouble, GLdouble, GLdouble);
# 9260|-> #define CALL_Uniform4d(disp, parameters) (* GET_Uniform4d(disp)) parameters
# 9261|   #define GET_Uniform4d(disp) ((_glptr_Uniform4d)(GET_by_offset((disp), _gloffset_Uniform4d)))
# 9262|   #define SET_Uniform4d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveSubroutineName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9348:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2347:4: note: in expansion of macro ‘CALL_GetActiveSubroutineName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2347:4: note: in expansion of macro ‘CALL_GetActiveSubroutineName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2347:4: note: in expansion of macro ‘CALL_GetActiveSubroutineName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2347:4: note: in expansion of macro ‘CALL_GetActiveSubroutineName’
# 9346|   
# 9347|   typedef void (GLAPIENTRYP _glptr_GetActiveSubroutineName)(GLuint, GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
# 9348|-> #define CALL_GetActiveSubroutineName(disp, parameters) (* GET_GetActiveSubroutineName(disp)) parameters
# 9349|   #define GET_GetActiveSubroutineName(disp) ((_glptr_GetActiveSubroutineName)(GET_by_offset((disp), _gloffset_GetActiveSubroutineName)))
# 9350|   #define SET_GetActiveSubroutineName(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveSubroutineUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9356:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2337:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2337:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2337:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2337:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformName’
# 9354|   
# 9355|   typedef void (GLAPIENTRYP _glptr_GetActiveSubroutineUniformName)(GLuint, GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
# 9356|-> #define CALL_GetActiveSubroutineUniformName(disp, parameters) (* GET_GetActiveSubroutineUniformName(disp)) parameters
# 9357|   #define GET_GetActiveSubroutineUniformName(disp) ((_glptr_GetActiveSubroutineUniformName)(GET_by_offset((disp), _gloffset_GetActiveSubroutineUniformName)))
# 9358|   #define SET_GetActiveSubroutineUniformName(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetActiveSubroutineUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9364:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2327:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2327:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2327:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2327:4: note: in expansion of macro ‘CALL_GetActiveSubroutineUniformiv’
# 9362|   
# 9363|   typedef void (GLAPIENTRYP _glptr_GetActiveSubroutineUniformiv)(GLuint, GLenum, GLuint, GLenum, GLint *);
# 9364|-> #define CALL_GetActiveSubroutineUniformiv(disp, parameters) (* GET_GetActiveSubroutineUniformiv(disp)) parameters
# 9365|   #define GET_GetActiveSubroutineUniformiv(disp) ((_glptr_GetActiveSubroutineUniformiv)(GET_by_offset((disp), _gloffset_GetActiveSubroutineUniformiv)))
# 9366|   #define SET_GetActiveSubroutineUniformiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def379]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetProgramStageiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9372:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2406:4: note: in expansion of macro ‘CALL_GetProgramStageiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2406:4: note: in expansion of macro ‘CALL_GetProgramStageiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2406:4: note: in expansion of macro ‘CALL_GetProgramStageiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2406:4: note: in expansion of macro ‘CALL_GetProgramStageiv’
# 9370|   
# 9371|   typedef void (GLAPIENTRYP _glptr_GetProgramStageiv)(GLuint, GLenum, GLenum, GLint *);
# 9372|-> #define CALL_GetProgramStageiv(disp, parameters) (* GET_GetProgramStageiv(disp)) parameters
# 9373|   #define GET_GetProgramStageiv(disp) ((_glptr_GetProgramStageiv)(GET_by_offset((disp), _gloffset_GetProgramStageiv)))
# 9374|   #define SET_GetProgramStageiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def380]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSubroutineIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9380:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2317:11: note: in expansion of macro ‘CALL_GetSubroutineIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2317:11: note: in expansion of macro ‘CALL_GetSubroutineIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2317:11: note: in expansion of macro ‘CALL_GetSubroutineIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2317:11: note: in expansion of macro ‘CALL_GetSubroutineIndex’
# 9378|   
# 9379|   typedef GLuint (GLAPIENTRYP _glptr_GetSubroutineIndex)(GLuint, GLenum, const GLchar *);
# 9380|-> #define CALL_GetSubroutineIndex(disp, parameters) (* GET_GetSubroutineIndex(disp)) parameters
# 9381|   #define GET_GetSubroutineIndex(disp) ((_glptr_GetSubroutineIndex)(GET_by_offset((disp), _gloffset_GetSubroutineIndex)))
# 9382|   #define SET_GetSubroutineIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetSubroutineUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9388:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2307:11: note: in expansion of macro ‘CALL_GetSubroutineUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2307:11: note: in expansion of macro ‘CALL_GetSubroutineUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2307:11: note: in expansion of macro ‘CALL_GetSubroutineUniformLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2307:11: note: in expansion of macro ‘CALL_GetSubroutineUniformLocation’
# 9386|   
# 9387|   typedef GLint (GLAPIENTRYP _glptr_GetSubroutineUniformLocation)(GLuint, GLenum, const GLchar *);
# 9388|-> #define CALL_GetSubroutineUniformLocation(disp, parameters) (* GET_GetSubroutineUniformLocation(disp)) parameters
# 9389|   #define GET_GetSubroutineUniformLocation(disp) ((_glptr_GetSubroutineUniformLocation)(GET_by_offset((disp), _gloffset_GetSubroutineUniformLocation)))
# 9390|   #define SET_GetSubroutineUniformLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetUniformSubroutineuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9396:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2396:4: note: in expansion of macro ‘CALL_GetUniformSubroutineuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2396:4: note: in expansion of macro ‘CALL_GetUniformSubroutineuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2396:4: note: in expansion of macro ‘CALL_GetUniformSubroutineuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2396:4: note: in expansion of macro ‘CALL_GetUniformSubroutineuiv’
# 9394|   
# 9395|   typedef void (GLAPIENTRYP _glptr_GetUniformSubroutineuiv)(GLenum, GLint, GLuint *);
# 9396|-> #define CALL_GetUniformSubroutineuiv(disp, parameters) (* GET_GetUniformSubroutineuiv(disp)) parameters
# 9397|   #define GET_GetUniformSubroutineuiv(disp) ((_glptr_GetUniformSubroutineuiv)(GET_by_offset((disp), _gloffset_GetUniformSubroutineuiv)))
# 9398|   #define SET_GetUniformSubroutineuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformSubroutinesuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9404:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2367:4: note: in expansion of macro ‘CALL_UniformSubroutinesuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2367:4: note: in expansion of macro ‘CALL_UniformSubroutinesuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2367:4: note: in expansion of macro ‘CALL_UniformSubroutinesuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2367:4: note: in expansion of macro ‘CALL_UniformSubroutinesuiv’
# 9402|   
# 9403|   typedef void (GLAPIENTRYP _glptr_UniformSubroutinesuiv)(GLenum, GLsizei, const GLuint *);
# 9404|-> #define CALL_UniformSubroutinesuiv(disp, parameters) (* GET_UniformSubroutinesuiv(disp)) parameters
# 9405|   #define GET_UniformSubroutinesuiv(disp) ((_glptr_UniformSubroutinesuiv)(GET_by_offset((disp), _gloffset_UniformSubroutinesuiv)))
# 9406|   #define SET_UniformSubroutinesuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_PatchParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9412:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2449:4: note: in expansion of macro ‘CALL_PatchParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2449:4: note: in expansion of macro ‘CALL_PatchParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2449:4: note: in expansion of macro ‘CALL_PatchParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2449:4: note: in expansion of macro ‘CALL_PatchParameterfv’
# 9410|   
# 9411|   typedef void (GLAPIENTRYP _glptr_PatchParameterfv)(GLenum, const GLfloat *);
# 9412|-> #define CALL_PatchParameterfv(disp, parameters) (* GET_PatchParameterfv(disp)) parameters
# 9413|   #define GET_PatchParameterfv(disp) ((_glptr_PatchParameterfv)(GET_by_offset((disp), _gloffset_PatchParameterfv)))
# 9414|   #define SET_PatchParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_PatchParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9420:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2421:4: note: in expansion of macro ‘CALL_PatchParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2421:4: note: in expansion of macro ‘CALL_PatchParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2421:4: note: in expansion of macro ‘CALL_PatchParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2421:4: note: in expansion of macro ‘CALL_PatchParameteri’
# 9418|   
# 9419|   typedef void (GLAPIENTRYP _glptr_PatchParameteri)(GLenum, GLint);
# 9420|-> #define CALL_PatchParameteri(disp, parameters) (* GET_PatchParameteri(disp)) parameters
# 9421|   #define GET_PatchParameteri(disp) ((_glptr_PatchParameteri)(GET_by_offset((disp), _gloffset_PatchParameteri)))
# 9422|   #define SET_PatchParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BindTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9428:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:935:4: note: in expansion of macro ‘CALL_BindTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:935:4: note: in expansion of macro ‘CALL_BindTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:935:4: note: in expansion of macro ‘CALL_BindTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:935:4: note: in expansion of macro ‘CALL_BindTransformFeedback’
# 9426|   
# 9427|   typedef void (GLAPIENTRYP _glptr_BindTransformFeedback)(GLenum, GLuint);
# 9428|-> #define CALL_BindTransformFeedback(disp, parameters) (* GET_BindTransformFeedback(disp)) parameters
# 9429|   #define GET_BindTransformFeedback(disp) ((_glptr_BindTransformFeedback)(GET_by_offset((disp), _gloffset_BindTransformFeedback)))
# 9430|   #define SET_BindTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_DeleteTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9436:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:963:4: note: in expansion of macro ‘CALL_DeleteTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:963:4: note: in expansion of macro ‘CALL_DeleteTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:963:4: note: in expansion of macro ‘CALL_DeleteTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:963:4: note: in expansion of macro ‘CALL_DeleteTransformFeedbacks’
# 9434|   
# 9435|   typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks)(GLsizei, const GLuint *);
# 9436|-> #define CALL_DeleteTransformFeedbacks(disp, parameters) (* GET_DeleteTransformFeedbacks(disp)) parameters
# 9437|   #define GET_DeleteTransformFeedbacks(disp) ((_glptr_DeleteTransformFeedbacks)(GET_by_offset((disp), _gloffset_DeleteTransformFeedbacks)))
# 9438|   #define SET_DeleteTransformFeedbacks(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def388]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_DrawTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9444:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1054:4: note: in expansion of macro ‘CALL_DrawTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1054:4: note: in expansion of macro ‘CALL_DrawTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1054:4: note: in expansion of macro ‘CALL_DrawTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1054:4: note: in expansion of macro ‘CALL_DrawTransformFeedback’
# 9442|   
# 9443|   typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback)(GLenum, GLuint);
# 9444|-> #define CALL_DrawTransformFeedback(disp, parameters) (* GET_DrawTransformFeedback(disp)) parameters
# 9445|   #define GET_DrawTransformFeedback(disp) ((_glptr_DrawTransformFeedback)(GET_by_offset((disp), _gloffset_DrawTransformFeedback)))
# 9446|   #define SET_DrawTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GenTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9452:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:991:4: note: in expansion of macro ‘CALL_GenTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:991:4: note: in expansion of macro ‘CALL_GenTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:991:4: note: in expansion of macro ‘CALL_GenTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:991:4: note: in expansion of macro ‘CALL_GenTransformFeedbacks’
# 9450|   
# 9451|   typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks)(GLsizei, GLuint *);
# 9452|-> #define CALL_GenTransformFeedbacks(disp, parameters) (* GET_GenTransformFeedbacks(disp)) parameters
# 9453|   #define GET_GenTransformFeedbacks(disp) ((_glptr_GenTransformFeedbacks)(GET_by_offset((disp), _gloffset_GenTransformFeedbacks)))
# 9454|   #define SET_GenTransformFeedbacks(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_IsTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9460:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1001:11: note: in expansion of macro ‘CALL_IsTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1001:11: note: in expansion of macro ‘CALL_IsTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1001:11: note: in expansion of macro ‘CALL_IsTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1001:11: note: in expansion of macro ‘CALL_IsTransformFeedback’
# 9458|   
# 9459|   typedef GLboolean (GLAPIENTRYP _glptr_IsTransformFeedback)(GLuint);
# 9460|-> #define CALL_IsTransformFeedback(disp, parameters) (* GET_IsTransformFeedback(disp)) parameters
# 9461|   #define GET_IsTransformFeedback(disp) ((_glptr_IsTransformFeedback)(GET_by_offset((disp), _gloffset_IsTransformFeedback)))
# 9462|   #define SET_IsTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def391]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_PauseTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9468:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1012:4: note: in expansion of macro ‘CALL_PauseTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1012:4: note: in expansion of macro ‘CALL_PauseTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1012:4: note: in expansion of macro ‘CALL_PauseTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1012:4: note: in expansion of macro ‘CALL_PauseTransformFeedback’
# 9466|   
# 9467|   typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback)(void);
# 9468|-> #define CALL_PauseTransformFeedback(disp, parameters) (* GET_PauseTransformFeedback(disp)) parameters
# 9469|   #define GET_PauseTransformFeedback(disp) ((_glptr_PauseTransformFeedback)(GET_by_offset((disp), _gloffset_PauseTransformFeedback)))
# 9470|   #define SET_PauseTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def392]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_ResumeTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9476:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1031:4: note: in expansion of macro ‘CALL_ResumeTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1031:4: note: in expansion of macro ‘CALL_ResumeTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1031:4: note: in expansion of macro ‘CALL_ResumeTransformFeedback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1031:4: note: in expansion of macro ‘CALL_ResumeTransformFeedback’
# 9474|   
# 9475|   typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback)(void);
# 9476|-> #define CALL_ResumeTransformFeedback(disp, parameters) (* GET_ResumeTransformFeedback(disp)) parameters
# 9477|   #define GET_ResumeTransformFeedback(disp) ((_glptr_ResumeTransformFeedback)(GET_by_offset((disp), _gloffset_ResumeTransformFeedback)))
# 9478|   #define SET_ResumeTransformFeedback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClearDepthf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9516:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:331:4: note: in expansion of macro ‘CALL_ClearDepthf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:331:4: note: in expansion of macro ‘CALL_ClearDepthf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:331:4: note: in expansion of macro ‘CALL_ClearDepthf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:331:4: note: in expansion of macro ‘CALL_ClearDepthf’
# 9514|   
# 9515|   typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf);
# 9516|-> #define CALL_ClearDepthf(disp, parameters) (* GET_ClearDepthf(disp)) parameters
# 9517|   #define GET_ClearDepthf(disp) ((_glptr_ClearDepthf)(GET_by_offset((disp), _gloffset_ClearDepthf)))
# 9518|   #define SET_ClearDepthf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def394]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DepthRangef’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9524:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:355:4: note: in expansion of macro ‘CALL_DepthRangef’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:355:4: note: in expansion of macro ‘CALL_DepthRangef’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:355:4: note: in expansion of macro ‘CALL_DepthRangef’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:355:4: note: in expansion of macro ‘CALL_DepthRangef’
# 9522|   
# 9523|   typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf);
# 9524|-> #define CALL_DepthRangef(disp, parameters) (* GET_DepthRangef(disp)) parameters
# 9525|   #define GET_DepthRangef(disp) ((_glptr_DepthRangef)(GET_by_offset((disp), _gloffset_DepthRangef)))
# 9526|   #define SET_DepthRangef(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def395]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetShaderPrecisionFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9532:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:250:4: note: in expansion of macro ‘CALL_GetShaderPrecisionFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:250:4: note: in expansion of macro ‘CALL_GetShaderPrecisionFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:250:4: note: in expansion of macro ‘CALL_GetShaderPrecisionFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:250:4: note: in expansion of macro ‘CALL_GetShaderPrecisionFormat’
# 9530|   
# 9531|   typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *);
# 9532|-> #define CALL_GetShaderPrecisionFormat(disp, parameters) (* GET_GetShaderPrecisionFormat(disp)) parameters
# 9533|   #define GET_GetShaderPrecisionFormat(disp) ((_glptr_GetShaderPrecisionFormat)(GET_by_offset((disp), _gloffset_GetShaderPrecisionFormat)))
# 9534|   #define SET_GetShaderPrecisionFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def396]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ReleaseShaderCompiler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9540:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:261:4: note: in expansion of macro ‘CALL_ReleaseShaderCompiler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:261:4: note: in expansion of macro ‘CALL_ReleaseShaderCompiler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:261:4: note: in expansion of macro ‘CALL_ReleaseShaderCompiler’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:261:4: note: in expansion of macro ‘CALL_ReleaseShaderCompiler’
# 9538|   
# 9539|   typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler)(void);
# 9540|-> #define CALL_ReleaseShaderCompiler(disp, parameters) (* GET_ReleaseShaderCompiler(disp)) parameters
# 9541|   #define GET_ReleaseShaderCompiler(disp) ((_glptr_ReleaseShaderCompiler)(GET_by_offset((disp), _gloffset_ReleaseShaderCompiler)))
# 9542|   #define SET_ReleaseShaderCompiler(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ShaderBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9548:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:295:4: note: in expansion of macro ‘CALL_ShaderBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:295:4: note: in expansion of macro ‘CALL_ShaderBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:295:4: note: in expansion of macro ‘CALL_ShaderBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:295:4: note: in expansion of macro ‘CALL_ShaderBinary’
# 9546|   
# 9547|   typedef void (GLAPIENTRYP _glptr_ShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei);
# 9548|-> #define CALL_ShaderBinary(disp, parameters) (* GET_ShaderBinary(disp)) parameters
# 9549|   #define GET_ShaderBinary(disp) ((_glptr_ShaderBinary)(GET_by_offset((disp), _gloffset_ShaderBinary)))
# 9550|   #define SET_ShaderBinary(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9556:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:375:4: note: in expansion of macro ‘CALL_GetProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:375:4: note: in expansion of macro ‘CALL_GetProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:375:4: note: in expansion of macro ‘CALL_GetProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:375:4: note: in expansion of macro ‘CALL_GetProgramBinary’
# 9554|   
# 9555|   typedef void (GLAPIENTRYP _glptr_GetProgramBinary)(GLuint, GLsizei, GLsizei *, GLenum *, GLvoid *);
# 9556|-> #define CALL_GetProgramBinary(disp, parameters) (* GET_GetProgramBinary(disp)) parameters
# 9557|   #define GET_GetProgramBinary(disp) ((_glptr_GetProgramBinary)(GET_by_offset((disp), _gloffset_GetProgramBinary)))
# 9558|   #define SET_GetProgramBinary(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9564:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:397:4: note: in expansion of macro ‘CALL_ProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:397:4: note: in expansion of macro ‘CALL_ProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:397:4: note: in expansion of macro ‘CALL_ProgramBinary’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:397:4: note: in expansion of macro ‘CALL_ProgramBinary’
# 9562|   
# 9563|   typedef void (GLAPIENTRYP _glptr_ProgramBinary)(GLuint, GLenum, const GLvoid *, GLsizei);
# 9564|-> #define CALL_ProgramBinary(disp, parameters) (* GET_ProgramBinary(disp)) parameters
# 9565|   #define GET_ProgramBinary(disp) ((_glptr_ProgramBinary)(GET_by_offset((disp), _gloffset_ProgramBinary)))
# 9566|   #define SET_ProgramBinary(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ProgramParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9572:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:434:4: note: in expansion of macro ‘CALL_ProgramParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:434:4: note: in expansion of macro ‘CALL_ProgramParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:434:4: note: in expansion of macro ‘CALL_ProgramParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:434:4: note: in expansion of macro ‘CALL_ProgramParameteri’
# 9570|   
# 9571|   typedef void (GLAPIENTRYP _glptr_ProgramParameteri)(GLuint, GLenum, GLint);
# 9572|-> #define CALL_ProgramParameteri(disp, parameters) (* GET_ProgramParameteri(disp)) parameters
# 9573|   #define GET_ProgramParameteri(disp) ((_glptr_ProgramParameteri)(GET_by_offset((disp), _gloffset_ProgramParameteri)))
# 9574|   #define SET_ProgramParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribLdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9580:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:164:4: note: in expansion of macro ‘CALL_GetVertexAttribLdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:164:4: note: in expansion of macro ‘CALL_GetVertexAttribLdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:164:4: note: in expansion of macro ‘CALL_GetVertexAttribLdv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:164:4: note: in expansion of macro ‘CALL_GetVertexAttribLdv’
# 9578|   
# 9579|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribLdv)(GLuint, GLenum, GLdouble *);
# 9580|-> #define CALL_GetVertexAttribLdv(disp, parameters) (* GET_GetVertexAttribLdv(disp)) parameters
# 9581|   #define GET_GetVertexAttribLdv(disp) ((_glptr_GetVertexAttribLdv)(GET_by_offset((disp), _gloffset_GetVertexAttribLdv)))
# 9582|   #define SET_GetVertexAttribLdv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9628:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:55:4: note: in expansion of macro ‘CALL_VertexAttribL3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:55:4: note: in expansion of macro ‘CALL_VertexAttribL3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:55:4: note: in expansion of macro ‘CALL_VertexAttribL3dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:55:4: note: in expansion of macro ‘CALL_VertexAttribL3dv’
# 9626|   
# 9627|   typedef void (GLAPIENTRYP _glptr_VertexAttribL3dv)(GLuint, const GLdouble *);
# 9628|-> #define CALL_VertexAttribL3dv(disp, parameters) (* GET_VertexAttribL3dv(disp)) parameters
# 9629|   #define GET_VertexAttribL3dv(disp) ((_glptr_VertexAttribL3dv)(GET_by_offset((disp), _gloffset_VertexAttribL3dv)))
# 9630|   #define SET_VertexAttribL3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9644:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:80:4: note: in expansion of macro ‘CALL_VertexAttribL4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:80:4: note: in expansion of macro ‘CALL_VertexAttribL4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:80:4: note: in expansion of macro ‘CALL_VertexAttribL4dv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:80:4: note: in expansion of macro ‘CALL_VertexAttribL4dv’
# 9642|   
# 9643|   typedef void (GLAPIENTRYP _glptr_VertexAttribL4dv)(GLuint, const GLdouble *);
# 9644|-> #define CALL_VertexAttribL4dv(disp, parameters) (* GET_VertexAttribL4dv(disp)) parameters
# 9645|   #define GET_VertexAttribL4dv(disp) ((_glptr_VertexAttribL4dv)(GET_by_offset((disp), _gloffset_VertexAttribL4dv)))
# 9646|   #define SET_VertexAttribL4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribLPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9652:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:120:4: note: in expansion of macro ‘CALL_VertexAttribLPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:120:4: note: in expansion of macro ‘CALL_VertexAttribLPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:120:4: note: in expansion of macro ‘CALL_VertexAttribLPointer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:120:4: note: in expansion of macro ‘CALL_VertexAttribLPointer’
# 9650|   
# 9651|   typedef void (GLAPIENTRYP _glptr_VertexAttribLPointer)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
# 9652|-> #define CALL_VertexAttribLPointer(disp, parameters) (* GET_VertexAttribLPointer(disp)) parameters
# 9653|   #define GET_VertexAttribLPointer(disp) ((_glptr_VertexAttribLPointer)(GET_by_offset((disp), _gloffset_VertexAttribLPointer)))
# 9654|   #define SET_VertexAttribLPointer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetGraphicsResetStatusARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9740:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:571:11: note: in expansion of macro ‘CALL_GetGraphicsResetStatusARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:571:11: note: in expansion of macro ‘CALL_GetGraphicsResetStatusARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:571:11: note: in expansion of macro ‘CALL_GetGraphicsResetStatusARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:571:11: note: in expansion of macro ‘CALL_GetGraphicsResetStatusARB’
# 9738|   
# 9739|   typedef GLenum (GLAPIENTRYP _glptr_GetGraphicsResetStatusARB)(void);
# 9740|-> #define CALL_GetGraphicsResetStatusARB(disp, parameters) (* GET_GetGraphicsResetStatusARB(disp)) parameters
# 9741|   #define GET_GetGraphicsResetStatusARB(disp) ((_glptr_GetGraphicsResetStatusARB)(GET_by_offset((disp), _gloffset_GetGraphicsResetStatusARB)))
# 9742|   #define SET_GetGraphicsResetStatusARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GetnCompressedTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9756:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:770:4: note: in expansion of macro ‘CALL_GetnCompressedTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:770:4: note: in expansion of macro ‘CALL_GetnCompressedTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:770:4: note: in expansion of macro ‘CALL_GetnCompressedTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:770:4: note: in expansion of macro ‘CALL_GetnCompressedTexImageARB’
# 9754|   
# 9755|   typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *);
# 9756|-> #define CALL_GetnCompressedTexImageARB(disp, parameters) (* GET_GetnCompressedTexImageARB(disp)) parameters
# 9757|   #define GET_GetnCompressedTexImageARB(disp) ((_glptr_GetnCompressedTexImageARB)(GET_by_offset((disp), _gloffset_GetnCompressedTexImageARB)))
# 9758|   #define SET_GetnCompressedTexImageARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnMapdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9780:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:581:4: note: in expansion of macro ‘CALL_GetnMapdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:581:4: note: in expansion of macro ‘CALL_GetnMapdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:581:4: note: in expansion of macro ‘CALL_GetnMapdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:581:4: note: in expansion of macro ‘CALL_GetnMapdvARB’
# 9778|   
# 9779|   typedef void (GLAPIENTRYP _glptr_GetnMapdvARB)(GLenum, GLenum, GLsizei, GLdouble *);
# 9780|-> #define CALL_GetnMapdvARB(disp, parameters) (* GET_GetnMapdvARB(disp)) parameters
# 9781|   #define GET_GetnMapdvARB(disp) ((_glptr_GetnMapdvARB)(GET_by_offset((disp), _gloffset_GetnMapdvARB)))
# 9782|   #define SET_GetnMapdvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9788:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:591:4: note: in expansion of macro ‘CALL_GetnMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:591:4: note: in expansion of macro ‘CALL_GetnMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:591:4: note: in expansion of macro ‘CALL_GetnMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:591:4: note: in expansion of macro ‘CALL_GetnMapfvARB’
# 9786|   
# 9787|   typedef void (GLAPIENTRYP _glptr_GetnMapfvARB)(GLenum, GLenum, GLsizei, GLfloat *);
# 9788|-> #define CALL_GetnMapfvARB(disp, parameters) (* GET_GetnMapfvARB(disp)) parameters
# 9789|   #define GET_GetnMapfvARB(disp) ((_glptr_GetnMapfvARB)(GET_by_offset((disp), _gloffset_GetnMapfvARB)))
# 9790|   #define SET_GetnMapfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnMapivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9796:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:601:4: note: in expansion of macro ‘CALL_GetnMapivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:601:4: note: in expansion of macro ‘CALL_GetnMapivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:601:4: note: in expansion of macro ‘CALL_GetnMapivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:601:4: note: in expansion of macro ‘CALL_GetnMapivARB’
# 9794|   
# 9795|   typedef void (GLAPIENTRYP _glptr_GetnMapivARB)(GLenum, GLenum, GLsizei, GLint *);
# 9796|-> #define CALL_GetnMapivARB(disp, parameters) (* GET_GetnMapivARB(disp)) parameters
# 9797|   #define GET_GetnMapivARB(disp) ((_glptr_GetnMapivARB)(GET_by_offset((disp), _gloffset_GetnMapivARB)))
# 9798|   #define SET_GetnMapivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnPixelMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9812:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:611:4: note: in expansion of macro ‘CALL_GetnPixelMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:611:4: note: in expansion of macro ‘CALL_GetnPixelMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:611:4: note: in expansion of macro ‘CALL_GetnPixelMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:611:4: note: in expansion of macro ‘CALL_GetnPixelMapfvARB’
# 9810|   
# 9811|   typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB)(GLenum, GLsizei, GLfloat *);
# 9812|-> #define CALL_GetnPixelMapfvARB(disp, parameters) (* GET_GetnPixelMapfvARB(disp)) parameters
# 9813|   #define GET_GetnPixelMapfvARB(disp) ((_glptr_GetnPixelMapfvARB)(GET_by_offset((disp), _gloffset_GetnPixelMapfvARB)))
# 9814|   #define SET_GetnPixelMapfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnPixelMapuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9820:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:621:4: note: in expansion of macro ‘CALL_GetnPixelMapuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:621:4: note: in expansion of macro ‘CALL_GetnPixelMapuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:621:4: note: in expansion of macro ‘CALL_GetnPixelMapuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:621:4: note: in expansion of macro ‘CALL_GetnPixelMapuivARB’
# 9818|   
# 9819|   typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB)(GLenum, GLsizei, GLuint *);
# 9820|-> #define CALL_GetnPixelMapuivARB(disp, parameters) (* GET_GetnPixelMapuivARB(disp)) parameters
# 9821|   #define GET_GetnPixelMapuivARB(disp) ((_glptr_GetnPixelMapuivARB)(GET_by_offset((disp), _gloffset_GetnPixelMapuivARB)))
# 9822|   #define SET_GetnPixelMapuivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def412]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnPixelMapusvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9828:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:631:4: note: in expansion of macro ‘CALL_GetnPixelMapusvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:631:4: note: in expansion of macro ‘CALL_GetnPixelMapusvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:631:4: note: in expansion of macro ‘CALL_GetnPixelMapusvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:631:4: note: in expansion of macro ‘CALL_GetnPixelMapusvARB’
# 9826|   
# 9827|   typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB)(GLenum, GLsizei, GLushort *);
# 9828|-> #define CALL_GetnPixelMapusvARB(disp, parameters) (* GET_GetnPixelMapusvARB(disp)) parameters
# 9829|   #define GET_GetnPixelMapusvARB(disp) ((_glptr_GetnPixelMapusvARB)(GET_by_offset((disp), _gloffset_GetnPixelMapusvARB)))
# 9830|   #define SET_GetnPixelMapusvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def413]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GetnPolygonStippleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9836:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:646:4: note: in expansion of macro ‘CALL_GetnPolygonStippleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:646:4: note: in expansion of macro ‘CALL_GetnPolygonStippleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:646:4: note: in expansion of macro ‘CALL_GetnPolygonStippleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:646:4: note: in expansion of macro ‘CALL_GetnPolygonStippleARB’
# 9834|   
# 9835|   typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB)(GLsizei, GLubyte *);
# 9836|-> #define CALL_GetnPolygonStippleARB(disp, parameters) (* GET_GetnPolygonStippleARB(disp)) parameters
# 9837|   #define GET_GetnPolygonStippleARB(disp) ((_glptr_GetnPolygonStippleARB)(GET_by_offset((disp), _gloffset_GetnPolygonStippleARB)))
# 9838|   #define SET_GetnPolygonStippleARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def414]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GetnTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9852:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:684:4: note: in expansion of macro ‘CALL_GetnTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:684:4: note: in expansion of macro ‘CALL_GetnTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:684:4: note: in expansion of macro ‘CALL_GetnTexImageARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:684:4: note: in expansion of macro ‘CALL_GetnTexImageARB’
# 9850|   
# 9851|   typedef void (GLAPIENTRYP _glptr_GetnTexImageARB)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *);
# 9852|-> #define CALL_GetnTexImageARB(disp, parameters) (* GET_GetnTexImageARB(disp)) parameters
# 9853|   #define GET_GetnTexImageARB(disp) ((_glptr_GetnTexImageARB)(GET_by_offset((disp), _gloffset_GetnTexImageARB)))
# 9854|   #define SET_GetnTexImageARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def415]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnUniformdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9860:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:827:4: note: in expansion of macro ‘CALL_GetnUniformdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:827:4: note: in expansion of macro ‘CALL_GetnUniformdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:827:4: note: in expansion of macro ‘CALL_GetnUniformdvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:827:4: note: in expansion of macro ‘CALL_GetnUniformdvARB’
# 9858|   
# 9859|   typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB)(GLuint, GLint, GLsizei, GLdouble *);
# 9860|-> #define CALL_GetnUniformdvARB(disp, parameters) (* GET_GetnUniformdvARB(disp)) parameters
# 9861|   #define GET_GetnUniformdvARB(disp) ((_glptr_GetnUniformdvARB)(GET_by_offset((disp), _gloffset_GetnUniformdvARB)))
# 9862|   #define SET_GetnUniformdvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def416]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnUniformfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9868:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:797:4: note: in expansion of macro ‘CALL_GetnUniformfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:797:4: note: in expansion of macro ‘CALL_GetnUniformfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:797:4: note: in expansion of macro ‘CALL_GetnUniformfvARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:797:4: note: in expansion of macro ‘CALL_GetnUniformfvARB’
# 9866|   
# 9867|   typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB)(GLuint, GLint, GLsizei, GLfloat *);
# 9868|-> #define CALL_GetnUniformfvARB(disp, parameters) (* GET_GetnUniformfvARB(disp)) parameters
# 9869|   #define GET_GetnUniformfvARB(disp) ((_glptr_GetnUniformfvARB)(GET_by_offset((disp), _gloffset_GetnUniformfvARB)))
# 9870|   #define SET_GetnUniformfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def417]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnUniformivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9876:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:807:4: note: in expansion of macro ‘CALL_GetnUniformivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:807:4: note: in expansion of macro ‘CALL_GetnUniformivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:807:4: note: in expansion of macro ‘CALL_GetnUniformivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:807:4: note: in expansion of macro ‘CALL_GetnUniformivARB’
# 9874|   
# 9875|   typedef void (GLAPIENTRYP _glptr_GetnUniformivARB)(GLuint, GLint, GLsizei, GLint *);
# 9876|-> #define CALL_GetnUniformivARB(disp, parameters) (* GET_GetnUniformivARB(disp)) parameters
# 9877|   #define GET_GetnUniformivARB(disp) ((_glptr_GetnUniformivARB)(GET_by_offset((disp), _gloffset_GetnUniformivARB)))
# 9878|   #define SET_GetnUniformivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def418]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetnUniformuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9884:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:817:4: note: in expansion of macro ‘CALL_GetnUniformuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:817:4: note: in expansion of macro ‘CALL_GetnUniformuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:817:4: note: in expansion of macro ‘CALL_GetnUniformuivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:817:4: note: in expansion of macro ‘CALL_GetnUniformuivARB’
# 9882|   
# 9883|   typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB)(GLuint, GLint, GLsizei, GLuint *);
# 9884|-> #define CALL_GetnUniformuivARB(disp, parameters) (* GET_GetnUniformuivARB(disp)) parameters
# 9885|   #define GET_GetnUniformuivARB(disp) ((_glptr_GetnUniformuivARB)(GET_by_offset((disp), _gloffset_GetnUniformuivARB)))
# 9886|   #define SET_GetnUniformuivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def419]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ReadnPixelsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9892:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:730:4: note: in expansion of macro ‘CALL_ReadnPixelsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:730:4: note: in expansion of macro ‘CALL_ReadnPixelsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:730:4: note: in expansion of macro ‘CALL_ReadnPixelsARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:730:4: note: in expansion of macro ‘CALL_ReadnPixelsARB’
# 9890|   
# 9891|   typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *);
# 9892|-> #define CALL_ReadnPixelsARB(disp, parameters) (* GET_ReadnPixelsARB(disp)) parameters
# 9893|   #define GET_ReadnPixelsARB(disp) ((_glptr_ReadnPixelsARB)(GET_by_offset((disp), _gloffset_ReadnPixelsARB)))
# 9894|   #define SET_ReadnPixelsARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def420]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DrawTransformFeedbackInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9924:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:844:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:844:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:844:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:844:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackInstanced’
# 9922|   
# 9923|   typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackInstanced)(GLenum, GLuint, GLsizei);
# 9924|-> #define CALL_DrawTransformFeedbackInstanced(disp, parameters) (* GET_DrawTransformFeedbackInstanced(disp)) parameters
# 9925|   #define GET_DrawTransformFeedbackInstanced(disp) ((_glptr_DrawTransformFeedbackInstanced)(GET_by_offset((disp), _gloffset_DrawTransformFeedbackInstanced)))
# 9926|   #define SET_DrawTransformFeedbackInstanced(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DrawTransformFeedbackStreamInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9932:70: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:874:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStreamInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:874:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStreamInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:874:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStreamInstanced’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:874:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStreamInstanced’
# 9930|   
# 9931|   typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackStreamInstanced)(GLenum, GLuint, GLuint, GLsizei);
# 9932|-> #define CALL_DrawTransformFeedbackStreamInstanced(disp, parameters) (* GET_DrawTransformFeedbackStreamInstanced(disp)) parameters
# 9933|   #define GET_DrawTransformFeedbackStreamInstanced(disp) ((_glptr_DrawTransformFeedbackStreamInstanced)(GET_by_offset((disp), _gloffset_DrawTransformFeedbackStreamInstanced)))
# 9934|   #define SET_DrawTransformFeedbackStreamInstanced(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetInternalformativ’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9940:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:896:4: note: in expansion of macro ‘CALL_GetInternalformativ’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:896:4: note: in expansion of macro ‘CALL_GetInternalformativ’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:896:4: note: in expansion of macro ‘CALL_GetInternalformativ’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:896:4: note: in expansion of macro ‘CALL_GetInternalformativ’
# 9938|   
# 9939|   typedef void (GLAPIENTRYP _glptr_GetInternalformativ)(GLenum, GLenum, GLenum, GLsizei, GLint *);
# 9940|-> #define CALL_GetInternalformativ(disp, parameters) (* GET_GetInternalformativ(disp)) parameters
# 9941|   #define GET_GetInternalformativ(disp) ((_glptr_GetInternalformativ)(GET_by_offset((disp), _gloffset_GetInternalformativ)))
# 9942|   #define SET_GetInternalformativ(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetActiveAtomicCounterBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9948:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:906:4: note: in expansion of macro ‘CALL_GetActiveAtomicCounterBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:906:4: note: in expansion of macro ‘CALL_GetActiveAtomicCounterBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:906:4: note: in expansion of macro ‘CALL_GetActiveAtomicCounterBufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:906:4: note: in expansion of macro ‘CALL_GetActiveAtomicCounterBufferiv’
# 9946|   
# 9947|   typedef void (GLAPIENTRYP _glptr_GetActiveAtomicCounterBufferiv)(GLuint, GLuint, GLenum, GLint *);
# 9948|-> #define CALL_GetActiveAtomicCounterBufferiv(disp, parameters) (* GET_GetActiveAtomicCounterBufferiv(disp)) parameters
# 9949|   #define GET_GetActiveAtomicCounterBufferiv(disp) ((_glptr_GetActiveAtomicCounterBufferiv)(GET_by_offset((disp), _gloffset_GetActiveAtomicCounterBufferiv)))
# 9950|   #define SET_GetActiveAtomicCounterBufferiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindImageTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9956:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:931:4: note: in expansion of macro ‘CALL_BindImageTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:931:4: note: in expansion of macro ‘CALL_BindImageTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:931:4: note: in expansion of macro ‘CALL_BindImageTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:931:4: note: in expansion of macro ‘CALL_BindImageTexture’
# 9954|   
# 9955|   typedef void (GLAPIENTRYP _glptr_BindImageTexture)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLenum);
# 9956|-> #define CALL_BindImageTexture(disp, parameters) (* GET_BindImageTexture(disp)) parameters
# 9957|   #define GET_BindImageTexture(disp) ((_glptr_BindImageTexture)(GET_by_offset((disp), _gloffset_BindImageTexture)))
# 9958|   #define SET_BindImageTexture(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_MemoryBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9964:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:959:4: note: in expansion of macro ‘CALL_MemoryBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:959:4: note: in expansion of macro ‘CALL_MemoryBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:959:4: note: in expansion of macro ‘CALL_MemoryBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:959:4: note: in expansion of macro ‘CALL_MemoryBarrier’
# 9962|   
# 9963|   typedef void (GLAPIENTRYP _glptr_MemoryBarrier)(GLbitfield);
# 9964|-> #define CALL_MemoryBarrier(disp, parameters) (* GET_MemoryBarrier(disp)) parameters
# 9965|   #define GET_MemoryBarrier(disp) ((_glptr_MemoryBarrier)(GET_by_offset((disp), _gloffset_MemoryBarrier)))
# 9966|   #define SET_MemoryBarrier(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9972:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:987:4: note: in expansion of macro ‘CALL_TexStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:987:4: note: in expansion of macro ‘CALL_TexStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:987:4: note: in expansion of macro ‘CALL_TexStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:987:4: note: in expansion of macro ‘CALL_TexStorage1D’
# 9970|   
# 9971|   typedef void (GLAPIENTRYP _glptr_TexStorage1D)(GLenum, GLsizei, GLenum, GLsizei);
# 9972|-> #define CALL_TexStorage1D(disp, parameters) (* GET_TexStorage1D(disp)) parameters
# 9973|   #define GET_TexStorage1D(disp) ((_glptr_TexStorage1D)(GET_by_offset((disp), _gloffset_TexStorage1D)))
# 9974|   #define SET_TexStorage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9980:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1020:4: note: in expansion of macro ‘CALL_TexStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1020:4: note: in expansion of macro ‘CALL_TexStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1020:4: note: in expansion of macro ‘CALL_TexStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1020:4: note: in expansion of macro ‘CALL_TexStorage2D’
# 9978|   
# 9979|   typedef void (GLAPIENTRYP _glptr_TexStorage2D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
# 9980|-> #define CALL_TexStorage2D(disp, parameters) (* GET_TexStorage2D(disp)) parameters
# 9981|   #define GET_TexStorage2D(disp) ((_glptr_TexStorage2D)(GET_by_offset((disp), _gloffset_TexStorage2D)))
# 9982|   #define SET_TexStorage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:9988:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1056:4: note: in expansion of macro ‘CALL_TexStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1056:4: note: in expansion of macro ‘CALL_TexStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1056:4: note: in expansion of macro ‘CALL_TexStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1056:4: note: in expansion of macro ‘CALL_TexStorage3D’
# 9986|   
# 9987|   typedef void (GLAPIENTRYP _glptr_TexStorage3D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
# 9988|-> #define CALL_TexStorage3D(disp, parameters) (* GET_TexStorage3D(disp)) parameters
# 9989|   #define GET_TexStorage3D(disp) ((_glptr_TexStorage3D)(GET_by_offset((disp), _gloffset_TexStorage3D)))
# 9990|   #define SET_TexStorage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10020:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1213:4: note: in expansion of macro ‘CALL_ClearBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1213:4: note: in expansion of macro ‘CALL_ClearBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1213:4: note: in expansion of macro ‘CALL_ClearBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1213:4: note: in expansion of macro ‘CALL_ClearBufferData’
#10018|   
#10019|   typedef void (GLAPIENTRYP _glptr_ClearBufferData)(GLenum, GLenum, GLenum, GLenum, const GLvoid *);
#10020|-> #define CALL_ClearBufferData(disp, parameters) (* GET_ClearBufferData(disp)) parameters
#10021|   #define GET_ClearBufferData(disp) ((_glptr_ClearBufferData)(GET_by_offset((disp), _gloffset_ClearBufferData)))
#10022|   #define SET_ClearBufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10028:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1223:4: note: in expansion of macro ‘CALL_ClearBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1223:4: note: in expansion of macro ‘CALL_ClearBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1223:4: note: in expansion of macro ‘CALL_ClearBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1223:4: note: in expansion of macro ‘CALL_ClearBufferSubData’
#10026|   
#10027|   typedef void (GLAPIENTRYP _glptr_ClearBufferSubData)(GLenum, GLenum, GLintptr, GLsizeiptr, GLenum, GLenum, const GLvoid *);
#10028|-> #define CALL_ClearBufferSubData(disp, parameters) (* GET_ClearBufferSubData(disp)) parameters
#10029|   #define GET_ClearBufferSubData(disp) ((_glptr_ClearBufferSubData)(GET_by_offset((disp), _gloffset_ClearBufferSubData)))
#10030|   #define SET_ClearBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DispatchCompute’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10036:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1260:4: note: in expansion of macro ‘CALL_DispatchCompute’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1260:4: note: in expansion of macro ‘CALL_DispatchCompute’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1260:4: note: in expansion of macro ‘CALL_DispatchCompute’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1260:4: note: in expansion of macro ‘CALL_DispatchCompute’
#10034|   
#10035|   typedef void (GLAPIENTRYP _glptr_DispatchCompute)(GLuint, GLuint, GLuint);
#10036|-> #define CALL_DispatchCompute(disp, parameters) (* GET_DispatchCompute(disp)) parameters
#10037|   #define GET_DispatchCompute(disp) ((_glptr_DispatchCompute)(GET_by_offset((disp), _gloffset_DispatchCompute)))
#10038|   #define SET_DispatchCompute(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DispatchComputeIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10044:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1284:4: note: in expansion of macro ‘CALL_DispatchComputeIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1284:4: note: in expansion of macro ‘CALL_DispatchComputeIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1284:4: note: in expansion of macro ‘CALL_DispatchComputeIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1284:4: note: in expansion of macro ‘CALL_DispatchComputeIndirect’
#10042|   
#10043|   typedef void (GLAPIENTRYP _glptr_DispatchComputeIndirect)(GLintptr);
#10044|-> #define CALL_DispatchComputeIndirect(disp, parameters) (* GET_DispatchComputeIndirect(disp)) parameters
#10045|   #define GET_DispatchComputeIndirect(disp) ((_glptr_DispatchComputeIndirect)(GET_by_offset((disp), _gloffset_DispatchComputeIndirect)))
#10046|   #define SET_DispatchComputeIndirect(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CopyImageSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10052:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1334:4: note: in expansion of macro ‘CALL_CopyImageSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1334:4: note: in expansion of macro ‘CALL_CopyImageSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1334:4: note: in expansion of macro ‘CALL_CopyImageSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1334:4: note: in expansion of macro ‘CALL_CopyImageSubData’
#10050|   
#10051|   typedef void (GLAPIENTRYP _glptr_CopyImageSubData)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei);
#10052|-> #define CALL_CopyImageSubData(disp, parameters) (* GET_CopyImageSubData(disp)) parameters
#10053|   #define GET_CopyImageSubData(disp) ((_glptr_CopyImageSubData)(GET_by_offset((disp), _gloffset_CopyImageSubData)))
#10054|   #define SET_CopyImageSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureView’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10060:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1384:4: note: in expansion of macro ‘CALL_TextureView’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1384:4: note: in expansion of macro ‘CALL_TextureView’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1384:4: note: in expansion of macro ‘CALL_TextureView’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1384:4: note: in expansion of macro ‘CALL_TextureView’
#10058|   
#10059|   typedef void (GLAPIENTRYP _glptr_TextureView)(GLuint, GLenum, GLuint, GLenum, GLuint, GLuint, GLuint, GLuint);
#10060|-> #define CALL_TextureView(disp, parameters) (* GET_TextureView(disp)) parameters
#10061|   #define GET_TextureView(disp) ((_glptr_TextureView)(GET_by_offset((disp), _gloffset_TextureView)))
#10062|   #define SET_TextureView(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def435]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10068:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1427:4: note: in expansion of macro ‘CALL_BindVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1427:4: note: in expansion of macro ‘CALL_BindVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1427:4: note: in expansion of macro ‘CALL_BindVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1427:4: note: in expansion of macro ‘CALL_BindVertexBuffer’
#10066|   
#10067|   typedef void (GLAPIENTRYP _glptr_BindVertexBuffer)(GLuint, GLuint, GLintptr, GLsizei);
#10068|-> #define CALL_BindVertexBuffer(disp, parameters) (* GET_BindVertexBuffer(disp)) parameters
#10069|   #define GET_BindVertexBuffer(disp) ((_glptr_BindVertexBuffer)(GET_by_offset((disp), _gloffset_BindVertexBuffer)))
#10070|   #define SET_BindVertexBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def436]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10076:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1572:4: note: in expansion of macro ‘CALL_VertexAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1572:4: note: in expansion of macro ‘CALL_VertexAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1572:4: note: in expansion of macro ‘CALL_VertexAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1572:4: note: in expansion of macro ‘CALL_VertexAttribBinding’
#10074|   
#10075|   typedef void (GLAPIENTRYP _glptr_VertexAttribBinding)(GLuint, GLuint);
#10076|-> #define CALL_VertexAttribBinding(disp, parameters) (* GET_VertexAttribBinding(disp)) parameters
#10077|   #define GET_VertexAttribBinding(disp) ((_glptr_VertexAttribBinding)(GET_by_offset((disp), _gloffset_VertexAttribBinding)))
#10078|   #define SET_VertexAttribBinding(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10084:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1479:4: note: in expansion of macro ‘CALL_VertexAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1479:4: note: in expansion of macro ‘CALL_VertexAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1479:4: note: in expansion of macro ‘CALL_VertexAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1479:4: note: in expansion of macro ‘CALL_VertexAttribFormat’
#10082|   
#10083|   typedef void (GLAPIENTRYP _glptr_VertexAttribFormat)(GLuint, GLint, GLenum, GLboolean, GLuint);
#10084|-> #define CALL_VertexAttribFormat(disp, parameters) (* GET_VertexAttribFormat(disp)) parameters
#10085|   #define GET_VertexAttribFormat(disp) ((_glptr_VertexAttribFormat)(GET_by_offset((disp), _gloffset_VertexAttribFormat)))
#10086|   #define SET_VertexAttribFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10092:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1512:4: note: in expansion of macro ‘CALL_VertexAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1512:4: note: in expansion of macro ‘CALL_VertexAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1512:4: note: in expansion of macro ‘CALL_VertexAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1512:4: note: in expansion of macro ‘CALL_VertexAttribIFormat’
#10090|   
#10091|   typedef void (GLAPIENTRYP _glptr_VertexAttribIFormat)(GLuint, GLint, GLenum, GLuint);
#10092|-> #define CALL_VertexAttribIFormat(disp, parameters) (* GET_VertexAttribIFormat(disp)) parameters
#10093|   #define GET_VertexAttribIFormat(disp) ((_glptr_VertexAttribIFormat)(GET_by_offset((disp), _gloffset_VertexAttribIFormat)))
#10094|   #define SET_VertexAttribIFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def439]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10100:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1544:4: note: in expansion of macro ‘CALL_VertexAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1544:4: note: in expansion of macro ‘CALL_VertexAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1544:4: note: in expansion of macro ‘CALL_VertexAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1544:4: note: in expansion of macro ‘CALL_VertexAttribLFormat’
#10098|   
#10099|   typedef void (GLAPIENTRYP _glptr_VertexAttribLFormat)(GLuint, GLint, GLenum, GLuint);
#10100|-> #define CALL_VertexAttribLFormat(disp, parameters) (* GET_VertexAttribLFormat(disp)) parameters
#10101|   #define GET_VertexAttribLFormat(disp) ((_glptr_VertexAttribLFormat)(GET_by_offset((disp), _gloffset_VertexAttribLFormat)))
#10102|   #define SET_VertexAttribLFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def440]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10108:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1598:4: note: in expansion of macro ‘CALL_VertexBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1598:4: note: in expansion of macro ‘CALL_VertexBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1598:4: note: in expansion of macro ‘CALL_VertexBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1598:4: note: in expansion of macro ‘CALL_VertexBindingDivisor’
#10106|   
#10107|   typedef void (GLAPIENTRYP _glptr_VertexBindingDivisor)(GLuint, GLuint);
#10108|-> #define CALL_VertexBindingDivisor(disp, parameters) (* GET_VertexBindingDivisor(disp)) parameters
#10109|   #define GET_VertexBindingDivisor(disp) ((_glptr_VertexBindingDivisor)(GET_by_offset((disp), _gloffset_VertexBindingDivisor)))
#10110|   #define SET_VertexBindingDivisor(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def441]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10116:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1856:4: note: in expansion of macro ‘CALL_FramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1856:4: note: in expansion of macro ‘CALL_FramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1856:4: note: in expansion of macro ‘CALL_FramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1856:4: note: in expansion of macro ‘CALL_FramebufferParameteri’
#10114|   
#10115|   typedef void (GLAPIENTRYP _glptr_FramebufferParameteri)(GLenum, GLenum, GLint);
#10116|-> #define CALL_FramebufferParameteri(disp, parameters) (* GET_FramebufferParameteri(disp)) parameters
#10117|   #define GET_FramebufferParameteri(disp) ((_glptr_FramebufferParameteri)(GET_by_offset((disp), _gloffset_FramebufferParameteri)))
#10118|   #define SET_FramebufferParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10124:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1877:4: note: in expansion of macro ‘CALL_GetFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1877:4: note: in expansion of macro ‘CALL_GetFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1877:4: note: in expansion of macro ‘CALL_GetFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1877:4: note: in expansion of macro ‘CALL_GetFramebufferParameteriv’
#10122|   
#10123|   typedef void (GLAPIENTRYP _glptr_GetFramebufferParameteriv)(GLenum, GLenum, GLint *);
#10124|-> #define CALL_GetFramebufferParameteriv(disp, parameters) (* GET_GetFramebufferParameteriv(disp)) parameters
#10125|   #define GET_GetFramebufferParameteriv(disp) ((_glptr_GetFramebufferParameteriv)(GET_by_offset((disp), _gloffset_GetFramebufferParameteriv)))
#10126|   #define SET_GetFramebufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetInternalformati64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10132:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1925:4: note: in expansion of macro ‘CALL_GetInternalformati64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1925:4: note: in expansion of macro ‘CALL_GetInternalformati64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1925:4: note: in expansion of macro ‘CALL_GetInternalformati64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1925:4: note: in expansion of macro ‘CALL_GetInternalformati64v’
#10130|   
#10131|   typedef void (GLAPIENTRYP _glptr_GetInternalformati64v)(GLenum, GLenum, GLenum, GLsizei, GLint64 *);
#10132|-> #define CALL_GetInternalformati64v(disp, parameters) (* GET_GetInternalformati64v(disp)) parameters
#10133|   #define GET_GetInternalformati64v(disp) ((_glptr_GetInternalformati64v)(GET_by_offset((disp), _gloffset_GetInternalformati64v)))
#10134|   #define SET_GetInternalformati64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_MultiDrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10140:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1491:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1491:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1491:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1491:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirect’
#10138|   
#10139|   typedef void (GLAPIENTRYP _glptr_MultiDrawArraysIndirect)(GLenum, const GLvoid *, GLsizei, GLsizei);
#10140|-> #define CALL_MultiDrawArraysIndirect(disp, parameters) (* GET_MultiDrawArraysIndirect(disp)) parameters
#10141|   #define GET_MultiDrawArraysIndirect(disp) ((_glptr_MultiDrawArraysIndirect)(GET_by_offset((disp), _gloffset_MultiDrawArraysIndirect)))
#10142|   #define SET_MultiDrawArraysIndirect(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_MultiDrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10148:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1534:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1534:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1534:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirect’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1534:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirect’
#10146|   
#10147|   typedef void (GLAPIENTRYP _glptr_MultiDrawElementsIndirect)(GLenum, GLenum, const GLvoid *, GLsizei, GLsizei);
#10148|-> #define CALL_MultiDrawElementsIndirect(disp, parameters) (* GET_MultiDrawElementsIndirect(disp)) parameters
#10149|   #define GET_MultiDrawElementsIndirect(disp) ((_glptr_MultiDrawElementsIndirect)(GET_by_offset((disp), _gloffset_MultiDrawElementsIndirect)))
#10150|   #define SET_MultiDrawElementsIndirect(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def446]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramInterfaceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10156:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2143:4: note: in expansion of macro ‘CALL_GetProgramInterfaceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2143:4: note: in expansion of macro ‘CALL_GetProgramInterfaceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2143:4: note: in expansion of macro ‘CALL_GetProgramInterfaceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2143:4: note: in expansion of macro ‘CALL_GetProgramInterfaceiv’
#10154|   
#10155|   typedef void (GLAPIENTRYP _glptr_GetProgramInterfaceiv)(GLuint, GLenum, GLenum, GLint *);
#10156|-> #define CALL_GetProgramInterfaceiv(disp, parameters) (* GET_GetProgramInterfaceiv(disp)) parameters
#10157|   #define GET_GetProgramInterfaceiv(disp) ((_glptr_GetProgramInterfaceiv)(GET_by_offset((disp), _gloffset_GetProgramInterfaceiv)))
#10158|   #define SET_GetProgramInterfaceiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramResourceIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10164:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2153:11: note: in expansion of macro ‘CALL_GetProgramResourceIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2153:11: note: in expansion of macro ‘CALL_GetProgramResourceIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2153:11: note: in expansion of macro ‘CALL_GetProgramResourceIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2153:11: note: in expansion of macro ‘CALL_GetProgramResourceIndex’
#10162|   
#10163|   typedef GLuint (GLAPIENTRYP _glptr_GetProgramResourceIndex)(GLuint, GLenum, const GLchar *);
#10164|-> #define CALL_GetProgramResourceIndex(disp, parameters) (* GET_GetProgramResourceIndex(disp)) parameters
#10165|   #define GET_GetProgramResourceIndex(disp) ((_glptr_GetProgramResourceIndex)(GET_by_offset((disp), _gloffset_GetProgramResourceIndex)))
#10166|   #define SET_GetProgramResourceIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def448]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramResourceLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10172:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2183:11: note: in expansion of macro ‘CALL_GetProgramResourceLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2183:11: note: in expansion of macro ‘CALL_GetProgramResourceLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2183:11: note: in expansion of macro ‘CALL_GetProgramResourceLocation’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2183:11: note: in expansion of macro ‘CALL_GetProgramResourceLocation’
#10170|   
#10171|   typedef GLint (GLAPIENTRYP _glptr_GetProgramResourceLocation)(GLuint, GLenum, const GLchar *);
#10172|-> #define CALL_GetProgramResourceLocation(disp, parameters) (* GET_GetProgramResourceLocation(disp)) parameters
#10173|   #define GET_GetProgramResourceLocation(disp) ((_glptr_GetProgramResourceLocation)(GET_by_offset((disp), _gloffset_GetProgramResourceLocation)))
#10174|   #define SET_GetProgramResourceLocation(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def449]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramResourceLocationIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10180:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2193:11: note: in expansion of macro ‘CALL_GetProgramResourceLocationIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2193:11: note: in expansion of macro ‘CALL_GetProgramResourceLocationIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2193:11: note: in expansion of macro ‘CALL_GetProgramResourceLocationIndex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2193:11: note: in expansion of macro ‘CALL_GetProgramResourceLocationIndex’
#10178|   
#10179|   typedef GLint (GLAPIENTRYP _glptr_GetProgramResourceLocationIndex)(GLuint, GLenum, const GLchar *);
#10180|-> #define CALL_GetProgramResourceLocationIndex(disp, parameters) (* GET_GetProgramResourceLocationIndex(disp)) parameters
#10181|   #define GET_GetProgramResourceLocationIndex(disp) ((_glptr_GetProgramResourceLocationIndex)(GET_by_offset((disp), _gloffset_GetProgramResourceLocationIndex)))
#10182|   #define SET_GetProgramResourceLocationIndex(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramResourceName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10188:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2163:4: note: in expansion of macro ‘CALL_GetProgramResourceName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2163:4: note: in expansion of macro ‘CALL_GetProgramResourceName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2163:4: note: in expansion of macro ‘CALL_GetProgramResourceName’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2163:4: note: in expansion of macro ‘CALL_GetProgramResourceName’
#10186|   
#10187|   typedef void (GLAPIENTRYP _glptr_GetProgramResourceName)(GLuint, GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
#10188|-> #define CALL_GetProgramResourceName(disp, parameters) (* GET_GetProgramResourceName(disp)) parameters
#10189|   #define GET_GetProgramResourceName(disp) ((_glptr_GetProgramResourceName)(GET_by_offset((disp), _gloffset_GetProgramResourceName)))
#10190|   #define SET_GetProgramResourceName(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def451]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetProgramResourceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10196:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2173:4: note: in expansion of macro ‘CALL_GetProgramResourceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2173:4: note: in expansion of macro ‘CALL_GetProgramResourceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2173:4: note: in expansion of macro ‘CALL_GetProgramResourceiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2173:4: note: in expansion of macro ‘CALL_GetProgramResourceiv’
#10194|   
#10195|   typedef void (GLAPIENTRYP _glptr_GetProgramResourceiv)(GLuint, GLenum, GLuint, GLsizei, const GLenum *, GLsizei, GLsizei *, GLint *);
#10196|-> #define CALL_GetProgramResourceiv(disp, parameters) (* GET_GetProgramResourceiv(disp)) parameters
#10197|   #define GET_GetProgramResourceiv(disp) ((_glptr_GetProgramResourceiv)(GET_by_offset((disp), _gloffset_GetProgramResourceiv)))
#10198|   #define SET_GetProgramResourceiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def452]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ShaderStorageBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10204:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2210:4: note: in expansion of macro ‘CALL_ShaderStorageBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2210:4: note: in expansion of macro ‘CALL_ShaderStorageBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2210:4: note: in expansion of macro ‘CALL_ShaderStorageBlockBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2210:4: note: in expansion of macro ‘CALL_ShaderStorageBlockBinding’
#10202|   
#10203|   typedef void (GLAPIENTRYP _glptr_ShaderStorageBlockBinding)(GLuint, GLuint, GLuint);
#10204|-> #define CALL_ShaderStorageBlockBinding(disp, parameters) (* GET_ShaderStorageBlockBinding(disp)) parameters
#10205|   #define GET_ShaderStorageBlockBinding(disp) ((_glptr_ShaderStorageBlockBinding)(GET_by_offset((disp), _gloffset_ShaderStorageBlockBinding)))
#10206|   #define SET_ShaderStorageBlockBinding(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10212:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2242:4: note: in expansion of macro ‘CALL_TexBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2242:4: note: in expansion of macro ‘CALL_TexBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2242:4: note: in expansion of macro ‘CALL_TexBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2242:4: note: in expansion of macro ‘CALL_TexBufferRange’
#10210|   
#10211|   typedef void (GLAPIENTRYP _glptr_TexBufferRange)(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr);
#10212|-> #define CALL_TexBufferRange(disp, parameters) (* GET_TexBufferRange(disp)) parameters
#10213|   #define GET_TexBufferRange(disp) ((_glptr_TexBufferRange)(GET_by_offset((disp), _gloffset_TexBufferRange)))
#10214|   #define SET_TexBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10220:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2315:4: note: in expansion of macro ‘CALL_TexStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2315:4: note: in expansion of macro ‘CALL_TexStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2315:4: note: in expansion of macro ‘CALL_TexStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2315:4: note: in expansion of macro ‘CALL_TexStorage2DMultisample’
#10218|   
#10219|   typedef void (GLAPIENTRYP _glptr_TexStorage2DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean);
#10220|-> #define CALL_TexStorage2DMultisample(disp, parameters) (* GET_TexStorage2DMultisample(disp)) parameters
#10221|   #define GET_TexStorage2DMultisample(disp) ((_glptr_TexStorage2DMultisample)(GET_by_offset((disp), _gloffset_TexStorage2DMultisample)))
#10222|   #define SET_TexStorage2DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10228:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2354:4: note: in expansion of macro ‘CALL_TexStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2354:4: note: in expansion of macro ‘CALL_TexStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2354:4: note: in expansion of macro ‘CALL_TexStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2354:4: note: in expansion of macro ‘CALL_TexStorage3DMultisample’
#10226|   
#10227|   typedef void (GLAPIENTRYP _glptr_TexStorage3DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean);
#10228|-> #define CALL_TexStorage3DMultisample(disp, parameters) (* GET_TexStorage3DMultisample(disp)) parameters
#10229|   #define GET_TexStorage3DMultisample(disp) ((_glptr_TexStorage3DMultisample)(GET_by_offset((disp), _gloffset_TexStorage3DMultisample)))
#10230|   #define SET_TexStorage3DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_BufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10236:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2462:4: note: in expansion of macro ‘CALL_BufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2462:4: note: in expansion of macro ‘CALL_BufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2462:4: note: in expansion of macro ‘CALL_BufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2462:4: note: in expansion of macro ‘CALL_BufferStorage’
#10234|   
#10235|   typedef void (GLAPIENTRYP _glptr_BufferStorage)(GLenum, GLsizeiptr, const GLvoid *, GLbitfield);
#10236|-> #define CALL_BufferStorage(disp, parameters) (* GET_BufferStorage(disp)) parameters
#10237|   #define GET_BufferStorage(disp) ((_glptr_BufferStorage)(GET_by_offset((disp), _gloffset_BufferStorage)))
#10238|   #define SET_BufferStorage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10244:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2482:4: note: in expansion of macro ‘CALL_ClearTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2482:4: note: in expansion of macro ‘CALL_ClearTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2482:4: note: in expansion of macro ‘CALL_ClearTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2482:4: note: in expansion of macro ‘CALL_ClearTexImage’
#10242|   
#10243|   typedef void (GLAPIENTRYP _glptr_ClearTexImage)(GLuint, GLint, GLenum, GLenum, const GLvoid *);
#10244|-> #define CALL_ClearTexImage(disp, parameters) (* GET_ClearTexImage(disp)) parameters
#10245|   #define GET_ClearTexImage(disp) ((_glptr_ClearTexImage)(GET_by_offset((disp), _gloffset_ClearTexImage)))
#10246|   #define SET_ClearTexImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def458]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10252:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2492:4: note: in expansion of macro ‘CALL_ClearTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2492:4: note: in expansion of macro ‘CALL_ClearTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2492:4: note: in expansion of macro ‘CALL_ClearTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2492:4: note: in expansion of macro ‘CALL_ClearTexSubImage’
#10250|   
#10251|   typedef void (GLAPIENTRYP _glptr_ClearTexSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#10252|-> #define CALL_ClearTexSubImage(disp, parameters) (* GET_ClearTexSubImage(disp)) parameters
#10253|   #define GET_ClearTexSubImage(disp) ((_glptr_ClearTexSubImage)(GET_by_offset((disp), _gloffset_ClearTexSubImage)))
#10254|   #define SET_ClearTexSubImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def459]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindBuffersBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10260:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2514:4: note: in expansion of macro ‘CALL_BindBuffersBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2514:4: note: in expansion of macro ‘CALL_BindBuffersBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2514:4: note: in expansion of macro ‘CALL_BindBuffersBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2514:4: note: in expansion of macro ‘CALL_BindBuffersBase’
#10258|   
#10259|   typedef void (GLAPIENTRYP _glptr_BindBuffersBase)(GLenum, GLuint, GLsizei, const GLuint *);
#10260|-> #define CALL_BindBuffersBase(disp, parameters) (* GET_BindBuffersBase(disp)) parameters
#10261|   #define GET_BindBuffersBase(disp) ((_glptr_BindBuffersBase)(GET_by_offset((disp), _gloffset_BindBuffersBase)))
#10262|   #define SET_BindBuffersBase(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindBuffersRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10268:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2564:4: note: in expansion of macro ‘CALL_BindBuffersRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2564:4: note: in expansion of macro ‘CALL_BindBuffersRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2564:4: note: in expansion of macro ‘CALL_BindBuffersRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2564:4: note: in expansion of macro ‘CALL_BindBuffersRange’
#10266|   
#10267|   typedef void (GLAPIENTRYP _glptr_BindBuffersRange)(GLenum, GLuint, GLsizei, const GLuint *, const GLintptr *, const GLsizeiptr *);
#10268|-> #define CALL_BindBuffersRange(disp, parameters) (* GET_BindBuffersRange(disp)) parameters
#10269|   #define GET_BindBuffersRange(disp) ((_glptr_BindBuffersRange)(GET_by_offset((disp), _gloffset_BindBuffersRange)))
#10270|   #define SET_BindBuffersRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindImageTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10276:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2688:4: note: in expansion of macro ‘CALL_BindImageTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2688:4: note: in expansion of macro ‘CALL_BindImageTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2688:4: note: in expansion of macro ‘CALL_BindImageTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2688:4: note: in expansion of macro ‘CALL_BindImageTextures’
#10274|   
#10275|   typedef void (GLAPIENTRYP _glptr_BindImageTextures)(GLuint, GLsizei, const GLuint *);
#10276|-> #define CALL_BindImageTextures(disp, parameters) (* GET_BindImageTextures(disp)) parameters
#10277|   #define GET_BindImageTextures(disp) ((_glptr_BindImageTextures)(GET_by_offset((disp), _gloffset_BindImageTextures)))
#10278|   #define SET_BindImageTextures(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def462]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10284:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2649:4: note: in expansion of macro ‘CALL_BindSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2649:4: note: in expansion of macro ‘CALL_BindSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2649:4: note: in expansion of macro ‘CALL_BindSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2649:4: note: in expansion of macro ‘CALL_BindSamplers’
#10282|   
#10283|   typedef void (GLAPIENTRYP _glptr_BindSamplers)(GLuint, GLsizei, const GLuint *);
#10284|-> #define CALL_BindSamplers(disp, parameters) (* GET_BindSamplers(disp)) parameters
#10285|   #define GET_BindSamplers(disp) ((_glptr_BindSamplers)(GET_by_offset((disp), _gloffset_BindSamplers)))
#10286|   #define SET_BindSamplers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def463]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10292:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2610:4: note: in expansion of macro ‘CALL_BindTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2610:4: note: in expansion of macro ‘CALL_BindTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2610:4: note: in expansion of macro ‘CALL_BindTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2610:4: note: in expansion of macro ‘CALL_BindTextures’
#10290|   
#10291|   typedef void (GLAPIENTRYP _glptr_BindTextures)(GLuint, GLsizei, const GLuint *);
#10292|-> #define CALL_BindTextures(disp, parameters) (* GET_BindTextures(disp)) parameters
#10293|   #define GET_BindTextures(disp) ((_glptr_BindTextures)(GET_by_offset((disp), _gloffset_BindTextures)))
#10294|   #define SET_BindTextures(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10300:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2735:4: note: in expansion of macro ‘CALL_BindVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2735:4: note: in expansion of macro ‘CALL_BindVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2735:4: note: in expansion of macro ‘CALL_BindVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2735:4: note: in expansion of macro ‘CALL_BindVertexBuffers’
#10298|   
#10299|   typedef void (GLAPIENTRYP _glptr_BindVertexBuffers)(GLuint, GLsizei, const GLuint *, const GLintptr *, const GLsizei *);
#10300|-> #define CALL_BindVertexBuffers(disp, parameters) (* GET_BindVertexBuffers(disp)) parameters
#10301|   #define GET_BindVertexBuffers(disp) ((_glptr_BindVertexBuffers)(GET_by_offset((disp), _gloffset_BindVertexBuffers)))
#10302|   #define SET_BindVertexBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def465]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetImageHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10308:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2834:11: note: in expansion of macro ‘CALL_GetImageHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2834:11: note: in expansion of macro ‘CALL_GetImageHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2834:11: note: in expansion of macro ‘CALL_GetImageHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2834:11: note: in expansion of macro ‘CALL_GetImageHandleARB’
#10306|   
#10307|   typedef GLuint64 (GLAPIENTRYP _glptr_GetImageHandleARB)(GLuint, GLint, GLboolean, GLint, GLenum);
#10308|-> #define CALL_GetImageHandleARB(disp, parameters) (* GET_GetImageHandleARB(disp)) parameters
#10309|   #define GET_GetImageHandleARB(disp) ((_glptr_GetImageHandleARB)(GET_by_offset((disp), _gloffset_GetImageHandleARB)))
#10310|   #define SET_GetImageHandleARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def466]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10316:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2770:11: note: in expansion of macro ‘CALL_GetTextureHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2770:11: note: in expansion of macro ‘CALL_GetTextureHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2770:11: note: in expansion of macro ‘CALL_GetTextureHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2770:11: note: in expansion of macro ‘CALL_GetTextureHandleARB’
#10314|   
#10315|   typedef GLuint64 (GLAPIENTRYP _glptr_GetTextureHandleARB)(GLuint);
#10316|-> #define CALL_GetTextureHandleARB(disp, parameters) (* GET_GetTextureHandleARB(disp)) parameters
#10317|   #define GET_GetTextureHandleARB(disp) ((_glptr_GetTextureHandleARB)(GET_by_offset((disp), _gloffset_GetTextureHandleARB)))
#10318|   #define SET_GetTextureHandleARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def467]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureSamplerHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10324:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2780:11: note: in expansion of macro ‘CALL_GetTextureSamplerHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2780:11: note: in expansion of macro ‘CALL_GetTextureSamplerHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2780:11: note: in expansion of macro ‘CALL_GetTextureSamplerHandleARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2780:11: note: in expansion of macro ‘CALL_GetTextureSamplerHandleARB’
#10322|   
#10323|   typedef GLuint64 (GLAPIENTRYP _glptr_GetTextureSamplerHandleARB)(GLuint, GLuint);
#10324|-> #define CALL_GetTextureSamplerHandleARB(disp, parameters) (* GET_GetTextureSamplerHandleARB(disp)) parameters
#10325|   #define GET_GetTextureSamplerHandleARB(disp) ((_glptr_GetTextureSamplerHandleARB)(GET_by_offset((disp), _gloffset_GetTextureSamplerHandleARB)))
#10326|   #define SET_GetTextureSamplerHandleARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def468]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetVertexAttribLui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10332:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3095:4: note: in expansion of macro ‘CALL_GetVertexAttribLui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3095:4: note: in expansion of macro ‘CALL_GetVertexAttribLui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3095:4: note: in expansion of macro ‘CALL_GetVertexAttribLui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3095:4: note: in expansion of macro ‘CALL_GetVertexAttribLui64vARB’
#10330|   
#10331|   typedef void (GLAPIENTRYP _glptr_GetVertexAttribLui64vARB)(GLuint, GLenum, GLuint64EXT *);
#10332|-> #define CALL_GetVertexAttribLui64vARB(disp, parameters) (* GET_GetVertexAttribLui64vARB(disp)) parameters
#10333|   #define GET_GetVertexAttribLui64vARB(disp) ((_glptr_GetVertexAttribLui64vARB)(GET_by_offset((disp), _gloffset_GetVertexAttribLui64vARB)))
#10334|   #define SET_GetVertexAttribLui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_IsImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10340:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3035:11: note: in expansion of macro ‘CALL_IsImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3035:11: note: in expansion of macro ‘CALL_IsImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3035:11: note: in expansion of macro ‘CALL_IsImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3035:11: note: in expansion of macro ‘CALL_IsImageHandleResidentARB’
#10338|   
#10339|   typedef GLboolean (GLAPIENTRYP _glptr_IsImageHandleResidentARB)(GLuint64);
#10340|-> #define CALL_IsImageHandleResidentARB(disp, parameters) (* GET_IsImageHandleResidentARB(disp)) parameters
#10341|   #define GET_IsImageHandleResidentARB(disp) ((_glptr_IsImageHandleResidentARB)(GET_by_offset((disp), _gloffset_IsImageHandleResidentARB)))
#10342|   #define SET_IsImageHandleResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_IsTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10348:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3025:11: note: in expansion of macro ‘CALL_IsTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3025:11: note: in expansion of macro ‘CALL_IsTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3025:11: note: in expansion of macro ‘CALL_IsTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3025:11: note: in expansion of macro ‘CALL_IsTextureHandleResidentARB’
#10346|   
#10347|   typedef GLboolean (GLAPIENTRYP _glptr_IsTextureHandleResidentARB)(GLuint64);
#10348|-> #define CALL_IsTextureHandleResidentARB(disp, parameters) (* GET_IsTextureHandleResidentARB(disp)) parameters
#10349|   #define GET_IsTextureHandleResidentARB(disp) ((_glptr_IsTextureHandleResidentARB)(GET_by_offset((disp), _gloffset_IsTextureHandleResidentARB)))
#10350|   #define SET_IsTextureHandleResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_MakeImageHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10356:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2872:4: note: in expansion of macro ‘CALL_MakeImageHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2872:4: note: in expansion of macro ‘CALL_MakeImageHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2872:4: note: in expansion of macro ‘CALL_MakeImageHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2872:4: note: in expansion of macro ‘CALL_MakeImageHandleNonResidentARB’
#10354|   
#10355|   typedef void (GLAPIENTRYP _glptr_MakeImageHandleNonResidentARB)(GLuint64);
#10356|-> #define CALL_MakeImageHandleNonResidentARB(disp, parameters) (* GET_MakeImageHandleNonResidentARB(disp)) parameters
#10357|   #define GET_MakeImageHandleNonResidentARB(disp) ((_glptr_MakeImageHandleNonResidentARB)(GET_by_offset((disp), _gloffset_MakeImageHandleNonResidentARB)))
#10358|   #define SET_MakeImageHandleNonResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_MakeImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10364:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2849:4: note: in expansion of macro ‘CALL_MakeImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2849:4: note: in expansion of macro ‘CALL_MakeImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2849:4: note: in expansion of macro ‘CALL_MakeImageHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2849:4: note: in expansion of macro ‘CALL_MakeImageHandleResidentARB’
#10362|   
#10363|   typedef void (GLAPIENTRYP _glptr_MakeImageHandleResidentARB)(GLuint64, GLenum);
#10364|-> #define CALL_MakeImageHandleResidentARB(disp, parameters) (* GET_MakeImageHandleResidentARB(disp)) parameters
#10365|   #define GET_MakeImageHandleResidentARB(disp) ((_glptr_MakeImageHandleResidentARB)(GET_by_offset((disp), _gloffset_MakeImageHandleResidentARB)))
#10366|   #define SET_MakeImageHandleResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_MakeTextureHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10372:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2815:4: note: in expansion of macro ‘CALL_MakeTextureHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2815:4: note: in expansion of macro ‘CALL_MakeTextureHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2815:4: note: in expansion of macro ‘CALL_MakeTextureHandleNonResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2815:4: note: in expansion of macro ‘CALL_MakeTextureHandleNonResidentARB’
#10370|   
#10371|   typedef void (GLAPIENTRYP _glptr_MakeTextureHandleNonResidentARB)(GLuint64);
#10372|-> #define CALL_MakeTextureHandleNonResidentARB(disp, parameters) (* GET_MakeTextureHandleNonResidentARB(disp)) parameters
#10373|   #define GET_MakeTextureHandleNonResidentARB(disp) ((_glptr_MakeTextureHandleNonResidentARB)(GET_by_offset((disp), _gloffset_MakeTextureHandleNonResidentARB)))
#10374|   #define SET_MakeTextureHandleNonResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_MakeTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10380:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2793:4: note: in expansion of macro ‘CALL_MakeTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2793:4: note: in expansion of macro ‘CALL_MakeTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2793:4: note: in expansion of macro ‘CALL_MakeTextureHandleResidentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2793:4: note: in expansion of macro ‘CALL_MakeTextureHandleResidentARB’
#10378|   
#10379|   typedef void (GLAPIENTRYP _glptr_MakeTextureHandleResidentARB)(GLuint64);
#10380|-> #define CALL_MakeTextureHandleResidentARB(disp, parameters) (* GET_MakeTextureHandleResidentARB(disp)) parameters
#10381|   #define GET_MakeTextureHandleResidentARB(disp) ((_glptr_MakeTextureHandleResidentARB)(GET_by_offset((disp), _gloffset_MakeTextureHandleResidentARB)))
#10382|   #define SET_MakeTextureHandleResidentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10388:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2962:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2962:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2962:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2962:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64ARB’
#10386|   
#10387|   typedef void (GLAPIENTRYP _glptr_ProgramUniformHandleui64ARB)(GLuint, GLint, GLuint64);
#10388|-> #define CALL_ProgramUniformHandleui64ARB(disp, parameters) (* GET_ProgramUniformHandleui64ARB(disp)) parameters
#10389|   #define GET_ProgramUniformHandleui64ARB(disp) ((_glptr_ProgramUniformHandleui64ARB)(GET_by_offset((disp), _gloffset_ProgramUniformHandleui64ARB)))
#10390|   #define SET_ProgramUniformHandleui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10396:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2995:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2995:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2995:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2995:4: note: in expansion of macro ‘CALL_ProgramUniformHandleui64vARB’
#10394|   
#10395|   typedef void (GLAPIENTRYP _glptr_ProgramUniformHandleui64vARB)(GLuint, GLint, GLsizei, const GLuint64 *);
#10396|-> #define CALL_ProgramUniformHandleui64vARB(disp, parameters) (* GET_ProgramUniformHandleui64vARB(disp)) parameters
#10397|   #define GET_ProgramUniformHandleui64vARB(disp) ((_glptr_ProgramUniformHandleui64vARB)(GET_by_offset((disp), _gloffset_ProgramUniformHandleui64vARB)))
#10398|   #define SET_ProgramUniformHandleui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def477]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_UniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10404:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2896:4: note: in expansion of macro ‘CALL_UniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2896:4: note: in expansion of macro ‘CALL_UniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2896:4: note: in expansion of macro ‘CALL_UniformHandleui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2896:4: note: in expansion of macro ‘CALL_UniformHandleui64ARB’
#10402|   
#10403|   typedef void (GLAPIENTRYP _glptr_UniformHandleui64ARB)(GLint, GLuint64);
#10404|-> #define CALL_UniformHandleui64ARB(disp, parameters) (* GET_UniformHandleui64ARB(disp)) parameters
#10405|   #define GET_UniformHandleui64ARB(disp) ((_glptr_UniformHandleui64ARB)(GET_by_offset((disp), _gloffset_UniformHandleui64ARB)))
#10406|   #define SET_UniformHandleui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_UniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10412:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2926:4: note: in expansion of macro ‘CALL_UniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2926:4: note: in expansion of macro ‘CALL_UniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2926:4: note: in expansion of macro ‘CALL_UniformHandleui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2926:4: note: in expansion of macro ‘CALL_UniformHandleui64vARB’
#10410|   
#10411|   typedef void (GLAPIENTRYP _glptr_UniformHandleui64vARB)(GLint, GLsizei, const GLuint64 *);
#10412|-> #define CALL_UniformHandleui64vARB(disp, parameters) (* GET_UniformHandleui64vARB(disp)) parameters
#10413|   #define GET_UniformHandleui64vARB(disp) ((_glptr_UniformHandleui64vARB)(GET_by_offset((disp), _gloffset_UniformHandleui64vARB)))
#10414|   #define SET_UniformHandleui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def479]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10420:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3050:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3050:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3050:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3050:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64ARB’
#10418|   
#10419|   typedef void (GLAPIENTRYP _glptr_VertexAttribL1ui64ARB)(GLuint, GLuint64EXT);
#10420|-> #define CALL_VertexAttribL1ui64ARB(disp, parameters) (* GET_VertexAttribL1ui64ARB(disp)) parameters
#10421|   #define GET_VertexAttribL1ui64ARB(disp) ((_glptr_VertexAttribL1ui64ARB)(GET_by_offset((disp), _gloffset_VertexAttribL1ui64ARB)))
#10422|   #define SET_VertexAttribL1ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10428:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3075:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3075:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3075:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3075:4: note: in expansion of macro ‘CALL_VertexAttribL1ui64vARB’
#10426|   
#10427|   typedef void (GLAPIENTRYP _glptr_VertexAttribL1ui64vARB)(GLuint, const GLuint64EXT *);
#10428|-> #define CALL_VertexAttribL1ui64vARB(disp, parameters) (* GET_VertexAttribL1ui64vARB(disp)) parameters
#10429|   #define GET_VertexAttribL1ui64vARB(disp) ((_glptr_VertexAttribL1ui64vARB)(GET_by_offset((disp), _gloffset_VertexAttribL1ui64vARB)))
#10430|   #define SET_VertexAttribL1ui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def481]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DispatchComputeGroupSizeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10436:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3118:4: note: in expansion of macro ‘CALL_DispatchComputeGroupSizeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3118:4: note: in expansion of macro ‘CALL_DispatchComputeGroupSizeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3118:4: note: in expansion of macro ‘CALL_DispatchComputeGroupSizeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3118:4: note: in expansion of macro ‘CALL_DispatchComputeGroupSizeARB’
#10434|   
#10435|   typedef void (GLAPIENTRYP _glptr_DispatchComputeGroupSizeARB)(GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#10436|-> #define CALL_DispatchComputeGroupSizeARB(disp, parameters) (* GET_DispatchComputeGroupSizeARB(disp)) parameters
#10437|   #define GET_DispatchComputeGroupSizeARB(disp) ((_glptr_DispatchComputeGroupSizeARB)(GET_by_offset((disp), _gloffset_DispatchComputeGroupSizeARB)))
#10438|   #define SET_DispatchComputeGroupSizeARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_MultiDrawArraysIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10444:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1581:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1581:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1581:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1581:4: note: in expansion of macro ‘CALL_MultiDrawArraysIndirectCountARB’
#10442|   
#10443|   typedef void (GLAPIENTRYP _glptr_MultiDrawArraysIndirectCountARB)(GLenum, GLintptr, GLintptr, GLsizei, GLsizei);
#10444|-> #define CALL_MultiDrawArraysIndirectCountARB(disp, parameters) (* GET_MultiDrawArraysIndirectCountARB(disp)) parameters
#10445|   #define GET_MultiDrawArraysIndirectCountARB(disp) ((_glptr_MultiDrawArraysIndirectCountARB)(GET_by_offset((disp), _gloffset_MultiDrawArraysIndirectCountARB)))
#10446|   #define SET_MultiDrawArraysIndirectCountARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_unmarshal_MultiDrawElementsIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10452:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1633:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1633:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1633:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirectCountARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1633:4: note: in expansion of macro ‘CALL_MultiDrawElementsIndirectCountARB’
#10450|   
#10451|   typedef void (GLAPIENTRYP _glptr_MultiDrawElementsIndirectCountARB)(GLenum, GLenum, GLintptr, GLintptr, GLsizei, GLsizei);
#10452|-> #define CALL_MultiDrawElementsIndirectCountARB(disp, parameters) (* GET_MultiDrawElementsIndirectCountARB(disp)) parameters
#10453|   #define GET_MultiDrawElementsIndirectCountARB(disp) ((_glptr_MultiDrawElementsIndirectCountARB)(GET_by_offset((disp), _gloffset_MultiDrawElementsIndirectCountARB)))
#10454|   #define SET_MultiDrawElementsIndirectCountARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def484]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClipControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10460:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3239:4: note: in expansion of macro ‘CALL_ClipControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3239:4: note: in expansion of macro ‘CALL_ClipControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3239:4: note: in expansion of macro ‘CALL_ClipControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3239:4: note: in expansion of macro ‘CALL_ClipControl’
#10458|   
#10459|   typedef void (GLAPIENTRYP _glptr_ClipControl)(GLenum, GLenum);
#10460|-> #define CALL_ClipControl(disp, parameters) (* GET_ClipControl(disp)) parameters
#10461|   #define GET_ClipControl(disp) ((_glptr_ClipControl)(GET_by_offset((disp), _gloffset_ClipControl)))
#10462|   #define SET_ClipControl(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def485]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BindTextureUnit’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10468:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5083:4: note: in expansion of macro ‘CALL_BindTextureUnit’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5083:4: note: in expansion of macro ‘CALL_BindTextureUnit’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5083:4: note: in expansion of macro ‘CALL_BindTextureUnit’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5083:4: note: in expansion of macro ‘CALL_BindTextureUnit’
#10466|   
#10467|   typedef void (GLAPIENTRYP _glptr_BindTextureUnit)(GLuint, GLuint);
#10468|-> #define CALL_BindTextureUnit(disp, parameters) (* GET_BindTextureUnit(disp)) parameters
#10469|   #define GET_BindTextureUnit(disp) ((_glptr_BindTextureUnit)(GET_by_offset((disp), _gloffset_BindTextureUnit)))
#10470|   #define SET_BindTextureUnit(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def486]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_BlitNamedFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10476:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4032:4: note: in expansion of macro ‘CALL_BlitNamedFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4032:4: note: in expansion of macro ‘CALL_BlitNamedFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4032:4: note: in expansion of macro ‘CALL_BlitNamedFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4032:4: note: in expansion of macro ‘CALL_BlitNamedFramebuffer’
#10474|   
#10475|   typedef void (GLAPIENTRYP _glptr_BlitNamedFramebuffer)(GLuint, GLuint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
#10476|-> #define CALL_BlitNamedFramebuffer(disp, parameters) (* GET_BlitNamedFramebuffer(disp)) parameters
#10477|   #define GET_BlitNamedFramebuffer(disp) ((_glptr_BlitNamedFramebuffer)(GET_by_offset((disp), _gloffset_BlitNamedFramebuffer)))
#10478|   #define SET_BlitNamedFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def487]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CheckNamedFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10484:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4062:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4062:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4062:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatus’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4062:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatus’
#10482|   
#10483|   typedef GLenum (GLAPIENTRYP _glptr_CheckNamedFramebufferStatus)(GLuint, GLenum);
#10484|-> #define CALL_CheckNamedFramebufferStatus(disp, parameters) (* GET_CheckNamedFramebufferStatus(disp)) parameters
#10485|   #define GET_CheckNamedFramebufferStatus(disp) ((_glptr_CheckNamedFramebufferStatus)(GET_by_offset((disp), _gloffset_CheckNamedFramebufferStatus)))
#10486|   #define SET_CheckNamedFramebufferStatus(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearNamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10492:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3415:4: note: in expansion of macro ‘CALL_ClearNamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3415:4: note: in expansion of macro ‘CALL_ClearNamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3415:4: note: in expansion of macro ‘CALL_ClearNamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3415:4: note: in expansion of macro ‘CALL_ClearNamedBufferData’
#10490|   
#10491|   typedef void (GLAPIENTRYP _glptr_ClearNamedBufferData)(GLuint, GLenum, GLenum, GLenum, const GLvoid *);
#10492|-> #define CALL_ClearNamedBufferData(disp, parameters) (* GET_ClearNamedBufferData(disp)) parameters
#10493|   #define GET_ClearNamedBufferData(disp) ((_glptr_ClearNamedBufferData)(GET_by_offset((disp), _gloffset_ClearNamedBufferData)))
#10494|   #define SET_ClearNamedBufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def489]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10500:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3425:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3425:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3425:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3425:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubData’
#10498|   
#10499|   typedef void (GLAPIENTRYP _glptr_ClearNamedBufferSubData)(GLuint, GLenum, GLintptr, GLsizeiptr, GLenum, GLenum, const GLvoid *);
#10500|-> #define CALL_ClearNamedBufferSubData(disp, parameters) (* GET_ClearNamedBufferSubData(disp)) parameters
#10501|   #define GET_ClearNamedBufferSubData(disp) ((_glptr_ClearNamedBufferSubData)(GET_by_offset((disp), _gloffset_ClearNamedBufferSubData)))
#10502|   #define SET_ClearNamedBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClearNamedFramebufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10508:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3984:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3984:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3984:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfi’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3984:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfi’
#10506|   
#10507|   typedef void (GLAPIENTRYP _glptr_ClearNamedFramebufferfi)(GLuint, GLenum, GLint, GLfloat, GLint);
#10508|-> #define CALL_ClearNamedFramebufferfi(disp, parameters) (* GET_ClearNamedFramebufferfi(disp)) parameters
#10509|   #define GET_ClearNamedFramebufferfi(disp) ((_glptr_ClearNamedFramebufferfi)(GET_by_offset((disp), _gloffset_ClearNamedFramebufferfi)))
#10510|   #define SET_ClearNamedFramebufferfi(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClearNamedFramebufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10516:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3947:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3947:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3947:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3947:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferfv’
#10514|   
#10515|   typedef void (GLAPIENTRYP _glptr_ClearNamedFramebufferfv)(GLuint, GLenum, GLint, const GLfloat *);
#10516|-> #define CALL_ClearNamedFramebufferfv(disp, parameters) (* GET_ClearNamedFramebufferfv(disp)) parameters
#10517|   #define GET_ClearNamedFramebufferfv(disp) ((_glptr_ClearNamedFramebufferfv)(GET_by_offset((disp), _gloffset_ClearNamedFramebufferfv)))
#10518|   #define SET_ClearNamedFramebufferfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClearNamedFramebufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10524:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3871:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3871:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3871:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3871:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferiv’
#10522|   
#10523|   typedef void (GLAPIENTRYP _glptr_ClearNamedFramebufferiv)(GLuint, GLenum, GLint, const GLint *);
#10524|-> #define CALL_ClearNamedFramebufferiv(disp, parameters) (* GET_ClearNamedFramebufferiv(disp)) parameters
#10525|   #define GET_ClearNamedFramebufferiv(disp) ((_glptr_ClearNamedFramebufferiv)(GET_by_offset((disp), _gloffset_ClearNamedFramebufferiv)))
#10526|   #define SET_ClearNamedFramebufferiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ClearNamedFramebufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10532:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3909:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3909:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3909:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3909:4: note: in expansion of macro ‘CALL_ClearNamedFramebufferuiv’
#10530|   
#10531|   typedef void (GLAPIENTRYP _glptr_ClearNamedFramebufferuiv)(GLuint, GLenum, GLint, const GLuint *);
#10532|-> #define CALL_ClearNamedFramebufferuiv(disp, parameters) (* GET_ClearNamedFramebufferuiv(disp)) parameters
#10533|   #define GET_ClearNamedFramebufferuiv(disp) ((_glptr_ClearNamedFramebufferuiv)(GET_by_offset((disp), _gloffset_ClearNamedFramebufferuiv)))
#10534|   #define SET_ClearNamedFramebufferuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10540:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4596:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4596:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4596:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4596:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1D’
#10538|   
#10539|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage1D)(GLuint, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
#10540|-> #define CALL_CompressedTextureSubImage1D(disp, parameters) (* GET_CompressedTextureSubImage1D(disp)) parameters
#10541|   #define GET_CompressedTextureSubImage1D(disp) ((_glptr_CompressedTextureSubImage1D)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage1D)))
#10542|   #define SET_CompressedTextureSubImage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10548:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4645:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4645:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4645:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4645:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2D’
#10546|   
#10547|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage2D)(GLuint, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#10548|-> #define CALL_CompressedTextureSubImage2D(disp, parameters) (* GET_CompressedTextureSubImage2D(disp)) parameters
#10549|   #define GET_CompressedTextureSubImage2D(disp) ((_glptr_CompressedTextureSubImage2D)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage2D)))
#10550|   #define SET_CompressedTextureSubImage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10556:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4700:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4700:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4700:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4700:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3D’
#10554|   
#10555|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage3D)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#10556|-> #define CALL_CompressedTextureSubImage3D(disp, parameters) (* GET_CompressedTextureSubImage3D(disp)) parameters
#10557|   #define GET_CompressedTextureSubImage3D(disp) ((_glptr_CompressedTextureSubImage3D)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage3D)))
#10558|   #define SET_CompressedTextureSubImage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CopyNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10564:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3392:4: note: in expansion of macro ‘CALL_CopyNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3392:4: note: in expansion of macro ‘CALL_CopyNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3392:4: note: in expansion of macro ‘CALL_CopyNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3392:4: note: in expansion of macro ‘CALL_CopyNamedBufferSubData’
#10562|   
#10563|   typedef void (GLAPIENTRYP _glptr_CopyNamedBufferSubData)(GLuint, GLuint, GLintptr, GLintptr, GLsizeiptr);
#10564|-> #define CALL_CopyNamedBufferSubData(disp, parameters) (* GET_CopyNamedBufferSubData(disp)) parameters
#10565|   #define GET_CopyNamedBufferSubData(disp) ((_glptr_CopyNamedBufferSubData)(GET_by_offset((disp), _gloffset_CopyNamedBufferSubData)))
#10566|   #define SET_CopyNamedBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10572:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4747:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4747:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4747:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4747:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1D’
#10570|   
#10571|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage1D)(GLuint, GLint, GLint, GLint, GLint, GLsizei);
#10572|-> #define CALL_CopyTextureSubImage1D(disp, parameters) (* GET_CopyTextureSubImage1D(disp)) parameters
#10573|   #define GET_CopyTextureSubImage1D(disp) ((_glptr_CopyTextureSubImage1D)(GET_by_offset((disp), _gloffset_CopyTextureSubImage1D)))
#10574|   #define SET_CopyTextureSubImage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def499]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10580:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4788:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4788:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4788:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4788:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2D’
#10578|   
#10579|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage2D)(GLuint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#10580|-> #define CALL_CopyTextureSubImage2D(disp, parameters) (* GET_CopyTextureSubImage2D(disp)) parameters
#10581|   #define GET_CopyTextureSubImage2D(disp) ((_glptr_CopyTextureSubImage2D)(GET_by_offset((disp), _gloffset_CopyTextureSubImage2D)))
#10582|   #define SET_CopyTextureSubImage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10588:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4833:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4833:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4833:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4833:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3D’
#10586|   
#10587|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage3D)(GLuint, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#10588|-> #define CALL_CopyTextureSubImage3D(disp, parameters) (* GET_CopyTextureSubImage3D(disp)) parameters
#10589|   #define GET_CopyTextureSubImage3D(disp) ((_glptr_CopyTextureSubImage3D)(GET_by_offset((disp), _gloffset_CopyTextureSubImage3D)))
#10590|   #define SET_CopyTextureSubImage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CreateBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10596:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3361:4: note: in expansion of macro ‘CALL_CreateBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3361:4: note: in expansion of macro ‘CALL_CreateBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3361:4: note: in expansion of macro ‘CALL_CreateBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3361:4: note: in expansion of macro ‘CALL_CreateBuffers’
#10594|   
#10595|   typedef void (GLAPIENTRYP _glptr_CreateBuffers)(GLsizei, GLuint *);
#10596|-> #define CALL_CreateBuffers(disp, parameters) (* GET_CreateBuffers(disp)) parameters
#10597|   #define GET_CreateBuffers(disp) ((_glptr_CreateBuffers)(GET_by_offset((disp), _gloffset_CreateBuffers)))
#10598|   #define SET_CreateBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CreateFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10604:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3546:4: note: in expansion of macro ‘CALL_CreateFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3546:4: note: in expansion of macro ‘CALL_CreateFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3546:4: note: in expansion of macro ‘CALL_CreateFramebuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3546:4: note: in expansion of macro ‘CALL_CreateFramebuffers’
#10602|   
#10603|   typedef void (GLAPIENTRYP _glptr_CreateFramebuffers)(GLsizei, GLuint *);
#10604|-> #define CALL_CreateFramebuffers(disp, parameters) (* GET_CreateFramebuffers(disp)) parameters
#10605|   #define GET_CreateFramebuffers(disp) ((_glptr_CreateFramebuffers)(GET_by_offset((disp), _gloffset_CreateFramebuffers)))
#10606|   #define SET_CreateFramebuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def503]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_CreateProgramPipelines’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10612:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:467:4: note: in expansion of macro ‘CALL_CreateProgramPipelines’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:467:4: note: in expansion of macro ‘CALL_CreateProgramPipelines’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:467:4: note: in expansion of macro ‘CALL_CreateProgramPipelines’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:467:4: note: in expansion of macro ‘CALL_CreateProgramPipelines’
#10610|   
#10611|   typedef void (GLAPIENTRYP _glptr_CreateProgramPipelines)(GLsizei, GLuint *);
#10612|-> #define CALL_CreateProgramPipelines(disp, parameters) (* GET_CreateProgramPipelines(disp)) parameters
#10613|   #define GET_CreateProgramPipelines(disp) ((_glptr_CreateProgramPipelines)(GET_by_offset((disp), _gloffset_CreateProgramPipelines)))
#10614|   #define SET_CreateProgramPipelines(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def504]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_CreateQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10620:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:477:4: note: in expansion of macro ‘CALL_CreateQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:477:4: note: in expansion of macro ‘CALL_CreateQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:477:4: note: in expansion of macro ‘CALL_CreateQueries’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:477:4: note: in expansion of macro ‘CALL_CreateQueries’
#10618|   
#10619|   typedef void (GLAPIENTRYP _glptr_CreateQueries)(GLenum, GLsizei, GLuint *);
#10620|-> #define CALL_CreateQueries(disp, parameters) (* GET_CreateQueries(disp)) parameters
#10621|   #define GET_CreateQueries(disp) ((_glptr_CreateQueries)(GET_by_offset((disp), _gloffset_CreateQueries)))
#10622|   #define SET_CreateQueries(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def505]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CreateRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10628:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4092:4: note: in expansion of macro ‘CALL_CreateRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4092:4: note: in expansion of macro ‘CALL_CreateRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4092:4: note: in expansion of macro ‘CALL_CreateRenderbuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4092:4: note: in expansion of macro ‘CALL_CreateRenderbuffers’
#10626|   
#10627|   typedef void (GLAPIENTRYP _glptr_CreateRenderbuffers)(GLsizei, GLuint *);
#10628|-> #define CALL_CreateRenderbuffers(disp, parameters) (* GET_CreateRenderbuffers(disp)) parameters
#10629|   #define GET_CreateRenderbuffers(disp) ((_glptr_CreateRenderbuffers)(GET_by_offset((disp), _gloffset_CreateRenderbuffers)))
#10630|   #define SET_CreateRenderbuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def506]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_CreateSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10636:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:457:4: note: in expansion of macro ‘CALL_CreateSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:457:4: note: in expansion of macro ‘CALL_CreateSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:457:4: note: in expansion of macro ‘CALL_CreateSamplers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:457:4: note: in expansion of macro ‘CALL_CreateSamplers’
#10634|   
#10635|   typedef void (GLAPIENTRYP _glptr_CreateSamplers)(GLsizei, GLuint *);
#10636|-> #define CALL_CreateSamplers(disp, parameters) (* GET_CreateSamplers(disp)) parameters
#10637|   #define GET_CreateSamplers(disp) ((_glptr_CreateSamplers)(GET_by_offset((disp), _gloffset_CreateSamplers)))
#10638|   #define SET_CreateSamplers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def507]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CreateTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10644:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4177:4: note: in expansion of macro ‘CALL_CreateTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4177:4: note: in expansion of macro ‘CALL_CreateTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4177:4: note: in expansion of macro ‘CALL_CreateTextures’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4177:4: note: in expansion of macro ‘CALL_CreateTextures’
#10642|   
#10643|   typedef void (GLAPIENTRYP _glptr_CreateTextures)(GLenum, GLsizei, GLuint *);
#10644|-> #define CALL_CreateTextures(disp, parameters) (* GET_CreateTextures(disp)) parameters
#10645|   #define GET_CreateTextures(disp) ((_glptr_CreateTextures)(GET_by_offset((disp), _gloffset_CreateTextures)))
#10646|   #define SET_CreateTextures(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def508]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_CreateTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10652:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3259:4: note: in expansion of macro ‘CALL_CreateTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3259:4: note: in expansion of macro ‘CALL_CreateTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3259:4: note: in expansion of macro ‘CALL_CreateTransformFeedbacks’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3259:4: note: in expansion of macro ‘CALL_CreateTransformFeedbacks’
#10650|   
#10651|   typedef void (GLAPIENTRYP _glptr_CreateTransformFeedbacks)(GLsizei, GLuint *);
#10652|-> #define CALL_CreateTransformFeedbacks(disp, parameters) (* GET_CreateTransformFeedbacks(disp)) parameters
#10653|   #define GET_CreateTransformFeedbacks(disp) ((_glptr_CreateTransformFeedbacks)(GET_by_offset((disp), _gloffset_CreateTransformFeedbacks)))
#10654|   #define SET_CreateTransformFeedbacks(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_CreateVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10660:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:50:4: note: in expansion of macro ‘CALL_CreateVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:50:4: note: in expansion of macro ‘CALL_CreateVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:50:4: note: in expansion of macro ‘CALL_CreateVertexArrays’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:50:4: note: in expansion of macro ‘CALL_CreateVertexArrays’
#10658|   
#10659|   typedef void (GLAPIENTRYP _glptr_CreateVertexArrays)(GLsizei, GLuint *);
#10660|-> #define CALL_CreateVertexArrays(disp, parameters) (* GET_CreateVertexArrays(disp)) parameters
#10661|   #define GET_CreateVertexArrays(disp) ((_glptr_CreateVertexArrays)(GET_by_offset((disp), _gloffset_CreateVertexArrays)))
#10662|   #define SET_CreateVertexArrays(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DisableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10668:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:66:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:66:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:66:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:66:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttrib’
#10666|   
#10667|   typedef void (GLAPIENTRYP _glptr_DisableVertexArrayAttrib)(GLuint, GLuint);
#10668|-> #define CALL_DisableVertexArrayAttrib(disp, parameters) (* GET_DisableVertexArrayAttrib(disp)) parameters
#10669|   #define GET_DisableVertexArrayAttrib(disp) ((_glptr_DisableVertexArrayAttrib)(GET_by_offset((disp), _gloffset_DisableVertexArrayAttrib)))
#10670|   #define SET_DisableVertexArrayAttrib(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def511]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_EnableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10676:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:92:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:92:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:92:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttrib’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:92:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttrib’
#10674|   
#10675|   typedef void (GLAPIENTRYP _glptr_EnableVertexArrayAttrib)(GLuint, GLuint);
#10676|-> #define CALL_EnableVertexArrayAttrib(disp, parameters) (* GET_EnableVertexArrayAttrib(disp)) parameters
#10677|   #define GET_EnableVertexArrayAttrib(disp) ((_glptr_EnableVertexArrayAttrib)(GET_by_offset((disp), _gloffset_EnableVertexArrayAttrib)))
#10678|   #define SET_EnableVertexArrayAttrib(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def512]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_FlushMappedNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10684:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3485:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3485:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3485:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3485:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRange’
#10682|   
#10683|   typedef void (GLAPIENTRYP _glptr_FlushMappedNamedBufferRange)(GLuint, GLintptr, GLsizeiptr);
#10684|-> #define CALL_FlushMappedNamedBufferRange(disp, parameters) (* GET_FlushMappedNamedBufferRange(disp)) parameters
#10685|   #define GET_FlushMappedNamedBufferRange(disp) ((_glptr_FlushMappedNamedBufferRange)(GET_by_offset((disp), _gloffset_FlushMappedNamedBufferRange)))
#10686|   #define SET_FlushMappedNamedBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def513]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GenerateTextureMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10692:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5059:4: note: in expansion of macro ‘CALL_GenerateTextureMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5059:4: note: in expansion of macro ‘CALL_GenerateTextureMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5059:4: note: in expansion of macro ‘CALL_GenerateTextureMipmap’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5059:4: note: in expansion of macro ‘CALL_GenerateTextureMipmap’
#10690|   
#10691|   typedef void (GLAPIENTRYP _glptr_GenerateTextureMipmap)(GLuint);
#10692|-> #define CALL_GenerateTextureMipmap(disp, parameters) (* GET_GenerateTextureMipmap(disp)) parameters
#10693|   #define GET_GenerateTextureMipmap(disp) ((_glptr_GenerateTextureMipmap)(GET_by_offset((disp), _gloffset_GenerateTextureMipmap)))
#10694|   #define SET_GenerateTextureMipmap(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GetCompressedTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10700:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5154:4: note: in expansion of macro ‘CALL_GetCompressedTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5154:4: note: in expansion of macro ‘CALL_GetCompressedTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5154:4: note: in expansion of macro ‘CALL_GetCompressedTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5154:4: note: in expansion of macro ‘CALL_GetCompressedTextureImage’
#10698|   
#10699|   typedef void (GLAPIENTRYP _glptr_GetCompressedTextureImage)(GLuint, GLint, GLsizei, GLvoid *);
#10700|-> #define CALL_GetCompressedTextureImage(disp, parameters) (* GET_GetCompressedTextureImage(disp)) parameters
#10701|   #define GET_GetCompressedTextureImage(disp) ((_glptr_GetCompressedTextureImage)(GET_by_offset((disp), _gloffset_GetCompressedTextureImage)))
#10702|   #define SET_GetCompressedTextureImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10708:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3516:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3516:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3516:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteri64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3516:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteri64v’
#10706|   
#10707|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferParameteri64v)(GLuint, GLenum, GLint64 *);
#10708|-> #define CALL_GetNamedBufferParameteri64v(disp, parameters) (* GET_GetNamedBufferParameteri64v(disp)) parameters
#10709|   #define GET_GetNamedBufferParameteri64v(disp) ((_glptr_GetNamedBufferParameteri64v)(GET_by_offset((disp), _gloffset_GetNamedBufferParameteri64v)))
#10710|   #define SET_GetNamedBufferParameteri64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10716:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3506:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3506:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3506:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3506:4: note: in expansion of macro ‘CALL_GetNamedBufferParameteriv’
#10714|   
#10715|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferParameteriv)(GLuint, GLenum, GLint *);
#10716|-> #define CALL_GetNamedBufferParameteriv(disp, parameters) (* GET_GetNamedBufferParameteriv(disp)) parameters
#10717|   #define GET_GetNamedBufferParameteriv(disp) ((_glptr_GetNamedBufferParameteriv)(GET_by_offset((disp), _gloffset_GetNamedBufferParameteriv)))
#10718|   #define SET_GetNamedBufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10724:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3526:4: note: in expansion of macro ‘CALL_GetNamedBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3526:4: note: in expansion of macro ‘CALL_GetNamedBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3526:4: note: in expansion of macro ‘CALL_GetNamedBufferPointerv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3526:4: note: in expansion of macro ‘CALL_GetNamedBufferPointerv’
#10722|   
#10723|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferPointerv)(GLuint, GLenum, GLvoid **);
#10724|-> #define CALL_GetNamedBufferPointerv(disp, parameters) (* GET_GetNamedBufferPointerv(disp)) parameters
#10725|   #define GET_GetNamedBufferPointerv(disp) ((_glptr_GetNamedBufferPointerv)(GET_by_offset((disp), _gloffset_GetNamedBufferPointerv)))
#10726|   #define SET_GetNamedBufferPointerv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10732:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3536:4: note: in expansion of macro ‘CALL_GetNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3536:4: note: in expansion of macro ‘CALL_GetNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3536:4: note: in expansion of macro ‘CALL_GetNamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3536:4: note: in expansion of macro ‘CALL_GetNamedBufferSubData’
#10730|   
#10731|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferSubData)(GLuint, GLintptr, GLsizeiptr, GLvoid *);
#10732|-> #define CALL_GetNamedBufferSubData(disp, parameters) (* GET_GetNamedBufferSubData(disp)) parameters
#10733|   #define GET_GetNamedBufferSubData(disp) ((_glptr_GetNamedBufferSubData)(GET_by_offset((disp), _gloffset_GetNamedBufferSubData)))
#10734|   #define SET_GetNamedBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10740:74: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4082:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4082:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4082:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4082:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameteriv’
#10738|   
#10739|   typedef void (GLAPIENTRYP _glptr_GetNamedFramebufferAttachmentParameteriv)(GLuint, GLenum, GLenum, GLint *);
#10740|-> #define CALL_GetNamedFramebufferAttachmentParameteriv(disp, parameters) (* GET_GetNamedFramebufferAttachmentParameteriv(disp)) parameters
#10741|   #define GET_GetNamedFramebufferAttachmentParameteriv(disp) ((_glptr_GetNamedFramebufferAttachmentParameteriv)(GET_by_offset((disp), _gloffset_GetNamedFramebufferAttachmentParameteriv)))
#10742|   #define SET_GetNamedFramebufferAttachmentParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10748:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4072:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4072:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4072:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4072:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameteriv’
#10746|   
#10747|   typedef void (GLAPIENTRYP _glptr_GetNamedFramebufferParameteriv)(GLuint, GLenum, GLint *);
#10748|-> #define CALL_GetNamedFramebufferParameteriv(disp, parameters) (* GET_GetNamedFramebufferParameteriv(disp)) parameters
#10749|   #define GET_GetNamedFramebufferParameteriv(disp) ((_glptr_GetNamedFramebufferParameteriv)(GET_by_offset((disp), _gloffset_GetNamedFramebufferParameteriv)))
#10750|   #define SET_GetNamedFramebufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10756:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4167:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4167:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4167:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4167:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameteriv’
#10754|   
#10755|   typedef void (GLAPIENTRYP _glptr_GetNamedRenderbufferParameteriv)(GLuint, GLenum, GLint *);
#10756|-> #define CALL_GetNamedRenderbufferParameteriv(disp, parameters) (* GET_GetNamedRenderbufferParameteriv(disp)) parameters
#10757|   #define GET_GetNamedRenderbufferParameteriv(disp) ((_glptr_GetNamedRenderbufferParameteriv)(GET_by_offset((disp), _gloffset_GetNamedRenderbufferParameteriv)))
#10758|   #define SET_GetNamedRenderbufferParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetQueryBufferObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10764:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:558:4: note: in expansion of macro ‘CALL_GetQueryBufferObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:558:4: note: in expansion of macro ‘CALL_GetQueryBufferObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:558:4: note: in expansion of macro ‘CALL_GetQueryBufferObjecti64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:558:4: note: in expansion of macro ‘CALL_GetQueryBufferObjecti64v’
#10762|   
#10763|   typedef void (GLAPIENTRYP _glptr_GetQueryBufferObjecti64v)(GLuint, GLuint, GLenum, GLintptr);
#10764|-> #define CALL_GetQueryBufferObjecti64v(disp, parameters) (* GET_GetQueryBufferObjecti64v(disp)) parameters
#10765|   #define GET_GetQueryBufferObjecti64v(disp) ((_glptr_GetQueryBufferObjecti64v)(GET_by_offset((disp), _gloffset_GetQueryBufferObjecti64v)))
#10766|   #define SET_GetQueryBufferObjecti64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def523]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetQueryBufferObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10772:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:496:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:496:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:496:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:496:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectiv’
#10770|   
#10771|   typedef void (GLAPIENTRYP _glptr_GetQueryBufferObjectiv)(GLuint, GLuint, GLenum, GLintptr);
#10772|-> #define CALL_GetQueryBufferObjectiv(disp, parameters) (* GET_GetQueryBufferObjectiv(disp)) parameters
#10773|   #define GET_GetQueryBufferObjectiv(disp) ((_glptr_GetQueryBufferObjectiv)(GET_by_offset((disp), _gloffset_GetQueryBufferObjectiv)))
#10774|   #define SET_GetQueryBufferObjectiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetQueryBufferObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10780:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:589:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:589:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:589:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectui64v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:589:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectui64v’
#10778|   
#10779|   typedef void (GLAPIENTRYP _glptr_GetQueryBufferObjectui64v)(GLuint, GLuint, GLenum, GLintptr);
#10780|-> #define CALL_GetQueryBufferObjectui64v(disp, parameters) (* GET_GetQueryBufferObjectui64v(disp)) parameters
#10781|   #define GET_GetQueryBufferObjectui64v(disp) ((_glptr_GetQueryBufferObjectui64v)(GET_by_offset((disp), _gloffset_GetQueryBufferObjectui64v)))
#10782|   #define SET_GetQueryBufferObjectui64v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def525]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetQueryBufferObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10788:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:527:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:527:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:527:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:527:4: note: in expansion of macro ‘CALL_GetQueryBufferObjectuiv’
#10786|   
#10787|   typedef void (GLAPIENTRYP _glptr_GetQueryBufferObjectuiv)(GLuint, GLuint, GLenum, GLintptr);
#10788|-> #define CALL_GetQueryBufferObjectuiv(disp, parameters) (* GET_GetQueryBufferObjectuiv(disp)) parameters
#10789|   #define GET_GetQueryBufferObjectuiv(disp) ((_glptr_GetQueryBufferObjectuiv)(GET_by_offset((disp), _gloffset_GetQueryBufferObjectuiv)))
#10790|   #define SET_GetQueryBufferObjectuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def526]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_GetTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10796:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5116:4: note: in expansion of macro ‘CALL_GetTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5116:4: note: in expansion of macro ‘CALL_GetTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5116:4: note: in expansion of macro ‘CALL_GetTextureImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5116:4: note: in expansion of macro ‘CALL_GetTextureImage’
#10794|   
#10795|   typedef void (GLAPIENTRYP _glptr_GetTextureImage)(GLuint, GLint, GLenum, GLenum, GLsizei, GLvoid *);
#10796|-> #define CALL_GetTextureImage(disp, parameters) (* GET_GetTextureImage(disp)) parameters
#10797|   #define GET_GetTextureImage(disp) ((_glptr_GetTextureImage)(GET_by_offset((disp), _gloffset_GetTextureImage)))
#10798|   #define SET_GetTextureImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def527]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureLevelParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10804:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5181:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5181:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5181:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5181:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfv’
#10802|   
#10803|   typedef void (GLAPIENTRYP _glptr_GetTextureLevelParameterfv)(GLuint, GLint, GLenum, GLfloat *);
#10804|-> #define CALL_GetTextureLevelParameterfv(disp, parameters) (* GET_GetTextureLevelParameterfv(disp)) parameters
#10805|   #define GET_GetTextureLevelParameterfv(disp) ((_glptr_GetTextureLevelParameterfv)(GET_by_offset((disp), _gloffset_GetTextureLevelParameterfv)))
#10806|   #define SET_GetTextureLevelParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def528]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureLevelParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10812:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5191:4: note: in expansion of macro ‘CALL_GetTextureLevelParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5191:4: note: in expansion of macro ‘CALL_GetTextureLevelParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5191:4: note: in expansion of macro ‘CALL_GetTextureLevelParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5191:4: note: in expansion of macro ‘CALL_GetTextureLevelParameteriv’
#10810|   
#10811|   typedef void (GLAPIENTRYP _glptr_GetTextureLevelParameteriv)(GLuint, GLint, GLenum, GLint *);
#10812|-> #define CALL_GetTextureLevelParameteriv(disp, parameters) (* GET_GetTextureLevelParameteriv(disp)) parameters
#10813|   #define GET_GetTextureLevelParameteriv(disp) ((_glptr_GetTextureLevelParameteriv)(GET_by_offset((disp), _gloffset_GetTextureLevelParameteriv)))
#10814|   #define SET_GetTextureLevelParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10820:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5211:4: note: in expansion of macro ‘CALL_GetTextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5211:4: note: in expansion of macro ‘CALL_GetTextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5211:4: note: in expansion of macro ‘CALL_GetTextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5211:4: note: in expansion of macro ‘CALL_GetTextureParameterIiv’
#10818|   
#10819|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterIiv)(GLuint, GLenum, GLint *);
#10820|-> #define CALL_GetTextureParameterIiv(disp, parameters) (* GET_GetTextureParameterIiv(disp)) parameters
#10821|   #define GET_GetTextureParameterIiv(disp) ((_glptr_GetTextureParameterIiv)(GET_by_offset((disp), _gloffset_GetTextureParameterIiv)))
#10822|   #define SET_GetTextureParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10828:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5221:4: note: in expansion of macro ‘CALL_GetTextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5221:4: note: in expansion of macro ‘CALL_GetTextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5221:4: note: in expansion of macro ‘CALL_GetTextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5221:4: note: in expansion of macro ‘CALL_GetTextureParameterIuiv’
#10826|   
#10827|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterIuiv)(GLuint, GLenum, GLuint *);
#10828|-> #define CALL_GetTextureParameterIuiv(disp, parameters) (* GET_GetTextureParameterIuiv(disp)) parameters
#10829|   #define GET_GetTextureParameterIuiv(disp) ((_glptr_GetTextureParameterIuiv)(GET_by_offset((disp), _gloffset_GetTextureParameterIuiv)))
#10830|   #define SET_GetTextureParameterIuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10836:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5201:4: note: in expansion of macro ‘CALL_GetTextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5201:4: note: in expansion of macro ‘CALL_GetTextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5201:4: note: in expansion of macro ‘CALL_GetTextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5201:4: note: in expansion of macro ‘CALL_GetTextureParameterfv’
#10834|   
#10835|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterfv)(GLuint, GLenum, GLfloat *);
#10836|-> #define CALL_GetTextureParameterfv(disp, parameters) (* GET_GetTextureParameterfv(disp)) parameters
#10837|   #define GET_GetTextureParameterfv(disp) ((_glptr_GetTextureParameterfv)(GET_by_offset((disp), _gloffset_GetTextureParameterfv)))
#10838|   #define SET_GetTextureParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10844:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5231:4: note: in expansion of macro ‘CALL_GetTextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5231:4: note: in expansion of macro ‘CALL_GetTextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5231:4: note: in expansion of macro ‘CALL_GetTextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5231:4: note: in expansion of macro ‘CALL_GetTextureParameteriv’
#10842|   
#10843|   typedef void (GLAPIENTRYP _glptr_GetTextureParameteriv)(GLuint, GLenum, GLint *);
#10844|-> #define CALL_GetTextureParameteriv(disp, parameters) (* GET_GetTextureParameteriv(disp)) parameters
#10845|   #define GET_GetTextureParameteriv(disp) ((_glptr_GetTextureParameteriv)(GET_by_offset((disp), _gloffset_GetTextureParameteriv)))
#10846|   #define SET_GetTextureParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTransformFeedbacki64_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10852:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3351:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki64_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3351:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki64_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3351:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki64_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3351:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki64_v’
#10850|   
#10851|   typedef void (GLAPIENTRYP _glptr_GetTransformFeedbacki64_v)(GLuint, GLenum, GLuint, GLint64 *);
#10852|-> #define CALL_GetTransformFeedbacki64_v(disp, parameters) (* GET_GetTransformFeedbacki64_v(disp)) parameters
#10853|   #define GET_GetTransformFeedbacki64_v(disp) ((_glptr_GetTransformFeedbacki64_v)(GET_by_offset((disp), _gloffset_GetTransformFeedbacki64_v)))
#10854|   #define SET_GetTransformFeedbacki64_v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def534]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTransformFeedbacki_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10860:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3341:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3341:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3341:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki_v’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3341:4: note: in expansion of macro ‘CALL_GetTransformFeedbacki_v’
#10858|   
#10859|   typedef void (GLAPIENTRYP _glptr_GetTransformFeedbacki_v)(GLuint, GLenum, GLuint, GLint *);
#10860|-> #define CALL_GetTransformFeedbacki_v(disp, parameters) (* GET_GetTransformFeedbacki_v(disp)) parameters
#10861|   #define GET_GetTransformFeedbacki_v(disp) ((_glptr_GetTransformFeedbacki_v)(GET_by_offset((disp), _gloffset_GetTransformFeedbacki_v)))
#10862|   #define SET_GetTransformFeedbacki_v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def535]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetTransformFeedbackiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10868:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3331:4: note: in expansion of macro ‘CALL_GetTransformFeedbackiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3331:4: note: in expansion of macro ‘CALL_GetTransformFeedbackiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3331:4: note: in expansion of macro ‘CALL_GetTransformFeedbackiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3331:4: note: in expansion of macro ‘CALL_GetTransformFeedbackiv’
#10866|   
#10867|   typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackiv)(GLuint, GLenum, GLint *);
#10868|-> #define CALL_GetTransformFeedbackiv(disp, parameters) (* GET_GetTransformFeedbackiv(disp)) parameters
#10869|   #define GET_GetTransformFeedbackiv(disp) ((_glptr_GetTransformFeedbackiv)(GET_by_offset((disp), _gloffset_GetTransformFeedbackiv)))
#10870|   #define SET_GetTransformFeedbackiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def536]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayIndexed64iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10876:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:447:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexed64iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:447:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexed64iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:447:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexed64iv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:447:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexed64iv’
#10874|   
#10875|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayIndexed64iv)(GLuint, GLuint, GLenum, GLint64 *);
#10876|-> #define CALL_GetVertexArrayIndexed64iv(disp, parameters) (* GET_GetVertexArrayIndexed64iv(disp)) parameters
#10877|   #define GET_GetVertexArrayIndexed64iv(disp) ((_glptr_GetVertexArrayIndexed64iv)(GET_by_offset((disp), _gloffset_GetVertexArrayIndexed64iv)))
#10878|   #define SET_GetVertexArrayIndexed64iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def537]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayIndexediv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10884:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:437:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexediv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:437:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexediv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:437:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexediv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:437:4: note: in expansion of macro ‘CALL_GetVertexArrayIndexediv’
#10882|   
#10883|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayIndexediv)(GLuint, GLuint, GLenum, GLint *);
#10884|-> #define CALL_GetVertexArrayIndexediv(disp, parameters) (* GET_GetVertexArrayIndexediv(disp)) parameters
#10885|   #define GET_GetVertexArrayIndexediv(disp) ((_glptr_GetVertexArrayIndexediv)(GET_by_offset((disp), _gloffset_GetVertexArrayIndexediv)))
#10886|   #define SET_GetVertexArrayIndexediv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def538]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10892:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:427:4: note: in expansion of macro ‘CALL_GetVertexArrayiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:427:4: note: in expansion of macro ‘CALL_GetVertexArrayiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:427:4: note: in expansion of macro ‘CALL_GetVertexArrayiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:427:4: note: in expansion of macro ‘CALL_GetVertexArrayiv’
#10890|   
#10891|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayiv)(GLuint, GLenum, GLint *);
#10892|-> #define CALL_GetVertexArrayiv(disp, parameters) (* GET_GetVertexArrayiv(disp)) parameters
#10893|   #define GET_GetVertexArrayiv(disp) ((_glptr_GetVertexArrayiv)(GET_by_offset((disp), _gloffset_GetVertexArrayiv)))
#10894|   #define SET_GetVertexArrayiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def539]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateNamedFramebufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10900:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3779:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3779:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3779:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3779:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferData’
#10898|   
#10899|   typedef void (GLAPIENTRYP _glptr_InvalidateNamedFramebufferData)(GLuint, GLsizei, const GLenum *);
#10900|-> #define CALL_InvalidateNamedFramebufferData(disp, parameters) (* GET_InvalidateNamedFramebufferData(disp)) parameters
#10901|   #define GET_InvalidateNamedFramebufferData(disp) ((_glptr_InvalidateNamedFramebufferData)(GET_by_offset((disp), _gloffset_InvalidateNamedFramebufferData)))
#10902|   #define SET_InvalidateNamedFramebufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def540]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateNamedFramebufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10908:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3826:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3826:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3826:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3826:4: note: in expansion of macro ‘CALL_InvalidateNamedFramebufferSubData’
#10906|   
#10907|   typedef void (GLAPIENTRYP _glptr_InvalidateNamedFramebufferSubData)(GLuint, GLsizei, const GLenum *, GLint, GLint, GLsizei, GLsizei);
#10908|-> #define CALL_InvalidateNamedFramebufferSubData(disp, parameters) (* GET_InvalidateNamedFramebufferSubData(disp)) parameters
#10909|   #define GET_InvalidateNamedFramebufferSubData(disp) ((_glptr_InvalidateNamedFramebufferSubData)(GET_by_offset((disp), _gloffset_InvalidateNamedFramebufferSubData)))
#10910|   #define SET_InvalidateNamedFramebufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def541]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_MapNamedBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10916:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3435:11: note: in expansion of macro ‘CALL_MapNamedBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3435:11: note: in expansion of macro ‘CALL_MapNamedBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3435:11: note: in expansion of macro ‘CALL_MapNamedBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3435:11: note: in expansion of macro ‘CALL_MapNamedBuffer’
#10914|   
#10915|   typedef GLvoid * (GLAPIENTRYP _glptr_MapNamedBuffer)(GLuint, GLenum);
#10916|-> #define CALL_MapNamedBuffer(disp, parameters) (* GET_MapNamedBuffer(disp)) parameters
#10917|   #define GET_MapNamedBuffer(disp) ((_glptr_MapNamedBuffer)(GET_by_offset((disp), _gloffset_MapNamedBuffer)))
#10918|   #define SET_MapNamedBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def542]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_MapNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10924:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3445:11: note: in expansion of macro ‘CALL_MapNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3445:11: note: in expansion of macro ‘CALL_MapNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3445:11: note: in expansion of macro ‘CALL_MapNamedBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3445:11: note: in expansion of macro ‘CALL_MapNamedBufferRange’
#10922|   
#10923|   typedef GLvoid * (GLAPIENTRYP _glptr_MapNamedBufferRange)(GLuint, GLintptr, GLsizeiptr, GLbitfield);
#10924|-> #define CALL_MapNamedBufferRange(disp, parameters) (* GET_MapNamedBufferRange(disp)) parameters
#10925|   #define GET_MapNamedBufferRange(disp) ((_glptr_MapNamedBufferRange)(GET_by_offset((disp), _gloffset_MapNamedBufferRange)))
#10926|   #define SET_MapNamedBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def543]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10932:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:344:7: note: in expansion of macro ‘CALL_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10933:83: note: in expansion of macro ‘_gloffset_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10932:51: note: in expansion of macro ‘GET_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:344:7: note: in expansion of macro ‘CALL_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:344:7: note: in expansion of macro ‘CALL_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:344:7: note: in expansion of macro ‘CALL_NamedBufferData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:344:7: note: in expansion of macro ‘CALL_NamedBufferData’
#10930|   
#10931|   typedef void (GLAPIENTRYP _glptr_NamedBufferData)(GLuint, GLsizeiptr, const GLvoid *, GLenum);
#10932|-> #define CALL_NamedBufferData(disp, parameters) (* GET_NamedBufferData(disp)) parameters
#10933|   #define GET_NamedBufferData(disp) ((_glptr_NamedBufferData)(GET_by_offset((disp), _gloffset_NamedBufferData)))
#10934|   #define SET_NamedBufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def544]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_NamedBufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10940:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3371:4: note: in expansion of macro ‘CALL_NamedBufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3371:4: note: in expansion of macro ‘CALL_NamedBufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3371:4: note: in expansion of macro ‘CALL_NamedBufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3371:4: note: in expansion of macro ‘CALL_NamedBufferStorage’
#10938|   
#10939|   typedef void (GLAPIENTRYP _glptr_NamedBufferStorage)(GLuint, GLsizeiptr, const GLvoid *, GLbitfield);
#10940|-> #define CALL_NamedBufferStorage(disp, parameters) (* GET_NamedBufferStorage(disp)) parameters
#10941|   #define GET_NamedBufferStorage(disp) ((_glptr_NamedBufferStorage)(GET_by_offset((disp), _gloffset_NamedBufferStorage)))
#10942|   #define SET_NamedBufferStorage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def545]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10948:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:462:7: note: in expansion of macro ‘CALL_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10949:89: note: in expansion of macro ‘_gloffset_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10948:54: note: in expansion of macro ‘GET_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:462:7: note: in expansion of macro ‘CALL_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:462:7: note: in expansion of macro ‘CALL_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:462:7: note: in expansion of macro ‘CALL_NamedBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:462:7: note: in expansion of macro ‘CALL_NamedBufferSubData’
#10946|   
#10947|   typedef void (GLAPIENTRYP _glptr_NamedBufferSubData)(GLuint, GLintptr, GLsizeiptr, const GLvoid *);
#10948|-> #define CALL_NamedBufferSubData(disp, parameters) (* GET_NamedBufferSubData(disp)) parameters
#10949|   #define GET_NamedBufferSubData(disp) ((_glptr_NamedBufferSubData)(GET_by_offset((disp), _gloffset_NamedBufferSubData)))
#10950|   #define SET_NamedBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferDrawBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10956:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3685:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3685:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3685:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3685:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffer’
#10954|   
#10955|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferDrawBuffer)(GLuint, GLenum);
#10956|-> #define CALL_NamedFramebufferDrawBuffer(disp, parameters) (* GET_NamedFramebufferDrawBuffer(disp)) parameters
#10957|   #define GET_NamedFramebufferDrawBuffer(disp) ((_glptr_NamedFramebufferDrawBuffer)(GET_by_offset((disp), _gloffset_NamedFramebufferDrawBuffer)))
#10958|   #define SET_NamedFramebufferDrawBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def547]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferDrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10964:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3715:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3715:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3715:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3715:4: note: in expansion of macro ‘CALL_NamedFramebufferDrawBuffers’
#10962|   
#10963|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferDrawBuffers)(GLuint, GLsizei, const GLenum *);
#10964|-> #define CALL_NamedFramebufferDrawBuffers(disp, parameters) (* GET_NamedFramebufferDrawBuffers(disp)) parameters
#10965|   #define GET_NamedFramebufferDrawBuffers(disp) ((_glptr_NamedFramebufferDrawBuffers)(GET_by_offset((disp), _gloffset_NamedFramebufferDrawBuffers)))
#10966|   #define SET_NamedFramebufferDrawBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def548]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10972:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3594:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3594:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3594:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3594:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteri’
#10970|   
#10971|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferParameteri)(GLuint, GLenum, GLint);
#10972|-> #define CALL_NamedFramebufferParameteri(disp, parameters) (* GET_NamedFramebufferParameteri(disp)) parameters
#10973|   #define GET_NamedFramebufferParameteri(disp) ((_glptr_NamedFramebufferParameteri)(GET_by_offset((disp), _gloffset_NamedFramebufferParameteri)))
#10974|   #define SET_NamedFramebufferParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferReadBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10980:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3749:4: note: in expansion of macro ‘CALL_NamedFramebufferReadBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3749:4: note: in expansion of macro ‘CALL_NamedFramebufferReadBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3749:4: note: in expansion of macro ‘CALL_NamedFramebufferReadBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3749:4: note: in expansion of macro ‘CALL_NamedFramebufferReadBuffer’
#10978|   
#10979|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferReadBuffer)(GLuint, GLenum);
#10980|-> #define CALL_NamedFramebufferReadBuffer(disp, parameters) (* GET_NamedFramebufferReadBuffer(disp)) parameters
#10981|   #define GET_NamedFramebufferReadBuffer(disp) ((_glptr_NamedFramebufferReadBuffer)(GET_by_offset((disp), _gloffset_NamedFramebufferReadBuffer)))
#10982|   #define SET_NamedFramebufferReadBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def550]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10988:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3565:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3565:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3565:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3565:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbuffer’
#10986|   
#10987|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferRenderbuffer)(GLuint, GLenum, GLenum, GLuint);
#10988|-> #define CALL_NamedFramebufferRenderbuffer(disp, parameters) (* GET_NamedFramebufferRenderbuffer(disp)) parameters
#10989|   #define GET_NamedFramebufferRenderbuffer(disp) ((_glptr_NamedFramebufferRenderbuffer)(GET_by_offset((disp), _gloffset_NamedFramebufferRenderbuffer)))
#10990|   #define SET_NamedFramebufferRenderbuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def551]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:10996:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3624:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3624:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3624:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3624:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture’
#10994|   
#10995|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferTexture)(GLuint, GLenum, GLuint, GLint);
#10996|-> #define CALL_NamedFramebufferTexture(disp, parameters) (* GET_NamedFramebufferTexture(disp)) parameters
#10997|   #define GET_NamedFramebufferTexture(disp) ((_glptr_NamedFramebufferTexture)(GET_by_offset((disp), _gloffset_NamedFramebufferTexture)))
#10998|   #define SET_NamedFramebufferTexture(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def552]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11004:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3657:4: note: in expansion of macro ‘CALL_NamedFramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3657:4: note: in expansion of macro ‘CALL_NamedFramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3657:4: note: in expansion of macro ‘CALL_NamedFramebufferTextureLayer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3657:4: note: in expansion of macro ‘CALL_NamedFramebufferTextureLayer’
#11002|   
#11003|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferTextureLayer)(GLuint, GLenum, GLuint, GLint, GLint);
#11004|-> #define CALL_NamedFramebufferTextureLayer(disp, parameters) (* GET_NamedFramebufferTextureLayer(disp)) parameters
#11005|   #define GET_NamedFramebufferTextureLayer(disp) ((_glptr_NamedFramebufferTextureLayer)(GET_by_offset((disp), _gloffset_NamedFramebufferTextureLayer)))
#11006|   #define SET_NamedFramebufferTextureLayer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedRenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11012:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4111:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4111:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4111:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4111:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorage’
#11010|   
#11011|   typedef void (GLAPIENTRYP _glptr_NamedRenderbufferStorage)(GLuint, GLenum, GLsizei, GLsizei);
#11012|-> #define CALL_NamedRenderbufferStorage(disp, parameters) (* GET_NamedRenderbufferStorage(disp)) parameters
#11013|   #define GET_NamedRenderbufferStorage(disp) ((_glptr_NamedRenderbufferStorage)(GET_by_offset((disp), _gloffset_NamedRenderbufferStorage)))
#11014|   #define SET_NamedRenderbufferStorage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def554]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedRenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11020:69: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4144:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4144:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4144:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4144:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisample’
#11018|   
#11019|   typedef void (GLAPIENTRYP _glptr_NamedRenderbufferStorageMultisample)(GLuint, GLsizei, GLenum, GLsizei, GLsizei);
#11020|-> #define CALL_NamedRenderbufferStorageMultisample(disp, parameters) (* GET_NamedRenderbufferStorageMultisample(disp)) parameters
#11021|   #define GET_NamedRenderbufferStorageMultisample(disp) ((_glptr_NamedRenderbufferStorageMultisample)(GET_by_offset((disp), _gloffset_NamedRenderbufferStorageMultisample)))
#11022|   #define SET_NamedRenderbufferStorageMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def555]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11028:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4194:4: note: in expansion of macro ‘CALL_TextureBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4194:4: note: in expansion of macro ‘CALL_TextureBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4194:4: note: in expansion of macro ‘CALL_TextureBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4194:4: note: in expansion of macro ‘CALL_TextureBuffer’
#11026|   
#11027|   typedef void (GLAPIENTRYP _glptr_TextureBuffer)(GLuint, GLenum, GLuint);
#11028|-> #define CALL_TextureBuffer(disp, parameters) (* GET_TextureBuffer(disp)) parameters
#11029|   #define GET_TextureBuffer(disp) ((_glptr_TextureBuffer)(GET_by_offset((disp), _gloffset_TextureBuffer)))
#11030|   #define SET_TextureBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def556]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11036:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4226:4: note: in expansion of macro ‘CALL_TextureBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4226:4: note: in expansion of macro ‘CALL_TextureBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4226:4: note: in expansion of macro ‘CALL_TextureBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4226:4: note: in expansion of macro ‘CALL_TextureBufferRange’
#11034|   
#11035|   typedef void (GLAPIENTRYP _glptr_TextureBufferRange)(GLuint, GLenum, GLuint, GLintptr, GLsizeiptr);
#11036|-> #define CALL_TextureBufferRange(disp, parameters) (* GET_TextureBufferRange(disp)) parameters
#11037|   #define GET_TextureBufferRange(disp) ((_glptr_TextureBufferRange)(GET_by_offset((disp), _gloffset_TextureBufferRange)))
#11038|   #define SET_TextureBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def557]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11044:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4961:4: note: in expansion of macro ‘CALL_TextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4961:4: note: in expansion of macro ‘CALL_TextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4961:4: note: in expansion of macro ‘CALL_TextureParameterIiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4961:4: note: in expansion of macro ‘CALL_TextureParameterIiv’
#11042|   
#11043|   typedef void (GLAPIENTRYP _glptr_TextureParameterIiv)(GLuint, GLenum, const GLint *);
#11044|-> #define CALL_TextureParameterIiv(disp, parameters) (* GET_TextureParameterIiv(disp)) parameters
#11045|   #define GET_TextureParameterIiv(disp) ((_glptr_TextureParameterIiv)(GET_by_offset((disp), _gloffset_TextureParameterIiv)))
#11046|   #define SET_TextureParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def558]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11052:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4996:4: note: in expansion of macro ‘CALL_TextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4996:4: note: in expansion of macro ‘CALL_TextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4996:4: note: in expansion of macro ‘CALL_TextureParameterIuiv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4996:4: note: in expansion of macro ‘CALL_TextureParameterIuiv’
#11050|   
#11051|   typedef void (GLAPIENTRYP _glptr_TextureParameterIuiv)(GLuint, GLenum, const GLuint *);
#11052|-> #define CALL_TextureParameterIuiv(disp, parameters) (* GET_TextureParameterIuiv(disp)) parameters
#11053|   #define GET_TextureParameterIuiv(disp) ((_glptr_TextureParameterIuiv)(GET_by_offset((disp), _gloffset_TextureParameterIuiv)))
#11054|   #define SET_TextureParameterIuiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def559]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11060:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4867:4: note: in expansion of macro ‘CALL_TextureParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4867:4: note: in expansion of macro ‘CALL_TextureParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4867:4: note: in expansion of macro ‘CALL_TextureParameterf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4867:4: note: in expansion of macro ‘CALL_TextureParameterf’
#11058|   
#11059|   typedef void (GLAPIENTRYP _glptr_TextureParameterf)(GLuint, GLenum, GLfloat);
#11060|-> #define CALL_TextureParameterf(disp, parameters) (* GET_TextureParameterf(disp)) parameters
#11061|   #define GET_TextureParameterf(disp) ((_glptr_TextureParameterf)(GET_by_offset((disp), _gloffset_TextureParameterf)))
#11062|   #define SET_TextureParameterf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11068:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4898:4: note: in expansion of macro ‘CALL_TextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4898:4: note: in expansion of macro ‘CALL_TextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4898:4: note: in expansion of macro ‘CALL_TextureParameterfv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4898:4: note: in expansion of macro ‘CALL_TextureParameterfv’
#11066|   
#11067|   typedef void (GLAPIENTRYP _glptr_TextureParameterfv)(GLuint, GLenum, const GLfloat *);
#11068|-> #define CALL_TextureParameterfv(disp, parameters) (* GET_TextureParameterfv(disp)) parameters
#11069|   #define GET_TextureParameterfv(disp) ((_glptr_TextureParameterfv)(GET_by_offset((disp), _gloffset_TextureParameterfv)))
#11070|   #define SET_TextureParameterfv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def561]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11076:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4930:4: note: in expansion of macro ‘CALL_TextureParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4930:4: note: in expansion of macro ‘CALL_TextureParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4930:4: note: in expansion of macro ‘CALL_TextureParameteri’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4930:4: note: in expansion of macro ‘CALL_TextureParameteri’
#11074|   
#11075|   typedef void (GLAPIENTRYP _glptr_TextureParameteri)(GLuint, GLenum, GLint);
#11076|-> #define CALL_TextureParameteri(disp, parameters) (* GET_TextureParameteri(disp)) parameters
#11077|   #define GET_TextureParameteri(disp) ((_glptr_TextureParameteri)(GET_by_offset((disp), _gloffset_TextureParameteri)))
#11078|   #define SET_TextureParameteri(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11084:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5031:4: note: in expansion of macro ‘CALL_TextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5031:4: note: in expansion of macro ‘CALL_TextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5031:4: note: in expansion of macro ‘CALL_TextureParameteriv’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5031:4: note: in expansion of macro ‘CALL_TextureParameteriv’
#11082|   
#11083|   typedef void (GLAPIENTRYP _glptr_TextureParameteriv)(GLuint, GLenum, const GLint *);
#11084|-> #define CALL_TextureParameteriv(disp, parameters) (* GET_TextureParameteriv(disp)) parameters
#11085|   #define GET_TextureParameteriv(disp) ((_glptr_TextureParameteriv)(GET_by_offset((disp), _gloffset_TextureParameteriv)))
#11086|   #define SET_TextureParameteriv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def563]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11092:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4258:4: note: in expansion of macro ‘CALL_TextureStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4258:4: note: in expansion of macro ‘CALL_TextureStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4258:4: note: in expansion of macro ‘CALL_TextureStorage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4258:4: note: in expansion of macro ‘CALL_TextureStorage1D’
#11090|   
#11091|   typedef void (GLAPIENTRYP _glptr_TextureStorage1D)(GLuint, GLsizei, GLenum, GLsizei);
#11092|-> #define CALL_TextureStorage1D(disp, parameters) (* GET_TextureStorage1D(disp)) parameters
#11093|   #define GET_TextureStorage1D(disp) ((_glptr_TextureStorage1D)(GET_by_offset((disp), _gloffset_TextureStorage1D)))
#11094|   #define SET_TextureStorage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def564]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11100:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4291:4: note: in expansion of macro ‘CALL_TextureStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4291:4: note: in expansion of macro ‘CALL_TextureStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4291:4: note: in expansion of macro ‘CALL_TextureStorage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4291:4: note: in expansion of macro ‘CALL_TextureStorage2D’
#11098|   
#11099|   typedef void (GLAPIENTRYP _glptr_TextureStorage2D)(GLuint, GLsizei, GLenum, GLsizei, GLsizei);
#11100|-> #define CALL_TextureStorage2D(disp, parameters) (* GET_TextureStorage2D(disp)) parameters
#11101|   #define GET_TextureStorage2D(disp) ((_glptr_TextureStorage2D)(GET_by_offset((disp), _gloffset_TextureStorage2D)))
#11102|   #define SET_TextureStorage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11108:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4364:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4364:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4364:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4364:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisample’
#11106|   
#11107|   typedef void (GLAPIENTRYP _glptr_TextureStorage2DMultisample)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLboolean);
#11108|-> #define CALL_TextureStorage2DMultisample(disp, parameters) (* GET_TextureStorage2DMultisample(disp)) parameters
#11109|   #define GET_TextureStorage2DMultisample(disp) ((_glptr_TextureStorage2DMultisample)(GET_by_offset((disp), _gloffset_TextureStorage2DMultisample)))
#11110|   #define SET_TextureStorage2DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def566]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11116:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4327:4: note: in expansion of macro ‘CALL_TextureStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4327:4: note: in expansion of macro ‘CALL_TextureStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4327:4: note: in expansion of macro ‘CALL_TextureStorage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4327:4: note: in expansion of macro ‘CALL_TextureStorage3D’
#11114|   
#11115|   typedef void (GLAPIENTRYP _glptr_TextureStorage3D)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
#11116|-> #define CALL_TextureStorage3D(disp, parameters) (* GET_TextureStorage3D(disp)) parameters
#11117|   #define GET_TextureStorage3D(disp) ((_glptr_TextureStorage3D)(GET_by_offset((disp), _gloffset_TextureStorage3D)))
#11118|   #define SET_TextureStorage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def567]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11124:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4403:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4403:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4403:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisample’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4403:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisample’
#11122|   
#11123|   typedef void (GLAPIENTRYP _glptr_TextureStorage3DMultisample)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean);
#11124|-> #define CALL_TextureStorage3DMultisample(disp, parameters) (* GET_TextureStorage3DMultisample(disp)) parameters
#11125|   #define GET_TextureStorage3DMultisample(disp) ((_glptr_TextureStorage3DMultisample)(GET_by_offset((disp), _gloffset_TextureStorage3DMultisample)))
#11126|   #define SET_TextureStorage3DMultisample(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11132:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4443:4: note: in expansion of macro ‘CALL_TextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4443:4: note: in expansion of macro ‘CALL_TextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4443:4: note: in expansion of macro ‘CALL_TextureSubImage1D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4443:4: note: in expansion of macro ‘CALL_TextureSubImage1D’
#11130|   
#11131|   typedef void (GLAPIENTRYP _glptr_TextureSubImage1D)(GLuint, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
#11132|-> #define CALL_TextureSubImage1D(disp, parameters) (* GET_TextureSubImage1D(disp)) parameters
#11133|   #define GET_TextureSubImage1D(disp) ((_glptr_TextureSubImage1D)(GET_by_offset((disp), _gloffset_TextureSubImage1D)))
#11134|   #define SET_TextureSubImage1D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def569]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11140:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4492:4: note: in expansion of macro ‘CALL_TextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4492:4: note: in expansion of macro ‘CALL_TextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4492:4: note: in expansion of macro ‘CALL_TextureSubImage2D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4492:4: note: in expansion of macro ‘CALL_TextureSubImage2D’
#11138|   
#11139|   typedef void (GLAPIENTRYP _glptr_TextureSubImage2D)(GLuint, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#11140|-> #define CALL_TextureSubImage2D(disp, parameters) (* GET_TextureSubImage2D(disp)) parameters
#11141|   #define GET_TextureSubImage2D(disp) ((_glptr_TextureSubImage2D)(GET_by_offset((disp), _gloffset_TextureSubImage2D)))
#11142|   #define SET_TextureSubImage2D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def570]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11148:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4547:4: note: in expansion of macro ‘CALL_TextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4547:4: note: in expansion of macro ‘CALL_TextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4547:4: note: in expansion of macro ‘CALL_TextureSubImage3D’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4547:4: note: in expansion of macro ‘CALL_TextureSubImage3D’
#11146|   
#11147|   typedef void (GLAPIENTRYP _glptr_TextureSubImage3D)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#11148|-> #define CALL_TextureSubImage3D(disp, parameters) (* GET_TextureSubImage3D(disp)) parameters
#11149|   #define GET_TextureSubImage3D(disp) ((_glptr_TextureSubImage3D)(GET_by_offset((disp), _gloffset_TextureSubImage3D)))
#11150|   #define SET_TextureSubImage3D(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def571]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TransformFeedbackBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11156:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3276:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3276:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3276:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferBase’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3276:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferBase’
#11154|   
#11155|   typedef void (GLAPIENTRYP _glptr_TransformFeedbackBufferBase)(GLuint, GLuint, GLuint);
#11156|-> #define CALL_TransformFeedbackBufferBase(disp, parameters) (* GET_TransformFeedbackBufferBase(disp)) parameters
#11157|   #define GET_TransformFeedbackBufferBase(disp) ((_glptr_TransformFeedbackBufferBase)(GET_by_offset((disp), _gloffset_TransformFeedbackBufferBase)))
#11158|   #define SET_TransformFeedbackBufferBase(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TransformFeedbackBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11164:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3308:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3308:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3308:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferRange’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3308:4: note: in expansion of macro ‘CALL_TransformFeedbackBufferRange’
#11162|   
#11163|   typedef void (GLAPIENTRYP _glptr_TransformFeedbackBufferRange)(GLuint, GLuint, GLuint, GLintptr, GLsizeiptr);
#11164|-> #define CALL_TransformFeedbackBufferRange(disp, parameters) (* GET_TransformFeedbackBufferRange(disp)) parameters
#11165|   #define GET_TransformFeedbackBufferRange(disp) ((_glptr_TransformFeedbackBufferRange)(GET_by_offset((disp), _gloffset_TransformFeedbackBufferRange)))
#11166|   #define SET_TransformFeedbackBufferRange(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def573]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_UnmapNamedBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11172:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3458:4: note: in expansion of macro ‘CALL_UnmapNamedBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3458:4: note: in expansion of macro ‘CALL_UnmapNamedBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3458:4: note: in expansion of macro ‘CALL_UnmapNamedBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3458:4: note: in expansion of macro ‘CALL_UnmapNamedBufferEXT’
#11170|   
#11171|   typedef GLboolean (GLAPIENTRYP _glptr_UnmapNamedBufferEXT)(GLuint);
#11172|-> #define CALL_UnmapNamedBufferEXT(disp, parameters) (* GET_UnmapNamedBufferEXT(disp)) parameters
#11173|   #define GET_UnmapNamedBufferEXT(disp) ((_glptr_UnmapNamedBufferEXT)(GET_by_offset((disp), _gloffset_UnmapNamedBufferEXT)))
#11174|   #define SET_UnmapNamedBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def574]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11180:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:376:4: note: in expansion of macro ‘CALL_VertexArrayAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:376:4: note: in expansion of macro ‘CALL_VertexArrayAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:376:4: note: in expansion of macro ‘CALL_VertexArrayAttribBinding’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:376:4: note: in expansion of macro ‘CALL_VertexArrayAttribBinding’
#11178|   
#11179|   typedef void (GLAPIENTRYP _glptr_VertexArrayAttribBinding)(GLuint, GLuint, GLuint);
#11180|-> #define CALL_VertexArrayAttribBinding(disp, parameters) (* GET_VertexArrayAttribBinding(disp)) parameters
#11181|   #define GET_VertexArrayAttribBinding(disp) ((_glptr_VertexArrayAttribBinding)(GET_by_offset((disp), _gloffset_VertexArrayAttribBinding)))
#11182|   #define SET_VertexArrayAttribBinding(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11188:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:274:4: note: in expansion of macro ‘CALL_VertexArrayAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:274:4: note: in expansion of macro ‘CALL_VertexArrayAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:274:4: note: in expansion of macro ‘CALL_VertexArrayAttribFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:274:4: note: in expansion of macro ‘CALL_VertexArrayAttribFormat’
#11186|   
#11187|   typedef void (GLAPIENTRYP _glptr_VertexArrayAttribFormat)(GLuint, GLuint, GLint, GLenum, GLboolean, GLuint);
#11188|-> #define CALL_VertexArrayAttribFormat(disp, parameters) (* GET_VertexArrayAttribFormat(disp)) parameters
#11189|   #define GET_VertexArrayAttribFormat(disp) ((_glptr_VertexArrayAttribFormat)(GET_by_offset((disp), _gloffset_VertexArrayAttribFormat)))
#11190|   #define SET_VertexArrayAttribFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11196:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:310:4: note: in expansion of macro ‘CALL_VertexArrayAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:310:4: note: in expansion of macro ‘CALL_VertexArrayAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:310:4: note: in expansion of macro ‘CALL_VertexArrayAttribIFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:310:4: note: in expansion of macro ‘CALL_VertexArrayAttribIFormat’
#11194|   
#11195|   typedef void (GLAPIENTRYP _glptr_VertexArrayAttribIFormat)(GLuint, GLuint, GLint, GLenum, GLuint);
#11196|-> #define CALL_VertexArrayAttribIFormat(disp, parameters) (* GET_VertexArrayAttribIFormat(disp)) parameters
#11197|   #define GET_VertexArrayAttribIFormat(disp) ((_glptr_VertexArrayAttribIFormat)(GET_by_offset((disp), _gloffset_VertexArrayAttribIFormat)))
#11198|   #define SET_VertexArrayAttribIFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11204:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:345:4: note: in expansion of macro ‘CALL_VertexArrayAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:345:4: note: in expansion of macro ‘CALL_VertexArrayAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:345:4: note: in expansion of macro ‘CALL_VertexArrayAttribLFormat’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:345:4: note: in expansion of macro ‘CALL_VertexArrayAttribLFormat’
#11202|   
#11203|   typedef void (GLAPIENTRYP _glptr_VertexArrayAttribLFormat)(GLuint, GLuint, GLint, GLenum, GLuint);
#11204|-> #define CALL_VertexArrayAttribLFormat(disp, parameters) (* GET_VertexArrayAttribLFormat(disp)) parameters
#11205|   #define GET_VertexArrayAttribLFormat(disp) ((_glptr_VertexArrayAttribLFormat)(GET_by_offset((disp), _gloffset_VertexArrayAttribLFormat)))
#11206|   #define SET_VertexArrayAttribLFormat(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def578]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11212:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:405:4: note: in expansion of macro ‘CALL_VertexArrayBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:405:4: note: in expansion of macro ‘CALL_VertexArrayBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:405:4: note: in expansion of macro ‘CALL_VertexArrayBindingDivisor’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:405:4: note: in expansion of macro ‘CALL_VertexArrayBindingDivisor’
#11210|   
#11211|   typedef void (GLAPIENTRYP _glptr_VertexArrayBindingDivisor)(GLuint, GLuint, GLuint);
#11212|-> #define CALL_VertexArrayBindingDivisor(disp, parameters) (* GET_VertexArrayBindingDivisor(disp)) parameters
#11213|   #define GET_VertexArrayBindingDivisor(disp) ((_glptr_VertexArrayBindingDivisor)(GET_by_offset((disp), _gloffset_VertexArrayBindingDivisor)))
#11214|   #define SET_VertexArrayBindingDivisor(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def579]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayElementBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11220:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:118:4: note: in expansion of macro ‘CALL_VertexArrayElementBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:118:4: note: in expansion of macro ‘CALL_VertexArrayElementBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:118:4: note: in expansion of macro ‘CALL_VertexArrayElementBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:118:4: note: in expansion of macro ‘CALL_VertexArrayElementBuffer’
#11218|   
#11219|   typedef void (GLAPIENTRYP _glptr_VertexArrayElementBuffer)(GLuint, GLuint);
#11220|-> #define CALL_VertexArrayElementBuffer(disp, parameters) (* GET_VertexArrayElementBuffer(disp)) parameters
#11221|   #define GET_VertexArrayElementBuffer(disp) ((_glptr_VertexArrayElementBuffer)(GET_by_offset((disp), _gloffset_VertexArrayElementBuffer)))
#11222|   #define SET_VertexArrayElementBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def580]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11228:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:159:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:159:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:159:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:159:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffer’
#11226|   
#11227|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexBuffer)(GLuint, GLuint, GLuint, GLintptr, GLsizei);
#11228|-> #define CALL_VertexArrayVertexBuffer(disp, parameters) (* GET_VertexArrayVertexBuffer(disp)) parameters
#11229|   #define GET_VertexArrayVertexBuffer(disp) ((_glptr_VertexArrayVertexBuffer)(GET_by_offset((disp), _gloffset_VertexArrayVertexBuffer)))
#11230|   #define SET_VertexArrayVertexBuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def581]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11236:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:223:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:223:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:223:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffers’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:223:4: note: in expansion of macro ‘CALL_VertexArrayVertexBuffers’
#11234|   
#11235|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexBuffers)(GLuint, GLuint, GLsizei, const GLuint *, const GLintptr *, const GLsizei *);
#11236|-> #define CALL_VertexArrayVertexBuffers(disp, parameters) (* GET_VertexArrayVertexBuffers(disp)) parameters
#11237|   #define GET_VertexArrayVertexBuffers(disp) ((_glptr_VertexArrayVertexBuffers)(GET_by_offset((disp), _gloffset_VertexArrayVertexBuffers)))
#11238|   #define SET_VertexArrayVertexBuffers(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def582]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetCompressedTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11244:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:692:4: note: in expansion of macro ‘CALL_GetCompressedTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:692:4: note: in expansion of macro ‘CALL_GetCompressedTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:692:4: note: in expansion of macro ‘CALL_GetCompressedTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:692:4: note: in expansion of macro ‘CALL_GetCompressedTextureSubImage’
#11242|   
#11243|   typedef void (GLAPIENTRYP _glptr_GetCompressedTextureSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLvoid *);
#11244|-> #define CALL_GetCompressedTextureSubImage(disp, parameters) (* GET_GetCompressedTextureSubImage(disp)) parameters
#11245|   #define GET_GetCompressedTextureSubImage(disp) ((_glptr_GetCompressedTextureSubImage)(GET_by_offset((disp), _gloffset_GetCompressedTextureSubImage)))
#11246|   #define SET_GetCompressedTextureSubImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def583]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_GetTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11252:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:636:4: note: in expansion of macro ‘CALL_GetTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:636:4: note: in expansion of macro ‘CALL_GetTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:636:4: note: in expansion of macro ‘CALL_GetTextureSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:636:4: note: in expansion of macro ‘CALL_GetTextureSubImage’
#11250|   
#11251|   typedef void (GLAPIENTRYP _glptr_GetTextureSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *);
#11252|-> #define CALL_GetTextureSubImage(disp, parameters) (* GET_GetTextureSubImage(disp)) parameters
#11253|   #define GET_GetTextureSubImage(disp) ((_glptr_GetTextureSubImage)(GET_by_offset((disp), _gloffset_GetTextureSubImage)))
#11254|   #define SET_GetTextureSubImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def584]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11260:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:753:4: note: in expansion of macro ‘CALL_BufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:753:4: note: in expansion of macro ‘CALL_BufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:753:4: note: in expansion of macro ‘CALL_BufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:753:4: note: in expansion of macro ‘CALL_BufferPageCommitmentARB’
#11258|   
#11259|   typedef void (GLAPIENTRYP _glptr_BufferPageCommitmentARB)(GLenum, GLintptr, GLsizeiptr, GLboolean);
#11260|-> #define CALL_BufferPageCommitmentARB(disp, parameters) (* GET_BufferPageCommitmentARB(disp)) parameters
#11261|   #define GET_BufferPageCommitmentARB(disp) ((_glptr_BufferPageCommitmentARB)(GET_by_offset((disp), _gloffset_BufferPageCommitmentARB)))
#11262|   #define SET_BufferPageCommitmentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def585]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_NamedBufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11268:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:815:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:815:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:815:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:815:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentARB’
#11266|   
#11267|   typedef void (GLAPIENTRYP _glptr_NamedBufferPageCommitmentARB)(GLuint, GLintptr, GLsizeiptr, GLboolean);
#11268|-> #define CALL_NamedBufferPageCommitmentARB(disp, parameters) (* GET_NamedBufferPageCommitmentARB(disp)) parameters
#11269|   #define GET_NamedBufferPageCommitmentARB(disp) ((_glptr_NamedBufferPageCommitmentARB)(GET_by_offset((disp), _gloffset_NamedBufferPageCommitmentARB)))
#11270|   #define SET_NamedBufferPageCommitmentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11276:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1447:4: note: in expansion of macro ‘CALL_GetUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1447:4: note: in expansion of macro ‘CALL_GetUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1447:4: note: in expansion of macro ‘CALL_GetUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1447:4: note: in expansion of macro ‘CALL_GetUniformi64vARB’
#11274|   
#11275|   typedef void (GLAPIENTRYP _glptr_GetUniformi64vARB)(GLuint, GLint, GLint64 *);
#11276|-> #define CALL_GetUniformi64vARB(disp, parameters) (* GET_GetUniformi64vARB(disp)) parameters
#11277|   #define GET_GetUniformi64vARB(disp) ((_glptr_GetUniformi64vARB)(GET_by_offset((disp), _gloffset_GetUniformi64vARB)))
#11278|   #define SET_GetUniformi64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def587]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11284:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1457:4: note: in expansion of macro ‘CALL_GetUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1457:4: note: in expansion of macro ‘CALL_GetUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1457:4: note: in expansion of macro ‘CALL_GetUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1457:4: note: in expansion of macro ‘CALL_GetUniformui64vARB’
#11282|   
#11283|   typedef void (GLAPIENTRYP _glptr_GetUniformui64vARB)(GLuint, GLint, GLuint64 *);
#11284|-> #define CALL_GetUniformui64vARB(disp, parameters) (* GET_GetUniformui64vARB(disp)) parameters
#11285|   #define GET_GetUniformui64vARB(disp) ((_glptr_GetUniformui64vARB)(GET_by_offset((disp), _gloffset_GetUniformui64vARB)))
#11286|   #define SET_GetUniformui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def588]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetnUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11292:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1467:4: note: in expansion of macro ‘CALL_GetnUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1467:4: note: in expansion of macro ‘CALL_GetnUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1467:4: note: in expansion of macro ‘CALL_GetnUniformi64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1467:4: note: in expansion of macro ‘CALL_GetnUniformi64vARB’
#11290|   
#11291|   typedef void (GLAPIENTRYP _glptr_GetnUniformi64vARB)(GLuint, GLint, GLsizei, GLint64 *);
#11292|-> #define CALL_GetnUniformi64vARB(disp, parameters) (* GET_GetnUniformi64vARB(disp)) parameters
#11293|   #define GET_GetnUniformi64vARB(disp) ((_glptr_GetnUniformi64vARB)(GET_by_offset((disp), _gloffset_GetnUniformi64vARB)))
#11294|   #define SET_GetnUniformi64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def589]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetnUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11300:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1477:4: note: in expansion of macro ‘CALL_GetnUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1477:4: note: in expansion of macro ‘CALL_GetnUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1477:4: note: in expansion of macro ‘CALL_GetnUniformui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1477:4: note: in expansion of macro ‘CALL_GetnUniformui64vARB’
#11298|   
#11299|   typedef void (GLAPIENTRYP _glptr_GetnUniformui64vARB)(GLuint, GLint, GLsizei, GLuint64 *);
#11300|-> #define CALL_GetnUniformui64vARB(disp, parameters) (* GET_GetnUniformui64vARB(disp)) parameters
#11301|   #define GET_GetnUniformui64vARB(disp) ((_glptr_GetnUniformui64vARB)(GET_by_offset((disp), _gloffset_GetnUniformui64vARB)))
#11302|   #define SET_GetnUniformui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def590]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11308:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1494:4: note: in expansion of macro ‘CALL_ProgramUniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1494:4: note: in expansion of macro ‘CALL_ProgramUniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1494:4: note: in expansion of macro ‘CALL_ProgramUniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1494:4: note: in expansion of macro ‘CALL_ProgramUniform1i64ARB’
#11306|   
#11307|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1i64ARB)(GLuint, GLint, GLint64);
#11308|-> #define CALL_ProgramUniform1i64ARB(disp, parameters) (* GET_ProgramUniform1i64ARB(disp)) parameters
#11309|   #define GET_ProgramUniform1i64ARB(disp) ((_glptr_ProgramUniform1i64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform1i64ARB)))
#11310|   #define SET_ProgramUniform1i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def591]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11316:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1629:4: note: in expansion of macro ‘CALL_ProgramUniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1629:4: note: in expansion of macro ‘CALL_ProgramUniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1629:4: note: in expansion of macro ‘CALL_ProgramUniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1629:4: note: in expansion of macro ‘CALL_ProgramUniform1i64vARB’
#11314|   
#11315|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1i64vARB)(GLuint, GLint, GLsizei, const GLint64 *);
#11316|-> #define CALL_ProgramUniform1i64vARB(disp, parameters) (* GET_ProgramUniform1i64vARB(disp)) parameters
#11317|   #define GET_ProgramUniform1i64vARB(disp) ((_glptr_ProgramUniform1i64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform1i64vARB)))
#11318|   #define SET_ProgramUniform1i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def592]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11324:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1792:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1792:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1792:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1792:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64ARB’
#11322|   
#11323|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1ui64ARB)(GLuint, GLint, GLuint64);
#11324|-> #define CALL_ProgramUniform1ui64ARB(disp, parameters) (* GET_ProgramUniform1ui64ARB(disp)) parameters
#11325|   #define GET_ProgramUniform1ui64ARB(disp) ((_glptr_ProgramUniform1ui64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform1ui64ARB)))
#11326|   #define SET_ProgramUniform1ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def593]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11340:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1524:4: note: in expansion of macro ‘CALL_ProgramUniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1524:4: note: in expansion of macro ‘CALL_ProgramUniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1524:4: note: in expansion of macro ‘CALL_ProgramUniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1524:4: note: in expansion of macro ‘CALL_ProgramUniform2i64ARB’
#11338|   
#11339|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2i64ARB)(GLuint, GLint, GLint64, GLint64);
#11340|-> #define CALL_ProgramUniform2i64ARB(disp, parameters) (* GET_ProgramUniform2i64ARB(disp)) parameters
#11341|   #define GET_ProgramUniform2i64ARB(disp) ((_glptr_ProgramUniform2i64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform2i64ARB)))
#11342|   #define SET_ProgramUniform2i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def594]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11348:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1671:4: note: in expansion of macro ‘CALL_ProgramUniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1671:4: note: in expansion of macro ‘CALL_ProgramUniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1671:4: note: in expansion of macro ‘CALL_ProgramUniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1671:4: note: in expansion of macro ‘CALL_ProgramUniform2i64vARB’
#11346|   
#11347|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2i64vARB)(GLuint, GLint, GLsizei, const GLint64 *);
#11348|-> #define CALL_ProgramUniform2i64vARB(disp, parameters) (* GET_ProgramUniform2i64vARB(disp)) parameters
#11349|   #define GET_ProgramUniform2i64vARB(disp) ((_glptr_ProgramUniform2i64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform2i64vARB)))
#11350|   #define SET_ProgramUniform2i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11356:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1822:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1822:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1822:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1822:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64ARB’
#11354|   
#11355|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2ui64ARB)(GLuint, GLint, GLuint64, GLuint64);
#11356|-> #define CALL_ProgramUniform2ui64ARB(disp, parameters) (* GET_ProgramUniform2ui64ARB(disp)) parameters
#11357|   #define GET_ProgramUniform2ui64ARB(disp) ((_glptr_ProgramUniform2ui64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform2ui64ARB)))
#11358|   #define SET_ProgramUniform2ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def596]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11372:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1557:4: note: in expansion of macro ‘CALL_ProgramUniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1557:4: note: in expansion of macro ‘CALL_ProgramUniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1557:4: note: in expansion of macro ‘CALL_ProgramUniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1557:4: note: in expansion of macro ‘CALL_ProgramUniform3i64ARB’
#11370|   
#11371|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3i64ARB)(GLuint, GLint, GLint64, GLint64, GLint64);
#11372|-> #define CALL_ProgramUniform3i64ARB(disp, parameters) (* GET_ProgramUniform3i64ARB(disp)) parameters
#11373|   #define GET_ProgramUniform3i64ARB(disp) ((_glptr_ProgramUniform3i64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform3i64ARB)))
#11374|   #define SET_ProgramUniform3i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def597]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11380:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1713:4: note: in expansion of macro ‘CALL_ProgramUniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1713:4: note: in expansion of macro ‘CALL_ProgramUniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1713:4: note: in expansion of macro ‘CALL_ProgramUniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1713:4: note: in expansion of macro ‘CALL_ProgramUniform3i64vARB’
#11378|   
#11379|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3i64vARB)(GLuint, GLint, GLsizei, const GLint64 *);
#11380|-> #define CALL_ProgramUniform3i64vARB(disp, parameters) (* GET_ProgramUniform3i64vARB(disp)) parameters
#11381|   #define GET_ProgramUniform3i64vARB(disp) ((_glptr_ProgramUniform3i64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform3i64vARB)))
#11382|   #define SET_ProgramUniform3i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def598]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11388:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1855:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1855:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1855:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1855:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64ARB’
#11386|   
#11387|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3ui64ARB)(GLuint, GLint, GLuint64, GLuint64, GLuint64);
#11388|-> #define CALL_ProgramUniform3ui64ARB(disp, parameters) (* GET_ProgramUniform3ui64ARB(disp)) parameters
#11389|   #define GET_ProgramUniform3ui64ARB(disp) ((_glptr_ProgramUniform3ui64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform3ui64ARB)))
#11390|   #define SET_ProgramUniform3ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11404:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1593:4: note: in expansion of macro ‘CALL_ProgramUniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1593:4: note: in expansion of macro ‘CALL_ProgramUniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1593:4: note: in expansion of macro ‘CALL_ProgramUniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1593:4: note: in expansion of macro ‘CALL_ProgramUniform4i64ARB’
#11402|   
#11403|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4i64ARB)(GLuint, GLint, GLint64, GLint64, GLint64, GLint64);
#11404|-> #define CALL_ProgramUniform4i64ARB(disp, parameters) (* GET_ProgramUniform4i64ARB(disp)) parameters
#11405|   #define GET_ProgramUniform4i64ARB(disp) ((_glptr_ProgramUniform4i64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform4i64ARB)))
#11406|   #define SET_ProgramUniform4i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11412:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1755:4: note: in expansion of macro ‘CALL_ProgramUniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1755:4: note: in expansion of macro ‘CALL_ProgramUniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1755:4: note: in expansion of macro ‘CALL_ProgramUniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1755:4: note: in expansion of macro ‘CALL_ProgramUniform4i64vARB’
#11410|   
#11411|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4i64vARB)(GLuint, GLint, GLsizei, const GLint64 *);
#11412|-> #define CALL_ProgramUniform4i64vARB(disp, parameters) (* GET_ProgramUniform4i64vARB(disp)) parameters
#11413|   #define GET_ProgramUniform4i64vARB(disp) ((_glptr_ProgramUniform4i64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform4i64vARB)))
#11414|   #define SET_ProgramUniform4i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def601]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11420:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1891:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1891:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1891:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64ARB’
#11418|   
#11419|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4ui64ARB)(GLuint, GLint, GLuint64, GLuint64, GLuint64, GLuint64);
#11420|-> #define CALL_ProgramUniform4ui64ARB(disp, parameters) (* GET_ProgramUniform4ui64ARB(disp)) parameters
#11421|   #define GET_ProgramUniform4ui64ARB(disp) ((_glptr_ProgramUniform4ui64ARB)(GET_by_offset((disp), _gloffset_ProgramUniform4ui64ARB)))
#11422|   #define SET_ProgramUniform4ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def602]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11436:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:904:4: note: in expansion of macro ‘CALL_Uniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:904:4: note: in expansion of macro ‘CALL_Uniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:904:4: note: in expansion of macro ‘CALL_Uniform1i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:904:4: note: in expansion of macro ‘CALL_Uniform1i64ARB’
#11434|   
#11435|   typedef void (GLAPIENTRYP _glptr_Uniform1i64ARB)(GLint, GLint64);
#11436|-> #define CALL_Uniform1i64ARB(disp, parameters) (* GET_Uniform1i64ARB(disp)) parameters
#11437|   #define GET_Uniform1i64ARB(disp) ((_glptr_Uniform1i64ARB)(GET_by_offset((disp), _gloffset_Uniform1i64ARB)))
#11438|   #define SET_Uniform1i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def603]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11444:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1027:4: note: in expansion of macro ‘CALL_Uniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1027:4: note: in expansion of macro ‘CALL_Uniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1027:4: note: in expansion of macro ‘CALL_Uniform1i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1027:4: note: in expansion of macro ‘CALL_Uniform1i64vARB’
#11442|   
#11443|   typedef void (GLAPIENTRYP _glptr_Uniform1i64vARB)(GLint, GLsizei, const GLint64 *);
#11444|-> #define CALL_Uniform1i64vARB(disp, parameters) (* GET_Uniform1i64vARB(disp)) parameters
#11445|   #define GET_Uniform1i64vARB(disp) ((_glptr_Uniform1i64vARB)(GET_by_offset((disp), _gloffset_Uniform1i64vARB)))
#11446|   #define SET_Uniform1i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def604]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11452:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1178:4: note: in expansion of macro ‘CALL_Uniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1178:4: note: in expansion of macro ‘CALL_Uniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1178:4: note: in expansion of macro ‘CALL_Uniform1ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1178:4: note: in expansion of macro ‘CALL_Uniform1ui64ARB’
#11450|   
#11451|   typedef void (GLAPIENTRYP _glptr_Uniform1ui64ARB)(GLint, GLuint64);
#11452|-> #define CALL_Uniform1ui64ARB(disp, parameters) (* GET_Uniform1ui64ARB(disp)) parameters
#11453|   #define GET_Uniform1ui64ARB(disp) ((_glptr_Uniform1ui64ARB)(GET_by_offset((disp), _gloffset_Uniform1ui64ARB)))
#11454|   #define SET_Uniform1ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def605]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11460:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1301:4: note: in expansion of macro ‘CALL_Uniform1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1301:4: note: in expansion of macro ‘CALL_Uniform1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1301:4: note: in expansion of macro ‘CALL_Uniform1ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1301:4: note: in expansion of macro ‘CALL_Uniform1ui64vARB’
#11458|   
#11459|   typedef void (GLAPIENTRYP _glptr_Uniform1ui64vARB)(GLint, GLsizei, const GLuint64 *);
#11460|-> #define CALL_Uniform1ui64vARB(disp, parameters) (* GET_Uniform1ui64vARB(disp)) parameters
#11461|   #define GET_Uniform1ui64vARB(disp) ((_glptr_Uniform1ui64vARB)(GET_by_offset((disp), _gloffset_Uniform1ui64vARB)))
#11462|   #define SET_Uniform1ui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def606]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11468:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:931:4: note: in expansion of macro ‘CALL_Uniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:931:4: note: in expansion of macro ‘CALL_Uniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:931:4: note: in expansion of macro ‘CALL_Uniform2i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:931:4: note: in expansion of macro ‘CALL_Uniform2i64ARB’
#11466|   
#11467|   typedef void (GLAPIENTRYP _glptr_Uniform2i64ARB)(GLint, GLint64, GLint64);
#11468|-> #define CALL_Uniform2i64ARB(disp, parameters) (* GET_Uniform2i64ARB(disp)) parameters
#11469|   #define GET_Uniform2i64ARB(disp) ((_glptr_Uniform2i64ARB)(GET_by_offset((disp), _gloffset_Uniform2i64ARB)))
#11470|   #define SET_Uniform2i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def607]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11476:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1066:4: note: in expansion of macro ‘CALL_Uniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1066:4: note: in expansion of macro ‘CALL_Uniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1066:4: note: in expansion of macro ‘CALL_Uniform2i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1066:4: note: in expansion of macro ‘CALL_Uniform2i64vARB’
#11474|   
#11475|   typedef void (GLAPIENTRYP _glptr_Uniform2i64vARB)(GLint, GLsizei, const GLint64 *);
#11476|-> #define CALL_Uniform2i64vARB(disp, parameters) (* GET_Uniform2i64vARB(disp)) parameters
#11477|   #define GET_Uniform2i64vARB(disp) ((_glptr_Uniform2i64vARB)(GET_by_offset((disp), _gloffset_Uniform2i64vARB)))
#11478|   #define SET_Uniform2i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11484:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1205:4: note: in expansion of macro ‘CALL_Uniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1205:4: note: in expansion of macro ‘CALL_Uniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1205:4: note: in expansion of macro ‘CALL_Uniform2ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1205:4: note: in expansion of macro ‘CALL_Uniform2ui64ARB’
#11482|   
#11483|   typedef void (GLAPIENTRYP _glptr_Uniform2ui64ARB)(GLint, GLuint64, GLuint64);
#11484|-> #define CALL_Uniform2ui64ARB(disp, parameters) (* GET_Uniform2ui64ARB(disp)) parameters
#11485|   #define GET_Uniform2ui64ARB(disp) ((_glptr_Uniform2ui64ARB)(GET_by_offset((disp), _gloffset_Uniform2ui64ARB)))
#11486|   #define SET_Uniform2ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def609]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform2ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11492:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1340:4: note: in expansion of macro ‘CALL_Uniform2ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1340:4: note: in expansion of macro ‘CALL_Uniform2ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1340:4: note: in expansion of macro ‘CALL_Uniform2ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1340:4: note: in expansion of macro ‘CALL_Uniform2ui64vARB’
#11490|   
#11491|   typedef void (GLAPIENTRYP _glptr_Uniform2ui64vARB)(GLint, GLsizei, const GLuint64 *);
#11492|-> #define CALL_Uniform2ui64vARB(disp, parameters) (* GET_Uniform2ui64vARB(disp)) parameters
#11493|   #define GET_Uniform2ui64vARB(disp) ((_glptr_Uniform2ui64vARB)(GET_by_offset((disp), _gloffset_Uniform2ui64vARB)))
#11494|   #define SET_Uniform2ui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def610]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11500:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:961:4: note: in expansion of macro ‘CALL_Uniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:961:4: note: in expansion of macro ‘CALL_Uniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:961:4: note: in expansion of macro ‘CALL_Uniform3i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:961:4: note: in expansion of macro ‘CALL_Uniform3i64ARB’
#11498|   
#11499|   typedef void (GLAPIENTRYP _glptr_Uniform3i64ARB)(GLint, GLint64, GLint64, GLint64);
#11500|-> #define CALL_Uniform3i64ARB(disp, parameters) (* GET_Uniform3i64ARB(disp)) parameters
#11501|   #define GET_Uniform3i64ARB(disp) ((_glptr_Uniform3i64ARB)(GET_by_offset((disp), _gloffset_Uniform3i64ARB)))
#11502|   #define SET_Uniform3i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def611]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11508:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1105:4: note: in expansion of macro ‘CALL_Uniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1105:4: note: in expansion of macro ‘CALL_Uniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1105:4: note: in expansion of macro ‘CALL_Uniform3i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1105:4: note: in expansion of macro ‘CALL_Uniform3i64vARB’
#11506|   
#11507|   typedef void (GLAPIENTRYP _glptr_Uniform3i64vARB)(GLint, GLsizei, const GLint64 *);
#11508|-> #define CALL_Uniform3i64vARB(disp, parameters) (* GET_Uniform3i64vARB(disp)) parameters
#11509|   #define GET_Uniform3i64vARB(disp) ((_glptr_Uniform3i64vARB)(GET_by_offset((disp), _gloffset_Uniform3i64vARB)))
#11510|   #define SET_Uniform3i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11516:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1235:4: note: in expansion of macro ‘CALL_Uniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1235:4: note: in expansion of macro ‘CALL_Uniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1235:4: note: in expansion of macro ‘CALL_Uniform3ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1235:4: note: in expansion of macro ‘CALL_Uniform3ui64ARB’
#11514|   
#11515|   typedef void (GLAPIENTRYP _glptr_Uniform3ui64ARB)(GLint, GLuint64, GLuint64, GLuint64);
#11516|-> #define CALL_Uniform3ui64ARB(disp, parameters) (* GET_Uniform3ui64ARB(disp)) parameters
#11517|   #define GET_Uniform3ui64ARB(disp) ((_glptr_Uniform3ui64ARB)(GET_by_offset((disp), _gloffset_Uniform3ui64ARB)))
#11518|   #define SET_Uniform3ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def613]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform3ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11524:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1379:4: note: in expansion of macro ‘CALL_Uniform3ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1379:4: note: in expansion of macro ‘CALL_Uniform3ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1379:4: note: in expansion of macro ‘CALL_Uniform3ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1379:4: note: in expansion of macro ‘CALL_Uniform3ui64vARB’
#11522|   
#11523|   typedef void (GLAPIENTRYP _glptr_Uniform3ui64vARB)(GLint, GLsizei, const GLuint64 *);
#11524|-> #define CALL_Uniform3ui64vARB(disp, parameters) (* GET_Uniform3ui64vARB(disp)) parameters
#11525|   #define GET_Uniform3ui64vARB(disp) ((_glptr_Uniform3ui64vARB)(GET_by_offset((disp), _gloffset_Uniform3ui64vARB)))
#11526|   #define SET_Uniform3ui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11532:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:994:4: note: in expansion of macro ‘CALL_Uniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:994:4: note: in expansion of macro ‘CALL_Uniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:994:4: note: in expansion of macro ‘CALL_Uniform4i64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:994:4: note: in expansion of macro ‘CALL_Uniform4i64ARB’
#11530|   
#11531|   typedef void (GLAPIENTRYP _glptr_Uniform4i64ARB)(GLint, GLint64, GLint64, GLint64, GLint64);
#11532|-> #define CALL_Uniform4i64ARB(disp, parameters) (* GET_Uniform4i64ARB(disp)) parameters
#11533|   #define GET_Uniform4i64ARB(disp) ((_glptr_Uniform4i64ARB)(GET_by_offset((disp), _gloffset_Uniform4i64ARB)))
#11534|   #define SET_Uniform4i64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11540:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1144:4: note: in expansion of macro ‘CALL_Uniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1144:4: note: in expansion of macro ‘CALL_Uniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1144:4: note: in expansion of macro ‘CALL_Uniform4i64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1144:4: note: in expansion of macro ‘CALL_Uniform4i64vARB’
#11538|   
#11539|   typedef void (GLAPIENTRYP _glptr_Uniform4i64vARB)(GLint, GLsizei, const GLint64 *);
#11540|-> #define CALL_Uniform4i64vARB(disp, parameters) (* GET_Uniform4i64vARB(disp)) parameters
#11541|   #define GET_Uniform4i64vARB(disp) ((_glptr_Uniform4i64vARB)(GET_by_offset((disp), _gloffset_Uniform4i64vARB)))
#11542|   #define SET_Uniform4i64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11548:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1268:4: note: in expansion of macro ‘CALL_Uniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1268:4: note: in expansion of macro ‘CALL_Uniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1268:4: note: in expansion of macro ‘CALL_Uniform4ui64ARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1268:4: note: in expansion of macro ‘CALL_Uniform4ui64ARB’
#11546|   
#11547|   typedef void (GLAPIENTRYP _glptr_Uniform4ui64ARB)(GLint, GLuint64, GLuint64, GLuint64, GLuint64);
#11548|-> #define CALL_Uniform4ui64ARB(disp, parameters) (* GET_Uniform4ui64ARB(disp)) parameters
#11549|   #define GET_Uniform4ui64ARB(disp) ((_glptr_Uniform4ui64ARB)(GET_by_offset((disp), _gloffset_Uniform4ui64ARB)))
#11550|   #define SET_Uniform4ui64ARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11556:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1418:4: note: in expansion of macro ‘CALL_Uniform4ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1418:4: note: in expansion of macro ‘CALL_Uniform4ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1418:4: note: in expansion of macro ‘CALL_Uniform4ui64vARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1418:4: note: in expansion of macro ‘CALL_Uniform4ui64vARB’
#11554|   
#11555|   typedef void (GLAPIENTRYP _glptr_Uniform4ui64vARB)(GLint, GLsizei, const GLuint64 *);
#11556|-> #define CALL_Uniform4ui64vARB(disp, parameters) (* GET_Uniform4ui64vARB(disp)) parameters
#11557|   #define GET_Uniform4ui64vARB(disp) ((_glptr_Uniform4ui64vARB)(GET_by_offset((disp), _gloffset_Uniform4ui64vARB)))
#11558|   #define SET_Uniform4ui64vARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11596:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2034:4: note: in expansion of macro ‘CALL_InvalidateBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2034:4: note: in expansion of macro ‘CALL_InvalidateBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2034:4: note: in expansion of macro ‘CALL_InvalidateBufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2034:4: note: in expansion of macro ‘CALL_InvalidateBufferData’
#11594|   
#11595|   typedef void (GLAPIENTRYP _glptr_InvalidateBufferData)(GLuint);
#11596|-> #define CALL_InvalidateBufferData(disp, parameters) (* GET_InvalidateBufferData(disp)) parameters
#11597|   #define GET_InvalidateBufferData(disp) ((_glptr_InvalidateBufferData)(GET_by_offset((disp), _gloffset_InvalidateBufferData)))
#11598|   #define SET_InvalidateBufferData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def619]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11604:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2010:4: note: in expansion of macro ‘CALL_InvalidateBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2010:4: note: in expansion of macro ‘CALL_InvalidateBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2010:4: note: in expansion of macro ‘CALL_InvalidateBufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2010:4: note: in expansion of macro ‘CALL_InvalidateBufferSubData’
#11602|   
#11603|   typedef void (GLAPIENTRYP _glptr_InvalidateBufferSubData)(GLuint, GLintptr, GLsizeiptr);
#11604|-> #define CALL_InvalidateBufferSubData(disp, parameters) (* GET_InvalidateBufferSubData(disp)) parameters
#11605|   #define GET_InvalidateBufferSubData(disp) ((_glptr_InvalidateBufferSubData)(GET_by_offset((disp), _gloffset_InvalidateBufferSubData)))
#11606|   #define SET_InvalidateBufferSubData(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def620]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11612:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2114:4: note: in expansion of macro ‘CALL_InvalidateFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2114:4: note: in expansion of macro ‘CALL_InvalidateFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2114:4: note: in expansion of macro ‘CALL_InvalidateFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2114:4: note: in expansion of macro ‘CALL_InvalidateFramebuffer’
#11610|   
#11611|   typedef void (GLAPIENTRYP _glptr_InvalidateFramebuffer)(GLenum, GLsizei, const GLenum *);
#11612|-> #define CALL_InvalidateFramebuffer(disp, parameters) (* GET_InvalidateFramebuffer(disp)) parameters
#11613|   #define GET_InvalidateFramebuffer(disp) ((_glptr_InvalidateFramebuffer)(GET_by_offset((disp), _gloffset_InvalidateFramebuffer)))
#11614|   #define SET_InvalidateFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def621]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateSubFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11620:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2071:4: note: in expansion of macro ‘CALL_InvalidateSubFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2071:4: note: in expansion of macro ‘CALL_InvalidateSubFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2071:4: note: in expansion of macro ‘CALL_InvalidateSubFramebuffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2071:4: note: in expansion of macro ‘CALL_InvalidateSubFramebuffer’
#11618|   
#11619|   typedef void (GLAPIENTRYP _glptr_InvalidateSubFramebuffer)(GLenum, GLsizei, const GLenum *, GLint, GLint, GLsizei, GLsizei);
#11620|-> #define CALL_InvalidateSubFramebuffer(disp, parameters) (* GET_InvalidateSubFramebuffer(disp)) parameters
#11621|   #define GET_InvalidateSubFramebuffer(disp) ((_glptr_InvalidateSubFramebuffer)(GET_by_offset((disp), _gloffset_InvalidateSubFramebuffer)))
#11622|   #define SET_InvalidateSubFramebuffer(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def622]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11628:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1983:4: note: in expansion of macro ‘CALL_InvalidateTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1983:4: note: in expansion of macro ‘CALL_InvalidateTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1983:4: note: in expansion of macro ‘CALL_InvalidateTexImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1983:4: note: in expansion of macro ‘CALL_InvalidateTexImage’
#11626|   
#11627|   typedef void (GLAPIENTRYP _glptr_InvalidateTexImage)(GLuint, GLint);
#11628|-> #define CALL_InvalidateTexImage(disp, parameters) (* GET_InvalidateTexImage(disp)) parameters
#11629|   #define GET_InvalidateTexImage(disp) ((_glptr_InvalidateTexImage)(GET_by_offset((disp), _gloffset_InvalidateTexImage)))
#11630|   #define SET_InvalidateTexImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def623]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_InvalidateTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:11636:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1952:4: note: in expansion of macro ‘CALL_InvalidateTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1952:4: note: in expansion of macro ‘CALL_InvalidateTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1952:4: note: in expansion of macro ‘CALL_InvalidateTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1952:4: note: in expansion of macro ‘CALL_InvalidateTexSubImage’
#11634|   
#11635|   typedef void (GLAPIENTRYP _glptr_InvalidateTexSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei);
#11636|-> #define CALL_InvalidateTexSubImage(disp, parameters) (* GET_InvalidateTexSubImage(disp)) parameters
#11637|   #define GET_InvalidateTexSubImage(disp) ((_glptr_InvalidateTexSubImage)(GET_by_offset((disp), _gloffset_InvalidateTexSubImage)))
#11638|   #define SET_InvalidateTexSubImage(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def624]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_DebugMessageCallback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12300:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:551:4: note: in expansion of macro ‘CALL_DebugMessageCallback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:551:4: note: in expansion of macro ‘CALL_DebugMessageCallback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:551:4: note: in expansion of macro ‘CALL_DebugMessageCallback’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:551:4: note: in expansion of macro ‘CALL_DebugMessageCallback’
#12298|   
#12299|   typedef void (GLAPIENTRYP _glptr_DebugMessageCallback)(GLDEBUGPROC, const GLvoid *);
#12300|-> #define CALL_DebugMessageCallback(disp, parameters) (* GET_DebugMessageCallback(disp)) parameters
#12301|   #define GET_DebugMessageCallback(disp) ((_glptr_DebugMessageCallback)(GET_by_offset((disp), _gloffset_DebugMessageCallback)))
#12302|   #define SET_DebugMessageCallback(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DebugMessageControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12308:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:471:4: note: in expansion of macro ‘CALL_DebugMessageControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:471:4: note: in expansion of macro ‘CALL_DebugMessageControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:471:4: note: in expansion of macro ‘CALL_DebugMessageControl’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:471:4: note: in expansion of macro ‘CALL_DebugMessageControl’
#12306|   
#12307|   typedef void (GLAPIENTRYP _glptr_DebugMessageControl)(GLenum, GLenum, GLenum, GLsizei, const GLuint *, GLboolean);
#12308|-> #define CALL_DebugMessageControl(disp, parameters) (* GET_DebugMessageControl(disp)) parameters
#12309|   #define GET_DebugMessageControl(disp) ((_glptr_DebugMessageControl)(GET_by_offset((disp), _gloffset_DebugMessageControl)))
#12310|   #define SET_DebugMessageControl(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_DebugMessageInsert’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12316:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:519:4: note: in expansion of macro ‘CALL_DebugMessageInsert’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:519:4: note: in expansion of macro ‘CALL_DebugMessageInsert’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:519:4: note: in expansion of macro ‘CALL_DebugMessageInsert’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:519:4: note: in expansion of macro ‘CALL_DebugMessageInsert’
#12314|   
#12315|   typedef void (GLAPIENTRYP _glptr_DebugMessageInsert)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *);
#12316|-> #define CALL_DebugMessageInsert(disp, parameters) (* GET_DebugMessageInsert(disp)) parameters
#12317|   #define GET_DebugMessageInsert(disp) ((_glptr_DebugMessageInsert)(GET_by_offset((disp), _gloffset_DebugMessageInsert)))
#12318|   #define SET_DebugMessageInsert(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetDebugMessageLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12324:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:561:11: note: in expansion of macro ‘CALL_GetDebugMessageLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:561:11: note: in expansion of macro ‘CALL_GetDebugMessageLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:561:11: note: in expansion of macro ‘CALL_GetDebugMessageLog’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:561:11: note: in expansion of macro ‘CALL_GetDebugMessageLog’
#12322|   
#12323|   typedef GLuint (GLAPIENTRYP _glptr_GetDebugMessageLog)(GLuint, GLsizei, GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLchar *);
#12324|-> #define CALL_GetDebugMessageLog(disp, parameters) (* GET_GetDebugMessageLog(disp)) parameters
#12325|   #define GET_GetDebugMessageLog(disp) ((_glptr_GetDebugMessageLog)(GET_by_offset((disp), _gloffset_GetDebugMessageLog)))
#12326|   #define SET_GetDebugMessageLog(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def628]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12332:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1183:4: note: in expansion of macro ‘CALL_GetObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1183:4: note: in expansion of macro ‘CALL_GetObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1183:4: note: in expansion of macro ‘CALL_GetObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1183:4: note: in expansion of macro ‘CALL_GetObjectLabel’
#12330|   
#12331|   typedef void (GLAPIENTRYP _glptr_GetObjectLabel)(GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
#12332|-> #define CALL_GetObjectLabel(disp, parameters) (* GET_GetObjectLabel(disp)) parameters
#12333|   #define GET_GetObjectLabel(disp) ((_glptr_GetObjectLabel)(GET_by_offset((disp), _gloffset_GetObjectLabel)))
#12334|   #define SET_GetObjectLabel(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def629]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12340:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1203:4: note: in expansion of macro ‘CALL_GetObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1203:4: note: in expansion of macro ‘CALL_GetObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1203:4: note: in expansion of macro ‘CALL_GetObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1203:4: note: in expansion of macro ‘CALL_GetObjectPtrLabel’
#12338|   
#12339|   typedef void (GLAPIENTRYP _glptr_GetObjectPtrLabel)(const GLvoid *, GLsizei, GLsizei *, GLchar *);
#12340|-> #define CALL_GetObjectPtrLabel(disp, parameters) (* GET_GetObjectPtrLabel(disp)) parameters
#12341|   #define GET_GetObjectPtrLabel(disp) ((_glptr_GetObjectPtrLabel)(GET_by_offset((disp), _gloffset_GetObjectPtrLabel)))
#12342|   #define SET_GetObjectPtrLabel(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def630]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_ObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12348:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1153:4: note: in expansion of macro ‘CALL_ObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1153:4: note: in expansion of macro ‘CALL_ObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1153:4: note: in expansion of macro ‘CALL_ObjectLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1153:4: note: in expansion of macro ‘CALL_ObjectLabel’
#12346|   
#12347|   typedef void (GLAPIENTRYP _glptr_ObjectLabel)(GLenum, GLuint, GLsizei, const GLchar *);
#12348|-> #define CALL_ObjectLabel(disp, parameters) (* GET_ObjectLabel(disp)) parameters
#12349|   #define GET_ObjectLabel(disp) ((_glptr_ObjectLabel)(GET_by_offset((disp), _gloffset_ObjectLabel)))
#12350|   #define SET_ObjectLabel(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def631]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12356:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1193:4: note: in expansion of macro ‘CALL_ObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1193:4: note: in expansion of macro ‘CALL_ObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1193:4: note: in expansion of macro ‘CALL_ObjectPtrLabel’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1193:4: note: in expansion of macro ‘CALL_ObjectPtrLabel’
#12354|   
#12355|   typedef void (GLAPIENTRYP _glptr_ObjectPtrLabel)(const GLvoid *, GLsizei, const GLchar *);
#12356|-> #define CALL_ObjectPtrLabel(disp, parameters) (* GET_ObjectPtrLabel(disp)) parameters
#12357|   #define GET_ObjectPtrLabel(disp) ((_glptr_ObjectPtrLabel)(GET_by_offset((disp), _gloffset_ObjectPtrLabel)))
#12358|   #define SET_ObjectPtrLabel(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_PopDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12364:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1123:4: note: in expansion of macro ‘CALL_PopDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1123:4: note: in expansion of macro ‘CALL_PopDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1123:4: note: in expansion of macro ‘CALL_PopDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1123:4: note: in expansion of macro ‘CALL_PopDebugGroup’
#12362|   
#12363|   typedef void (GLAPIENTRYP _glptr_PopDebugGroup)(void);
#12364|-> #define CALL_PopDebugGroup(disp, parameters) (* GET_PopDebugGroup(disp)) parameters
#12365|   #define GET_PopDebugGroup(disp) ((_glptr_PopDebugGroup)(GET_by_offset((disp), _gloffset_PopDebugGroup)))
#12366|   #define SET_PopDebugGroup(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def633]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_PushDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12372:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1092:4: note: in expansion of macro ‘CALL_PushDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1092:4: note: in expansion of macro ‘CALL_PushDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1092:4: note: in expansion of macro ‘CALL_PushDebugGroup’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1092:4: note: in expansion of macro ‘CALL_PushDebugGroup’
#12370|   
#12371|   typedef void (GLAPIENTRYP _glptr_PushDebugGroup)(GLenum, GLuint, GLsizei, const GLchar *);
#12372|-> #define CALL_PushDebugGroup(disp, parameters) (* GET_PushDebugGroup(disp)) parameters
#12373|   #define GET_PushDebugGroup(disp) ((_glptr_PushDebugGroup)(GET_by_offset((disp), _gloffset_PushDebugGroup)))
#12374|   #define SET_PushDebugGroup(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def634]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3fEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12380:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:157:4: note: in expansion of macro ‘CALL_SecondaryColor3fEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:157:4: note: in expansion of macro ‘CALL_SecondaryColor3fEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:157:4: note: in expansion of macro ‘CALL_SecondaryColor3fEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:157:4: note: in expansion of macro ‘CALL_SecondaryColor3fEXT’
#12378|   
#12379|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT)(GLfloat, GLfloat, GLfloat);
#12380|-> #define CALL_SecondaryColor3fEXT(disp, parameters) (* GET_SecondaryColor3fEXT(disp)) parameters
#12381|   #define GET_SecondaryColor3fEXT(disp) ((_glptr_SecondaryColor3fEXT)(GET_by_offset((disp), _gloffset_SecondaryColor3fEXT)))
#12382|   #define SET_SecondaryColor3fEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def635]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c: scope_hint: In function ‘_mesa_unmarshal_SecondaryColor3fvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12388:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:181:4: note: in expansion of macro ‘CALL_SecondaryColor3fvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:181:4: note: in expansion of macro ‘CALL_SecondaryColor3fvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:181:4: note: in expansion of macro ‘CALL_SecondaryColor3fvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:181:4: note: in expansion of macro ‘CALL_SecondaryColor3fvEXT’
#12386|   
#12387|   typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT)(const GLfloat *);
#12388|-> #define CALL_SecondaryColor3fvEXT(disp, parameters) (* GET_SecondaryColor3fvEXT(disp)) parameters
#12389|   #define GET_SecondaryColor3fvEXT(disp) ((_glptr_SecondaryColor3fvEXT)(GET_by_offset((disp), _gloffset_SecondaryColor3fvEXT)))
#12390|   #define SET_SecondaryColor3fvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def636]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘_mesa_marshal_MultiDrawElementsBaseVertex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12396:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1145:10: note: in expansion of macro ‘CALL_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12397:87: note: in expansion of macro ‘_gloffset_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12396:53: note: in expansion of macro ‘GET_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1145:10: note: in expansion of macro ‘CALL_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1145:10: note: in expansion of macro ‘CALL_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1145:10: note: in expansion of macro ‘CALL_MultiDrawElements’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1145:10: note: in expansion of macro ‘CALL_MultiDrawElements’
#12394|   
#12395|   typedef void (GLAPIENTRYP _glptr_MultiDrawElements)(GLenum, const GLsizei *, GLenum, const GLvoid * const *, GLsizei);
#12396|-> #define CALL_MultiDrawElements(disp, parameters) (* GET_MultiDrawElements(disp)) parameters
#12397|   #define GET_MultiDrawElements(disp) ((_glptr_MultiDrawElements)(GET_by_offset((disp), _gloffset_MultiDrawElements)))
#12398|   #define SET_MultiDrawElements(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def637]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_FogCoordfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12404:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4903:4: note: in expansion of macro ‘CALL_FogCoordfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4903:4: note: in expansion of macro ‘CALL_FogCoordfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4903:4: note: in expansion of macro ‘CALL_FogCoordfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4903:4: note: in expansion of macro ‘CALL_FogCoordfEXT’
#12402|   
#12403|   typedef void (GLAPIENTRYP _glptr_FogCoordfEXT)(GLfloat);
#12404|-> #define CALL_FogCoordfEXT(disp, parameters) (* GET_FogCoordfEXT(disp)) parameters
#12405|   #define GET_FogCoordfEXT(disp) ((_glptr_FogCoordfEXT)(GET_by_offset((disp), _gloffset_FogCoordfEXT)))
#12406|   #define SET_FogCoordfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def638]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c: scope_hint: In function ‘_mesa_unmarshal_FogCoordfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12412:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4925:4: note: in expansion of macro ‘CALL_FogCoordfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4925:4: note: in expansion of macro ‘CALL_FogCoordfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4925:4: note: in expansion of macro ‘CALL_FogCoordfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4925:4: note: in expansion of macro ‘CALL_FogCoordfvEXT’
#12410|   
#12411|   typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT)(const GLfloat *);
#12412|-> #define CALL_FogCoordfvEXT(disp, parameters) (* GET_FogCoordfvEXT(disp)) parameters
#12413|   #define GET_FogCoordfvEXT(disp) ((_glptr_FogCoordfvEXT)(GET_by_offset((disp), _gloffset_FogCoordfvEXT)))
#12414|   #define SET_FogCoordfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def639]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib1dvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12636:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:472:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:472:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:472:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:472:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
#12634|   
#12635|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *);
#12636|-> #define CALL_VertexAttrib1dvNV(disp, parameters) (* GET_VertexAttrib1dvNV(disp)) parameters
#12637|   #define GET_VertexAttrib1dvNV(disp) ((_glptr_VertexAttrib1dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib1dvNV)))
#12638|   #define SET_VertexAttrib1dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def640]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib1NbvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12644:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:99:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:99:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12644:80: note: in definition of macro ‘CALL_VertexAttrib1fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:99:50: note: in expansion of macro ‘BYTE_TO_FLOAT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:99:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
#12642|   
#12643|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat);
#12644|-> #define CALL_VertexAttrib1fNV(disp, parameters) (* GET_VertexAttrib1fNV(disp)) parameters
#12645|   #define GET_VertexAttrib1fNV(disp) ((_glptr_VertexAttrib1fNV)(GET_by_offset((disp), _gloffset_VertexAttrib1fNV)))
#12646|   #define SET_VertexAttrib1fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def641]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib1fvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12652:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:446:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:446:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:446:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:446:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
#12650|   
#12651|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *);
#12652|-> #define CALL_VertexAttrib1fvNV(disp, parameters) (* GET_VertexAttrib1fvNV(disp)) parameters
#12653|   #define GET_VertexAttrib1fvNV(disp) ((_glptr_VertexAttrib1fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib1fvNV)))
#12654|   #define SET_VertexAttrib1fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def642]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib2dvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12684:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:478:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:478:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:478:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:478:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
#12682|   
#12683|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *);
#12684|-> #define CALL_VertexAttrib2dvNV(disp, parameters) (* GET_VertexAttrib2dvNV(disp)) parameters
#12685|   #define GET_VertexAttrib2dvNV(disp) ((_glptr_VertexAttrib2dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib2dvNV)))
#12686|   #define SET_VertexAttrib2dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def643]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib2NbvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12692:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:111:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:111:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12692:80: note: in definition of macro ‘CALL_VertexAttrib2fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:111:71: note: in expansion of macro ‘BYTE_TO_FLOAT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:111:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
#12690|   
#12691|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat);
#12692|-> #define CALL_VertexAttrib2fNV(disp, parameters) (* GET_VertexAttrib2fNV(disp)) parameters
#12693|   #define GET_VertexAttrib2fNV(disp) ((_glptr_VertexAttrib2fNV)(GET_by_offset((disp), _gloffset_VertexAttrib2fNV)))
#12694|   #define SET_VertexAttrib2fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def644]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib2fvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12700:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:452:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:452:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:452:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:452:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
#12698|   
#12699|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *);
#12700|-> #define CALL_VertexAttrib2fvNV(disp, parameters) (* GET_VertexAttrib2fvNV(disp)) parameters
#12701|   #define GET_VertexAttrib2fvNV(disp) ((_glptr_VertexAttrib2fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib2fvNV)))
#12702|   #define SET_VertexAttrib2fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def645]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib3dvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12732:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:484:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:484:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:484:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:484:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
#12730|   
#12731|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *);
#12732|-> #define CALL_VertexAttrib3dvNV(disp, parameters) (* GET_VertexAttrib3dvNV(disp)) parameters
#12733|   #define GET_VertexAttrib3dvNV(disp) ((_glptr_VertexAttrib3dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib3dvNV)))
#12734|   #define SET_VertexAttrib3dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def646]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib3NbvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12740:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:123:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:123:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12740:80: note: in definition of macro ‘CALL_VertexAttrib3fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:125:48: note: in expansion of macro ‘BYTE_TO_FLOAT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:123:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
#12738|   
#12739|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat);
#12740|-> #define CALL_VertexAttrib3fNV(disp, parameters) (* GET_VertexAttrib3fNV(disp)) parameters
#12741|   #define GET_VertexAttrib3fNV(disp) ((_glptr_VertexAttrib3fNV)(GET_by_offset((disp), _gloffset_VertexAttrib3fNV)))
#12742|   #define SET_VertexAttrib3fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def647]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib3fvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12748:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:458:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:458:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:458:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:458:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
#12746|   
#12747|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *);
#12748|-> #define CALL_VertexAttrib3fvNV(disp, parameters) (* GET_VertexAttrib3fvNV(disp)) parameters
#12749|   #define GET_VertexAttrib3fvNV(disp) ((_glptr_VertexAttrib3fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib3fvNV)))
#12750|   #define SET_VertexAttrib3fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def648]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib4dvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12780:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:490:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:490:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:490:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:490:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
#12778|   
#12779|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *);
#12780|-> #define CALL_VertexAttrib4dvNV(disp, parameters) (* GET_VertexAttrib4dvNV(disp)) parameters
#12781|   #define GET_VertexAttrib4dvNV(disp) ((_glptr_VertexAttrib4dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib4dvNV)))
#12782|   #define SET_VertexAttrib4dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def649]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib4NbvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12788:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:137:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:137:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12788:80: note: in definition of macro ‘CALL_VertexAttrib4fNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:140:48: note: in expansion of macro ‘BYTE_TO_FLOAT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:137:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
#12786|   
#12787|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
#12788|-> #define CALL_VertexAttrib4fNV(disp, parameters) (* GET_VertexAttrib4fNV(disp)) parameters
#12789|   #define GET_VertexAttrib4fNV(disp) ((_glptr_VertexAttrib4fNV)(GET_by_offset((disp), _gloffset_VertexAttrib4fNV)))
#12790|   #define SET_VertexAttrib4fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def650]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c: scope_hint: In function ‘VertexAttrib4fvNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:12796:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:464:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:464:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:464:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/api_arrayelt.c:464:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
#12794|   
#12795|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *);
#12796|-> #define CALL_VertexAttrib4fvNV(disp, parameters) (* GET_VertexAttrib4fvNV(disp)) parameters
#12797|   #define GET_VertexAttrib4fvNV(disp) ((_glptr_VertexAttrib4fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib4fvNV)))
#12798|   #define SET_VertexAttrib4fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def651]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_PrimitiveRestartNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13164:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:855:4: note: in expansion of macro ‘CALL_PrimitiveRestartNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:855:4: note: in expansion of macro ‘CALL_PrimitiveRestartNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:855:4: note: in expansion of macro ‘CALL_PrimitiveRestartNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:855:4: note: in expansion of macro ‘CALL_PrimitiveRestartNV’
#13162|   
#13163|   typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV)(void);
#13164|-> #define CALL_PrimitiveRestartNV(disp, parameters) (* GET_PrimitiveRestartNV(disp)) parameters
#13165|   #define GET_PrimitiveRestartNV(disp) ((_glptr_PrimitiveRestartNV)(GET_by_offset((disp), _gloffset_PrimitiveRestartNV)))
#13166|   #define SET_PrimitiveRestartNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def652]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BindBufferOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13372:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:890:4: note: in expansion of macro ‘CALL_BindBufferOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:890:4: note: in expansion of macro ‘CALL_BindBufferOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:890:4: note: in expansion of macro ‘CALL_BindBufferOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:890:4: note: in expansion of macro ‘CALL_BindBufferOffsetEXT’
#13370|   
#13371|   typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr);
#13372|-> #define CALL_BindBufferOffsetEXT(disp, parameters) (* GET_BindBufferOffsetEXT(disp)) parameters
#13373|   #define GET_BindBufferOffsetEXT(disp) ((_glptr_BindBufferOffsetEXT)(GET_by_offset((disp), _gloffset_BindBufferOffsetEXT)))
#13374|   #define SET_BindBufferOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def653]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_TextureBarrierNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13516:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:726:4: note: in expansion of macro ‘CALL_TextureBarrierNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:726:4: note: in expansion of macro ‘CALL_TextureBarrierNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:726:4: note: in expansion of macro ‘CALL_TextureBarrierNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:726:4: note: in expansion of macro ‘CALL_TextureBarrierNV’
#13514|   
#13515|   typedef void (GLAPIENTRYP _glptr_TextureBarrierNV)(void);
#13516|-> #define CALL_TextureBarrierNV(disp, parameters) (* GET_TextureBarrierNV(disp)) parameters
#13517|   #define GET_TextureBarrierNV(disp) ((_glptr_TextureBarrierNV)(GET_by_offset((disp), _gloffset_TextureBarrierNV)))
#13518|   #define SET_TextureBarrierNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def654]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_VDPAUFiniNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13524:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1085:4: note: in expansion of macro ‘CALL_VDPAUFiniNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1085:4: note: in expansion of macro ‘CALL_VDPAUFiniNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1085:4: note: in expansion of macro ‘CALL_VDPAUFiniNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1085:4: note: in expansion of macro ‘CALL_VDPAUFiniNV’
#13522|   
#13523|   typedef void (GLAPIENTRYP _glptr_VDPAUFiniNV)(void);
#13524|-> #define CALL_VDPAUFiniNV(disp, parameters) (* GET_VDPAUFiniNV(disp)) parameters
#13525|   #define GET_VDPAUFiniNV(disp) ((_glptr_VDPAUFiniNV)(GET_by_offset((disp), _gloffset_VDPAUFiniNV)))
#13526|   #define SET_VDPAUFiniNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAUGetSurfaceivNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13532:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1155:4: note: in expansion of macro ‘CALL_VDPAUGetSurfaceivNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1155:4: note: in expansion of macro ‘CALL_VDPAUGetSurfaceivNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1155:4: note: in expansion of macro ‘CALL_VDPAUGetSurfaceivNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1155:4: note: in expansion of macro ‘CALL_VDPAUGetSurfaceivNV’
#13530|   
#13531|   typedef void (GLAPIENTRYP _glptr_VDPAUGetSurfaceivNV)(GLintptr, GLenum, GLsizei, GLsizei *, GLint *);
#13532|-> #define CALL_VDPAUGetSurfaceivNV(disp, parameters) (* GET_VDPAUGetSurfaceivNV(disp)) parameters
#13533|   #define GET_VDPAUGetSurfaceivNV(disp) ((_glptr_VDPAUGetSurfaceivNV)(GET_by_offset((disp), _gloffset_VDPAUGetSurfaceivNV)))
#13534|   #define SET_VDPAUGetSurfaceivNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def656]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAUInitNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13540:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1074:4: note: in expansion of macro ‘CALL_VDPAUInitNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1074:4: note: in expansion of macro ‘CALL_VDPAUInitNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1074:4: note: in expansion of macro ‘CALL_VDPAUInitNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1074:4: note: in expansion of macro ‘CALL_VDPAUInitNV’
#13538|   
#13539|   typedef void (GLAPIENTRYP _glptr_VDPAUInitNV)(const GLvoid *, const GLvoid *);
#13540|-> #define CALL_VDPAUInitNV(disp, parameters) (* GET_VDPAUInitNV(disp)) parameters
#13541|   #define GET_VDPAUInitNV(disp) ((_glptr_VDPAUInitNV)(GET_by_offset((disp), _gloffset_VDPAUInitNV)))
#13542|   #define SET_VDPAUInitNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def657]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAUIsSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13548:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1123:11: note: in expansion of macro ‘CALL_VDPAUIsSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1123:11: note: in expansion of macro ‘CALL_VDPAUIsSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1123:11: note: in expansion of macro ‘CALL_VDPAUIsSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1123:11: note: in expansion of macro ‘CALL_VDPAUIsSurfaceNV’
#13546|   
#13547|   typedef GLboolean (GLAPIENTRYP _glptr_VDPAUIsSurfaceNV)(GLintptr);
#13548|-> #define CALL_VDPAUIsSurfaceNV(disp, parameters) (* GET_VDPAUIsSurfaceNV(disp)) parameters
#13549|   #define GET_VDPAUIsSurfaceNV(disp) ((_glptr_VDPAUIsSurfaceNV)(GET_by_offset((disp), _gloffset_VDPAUIsSurfaceNV)))
#13550|   #define SET_VDPAUIsSurfaceNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAUMapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13556:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1190:4: note: in expansion of macro ‘CALL_VDPAUMapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1190:4: note: in expansion of macro ‘CALL_VDPAUMapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1190:4: note: in expansion of macro ‘CALL_VDPAUMapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1190:4: note: in expansion of macro ‘CALL_VDPAUMapSurfacesNV’
#13554|   
#13555|   typedef void (GLAPIENTRYP _glptr_VDPAUMapSurfacesNV)(GLsizei, const GLintptr *);
#13556|-> #define CALL_VDPAUMapSurfacesNV(disp, parameters) (* GET_VDPAUMapSurfacesNV(disp)) parameters
#13557|   #define GET_VDPAUMapSurfacesNV(disp) ((_glptr_VDPAUMapSurfacesNV)(GET_by_offset((disp), _gloffset_VDPAUMapSurfacesNV)))
#13558|   #define SET_VDPAUMapSurfacesNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def659]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAURegisterOutputSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13564:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1113:11: note: in expansion of macro ‘CALL_VDPAURegisterOutputSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1113:11: note: in expansion of macro ‘CALL_VDPAURegisterOutputSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1113:11: note: in expansion of macro ‘CALL_VDPAURegisterOutputSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1113:11: note: in expansion of macro ‘CALL_VDPAURegisterOutputSurfaceNV’
#13562|   
#13563|   typedef GLintptr (GLAPIENTRYP _glptr_VDPAURegisterOutputSurfaceNV)(const GLvoid *, GLenum, GLsizei, const GLuint *);
#13564|-> #define CALL_VDPAURegisterOutputSurfaceNV(disp, parameters) (* GET_VDPAURegisterOutputSurfaceNV(disp)) parameters
#13565|   #define GET_VDPAURegisterOutputSurfaceNV(disp) ((_glptr_VDPAURegisterOutputSurfaceNV)(GET_by_offset((disp), _gloffset_VDPAURegisterOutputSurfaceNV)))
#13566|   #define SET_VDPAURegisterOutputSurfaceNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAURegisterVideoSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13572:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1103:11: note: in expansion of macro ‘CALL_VDPAURegisterVideoSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1103:11: note: in expansion of macro ‘CALL_VDPAURegisterVideoSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1103:11: note: in expansion of macro ‘CALL_VDPAURegisterVideoSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1103:11: note: in expansion of macro ‘CALL_VDPAURegisterVideoSurfaceNV’
#13570|   
#13571|   typedef GLintptr (GLAPIENTRYP _glptr_VDPAURegisterVideoSurfaceNV)(const GLvoid *, GLenum, GLsizei, const GLuint *);
#13572|-> #define CALL_VDPAURegisterVideoSurfaceNV(disp, parameters) (* GET_VDPAURegisterVideoSurfaceNV(disp)) parameters
#13573|   #define GET_VDPAURegisterVideoSurfaceNV(disp) ((_glptr_VDPAURegisterVideoSurfaceNV)(GET_by_offset((disp), _gloffset_VDPAURegisterVideoSurfaceNV)))
#13574|   #define SET_VDPAURegisterVideoSurfaceNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_VDPAUSurfaceAccessNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13580:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1170:4: note: in expansion of macro ‘CALL_VDPAUSurfaceAccessNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1170:4: note: in expansion of macro ‘CALL_VDPAUSurfaceAccessNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1170:4: note: in expansion of macro ‘CALL_VDPAUSurfaceAccessNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1170:4: note: in expansion of macro ‘CALL_VDPAUSurfaceAccessNV’
#13578|   
#13579|   typedef void (GLAPIENTRYP _glptr_VDPAUSurfaceAccessNV)(GLintptr, GLenum);
#13580|-> #define CALL_VDPAUSurfaceAccessNV(disp, parameters) (* GET_VDPAUSurfaceAccessNV(disp)) parameters
#13581|   #define GET_VDPAUSurfaceAccessNV(disp) ((_glptr_VDPAUSurfaceAccessNV)(GET_by_offset((disp), _gloffset_VDPAUSurfaceAccessNV)))
#13582|   #define SET_VDPAUSurfaceAccessNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def662]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_VDPAUUnmapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13588:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1200:4: note: in expansion of macro ‘CALL_VDPAUUnmapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1200:4: note: in expansion of macro ‘CALL_VDPAUUnmapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1200:4: note: in expansion of macro ‘CALL_VDPAUUnmapSurfacesNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1200:4: note: in expansion of macro ‘CALL_VDPAUUnmapSurfacesNV’
#13586|   
#13587|   typedef void (GLAPIENTRYP _glptr_VDPAUUnmapSurfacesNV)(GLsizei, const GLintptr *);
#13588|-> #define CALL_VDPAUUnmapSurfacesNV(disp, parameters) (* GET_VDPAUUnmapSurfacesNV(disp)) parameters
#13589|   #define GET_VDPAUUnmapSurfacesNV(disp) ((_glptr_VDPAUUnmapSurfacesNV)(GET_by_offset((disp), _gloffset_VDPAUUnmapSurfacesNV)))
#13590|   #define SET_VDPAUUnmapSurfacesNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def663]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_VDPAUUnregisterSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13596:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1136:4: note: in expansion of macro ‘CALL_VDPAUUnregisterSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1136:4: note: in expansion of macro ‘CALL_VDPAUUnregisterSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1136:4: note: in expansion of macro ‘CALL_VDPAUUnregisterSurfaceNV’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1136:4: note: in expansion of macro ‘CALL_VDPAUUnregisterSurfaceNV’
#13594|   
#13595|   typedef void (GLAPIENTRYP _glptr_VDPAUUnregisterSurfaceNV)(GLintptr);
#13596|-> #define CALL_VDPAUUnregisterSurfaceNV(disp, parameters) (* GET_VDPAUUnregisterSurfaceNV(disp)) parameters
#13597|   #define GET_VDPAUUnregisterSurfaceNV(disp) ((_glptr_VDPAUUnregisterSurfaceNV)(GET_by_offset((disp), _gloffset_VDPAUUnregisterSurfaceNV)))
#13598|   #define SET_VDPAUUnregisterSurfaceNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_BufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13724:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1512:4: note: in expansion of macro ‘CALL_BufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1512:4: note: in expansion of macro ‘CALL_BufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1512:4: note: in expansion of macro ‘CALL_BufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1512:4: note: in expansion of macro ‘CALL_BufferStorageMemEXT’
#13722|   
#13723|   typedef void (GLAPIENTRYP _glptr_BufferStorageMemEXT)(GLenum, GLsizeiptr, GLuint, GLuint64);
#13724|-> #define CALL_BufferStorageMemEXT(disp, parameters) (* GET_BufferStorageMemEXT(disp)) parameters
#13725|   #define GET_BufferStorageMemEXT(disp) ((_glptr_BufferStorageMemEXT)(GET_by_offset((disp), _gloffset_BufferStorageMemEXT)))
#13726|   #define SET_BufferStorageMemEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_CreateMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13732:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1276:4: note: in expansion of macro ‘CALL_CreateMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1276:4: note: in expansion of macro ‘CALL_CreateMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1276:4: note: in expansion of macro ‘CALL_CreateMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1276:4: note: in expansion of macro ‘CALL_CreateMemoryObjectsEXT’
#13730|   
#13731|   typedef void (GLAPIENTRYP _glptr_CreateMemoryObjectsEXT)(GLsizei, GLuint *);
#13732|-> #define CALL_CreateMemoryObjectsEXT(disp, parameters) (* GET_CreateMemoryObjectsEXT(disp)) parameters
#13733|   #define GET_CreateMemoryObjectsEXT(disp) ((_glptr_CreateMemoryObjectsEXT)(GET_by_offset((disp), _gloffset_CreateMemoryObjectsEXT)))
#13734|   #define SET_CreateMemoryObjectsEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_DeleteMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13740:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1238:4: note: in expansion of macro ‘CALL_DeleteMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1238:4: note: in expansion of macro ‘CALL_DeleteMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1238:4: note: in expansion of macro ‘CALL_DeleteMemoryObjectsEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1238:4: note: in expansion of macro ‘CALL_DeleteMemoryObjectsEXT’
#13738|   
#13739|   typedef void (GLAPIENTRYP _glptr_DeleteMemoryObjectsEXT)(GLsizei, const GLuint *);
#13740|-> #define CALL_DeleteMemoryObjectsEXT(disp, parameters) (* GET_DeleteMemoryObjectsEXT(disp)) parameters
#13741|   #define GET_DeleteMemoryObjectsEXT(disp) ((_glptr_DeleteMemoryObjectsEXT)(GET_by_offset((disp), _gloffset_DeleteMemoryObjectsEXT)))
#13742|   #define SET_DeleteMemoryObjectsEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def667]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetMemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13764:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1321:4: note: in expansion of macro ‘CALL_GetMemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1321:4: note: in expansion of macro ‘CALL_GetMemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1321:4: note: in expansion of macro ‘CALL_GetMemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1321:4: note: in expansion of macro ‘CALL_GetMemoryObjectParameterivEXT’
#13762|   
#13763|   typedef void (GLAPIENTRYP _glptr_GetMemoryObjectParameterivEXT)(GLuint, GLenum, GLint *);
#13764|-> #define CALL_GetMemoryObjectParameterivEXT(disp, parameters) (* GET_GetMemoryObjectParameterivEXT(disp)) parameters
#13765|   #define GET_GetMemoryObjectParameterivEXT(disp) ((_glptr_GetMemoryObjectParameterivEXT)(GET_by_offset((disp), _gloffset_GetMemoryObjectParameterivEXT)))
#13766|   #define SET_GetMemoryObjectParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetUnsignedBytei_vEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13780:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1220:4: note: in expansion of macro ‘CALL_GetUnsignedBytei_vEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1220:4: note: in expansion of macro ‘CALL_GetUnsignedBytei_vEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1220:4: note: in expansion of macro ‘CALL_GetUnsignedBytei_vEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1220:4: note: in expansion of macro ‘CALL_GetUnsignedBytei_vEXT’
#13778|   
#13779|   typedef void (GLAPIENTRYP _glptr_GetUnsignedBytei_vEXT)(GLenum, GLuint, GLubyte *);
#13780|-> #define CALL_GetUnsignedBytei_vEXT(disp, parameters) (* GET_GetUnsignedBytei_vEXT(disp)) parameters
#13781|   #define GET_GetUnsignedBytei_vEXT(disp) ((_glptr_GetUnsignedBytei_vEXT)(GET_by_offset((disp), _gloffset_GetUnsignedBytei_vEXT)))
#13782|   #define SET_GetUnsignedBytei_vEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def669]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_GetUnsignedBytevEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13788:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1210:4: note: in expansion of macro ‘CALL_GetUnsignedBytevEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1210:4: note: in expansion of macro ‘CALL_GetUnsignedBytevEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1210:4: note: in expansion of macro ‘CALL_GetUnsignedBytevEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1210:4: note: in expansion of macro ‘CALL_GetUnsignedBytevEXT’
#13786|   
#13787|   typedef void (GLAPIENTRYP _glptr_GetUnsignedBytevEXT)(GLenum, GLubyte *);
#13788|-> #define CALL_GetUnsignedBytevEXT(disp, parameters) (* GET_GetUnsignedBytevEXT(disp)) parameters
#13789|   #define GET_GetUnsignedBytevEXT(disp) ((_glptr_GetUnsignedBytevEXT)(GET_by_offset((disp), _gloffset_GetUnsignedBytevEXT)))
#13790|   #define SET_GetUnsignedBytevEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def670]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_marshal_IsMemoryObjectEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13796:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1266:11: note: in expansion of macro ‘CALL_IsMemoryObjectEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1266:11: note: in expansion of macro ‘CALL_IsMemoryObjectEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1266:11: note: in expansion of macro ‘CALL_IsMemoryObjectEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1266:11: note: in expansion of macro ‘CALL_IsMemoryObjectEXT’
#13794|   
#13795|   typedef GLboolean (GLAPIENTRYP _glptr_IsMemoryObjectEXT)(GLuint);
#13796|-> #define CALL_IsMemoryObjectEXT(disp, parameters) (* GET_IsMemoryObjectEXT(disp)) parameters
#13797|   #define GET_IsMemoryObjectEXT(disp) ((_glptr_IsMemoryObjectEXT)(GET_by_offset((disp), _gloffset_IsMemoryObjectEXT)))
#13798|   #define SET_IsMemoryObjectEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def671]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_MemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13812:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1296:4: note: in expansion of macro ‘CALL_MemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1296:4: note: in expansion of macro ‘CALL_MemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1296:4: note: in expansion of macro ‘CALL_MemoryObjectParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1296:4: note: in expansion of macro ‘CALL_MemoryObjectParameterivEXT’
#13810|   
#13811|   typedef void (GLAPIENTRYP _glptr_MemoryObjectParameterivEXT)(GLuint, GLenum, const GLint *);
#13812|-> #define CALL_MemoryObjectParameterivEXT(disp, parameters) (* GET_MemoryObjectParameterivEXT(disp)) parameters
#13813|   #define GET_MemoryObjectParameterivEXT(disp) ((_glptr_MemoryObjectParameterivEXT)(GET_by_offset((disp), _gloffset_MemoryObjectParameterivEXT)))
#13814|   #define SET_MemoryObjectParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def672]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_NamedBufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13820:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1715:4: note: in expansion of macro ‘CALL_NamedBufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1715:4: note: in expansion of macro ‘CALL_NamedBufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1715:4: note: in expansion of macro ‘CALL_NamedBufferStorageMemEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1715:4: note: in expansion of macro ‘CALL_NamedBufferStorageMemEXT’
#13818|   
#13819|   typedef void (GLAPIENTRYP _glptr_NamedBufferStorageMemEXT)(GLuint, GLsizeiptr, GLuint, GLuint64);
#13820|-> #define CALL_NamedBufferStorageMemEXT(disp, parameters) (* GET_NamedBufferStorageMemEXT(disp)) parameters
#13821|   #define GET_NamedBufferStorageMemEXT(disp) ((_glptr_NamedBufferStorageMemEXT)(GET_by_offset((disp), _gloffset_NamedBufferStorageMemEXT)))
#13822|   #define SET_NamedBufferStorageMemEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TexStorageMem1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13844:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1750:4: note: in expansion of macro ‘CALL_TexStorageMem1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1750:4: note: in expansion of macro ‘CALL_TexStorageMem1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1750:4: note: in expansion of macro ‘CALL_TexStorageMem1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1750:4: note: in expansion of macro ‘CALL_TexStorageMem1DEXT’
#13842|   
#13843|   typedef void (GLAPIENTRYP _glptr_TexStorageMem1DEXT)(GLenum, GLsizei, GLenum, GLsizei, GLuint, GLuint64);
#13844|-> #define CALL_TexStorageMem1DEXT(disp, parameters) (* GET_TexStorageMem1DEXT(disp)) parameters
#13845|   #define GET_TexStorageMem1DEXT(disp) ((_glptr_TexStorageMem1DEXT)(GET_by_offset((disp), _gloffset_TexStorageMem1DEXT)))
#13846|   #define SET_TexStorageMem1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TexStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13852:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1346:4: note: in expansion of macro ‘CALL_TexStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1346:4: note: in expansion of macro ‘CALL_TexStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1346:4: note: in expansion of macro ‘CALL_TexStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1346:4: note: in expansion of macro ‘CALL_TexStorageMem2DEXT’
#13850|   
#13851|   typedef void (GLAPIENTRYP _glptr_TexStorageMem2DEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLuint, GLuint64);
#13852|-> #define CALL_TexStorageMem2DEXT(disp, parameters) (* GET_TexStorageMem2DEXT(disp)) parameters
#13853|   #define GET_TexStorageMem2DEXT(disp) ((_glptr_TexStorageMem2DEXT)(GET_by_offset((disp), _gloffset_TexStorageMem2DEXT)))
#13854|   #define SET_TexStorageMem2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def675]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TexStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13860:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1388:4: note: in expansion of macro ‘CALL_TexStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1388:4: note: in expansion of macro ‘CALL_TexStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1388:4: note: in expansion of macro ‘CALL_TexStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1388:4: note: in expansion of macro ‘CALL_TexStorageMem2DMultisampleEXT’
#13858|   
#13859|   typedef void (GLAPIENTRYP _glptr_TexStorageMem2DMultisampleEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean, GLuint, GLuint64);
#13860|-> #define CALL_TexStorageMem2DMultisampleEXT(disp, parameters) (* GET_TexStorageMem2DMultisampleEXT(disp)) parameters
#13861|   #define GET_TexStorageMem2DMultisampleEXT(disp) ((_glptr_TexStorageMem2DMultisampleEXT)(GET_by_offset((disp), _gloffset_TexStorageMem2DMultisampleEXT)))
#13862|   #define SET_TexStorageMem2DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def676]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TexStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13868:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1431:4: note: in expansion of macro ‘CALL_TexStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1431:4: note: in expansion of macro ‘CALL_TexStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1431:4: note: in expansion of macro ‘CALL_TexStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1431:4: note: in expansion of macro ‘CALL_TexStorageMem3DEXT’
#13866|   
#13867|   typedef void (GLAPIENTRYP _glptr_TexStorageMem3DEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLuint, GLuint64);
#13868|-> #define CALL_TexStorageMem3DEXT(disp, parameters) (* GET_TexStorageMem3DEXT(disp)) parameters
#13869|   #define GET_TexStorageMem3DEXT(disp) ((_glptr_TexStorageMem3DEXT)(GET_by_offset((disp), _gloffset_TexStorageMem3DEXT)))
#13870|   #define SET_TexStorageMem3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def677]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TexStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13876:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1476:4: note: in expansion of macro ‘CALL_TexStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1476:4: note: in expansion of macro ‘CALL_TexStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1476:4: note: in expansion of macro ‘CALL_TexStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1476:4: note: in expansion of macro ‘CALL_TexStorageMem3DMultisampleEXT’
#13874|   
#13875|   typedef void (GLAPIENTRYP _glptr_TexStorageMem3DMultisampleEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean, GLuint, GLuint64);
#13876|-> #define CALL_TexStorageMem3DMultisampleEXT(disp, parameters) (* GET_TexStorageMem3DMultisampleEXT(disp)) parameters
#13877|   #define GET_TexStorageMem3DMultisampleEXT(disp) ((_glptr_TexStorageMem3DMultisampleEXT)(GET_by_offset((disp), _gloffset_TexStorageMem3DMultisampleEXT)))
#13878|   #define SET_TexStorageMem3DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13892:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1549:4: note: in expansion of macro ‘CALL_TextureStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1549:4: note: in expansion of macro ‘CALL_TextureStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1549:4: note: in expansion of macro ‘CALL_TextureStorageMem2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1549:4: note: in expansion of macro ‘CALL_TextureStorageMem2DEXT’
#13890|   
#13891|   typedef void (GLAPIENTRYP _glptr_TextureStorageMem2DEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLuint, GLuint64);
#13892|-> #define CALL_TextureStorageMem2DEXT(disp, parameters) (* GET_TextureStorageMem2DEXT(disp)) parameters
#13893|   #define GET_TextureStorageMem2DEXT(disp) ((_glptr_TextureStorageMem2DEXT)(GET_by_offset((disp), _gloffset_TextureStorageMem2DEXT)))
#13894|   #define SET_TextureStorageMem2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13900:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1591:4: note: in expansion of macro ‘CALL_TextureStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1591:4: note: in expansion of macro ‘CALL_TextureStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1591:4: note: in expansion of macro ‘CALL_TextureStorageMem2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1591:4: note: in expansion of macro ‘CALL_TextureStorageMem2DMultisampleEXT’
#13898|   
#13899|   typedef void (GLAPIENTRYP _glptr_TextureStorageMem2DMultisampleEXT)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLboolean, GLuint, GLuint64);
#13900|-> #define CALL_TextureStorageMem2DMultisampleEXT(disp, parameters) (* GET_TextureStorageMem2DMultisampleEXT(disp)) parameters
#13901|   #define GET_TextureStorageMem2DMultisampleEXT(disp) ((_glptr_TextureStorageMem2DMultisampleEXT)(GET_by_offset((disp), _gloffset_TextureStorageMem2DMultisampleEXT)))
#13902|   #define SET_TextureStorageMem2DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13908:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1634:4: note: in expansion of macro ‘CALL_TextureStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1634:4: note: in expansion of macro ‘CALL_TextureStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1634:4: note: in expansion of macro ‘CALL_TextureStorageMem3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1634:4: note: in expansion of macro ‘CALL_TextureStorageMem3DEXT’
#13906|   
#13907|   typedef void (GLAPIENTRYP _glptr_TextureStorageMem3DEXT)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLuint, GLuint64);
#13908|-> #define CALL_TextureStorageMem3DEXT(disp, parameters) (* GET_TextureStorageMem3DEXT(disp)) parameters
#13909|   #define GET_TextureStorageMem3DEXT(disp) ((_glptr_TextureStorageMem3DEXT)(GET_by_offset((disp), _gloffset_TextureStorageMem3DEXT)))
#13910|   #define SET_TextureStorageMem3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:13916:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1679:4: note: in expansion of macro ‘CALL_TextureStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1679:4: note: in expansion of macro ‘CALL_TextureStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1679:4: note: in expansion of macro ‘CALL_TextureStorageMem3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated7.c:1679:4: note: in expansion of macro ‘CALL_TextureStorageMem3DMultisampleEXT’
#13914|   
#13915|   typedef void (GLAPIENTRYP _glptr_TextureStorageMem3DMultisampleEXT)(GLuint, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean, GLuint, GLuint64);
#13916|-> #define CALL_TextureStorageMem3DMultisampleEXT(disp, parameters) (* GET_TextureStorageMem3DMultisampleEXT(disp)) parameters
#13917|   #define GET_TextureStorageMem3DMultisampleEXT(disp) ((_glptr_TextureStorageMem3DMultisampleEXT)(GET_by_offset((disp), _gloffset_TextureStorageMem3DMultisampleEXT)))
#13918|   #define SET_TextureStorageMem3DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BlendBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14356:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:881:4: note: in expansion of macro ‘CALL_BlendBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:881:4: note: in expansion of macro ‘CALL_BlendBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:881:4: note: in expansion of macro ‘CALL_BlendBarrier’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:881:4: note: in expansion of macro ‘CALL_BlendBarrier’
#14354|   
#14355|   typedef void (GLAPIENTRYP _glptr_BlendBarrier)(void);
#14356|-> #define CALL_BlendBarrier(disp, parameters) (* GET_BlendBarrier(disp)) parameters
#14357|   #define GET_BlendBarrier(disp) ((_glptr_BlendBarrier)(GET_by_offset((disp), _gloffset_BlendBarrier)))
#14358|   #define SET_BlendBarrier(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def683]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_PrimitiveBoundingBox’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14364:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:854:4: note: in expansion of macro ‘CALL_PrimitiveBoundingBox’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:854:4: note: in expansion of macro ‘CALL_PrimitiveBoundingBox’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:854:4: note: in expansion of macro ‘CALL_PrimitiveBoundingBox’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:854:4: note: in expansion of macro ‘CALL_PrimitiveBoundingBox’
#14362|   
#14363|   typedef void (GLAPIENTRYP _glptr_PrimitiveBoundingBox)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
#14364|-> #define CALL_PrimitiveBoundingBox(disp, parameters) (* GET_PrimitiveBoundingBox(disp)) parameters
#14365|   #define GET_PrimitiveBoundingBox(disp) ((_glptr_PrimitiveBoundingBox)(GET_by_offset((disp), _gloffset_PrimitiveBoundingBox)))
#14366|   #define SET_PrimitiveBoundingBox(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def684]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MatrixLoadTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14500:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2069:4: note: in expansion of macro ‘CALL_MatrixLoadTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2069:4: note: in expansion of macro ‘CALL_MatrixLoadTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2069:4: note: in expansion of macro ‘CALL_MatrixLoadTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2069:4: note: in expansion of macro ‘CALL_MatrixLoadTransposefEXT’
#14498|   
#14499|   typedef void (GLAPIENTRYP _glptr_MatrixLoadTransposefEXT)(GLenum, const GLfloat *);
#14500|-> #define CALL_MatrixLoadTransposefEXT(disp, parameters) (* GET_MatrixLoadTransposefEXT(disp)) parameters
#14501|   #define GET_MatrixLoadTransposefEXT(disp) ((_glptr_MatrixLoadTransposefEXT)(GET_by_offset((disp), _gloffset_MatrixLoadTransposefEXT)))
#14502|   #define SET_MatrixLoadTransposefEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MatrixLoadTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14508:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2094:4: note: in expansion of macro ‘CALL_MatrixLoadTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2094:4: note: in expansion of macro ‘CALL_MatrixLoadTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2094:4: note: in expansion of macro ‘CALL_MatrixLoadTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2094:4: note: in expansion of macro ‘CALL_MatrixLoadTransposedEXT’
#14506|   
#14507|   typedef void (GLAPIENTRYP _glptr_MatrixLoadTransposedEXT)(GLenum, const GLdouble *);
#14508|-> #define CALL_MatrixLoadTransposedEXT(disp, parameters) (* GET_MatrixLoadTransposedEXT(disp)) parameters
#14509|   #define GET_MatrixLoadTransposedEXT(disp) ((_glptr_MatrixLoadTransposedEXT)(GET_by_offset((disp), _gloffset_MatrixLoadTransposedEXT)))
#14510|   #define SET_MatrixLoadTransposedEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def686]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MatrixMultTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14516:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2119:4: note: in expansion of macro ‘CALL_MatrixMultTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2119:4: note: in expansion of macro ‘CALL_MatrixMultTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2119:4: note: in expansion of macro ‘CALL_MatrixMultTransposefEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2119:4: note: in expansion of macro ‘CALL_MatrixMultTransposefEXT’
#14514|   
#14515|   typedef void (GLAPIENTRYP _glptr_MatrixMultTransposefEXT)(GLenum, const GLfloat *);
#14516|-> #define CALL_MatrixMultTransposefEXT(disp, parameters) (* GET_MatrixMultTransposefEXT(disp)) parameters
#14517|   #define GET_MatrixMultTransposefEXT(disp) ((_glptr_MatrixMultTransposefEXT)(GET_by_offset((disp), _gloffset_MatrixMultTransposefEXT)))
#14518|   #define SET_MatrixMultTransposefEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def687]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MatrixMultTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14524:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2144:4: note: in expansion of macro ‘CALL_MatrixMultTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2144:4: note: in expansion of macro ‘CALL_MatrixMultTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2144:4: note: in expansion of macro ‘CALL_MatrixMultTransposedEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2144:4: note: in expansion of macro ‘CALL_MatrixMultTransposedEXT’
#14522|   
#14523|   typedef void (GLAPIENTRYP _glptr_MatrixMultTransposedEXT)(GLenum, const GLdouble *);
#14524|-> #define CALL_MatrixMultTransposedEXT(disp, parameters) (* GET_MatrixMultTransposedEXT(disp)) parameters
#14525|   #define GET_MatrixMultTransposedEXT(disp) ((_glptr_MatrixMultTransposedEXT)(GET_by_offset((disp), _gloffset_MatrixMultTransposedEXT)))
#14526|   #define SET_MatrixMultTransposedEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def688]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_BindMultiTextureEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14532:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:754:4: note: in expansion of macro ‘CALL_BindMultiTextureEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:754:4: note: in expansion of macro ‘CALL_BindMultiTextureEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:754:4: note: in expansion of macro ‘CALL_BindMultiTextureEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:754:4: note: in expansion of macro ‘CALL_BindMultiTextureEXT’
#14530|   
#14531|   typedef void (GLAPIENTRYP _glptr_BindMultiTextureEXT)(GLenum, GLenum, GLuint);
#14532|-> #define CALL_BindMultiTextureEXT(disp, parameters) (* GET_BindMultiTextureEXT(disp)) parameters
#14533|   #define GET_BindMultiTextureEXT(disp) ((_glptr_BindMultiTextureEXT)(GET_by_offset((disp), _gloffset_BindMultiTextureEXT)))
#14534|   #define SET_BindMultiTextureEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def689]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c: scope_hint: In function ‘_mesa_unmarshal_BufferData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14540:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:341:7: note: in expansion of macro ‘CALL_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14541:89: note: in expansion of macro ‘_gloffset_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14540:54: note: in expansion of macro ‘GET_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:341:7: note: in expansion of macro ‘CALL_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:341:7: note: in expansion of macro ‘CALL_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:341:7: note: in expansion of macro ‘CALL_NamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:341:7: note: in expansion of macro ‘CALL_NamedBufferDataEXT’
#14538|   
#14539|   typedef void (GLAPIENTRYP _glptr_NamedBufferDataEXT)(GLuint, GLsizeiptr, const GLvoid *, GLenum);
#14540|-> #define CALL_NamedBufferDataEXT(disp, parameters) (* GET_NamedBufferDataEXT(disp)) parameters
#14541|   #define GET_NamedBufferDataEXT(disp) ((_glptr_NamedBufferDataEXT)(GET_by_offset((disp), _gloffset_NamedBufferDataEXT)))
#14542|   #define SET_NamedBufferDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def690]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c: scope_hint: In function ‘_mesa_unmarshal_BufferSubData’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14548:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:459:7: note: in expansion of macro ‘CALL_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14549:95: note: in expansion of macro ‘_gloffset_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14548:57: note: in expansion of macro ‘GET_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:459:7: note: in expansion of macro ‘CALL_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:459:7: note: in expansion of macro ‘CALL_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:459:7: note: in expansion of macro ‘CALL_NamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:459:7: note: in expansion of macro ‘CALL_NamedBufferSubDataEXT’
#14546|   
#14547|   typedef void (GLAPIENTRYP _glptr_NamedBufferSubDataEXT)(GLuint, GLintptr, GLsizeiptr, const GLvoid *);
#14548|-> #define CALL_NamedBufferSubDataEXT(disp, parameters) (* GET_NamedBufferSubDataEXT(disp)) parameters
#14549|   #define GET_NamedBufferSubDataEXT(disp) ((_glptr_NamedBufferSubDataEXT)(GET_by_offset((disp), _gloffset_NamedBufferSubDataEXT)))
#14550|   #define SET_NamedBufferSubDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def691]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_NamedBufferStorageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14556:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2472:4: note: in expansion of macro ‘CALL_NamedBufferStorageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2472:4: note: in expansion of macro ‘CALL_NamedBufferStorageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2472:4: note: in expansion of macro ‘CALL_NamedBufferStorageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2472:4: note: in expansion of macro ‘CALL_NamedBufferStorageEXT’
#14554|   
#14555|   typedef void (GLAPIENTRYP _glptr_NamedBufferStorageEXT)(GLuint, GLsizeiptr, const GLvoid *, GLbitfield);
#14556|-> #define CALL_NamedBufferStorageEXT(disp, parameters) (* GET_NamedBufferStorageEXT(disp)) parameters
#14557|   #define GET_NamedBufferStorageEXT(disp) ((_glptr_NamedBufferStorageEXT)(GET_by_offset((disp), _gloffset_NamedBufferStorageEXT)))
#14558|   #define SET_NamedBufferStorageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def692]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14572:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:176:4: note: in expansion of macro ‘CALL_TextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:176:4: note: in expansion of macro ‘CALL_TextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:176:4: note: in expansion of macro ‘CALL_TextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:176:4: note: in expansion of macro ‘CALL_TextureImage1DEXT’
#14570|   
#14571|   typedef void (GLAPIENTRYP _glptr_TextureImage1DEXT)(GLuint, GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
#14572|-> #define CALL_TextureImage1DEXT(disp, parameters) (* GET_TextureImage1DEXT(disp)) parameters
#14573|   #define GET_TextureImage1DEXT(disp) ((_glptr_TextureImage1DEXT)(GET_by_offset((disp), _gloffset_TextureImage1DEXT)))
#14574|   #define SET_TextureImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def693]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14580:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:229:4: note: in expansion of macro ‘CALL_TextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:229:4: note: in expansion of macro ‘CALL_TextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:229:4: note: in expansion of macro ‘CALL_TextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:229:4: note: in expansion of macro ‘CALL_TextureImage2DEXT’
#14578|   
#14579|   typedef void (GLAPIENTRYP _glptr_TextureImage2DEXT)(GLuint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
#14580|-> #define CALL_TextureImage2DEXT(disp, parameters) (* GET_TextureImage2DEXT(disp)) parameters
#14581|   #define GET_TextureImage2DEXT(disp) ((_glptr_TextureImage2DEXT)(GET_by_offset((disp), _gloffset_TextureImage2DEXT)))
#14582|   #define SET_TextureImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def694]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14588:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:285:4: note: in expansion of macro ‘CALL_TextureImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:285:4: note: in expansion of macro ‘CALL_TextureImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:285:4: note: in expansion of macro ‘CALL_TextureImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:285:4: note: in expansion of macro ‘CALL_TextureImage3DEXT’
#14586|   
#14587|   typedef void (GLAPIENTRYP _glptr_TextureImage3DEXT)(GLuint, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
#14588|-> #define CALL_TextureImage3DEXT(disp, parameters) (* GET_TextureImage3DEXT(disp)) parameters
#14589|   #define GET_TextureImage3DEXT(disp) ((_glptr_TextureImage3DEXT)(GET_by_offset((disp), _gloffset_TextureImage3DEXT)))
#14590|   #define SET_TextureImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def695]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14596:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:336:4: note: in expansion of macro ‘CALL_TextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:336:4: note: in expansion of macro ‘CALL_TextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:336:4: note: in expansion of macro ‘CALL_TextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:336:4: note: in expansion of macro ‘CALL_TextureSubImage1DEXT’
#14594|   
#14595|   typedef void (GLAPIENTRYP _glptr_TextureSubImage1DEXT)(GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
#14596|-> #define CALL_TextureSubImage1DEXT(disp, parameters) (* GET_TextureSubImage1DEXT(disp)) parameters
#14597|   #define GET_TextureSubImage1DEXT(disp) ((_glptr_TextureSubImage1DEXT)(GET_by_offset((disp), _gloffset_TextureSubImage1DEXT)))
#14598|   #define SET_TextureSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def696]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14604:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:388:4: note: in expansion of macro ‘CALL_TextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:388:4: note: in expansion of macro ‘CALL_TextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:388:4: note: in expansion of macro ‘CALL_TextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:388:4: note: in expansion of macro ‘CALL_TextureSubImage2DEXT’
#14602|   
#14603|   typedef void (GLAPIENTRYP _glptr_TextureSubImage2DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#14604|-> #define CALL_TextureSubImage2DEXT(disp, parameters) (* GET_TextureSubImage2DEXT(disp)) parameters
#14605|   #define GET_TextureSubImage2DEXT(disp) ((_glptr_TextureSubImage2DEXT)(GET_by_offset((disp), _gloffset_TextureSubImage2DEXT)))
#14606|   #define SET_TextureSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14612:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:446:4: note: in expansion of macro ‘CALL_TextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:446:4: note: in expansion of macro ‘CALL_TextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:446:4: note: in expansion of macro ‘CALL_TextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:446:4: note: in expansion of macro ‘CALL_TextureSubImage3DEXT’
#14610|   
#14611|   typedef void (GLAPIENTRYP _glptr_TextureSubImage3DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#14612|-> #define CALL_TextureSubImage3DEXT(disp, parameters) (* GET_TextureSubImage3DEXT(disp)) parameters
#14613|   #define GET_TextureSubImage3DEXT(disp) ((_glptr_TextureSubImage3DEXT)(GET_by_offset((disp), _gloffset_TextureSubImage3DEXT)))
#14614|   #define SET_TextureSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def698]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14620:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:498:4: note: in expansion of macro ‘CALL_CopyTextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:498:4: note: in expansion of macro ‘CALL_CopyTextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:498:4: note: in expansion of macro ‘CALL_CopyTextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:498:4: note: in expansion of macro ‘CALL_CopyTextureImage1DEXT’
#14618|   
#14619|   typedef void (GLAPIENTRYP _glptr_CopyTextureImage1DEXT)(GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, int);
#14620|-> #define CALL_CopyTextureImage1DEXT(disp, parameters) (* GET_CopyTextureImage1DEXT(disp)) parameters
#14621|   #define GET_CopyTextureImage1DEXT(disp) ((_glptr_CopyTextureImage1DEXT)(GET_by_offset((disp), _gloffset_CopyTextureImage1DEXT)))
#14622|   #define SET_CopyTextureImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def699]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14628:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:543:4: note: in expansion of macro ‘CALL_CopyTextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:543:4: note: in expansion of macro ‘CALL_CopyTextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:543:4: note: in expansion of macro ‘CALL_CopyTextureImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:543:4: note: in expansion of macro ‘CALL_CopyTextureImage2DEXT’
#14626|   
#14627|   typedef void (GLAPIENTRYP _glptr_CopyTextureImage2DEXT)(GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, int);
#14628|-> #define CALL_CopyTextureImage2DEXT(disp, parameters) (* GET_CopyTextureImage2DEXT(disp)) parameters
#14629|   #define GET_CopyTextureImage2DEXT(disp) ((_glptr_CopyTextureImage2DEXT)(GET_by_offset((disp), _gloffset_CopyTextureImage2DEXT)))
#14630|   #define SET_CopyTextureImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def700]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14636:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:585:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:585:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:585:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:585:4: note: in expansion of macro ‘CALL_CopyTextureSubImage1DEXT’
#14634|   
#14635|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage1DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei);
#14636|-> #define CALL_CopyTextureSubImage1DEXT(disp, parameters) (* GET_CopyTextureSubImage1DEXT(disp)) parameters
#14637|   #define GET_CopyTextureSubImage1DEXT(disp) ((_glptr_CopyTextureSubImage1DEXT)(GET_by_offset((disp), _gloffset_CopyTextureSubImage1DEXT)))
#14638|   #define SET_CopyTextureSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14644:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:629:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:629:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:629:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:629:4: note: in expansion of macro ‘CALL_CopyTextureSubImage2DEXT’
#14642|   
#14643|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage2DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#14644|-> #define CALL_CopyTextureSubImage2DEXT(disp, parameters) (* GET_CopyTextureSubImage2DEXT(disp)) parameters
#14645|   #define GET_CopyTextureSubImage2DEXT(disp) ((_glptr_CopyTextureSubImage2DEXT)(GET_by_offset((disp), _gloffset_CopyTextureSubImage2DEXT)))
#14646|   #define SET_CopyTextureSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def702]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyTextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14652:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:677:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:677:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:677:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:677:4: note: in expansion of macro ‘CALL_CopyTextureSubImage3DEXT’
#14650|   
#14651|   typedef void (GLAPIENTRYP _glptr_CopyTextureSubImage3DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#14652|-> #define CALL_CopyTextureSubImage3DEXT(disp, parameters) (* GET_CopyTextureSubImage3DEXT(disp)) parameters
#14653|   #define GET_CopyTextureSubImage3DEXT(disp) ((_glptr_CopyTextureSubImage3DEXT)(GET_by_offset((disp), _gloffset_CopyTextureSubImage3DEXT)))
#14654|   #define SET_CopyTextureSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def703]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14692:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:62:4: note: in expansion of macro ‘CALL_TextureParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:62:4: note: in expansion of macro ‘CALL_TextureParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:62:4: note: in expansion of macro ‘CALL_TextureParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:62:4: note: in expansion of macro ‘CALL_TextureParameterivEXT’
#14690|   
#14691|   typedef void (GLAPIENTRYP _glptr_TextureParameterivEXT)(GLuint, GLenum, GLenum, const GLint *);
#14692|-> #define CALL_TextureParameterivEXT(disp, parameters) (* GET_TextureParameterivEXT(disp)) parameters
#14693|   #define GET_TextureParameterivEXT(disp) ((_glptr_TextureParameterivEXT)(GET_by_offset((disp), _gloffset_TextureParameterivEXT)))
#14694|   #define SET_TextureParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def704]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14700:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:97:4: note: in expansion of macro ‘CALL_TextureParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:97:4: note: in expansion of macro ‘CALL_TextureParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:97:4: note: in expansion of macro ‘CALL_TextureParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:97:4: note: in expansion of macro ‘CALL_TextureParameterfEXT’
#14698|   
#14699|   typedef void (GLAPIENTRYP _glptr_TextureParameterfEXT)(GLuint, GLenum, GLenum, float);
#14700|-> #define CALL_TextureParameterfEXT(disp, parameters) (* GET_TextureParameterfEXT(disp)) parameters
#14701|   #define GET_TextureParameterfEXT(disp) ((_glptr_TextureParameterfEXT)(GET_by_offset((disp), _gloffset_TextureParameterfEXT)))
#14702|   #define SET_TextureParameterfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def705]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14708:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:131:4: note: in expansion of macro ‘CALL_TextureParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:131:4: note: in expansion of macro ‘CALL_TextureParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:131:4: note: in expansion of macro ‘CALL_TextureParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:131:4: note: in expansion of macro ‘CALL_TextureParameterfvEXT’
#14706|   
#14707|   typedef void (GLAPIENTRYP _glptr_TextureParameterfvEXT)(GLuint, GLenum, GLenum, const float *);
#14708|-> #define CALL_TextureParameterfvEXT(disp, parameters) (* GET_TextureParameterfvEXT(disp)) parameters
#14709|   #define GET_TextureParameterfvEXT(disp) ((_glptr_TextureParameterfvEXT)(GET_by_offset((disp), _gloffset_TextureParameterfvEXT)))
#14710|   #define SET_TextureParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def706]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GetTextureImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14716:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:718:4: note: in expansion of macro ‘CALL_GetTextureImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:718:4: note: in expansion of macro ‘CALL_GetTextureImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:718:4: note: in expansion of macro ‘CALL_GetTextureImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:718:4: note: in expansion of macro ‘CALL_GetTextureImageEXT’
#14714|   
#14715|   typedef void (GLAPIENTRYP _glptr_GetTextureImageEXT)(GLuint, GLenum, GLint, GLenum, GLenum, GLvoid *);
#14716|-> #define CALL_GetTextureImageEXT(disp, parameters) (* GET_GetTextureImageEXT(disp)) parameters
#14717|   #define GET_GetTextureImageEXT(disp) ((_glptr_GetTextureImageEXT)(GET_by_offset((disp), _gloffset_GetTextureImageEXT)))
#14718|   #define SET_GetTextureImageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def707]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_EnableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14852:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:780:4: note: in expansion of macro ‘CALL_EnableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:780:4: note: in expansion of macro ‘CALL_EnableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:780:4: note: in expansion of macro ‘CALL_EnableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:780:4: note: in expansion of macro ‘CALL_EnableClientStateiEXT’
#14850|   
#14851|   typedef void (GLAPIENTRYP _glptr_EnableClientStateiEXT)(GLenum, GLuint);
#14852|-> #define CALL_EnableClientStateiEXT(disp, parameters) (* GET_EnableClientStateiEXT(disp)) parameters
#14853|   #define GET_EnableClientStateiEXT(disp) ((_glptr_EnableClientStateiEXT)(GET_by_offset((disp), _gloffset_EnableClientStateiEXT)))
#14854|   #define SET_EnableClientStateiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def708]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_DisableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14860:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:806:4: note: in expansion of macro ‘CALL_DisableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:806:4: note: in expansion of macro ‘CALL_DisableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:806:4: note: in expansion of macro ‘CALL_DisableClientStateiEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:806:4: note: in expansion of macro ‘CALL_DisableClientStateiEXT’
#14858|   
#14859|   typedef void (GLAPIENTRYP _glptr_DisableClientStateiEXT)(GLenum, GLuint);
#14860|-> #define CALL_DisableClientStateiEXT(disp, parameters) (* GET_DisableClientStateiEXT(disp)) parameters
#14861|   #define GET_DisableClientStateiEXT(disp) ((_glptr_DisableClientStateiEXT)(GET_by_offset((disp), _gloffset_DisableClientStateiEXT)))
#14862|   #define SET_DisableClientStateiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def709]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetPointerIndexedvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14868:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:827:4: note: in expansion of macro ‘CALL_GetPointerIndexedvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:827:4: note: in expansion of macro ‘CALL_GetPointerIndexedvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:827:4: note: in expansion of macro ‘CALL_GetPointerIndexedvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:827:4: note: in expansion of macro ‘CALL_GetPointerIndexedvEXT’
#14866|   
#14867|   typedef void (GLAPIENTRYP _glptr_GetPointerIndexedvEXT)(GLenum, GLuint, GLvoid**);
#14868|-> #define CALL_GetPointerIndexedvEXT(disp, parameters) (* GET_GetPointerIndexedvEXT(disp)) parameters
#14869|   #define GET_GetPointerIndexedvEXT(disp) ((_glptr_GetPointerIndexedvEXT)(GET_by_offset((disp), _gloffset_GetPointerIndexedvEXT)))
#14870|   #define SET_GetPointerIndexedvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def710]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexEnviEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14876:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:846:4: note: in expansion of macro ‘CALL_MultiTexEnviEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:846:4: note: in expansion of macro ‘CALL_MultiTexEnviEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:846:4: note: in expansion of macro ‘CALL_MultiTexEnviEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:846:4: note: in expansion of macro ‘CALL_MultiTexEnviEXT’
#14874|   
#14875|   typedef void (GLAPIENTRYP _glptr_MultiTexEnviEXT)(GLenum, GLenum, GLenum, GLint);
#14876|-> #define CALL_MultiTexEnviEXT(disp, parameters) (* GET_MultiTexEnviEXT(disp)) parameters
#14877|   #define GET_MultiTexEnviEXT(disp) ((_glptr_MultiTexEnviEXT)(GET_by_offset((disp), _gloffset_MultiTexEnviEXT)))
#14878|   #define SET_MultiTexEnviEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def711]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14884:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:880:4: note: in expansion of macro ‘CALL_MultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:880:4: note: in expansion of macro ‘CALL_MultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:880:4: note: in expansion of macro ‘CALL_MultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:880:4: note: in expansion of macro ‘CALL_MultiTexEnvivEXT’
#14882|   
#14883|   typedef void (GLAPIENTRYP _glptr_MultiTexEnvivEXT)(GLenum, GLenum, GLenum, const GLint *);
#14884|-> #define CALL_MultiTexEnvivEXT(disp, parameters) (* GET_MultiTexEnvivEXT(disp)) parameters
#14885|   #define GET_MultiTexEnvivEXT(disp) ((_glptr_MultiTexEnvivEXT)(GET_by_offset((disp), _gloffset_MultiTexEnvivEXT)))
#14886|   #define SET_MultiTexEnvivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def712]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexEnvfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14892:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:915:4: note: in expansion of macro ‘CALL_MultiTexEnvfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:915:4: note: in expansion of macro ‘CALL_MultiTexEnvfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:915:4: note: in expansion of macro ‘CALL_MultiTexEnvfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:915:4: note: in expansion of macro ‘CALL_MultiTexEnvfEXT’
#14890|   
#14891|   typedef void (GLAPIENTRYP _glptr_MultiTexEnvfEXT)(GLenum, GLenum, GLenum, GLfloat);
#14892|-> #define CALL_MultiTexEnvfEXT(disp, parameters) (* GET_MultiTexEnvfEXT(disp)) parameters
#14893|   #define GET_MultiTexEnvfEXT(disp) ((_glptr_MultiTexEnvfEXT)(GET_by_offset((disp), _gloffset_MultiTexEnvfEXT)))
#14894|   #define SET_MultiTexEnvfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def713]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14900:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:949:4: note: in expansion of macro ‘CALL_MultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:949:4: note: in expansion of macro ‘CALL_MultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:949:4: note: in expansion of macro ‘CALL_MultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:949:4: note: in expansion of macro ‘CALL_MultiTexEnvfvEXT’
#14898|   
#14899|   typedef void (GLAPIENTRYP _glptr_MultiTexEnvfvEXT)(GLenum, GLenum, GLenum, const GLfloat *);
#14900|-> #define CALL_MultiTexEnvfvEXT(disp, parameters) (* GET_MultiTexEnvfvEXT(disp)) parameters
#14901|   #define GET_MultiTexEnvfvEXT(disp) ((_glptr_MultiTexEnvfvEXT)(GET_by_offset((disp), _gloffset_MultiTexEnvfvEXT)))
#14902|   #define SET_MultiTexEnvfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def714]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14908:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:975:4: note: in expansion of macro ‘CALL_GetMultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:975:4: note: in expansion of macro ‘CALL_GetMultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:975:4: note: in expansion of macro ‘CALL_GetMultiTexEnvivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:975:4: note: in expansion of macro ‘CALL_GetMultiTexEnvivEXT’
#14906|   
#14907|   typedef void (GLAPIENTRYP _glptr_GetMultiTexEnvivEXT)(GLenum, GLenum, GLenum, GLint *);
#14908|-> #define CALL_GetMultiTexEnvivEXT(disp, parameters) (* GET_GetMultiTexEnvivEXT(disp)) parameters
#14909|   #define GET_GetMultiTexEnvivEXT(disp) ((_glptr_GetMultiTexEnvivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexEnvivEXT)))
#14910|   #define SET_GetMultiTexEnvivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def715]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14916:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:985:4: note: in expansion of macro ‘CALL_GetMultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:985:4: note: in expansion of macro ‘CALL_GetMultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:985:4: note: in expansion of macro ‘CALL_GetMultiTexEnvfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:985:4: note: in expansion of macro ‘CALL_GetMultiTexEnvfvEXT’
#14914|   
#14915|   typedef void (GLAPIENTRYP _glptr_GetMultiTexEnvfvEXT)(GLenum, GLenum, GLenum, GLfloat *);
#14916|-> #define CALL_GetMultiTexEnvfvEXT(disp, parameters) (* GET_GetMultiTexEnvfvEXT(disp)) parameters
#14917|   #define GET_GetMultiTexEnvfvEXT(disp) ((_glptr_GetMultiTexEnvfvEXT)(GET_by_offset((disp), _gloffset_GetMultiTexEnvfvEXT)))
#14918|   #define SET_GetMultiTexEnvfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def716]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14924:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1004:4: note: in expansion of macro ‘CALL_MultiTexParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1004:4: note: in expansion of macro ‘CALL_MultiTexParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1004:4: note: in expansion of macro ‘CALL_MultiTexParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1004:4: note: in expansion of macro ‘CALL_MultiTexParameteriEXT’
#14922|   
#14923|   typedef void (GLAPIENTRYP _glptr_MultiTexParameteriEXT)(GLenum, GLenum, GLenum, GLint);
#14924|-> #define CALL_MultiTexParameteriEXT(disp, parameters) (* GET_MultiTexParameteriEXT(disp)) parameters
#14925|   #define GET_MultiTexParameteriEXT(disp) ((_glptr_MultiTexParameteriEXT)(GET_by_offset((disp), _gloffset_MultiTexParameteriEXT)))
#14926|   #define SET_MultiTexParameteriEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def717]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14932:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1038:4: note: in expansion of macro ‘CALL_MultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1038:4: note: in expansion of macro ‘CALL_MultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1038:4: note: in expansion of macro ‘CALL_MultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1038:4: note: in expansion of macro ‘CALL_MultiTexParameterivEXT’
#14930|   
#14931|   typedef void (GLAPIENTRYP _glptr_MultiTexParameterivEXT)(GLenum, GLenum, GLenum, const GLint*);
#14932|-> #define CALL_MultiTexParameterivEXT(disp, parameters) (* GET_MultiTexParameterivEXT(disp)) parameters
#14933|   #define GET_MultiTexParameterivEXT(disp) ((_glptr_MultiTexParameterivEXT)(GET_by_offset((disp), _gloffset_MultiTexParameterivEXT)))
#14934|   #define SET_MultiTexParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def718]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14940:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1073:4: note: in expansion of macro ‘CALL_MultiTexParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1073:4: note: in expansion of macro ‘CALL_MultiTexParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1073:4: note: in expansion of macro ‘CALL_MultiTexParameterfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1073:4: note: in expansion of macro ‘CALL_MultiTexParameterfEXT’
#14938|   
#14939|   typedef void (GLAPIENTRYP _glptr_MultiTexParameterfEXT)(GLenum, GLenum, GLenum, GLfloat);
#14940|-> #define CALL_MultiTexParameterfEXT(disp, parameters) (* GET_MultiTexParameterfEXT(disp)) parameters
#14941|   #define GET_MultiTexParameterfEXT(disp) ((_glptr_MultiTexParameterfEXT)(GET_by_offset((disp), _gloffset_MultiTexParameterfEXT)))
#14942|   #define SET_MultiTexParameterfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def719]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14948:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1107:4: note: in expansion of macro ‘CALL_MultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1107:4: note: in expansion of macro ‘CALL_MultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1107:4: note: in expansion of macro ‘CALL_MultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1107:4: note: in expansion of macro ‘CALL_MultiTexParameterfvEXT’
#14946|   
#14947|   typedef void (GLAPIENTRYP _glptr_MultiTexParameterfvEXT)(GLenum, GLenum, GLenum, const GLfloat*);
#14948|-> #define CALL_MultiTexParameterfvEXT(disp, parameters) (* GET_MultiTexParameterfvEXT(disp)) parameters
#14949|   #define GET_MultiTexParameterfvEXT(disp) ((_glptr_MultiTexParameterfvEXT)(GET_by_offset((disp), _gloffset_MultiTexParameterfvEXT)))
#14950|   #define SET_MultiTexParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def720]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GetMultiTexImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14956:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1166:4: note: in expansion of macro ‘CALL_GetMultiTexImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1166:4: note: in expansion of macro ‘CALL_GetMultiTexImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1166:4: note: in expansion of macro ‘CALL_GetMultiTexImageEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1166:4: note: in expansion of macro ‘CALL_GetMultiTexImageEXT’
#14954|   
#14955|   typedef void (GLAPIENTRYP _glptr_GetMultiTexImageEXT)(GLenum, GLenum, GLint, GLenum, GLenum, GLvoid*);
#14956|-> #define CALL_GetMultiTexImageEXT(disp, parameters) (* GET_GetMultiTexImageEXT(disp)) parameters
#14957|   #define GET_GetMultiTexImageEXT(disp) ((_glptr_GetMultiTexImageEXT)(GET_by_offset((disp), _gloffset_GetMultiTexImageEXT)))
#14958|   #define SET_GetMultiTexImageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def721]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14964:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1234:4: note: in expansion of macro ‘CALL_MultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1234:4: note: in expansion of macro ‘CALL_MultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1234:4: note: in expansion of macro ‘CALL_MultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1234:4: note: in expansion of macro ‘CALL_MultiTexImage1DEXT’
#14962|   
#14963|   typedef void (GLAPIENTRYP _glptr_MultiTexImage1DEXT)(GLenum, GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid*);
#14964|-> #define CALL_MultiTexImage1DEXT(disp, parameters) (* GET_MultiTexImage1DEXT(disp)) parameters
#14965|   #define GET_MultiTexImage1DEXT(disp) ((_glptr_MultiTexImage1DEXT)(GET_by_offset((disp), _gloffset_MultiTexImage1DEXT)))
#14966|   #define SET_MultiTexImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def722]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14972:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1287:4: note: in expansion of macro ‘CALL_MultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1287:4: note: in expansion of macro ‘CALL_MultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1287:4: note: in expansion of macro ‘CALL_MultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1287:4: note: in expansion of macro ‘CALL_MultiTexImage2DEXT’
#14970|   
#14971|   typedef void (GLAPIENTRYP _glptr_MultiTexImage2DEXT)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*);
#14972|-> #define CALL_MultiTexImage2DEXT(disp, parameters) (* GET_MultiTexImage2DEXT(disp)) parameters
#14973|   #define GET_MultiTexImage2DEXT(disp) ((_glptr_MultiTexImage2DEXT)(GET_by_offset((disp), _gloffset_MultiTexImage2DEXT)))
#14974|   #define SET_MultiTexImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def723]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14980:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1343:4: note: in expansion of macro ‘CALL_MultiTexImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1343:4: note: in expansion of macro ‘CALL_MultiTexImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1343:4: note: in expansion of macro ‘CALL_MultiTexImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1343:4: note: in expansion of macro ‘CALL_MultiTexImage3DEXT’
#14978|   
#14979|   typedef void (GLAPIENTRYP _glptr_MultiTexImage3DEXT)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*);
#14980|-> #define CALL_MultiTexImage3DEXT(disp, parameters) (* GET_MultiTexImage3DEXT(disp)) parameters
#14981|   #define GET_MultiTexImage3DEXT(disp) ((_glptr_MultiTexImage3DEXT)(GET_by_offset((disp), _gloffset_MultiTexImage3DEXT)))
#14982|   #define SET_MultiTexImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def724]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14988:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1394:4: note: in expansion of macro ‘CALL_MultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1394:4: note: in expansion of macro ‘CALL_MultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1394:4: note: in expansion of macro ‘CALL_MultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1394:4: note: in expansion of macro ‘CALL_MultiTexSubImage1DEXT’
#14986|   
#14987|   typedef void (GLAPIENTRYP _glptr_MultiTexSubImage1DEXT)(GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid*);
#14988|-> #define CALL_MultiTexSubImage1DEXT(disp, parameters) (* GET_MultiTexSubImage1DEXT(disp)) parameters
#14989|   #define GET_MultiTexSubImage1DEXT(disp) ((_glptr_MultiTexSubImage1DEXT)(GET_by_offset((disp), _gloffset_MultiTexSubImage1DEXT)))
#14990|   #define SET_MultiTexSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def725]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:14996:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1446:4: note: in expansion of macro ‘CALL_MultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1446:4: note: in expansion of macro ‘CALL_MultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1446:4: note: in expansion of macro ‘CALL_MultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1446:4: note: in expansion of macro ‘CALL_MultiTexSubImage2DEXT’
#14994|   
#14995|   typedef void (GLAPIENTRYP _glptr_MultiTexSubImage2DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*);
#14996|-> #define CALL_MultiTexSubImage2DEXT(disp, parameters) (* GET_MultiTexSubImage2DEXT(disp)) parameters
#14997|   #define GET_MultiTexSubImage2DEXT(disp) ((_glptr_MultiTexSubImage2DEXT)(GET_by_offset((disp), _gloffset_MultiTexSubImage2DEXT)))
#14998|   #define SET_MultiTexSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def726]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15004:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1504:4: note: in expansion of macro ‘CALL_MultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1504:4: note: in expansion of macro ‘CALL_MultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1504:4: note: in expansion of macro ‘CALL_MultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1504:4: note: in expansion of macro ‘CALL_MultiTexSubImage3DEXT’
#15002|   
#15003|   typedef void (GLAPIENTRYP _glptr_MultiTexSubImage3DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*);
#15004|-> #define CALL_MultiTexSubImage3DEXT(disp, parameters) (* GET_MultiTexSubImage3DEXT(disp)) parameters
#15005|   #define GET_MultiTexSubImage3DEXT(disp) ((_glptr_MultiTexSubImage3DEXT)(GET_by_offset((disp), _gloffset_MultiTexSubImage3DEXT)))
#15006|   #define SET_MultiTexSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def727]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15012:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1133:4: note: in expansion of macro ‘CALL_GetMultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1133:4: note: in expansion of macro ‘CALL_GetMultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1133:4: note: in expansion of macro ‘CALL_GetMultiTexParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1133:4: note: in expansion of macro ‘CALL_GetMultiTexParameterivEXT’
#15010|   
#15011|   typedef void (GLAPIENTRYP _glptr_GetMultiTexParameterivEXT)(GLenum, GLenum, GLenum, GLint*);
#15012|-> #define CALL_GetMultiTexParameterivEXT(disp, parameters) (* GET_GetMultiTexParameterivEXT(disp)) parameters
#15013|   #define GET_GetMultiTexParameterivEXT(disp) ((_glptr_GetMultiTexParameterivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexParameterivEXT)))
#15014|   #define SET_GetMultiTexParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def728]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15020:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1143:4: note: in expansion of macro ‘CALL_GetMultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1143:4: note: in expansion of macro ‘CALL_GetMultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1143:4: note: in expansion of macro ‘CALL_GetMultiTexParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1143:4: note: in expansion of macro ‘CALL_GetMultiTexParameterfvEXT’
#15018|   
#15019|   typedef void (GLAPIENTRYP _glptr_GetMultiTexParameterfvEXT)(GLenum, GLenum, GLenum, GLfloat*);
#15020|-> #define CALL_GetMultiTexParameterfvEXT(disp, parameters) (* GET_GetMultiTexParameterfvEXT(disp)) parameters
#15021|   #define GET_GetMultiTexParameterfvEXT(disp) ((_glptr_GetMultiTexParameterfvEXT)(GET_by_offset((disp), _gloffset_GetMultiTexParameterfvEXT)))
#15022|   #define SET_GetMultiTexParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def729]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyMultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15028:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1556:4: note: in expansion of macro ‘CALL_CopyMultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1556:4: note: in expansion of macro ‘CALL_CopyMultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1556:4: note: in expansion of macro ‘CALL_CopyMultiTexImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1556:4: note: in expansion of macro ‘CALL_CopyMultiTexImage1DEXT’
#15026|   
#15027|   typedef void (GLAPIENTRYP _glptr_CopyMultiTexImage1DEXT)(GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
#15028|-> #define CALL_CopyMultiTexImage1DEXT(disp, parameters) (* GET_CopyMultiTexImage1DEXT(disp)) parameters
#15029|   #define GET_CopyMultiTexImage1DEXT(disp) ((_glptr_CopyMultiTexImage1DEXT)(GET_by_offset((disp), _gloffset_CopyMultiTexImage1DEXT)))
#15030|   #define SET_CopyMultiTexImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def730]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyMultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15036:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1601:4: note: in expansion of macro ‘CALL_CopyMultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1601:4: note: in expansion of macro ‘CALL_CopyMultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1601:4: note: in expansion of macro ‘CALL_CopyMultiTexImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1601:4: note: in expansion of macro ‘CALL_CopyMultiTexImage2DEXT’
#15034|   
#15035|   typedef void (GLAPIENTRYP _glptr_CopyMultiTexImage2DEXT)(GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
#15036|-> #define CALL_CopyMultiTexImage2DEXT(disp, parameters) (* GET_CopyMultiTexImage2DEXT(disp)) parameters
#15037|   #define GET_CopyMultiTexImage2DEXT(disp) ((_glptr_CopyMultiTexImage2DEXT)(GET_by_offset((disp), _gloffset_CopyMultiTexImage2DEXT)))
#15038|   #define SET_CopyMultiTexImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def731]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyMultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15044:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1643:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1643:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1643:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1643:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage1DEXT’
#15042|   
#15043|   typedef void (GLAPIENTRYP _glptr_CopyMultiTexSubImage1DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei);
#15044|-> #define CALL_CopyMultiTexSubImage1DEXT(disp, parameters) (* GET_CopyMultiTexSubImage1DEXT(disp)) parameters
#15045|   #define GET_CopyMultiTexSubImage1DEXT(disp) ((_glptr_CopyMultiTexSubImage1DEXT)(GET_by_offset((disp), _gloffset_CopyMultiTexSubImage1DEXT)))
#15046|   #define SET_CopyMultiTexSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def732]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyMultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15052:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1687:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1687:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1687:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage2DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1687:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage2DEXT’
#15050|   
#15051|   typedef void (GLAPIENTRYP _glptr_CopyMultiTexSubImage2DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#15052|-> #define CALL_CopyMultiTexSubImage2DEXT(disp, parameters) (* GET_CopyMultiTexSubImage2DEXT(disp)) parameters
#15053|   #define GET_CopyMultiTexSubImage2DEXT(disp) ((_glptr_CopyMultiTexSubImage2DEXT)(GET_by_offset((disp), _gloffset_CopyMultiTexSubImage2DEXT)))
#15054|   #define SET_CopyMultiTexSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def733]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CopyMultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15060:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1735:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1735:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1735:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage3DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1735:4: note: in expansion of macro ‘CALL_CopyMultiTexSubImage3DEXT’
#15058|   
#15059|   typedef void (GLAPIENTRYP _glptr_CopyMultiTexSubImage3DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#15060|-> #define CALL_CopyMultiTexSubImage3DEXT(disp, parameters) (* GET_CopyMultiTexSubImage3DEXT(disp)) parameters
#15061|   #define GET_CopyMultiTexSubImage3DEXT(disp) ((_glptr_CopyMultiTexSubImage3DEXT)(GET_by_offset((disp), _gloffset_CopyMultiTexSubImage3DEXT)))
#15062|   #define SET_CopyMultiTexSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def734]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGendEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15068:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1772:4: note: in expansion of macro ‘CALL_MultiTexGendEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1772:4: note: in expansion of macro ‘CALL_MultiTexGendEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1772:4: note: in expansion of macro ‘CALL_MultiTexGendEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1772:4: note: in expansion of macro ‘CALL_MultiTexGendEXT’
#15066|   
#15067|   typedef void (GLAPIENTRYP _glptr_MultiTexGendEXT)(GLenum, GLenum, GLenum, GLdouble);
#15068|-> #define CALL_MultiTexGendEXT(disp, parameters) (* GET_MultiTexGendEXT(disp)) parameters
#15069|   #define GET_MultiTexGendEXT(disp) ((_glptr_MultiTexGendEXT)(GET_by_offset((disp), _gloffset_MultiTexGendEXT)))
#15070|   #define SET_MultiTexGendEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def735]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15076:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1806:4: note: in expansion of macro ‘CALL_MultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1806:4: note: in expansion of macro ‘CALL_MultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1806:4: note: in expansion of macro ‘CALL_MultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1806:4: note: in expansion of macro ‘CALL_MultiTexGendvEXT’
#15074|   
#15075|   typedef void (GLAPIENTRYP _glptr_MultiTexGendvEXT)(GLenum, GLenum, GLenum, const GLdouble*);
#15076|-> #define CALL_MultiTexGendvEXT(disp, parameters) (* GET_MultiTexGendvEXT(disp)) parameters
#15077|   #define GET_MultiTexGendvEXT(disp) ((_glptr_MultiTexGendvEXT)(GET_by_offset((disp), _gloffset_MultiTexGendvEXT)))
#15078|   #define SET_MultiTexGendvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGenfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15084:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1841:4: note: in expansion of macro ‘CALL_MultiTexGenfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1841:4: note: in expansion of macro ‘CALL_MultiTexGenfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1841:4: note: in expansion of macro ‘CALL_MultiTexGenfEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1841:4: note: in expansion of macro ‘CALL_MultiTexGenfEXT’
#15082|   
#15083|   typedef void (GLAPIENTRYP _glptr_MultiTexGenfEXT)(GLenum, GLenum, GLenum, GLfloat);
#15084|-> #define CALL_MultiTexGenfEXT(disp, parameters) (* GET_MultiTexGenfEXT(disp)) parameters
#15085|   #define GET_MultiTexGenfEXT(disp) ((_glptr_MultiTexGenfEXT)(GET_by_offset((disp), _gloffset_MultiTexGenfEXT)))
#15086|   #define SET_MultiTexGenfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def737]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15092:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1875:4: note: in expansion of macro ‘CALL_MultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1875:4: note: in expansion of macro ‘CALL_MultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1875:4: note: in expansion of macro ‘CALL_MultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1875:4: note: in expansion of macro ‘CALL_MultiTexGenfvEXT’
#15090|   
#15091|   typedef void (GLAPIENTRYP _glptr_MultiTexGenfvEXT)(GLenum, GLenum, GLenum, const GLfloat *);
#15092|-> #define CALL_MultiTexGenfvEXT(disp, parameters) (* GET_MultiTexGenfvEXT(disp)) parameters
#15093|   #define GET_MultiTexGenfvEXT(disp) ((_glptr_MultiTexGenfvEXT)(GET_by_offset((disp), _gloffset_MultiTexGenfvEXT)))
#15094|   #define SET_MultiTexGenfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def738]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGeniEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15100:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1910:4: note: in expansion of macro ‘CALL_MultiTexGeniEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1910:4: note: in expansion of macro ‘CALL_MultiTexGeniEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1910:4: note: in expansion of macro ‘CALL_MultiTexGeniEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1910:4: note: in expansion of macro ‘CALL_MultiTexGeniEXT’
#15098|   
#15099|   typedef void (GLAPIENTRYP _glptr_MultiTexGeniEXT)(GLenum, GLenum, GLenum, GLint);
#15100|-> #define CALL_MultiTexGeniEXT(disp, parameters) (* GET_MultiTexGeniEXT(disp)) parameters
#15101|   #define GET_MultiTexGeniEXT(disp) ((_glptr_MultiTexGeniEXT)(GET_by_offset((disp), _gloffset_MultiTexGeniEXT)))
#15102|   #define SET_MultiTexGeniEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def739]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15108:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1944:4: note: in expansion of macro ‘CALL_MultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1944:4: note: in expansion of macro ‘CALL_MultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1944:4: note: in expansion of macro ‘CALL_MultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1944:4: note: in expansion of macro ‘CALL_MultiTexGenivEXT’
#15106|   
#15107|   typedef void (GLAPIENTRYP _glptr_MultiTexGenivEXT)(GLenum, GLenum, GLenum, const GLint *);
#15108|-> #define CALL_MultiTexGenivEXT(disp, parameters) (* GET_MultiTexGenivEXT(disp)) parameters
#15109|   #define GET_MultiTexGenivEXT(disp) ((_glptr_MultiTexGenivEXT)(GET_by_offset((disp), _gloffset_MultiTexGenivEXT)))
#15110|   #define SET_MultiTexGenivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def740]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15116:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1970:4: note: in expansion of macro ‘CALL_GetMultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1970:4: note: in expansion of macro ‘CALL_GetMultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1970:4: note: in expansion of macro ‘CALL_GetMultiTexGendvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1970:4: note: in expansion of macro ‘CALL_GetMultiTexGendvEXT’
#15114|   
#15115|   typedef void (GLAPIENTRYP _glptr_GetMultiTexGendvEXT)(GLenum, GLenum, GLenum, GLdouble *);
#15116|-> #define CALL_GetMultiTexGendvEXT(disp, parameters) (* GET_GetMultiTexGendvEXT(disp)) parameters
#15117|   #define GET_GetMultiTexGendvEXT(disp) ((_glptr_GetMultiTexGendvEXT)(GET_by_offset((disp), _gloffset_GetMultiTexGendvEXT)))
#15118|   #define SET_GetMultiTexGendvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def741]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15124:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1980:4: note: in expansion of macro ‘CALL_GetMultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1980:4: note: in expansion of macro ‘CALL_GetMultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1980:4: note: in expansion of macro ‘CALL_GetMultiTexGenfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1980:4: note: in expansion of macro ‘CALL_GetMultiTexGenfvEXT’
#15122|   
#15123|   typedef void (GLAPIENTRYP _glptr_GetMultiTexGenfvEXT)(GLenum, GLenum, GLenum, GLfloat *);
#15124|-> #define CALL_GetMultiTexGenfvEXT(disp, parameters) (* GET_GetMultiTexGenfvEXT(disp)) parameters
#15125|   #define GET_GetMultiTexGenfvEXT(disp) ((_glptr_GetMultiTexGenfvEXT)(GET_by_offset((disp), _gloffset_GetMultiTexGenfvEXT)))
#15126|   #define SET_GetMultiTexGenfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def742]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15132:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1990:4: note: in expansion of macro ‘CALL_GetMultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1990:4: note: in expansion of macro ‘CALL_GetMultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1990:4: note: in expansion of macro ‘CALL_GetMultiTexGenivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1990:4: note: in expansion of macro ‘CALL_GetMultiTexGenivEXT’
#15130|   
#15131|   typedef void (GLAPIENTRYP _glptr_GetMultiTexGenivEXT)(GLenum, GLenum, GLenum, GLint *);
#15132|-> #define CALL_GetMultiTexGenivEXT(disp, parameters) (* GET_GetMultiTexGenivEXT(disp)) parameters
#15133|   #define GET_GetMultiTexGenivEXT(disp) ((_glptr_GetMultiTexGenivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexGenivEXT)))
#15134|   #define SET_GetMultiTexGenivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def743]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexCoordPointerEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15140:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2020:4: note: in expansion of macro ‘CALL_MultiTexCoordPointerEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2020:4: note: in expansion of macro ‘CALL_MultiTexCoordPointerEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2020:4: note: in expansion of macro ‘CALL_MultiTexCoordPointerEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2020:4: note: in expansion of macro ‘CALL_MultiTexCoordPointerEXT’
#15138|   
#15139|   typedef void (GLAPIENTRYP _glptr_MultiTexCoordPointerEXT)(GLenum, GLint, GLenum, GLsizei, const GLvoid *);
#15140|-> #define CALL_MultiTexCoordPointerEXT(disp, parameters) (* GET_MultiTexCoordPointerEXT(disp)) parameters
#15141|   #define GET_MultiTexCoordPointerEXT(disp) ((_glptr_MultiTexCoordPointerEXT)(GET_by_offset((disp), _gloffset_MultiTexCoordPointerEXT)))
#15142|   #define SET_MultiTexCoordPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def744]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureImage1DEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15156:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2181:4: note: in expansion of macro ‘CALL_CompressedTextureImage1DEXT’
#15154|   
#15155|   typedef void (GLAPIENTRYP _glptr_CompressedTextureImage1DEXT)(GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15156|-> #define CALL_CompressedTextureImage1DEXT(disp, parameters) (* GET_CompressedTextureImage1DEXT(disp)) parameters
#15157|   #define GET_CompressedTextureImage1DEXT(disp) ((_glptr_CompressedTextureImage1DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureImage1DEXT)))
#15158|   #define SET_CompressedTextureImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def745]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexLevelParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15268:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1195:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1195:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1195:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1195:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterivEXT’
#15266|   
#15267|   typedef void (GLAPIENTRYP _glptr_GetMultiTexLevelParameterivEXT)(GLenum, GLenum, GLint, GLenum, GLint*);
#15268|-> #define CALL_GetMultiTexLevelParameterivEXT(disp, parameters) (* GET_GetMultiTexLevelParameterivEXT(disp)) parameters
#15269|   #define GET_GetMultiTexLevelParameterivEXT(disp) ((_glptr_GetMultiTexLevelParameterivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexLevelParameterivEXT)))
#15270|   #define SET_GetMultiTexLevelParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def746]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexLevelParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15276:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1205:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1205:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1205:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterfvEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:1205:4: note: in expansion of macro ‘CALL_GetMultiTexLevelParameterfvEXT’
#15274|   
#15275|   typedef void (GLAPIENTRYP _glptr_GetMultiTexLevelParameterfvEXT)(GLenum, GLenum, GLint, GLenum, GLfloat*);
#15276|-> #define CALL_GetMultiTexLevelParameterfvEXT(disp, parameters) (* GET_GetMultiTexLevelParameterfvEXT(disp)) parameters
#15277|   #define GET_GetMultiTexLevelParameterfvEXT(disp) ((_glptr_GetMultiTexLevelParameterfvEXT)(GET_by_offset((disp), _gloffset_GetMultiTexLevelParameterfvEXT)))
#15278|   #define SET_GetMultiTexLevelParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def747]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearNamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15676:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1233:4: note: in expansion of macro ‘CALL_ClearNamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1233:4: note: in expansion of macro ‘CALL_ClearNamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1233:4: note: in expansion of macro ‘CALL_ClearNamedBufferDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1233:4: note: in expansion of macro ‘CALL_ClearNamedBufferDataEXT’
#15674|   
#15675|   typedef void (GLAPIENTRYP _glptr_ClearNamedBufferDataEXT)(GLuint, GLenum, GLenum, GLenum, const GLvoid *);
#15676|-> #define CALL_ClearNamedBufferDataEXT(disp, parameters) (* GET_ClearNamedBufferDataEXT(disp)) parameters
#15677|   #define GET_ClearNamedBufferDataEXT(disp) ((_glptr_ClearNamedBufferDataEXT)(GET_by_offset((disp), _gloffset_ClearNamedBufferDataEXT)))
#15678|   #define SET_ClearNamedBufferDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def748]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_ClearNamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15684:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1243:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1243:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1243:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubDataEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1243:4: note: in expansion of macro ‘CALL_ClearNamedBufferSubDataEXT’
#15682|   
#15683|   typedef void (GLAPIENTRYP _glptr_ClearNamedBufferSubDataEXT)(GLuint, GLenum, GLintptr, GLsizeiptr, GLenum, GLenum, const GLvoid *);
#15684|-> #define CALL_ClearNamedBufferSubDataEXT(disp, parameters) (* GET_ClearNamedBufferSubDataEXT(disp)) parameters
#15685|   #define GET_ClearNamedBufferSubDataEXT(disp) ((_glptr_ClearNamedBufferSubDataEXT)(GET_by_offset((disp), _gloffset_ClearNamedBufferSubDataEXT)))
#15686|   #define SET_ClearNamedBufferSubDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def749]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15692:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1894:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1894:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1894:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteriEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1894:4: note: in expansion of macro ‘CALL_NamedFramebufferParameteriEXT’
#15690|   
#15691|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferParameteriEXT)(GLuint, GLenum, GLint);
#15692|-> #define CALL_NamedFramebufferParameteriEXT(disp, parameters) (* GET_NamedFramebufferParameteriEXT(disp)) parameters
#15693|   #define GET_NamedFramebufferParameteriEXT(disp) ((_glptr_NamedFramebufferParameteriEXT)(GET_by_offset((disp), _gloffset_NamedFramebufferParameteriEXT)))
#15694|   #define SET_NamedFramebufferParameteriEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def750]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_marshal_GetNamedFramebufferParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15700:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1915:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1915:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1915:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameterivEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1915:4: note: in expansion of macro ‘CALL_GetNamedFramebufferParameterivEXT’
#15698|   
#15699|   typedef void (GLAPIENTRYP _glptr_GetNamedFramebufferParameterivEXT)(GLuint, GLenum, GLint*);
#15700|-> #define CALL_GetNamedFramebufferParameterivEXT(disp, parameters) (* GET_GetNamedFramebufferParameterivEXT(disp)) parameters
#15701|   #define GET_GetNamedFramebufferParameterivEXT(disp) ((_glptr_GetNamedFramebufferParameterivEXT)(GET_by_offset((disp), _gloffset_GetNamedFramebufferParameterivEXT)))
#15702|   #define SET_GetNamedFramebufferParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribLOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15708:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:200:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:200:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:200:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLOffsetEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:200:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLOffsetEXT’
#15706|   
#15707|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribLOffsetEXT)(GLuint, GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15708|-> #define CALL_VertexArrayVertexAttribLOffsetEXT(disp, parameters) (* GET_VertexArrayVertexAttribLOffsetEXT(disp)) parameters
#15709|   #define GET_VertexArrayVertexAttribLOffsetEXT(disp) ((_glptr_VertexArrayVertexAttribLOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribLOffsetEXT)))
#15710|   #define SET_VertexArrayVertexAttribLOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def752]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15716:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:105:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:105:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:105:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:105:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribDivisorEXT’
#15714|   
#15715|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribDivisorEXT)(GLuint, GLuint, GLuint);
#15716|-> #define CALL_VertexArrayVertexAttribDivisorEXT(disp, parameters) (* GET_VertexArrayVertexAttribDivisorEXT(disp)) parameters
#15717|   #define GET_VertexArrayVertexAttribDivisorEXT(disp) ((_glptr_VertexArrayVertexAttribDivisorEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribDivisorEXT)))
#15718|   #define SET_VertexArrayVertexAttribDivisorEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def753]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureBufferRangeEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15724:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2278:4: note: in expansion of macro ‘CALL_TextureBufferRangeEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2278:4: note: in expansion of macro ‘CALL_TextureBufferRangeEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2278:4: note: in expansion of macro ‘CALL_TextureBufferRangeEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2278:4: note: in expansion of macro ‘CALL_TextureBufferRangeEXT’
#15722|   
#15723|   typedef void (GLAPIENTRYP _glptr_TextureBufferRangeEXT)(GLuint, GLenum, GLenum, GLuint, GLintptr, GLsizeiptr);
#15724|-> #define CALL_TextureBufferRangeEXT(disp, parameters) (* GET_TextureBufferRangeEXT(disp)) parameters
#15725|   #define GET_TextureBufferRangeEXT(disp) ((_glptr_TextureBufferRangeEXT)(GET_by_offset((disp), _gloffset_TextureBufferRangeEXT)))
#15726|   #define SET_TextureBufferRangeEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def754]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15732:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2394:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2394:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2394:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2394:4: note: in expansion of macro ‘CALL_TextureStorage2DMultisampleEXT’
#15730|   
#15731|   typedef void (GLAPIENTRYP _glptr_TextureStorage2DMultisampleEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean);
#15732|-> #define CALL_TextureStorage2DMultisampleEXT(disp, parameters) (* GET_TextureStorage2DMultisampleEXT(disp)) parameters
#15733|   #define GET_TextureStorage2DMultisampleEXT(disp) ((_glptr_TextureStorage2DMultisampleEXT)(GET_by_offset((disp), _gloffset_TextureStorage2DMultisampleEXT)))
#15734|   #define SET_TextureStorage2DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def755]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15740:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2436:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2436:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2436:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisampleEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2436:4: note: in expansion of macro ‘CALL_TextureStorage3DMultisampleEXT’
#15738|   
#15739|   typedef void (GLAPIENTRYP _glptr_TextureStorage3DMultisampleEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean);
#15740|-> #define CALL_TextureStorage3DMultisampleEXT(disp, parameters) (* GET_TextureStorage3DMultisampleEXT(disp)) parameters
#15741|   #define GET_TextureStorage3DMultisampleEXT(disp) ((_glptr_TextureStorage3DMultisampleEXT)(GET_by_offset((disp), _gloffset_TextureStorage3DMultisampleEXT)))
#15742|   #define SET_TextureStorage3DMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def756]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayBindVertexBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15748:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1639:4: note: in expansion of macro ‘CALL_VertexArrayBindVertexBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1639:4: note: in expansion of macro ‘CALL_VertexArrayBindVertexBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1639:4: note: in expansion of macro ‘CALL_VertexArrayBindVertexBufferEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1639:4: note: in expansion of macro ‘CALL_VertexArrayBindVertexBufferEXT’
#15746|   
#15747|   typedef void (GLAPIENTRYP _glptr_VertexArrayBindVertexBufferEXT)(GLuint, GLuint, GLuint, GLintptr, GLsizei);
#15748|-> #define CALL_VertexArrayBindVertexBufferEXT(disp, parameters) (* GET_VertexArrayBindVertexBufferEXT(disp)) parameters
#15749|   #define GET_VertexArrayBindVertexBufferEXT(disp) ((_glptr_VertexArrayBindVertexBufferEXT)(GET_by_offset((disp), _gloffset_VertexArrayBindVertexBufferEXT)))
#15750|   #define SET_VertexArrayBindVertexBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15756:66: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1696:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1696:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1696:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1696:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribFormatEXT’
#15754|   
#15755|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribFormatEXT)(GLuint, GLuint, GLint, GLenum, GLboolean, GLuint);
#15756|-> #define CALL_VertexArrayVertexAttribFormatEXT(disp, parameters) (* GET_VertexArrayVertexAttribFormatEXT(disp)) parameters
#15757|   #define GET_VertexArrayVertexAttribFormatEXT(disp) ((_glptr_VertexArrayVertexAttribFormatEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribFormatEXT)))
#15758|   #define SET_VertexArrayVertexAttribFormatEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def758]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribIFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15764:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1732:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1732:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1732:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1732:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIFormatEXT’
#15762|   
#15763|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribIFormatEXT)(GLuint, GLuint, GLint, GLenum, GLuint);
#15764|-> #define CALL_VertexArrayVertexAttribIFormatEXT(disp, parameters) (* GET_VertexArrayVertexAttribIFormatEXT(disp)) parameters
#15765|   #define GET_VertexArrayVertexAttribIFormatEXT(disp) ((_glptr_VertexArrayVertexAttribIFormatEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribIFormatEXT)))
#15766|   #define SET_VertexArrayVertexAttribIFormatEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def759]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribLFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15772:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1767:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1767:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1767:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLFormatEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1767:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribLFormatEXT’
#15770|   
#15771|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribLFormatEXT)(GLuint, GLuint, GLint, GLenum, GLuint);
#15772|-> #define CALL_VertexArrayVertexAttribLFormatEXT(disp, parameters) (* GET_VertexArrayVertexAttribLFormatEXT(disp)) parameters
#15773|   #define GET_VertexArrayVertexAttribLFormatEXT(disp) ((_glptr_VertexArrayVertexAttribLFormatEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribLFormatEXT)))
#15774|   #define SET_VertexArrayVertexAttribLFormatEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def760]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribBindingEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15780:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1798:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribBindingEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1798:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribBindingEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1798:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribBindingEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1798:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribBindingEXT’
#15778|   
#15779|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribBindingEXT)(GLuint, GLuint, GLuint);
#15780|-> #define CALL_VertexArrayVertexAttribBindingEXT(disp, parameters) (* GET_VertexArrayVertexAttribBindingEXT(disp)) parameters
#15781|   #define GET_VertexArrayVertexAttribBindingEXT(disp) ((_glptr_VertexArrayVertexAttribBindingEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribBindingEXT)))
#15782|   #define SET_VertexArrayVertexAttribBindingEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def761]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexBindingDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15788:68: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1827:4: note: in expansion of macro ‘CALL_VertexArrayVertexBindingDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1827:4: note: in expansion of macro ‘CALL_VertexArrayVertexBindingDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1827:4: note: in expansion of macro ‘CALL_VertexArrayVertexBindingDivisorEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1827:4: note: in expansion of macro ‘CALL_VertexArrayVertexBindingDivisorEXT’
#15786|   
#15787|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexBindingDivisorEXT)(GLuint, GLuint, GLuint);
#15788|-> #define CALL_VertexArrayVertexBindingDivisorEXT(disp, parameters) (* GET_VertexArrayVertexBindingDivisorEXT(disp)) parameters
#15789|   #define GET_VertexArrayVertexBindingDivisorEXT(disp) ((_glptr_VertexArrayVertexBindingDivisorEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexBindingDivisorEXT)))
#15790|   #define SET_VertexArrayVertexBindingDivisorEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def762]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_NamedBufferPageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15796:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:784:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:784:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:784:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:784:4: note: in expansion of macro ‘CALL_NamedBufferPageCommitmentEXT’
#15794|   
#15795|   typedef void (GLAPIENTRYP _glptr_NamedBufferPageCommitmentEXT)(GLuint, GLintptr, GLsizeiptr, GLboolean);
#15796|-> #define CALL_NamedBufferPageCommitmentEXT(disp, parameters) (* GET_NamedBufferPageCommitmentEXT(disp)) parameters
#15797|   #define GET_NamedBufferPageCommitmentEXT(disp) ((_glptr_NamedBufferPageCommitmentEXT)(GET_by_offset((disp), _gloffset_NamedBufferPageCommitmentEXT)))
#15798|   #define SET_NamedBufferPageCommitmentEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def763]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15804:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:762:4: note: in expansion of macro ‘CALL_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:762:4: note: in expansion of macro ‘CALL_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:762:4: note: in expansion of macro ‘CALL_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:762:4: note: in expansion of macro ‘CALL_NamedStringARB’
#15802|   
#15803|   typedef void (GLAPIENTRYP _glptr_NamedStringARB)(GLenum, GLint, const GLchar *, GLint, const GLchar *);
#15804|-> #define CALL_NamedStringARB(disp, parameters) (* GET_NamedStringARB(disp)) parameters
#15805|   #define GET_NamedStringARB(disp) ((_glptr_NamedStringARB)(GET_by_offset((disp), _gloffset_NamedStringARB)))
#15806|   #define SET_NamedStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def764]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DeleteNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15812:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:803:4: note: in expansion of macro ‘CALL_DeleteNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:803:4: note: in expansion of macro ‘CALL_DeleteNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:803:4: note: in expansion of macro ‘CALL_DeleteNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:803:4: note: in expansion of macro ‘CALL_DeleteNamedStringARB’
#15810|   
#15811|   typedef void (GLAPIENTRYP _glptr_DeleteNamedStringARB)(GLint, const GLchar *);
#15812|-> #define CALL_DeleteNamedStringARB(disp, parameters) (* GET_DeleteNamedStringARB(disp)) parameters
#15813|   #define GET_DeleteNamedStringARB(disp) ((_glptr_DeleteNamedStringARB)(GET_by_offset((disp), _gloffset_DeleteNamedStringARB)))
#15814|   #define SET_DeleteNamedStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def765]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_CompileShaderIncludeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15820:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:831:4: note: in expansion of macro ‘CALL_CompileShaderIncludeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:831:4: note: in expansion of macro ‘CALL_CompileShaderIncludeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:831:4: note: in expansion of macro ‘CALL_CompileShaderIncludeARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:831:4: note: in expansion of macro ‘CALL_CompileShaderIncludeARB’
#15818|   
#15819|   typedef void (GLAPIENTRYP _glptr_CompileShaderIncludeARB)(GLuint, GLsizei, const GLchar * const *, const GLint *);
#15820|-> #define CALL_CompileShaderIncludeARB(disp, parameters) (* GET_CompileShaderIncludeARB(disp)) parameters
#15821|   #define GET_CompileShaderIncludeARB(disp) ((_glptr_CompileShaderIncludeARB)(GET_by_offset((disp), _gloffset_CompileShaderIncludeARB)))
#15822|   #define SET_CompileShaderIncludeARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def766]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_IsNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15828:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:841:11: note: in expansion of macro ‘CALL_IsNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:841:11: note: in expansion of macro ‘CALL_IsNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:841:11: note: in expansion of macro ‘CALL_IsNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:841:11: note: in expansion of macro ‘CALL_IsNamedStringARB’
#15826|   
#15827|   typedef GLboolean (GLAPIENTRYP _glptr_IsNamedStringARB)(GLint, const GLchar *);
#15828|-> #define CALL_IsNamedStringARB(disp, parameters) (* GET_IsNamedStringARB(disp)) parameters
#15829|   #define GET_IsNamedStringARB(disp) ((_glptr_IsNamedStringARB)(GET_by_offset((disp), _gloffset_IsNamedStringARB)))
#15830|   #define SET_IsNamedStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def767]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15836:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:851:4: note: in expansion of macro ‘CALL_GetNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:851:4: note: in expansion of macro ‘CALL_GetNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:851:4: note: in expansion of macro ‘CALL_GetNamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:851:4: note: in expansion of macro ‘CALL_GetNamedStringARB’
#15834|   
#15835|   typedef void (GLAPIENTRYP _glptr_GetNamedStringARB)(GLint, const GLchar *, GLsizei, GLint *, GLchar *);
#15836|-> #define CALL_GetNamedStringARB(disp, parameters) (* GET_GetNamedStringARB(disp)) parameters
#15837|   #define GET_GetNamedStringARB(disp) ((_glptr_GetNamedStringARB)(GET_by_offset((disp), _gloffset_GetNamedStringARB)))
#15838|   #define SET_GetNamedStringARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def768]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetNamedStringivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:15844:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:861:4: note: in expansion of macro ‘CALL_GetNamedStringivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:861:4: note: in expansion of macro ‘CALL_GetNamedStringivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:861:4: note: in expansion of macro ‘CALL_GetNamedStringivARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:861:4: note: in expansion of macro ‘CALL_GetNamedStringivARB’
#15842|   
#15843|   typedef void (GLAPIENTRYP _glptr_GetNamedStringivARB)(GLint, const GLchar *, GLenum, GLint *);
#15844|-> #define CALL_GetNamedStringivARB(disp, parameters) (* GET_GetNamedStringivARB(disp)) parameters
#15845|   #define GET_GetNamedStringivARB(disp) ((_glptr_GetNamedStringivARB)(GET_by_offset((disp), _gloffset_GetNamedStringivARB)))
#15846|   #define SET_GetNamedStringivARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def769]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:142: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c: scope_hint: In function ‘glthread_nop’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16156:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:818:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:818:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:818:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:818:4: note: in expansion of macro ‘CALL_InternalSetError’
#16154|   
#16155|   typedef void (GLAPIENTRYP _glptr_InternalSetError)(GLenum);
#16156|-> #define CALL_InternalSetError(disp, parameters) (* GET_InternalSetError(disp)) parameters
#16157|   #define GET_InternalSetError(disp) ((_glptr_InternalSetError)(GET_by_offset((disp), _gloffset_InternalSetError)))
#16158|   #define SET_InternalSetError(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def770]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16260:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3161:4: note: in expansion of macro ‘CALL_TexPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3161:4: note: in expansion of macro ‘CALL_TexPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3161:4: note: in expansion of macro ‘CALL_TexPageCommitmentARB’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3161:4: note: in expansion of macro ‘CALL_TexPageCommitmentARB’
#16258|   
#16259|   typedef void (GLAPIENTRYP _glptr_TexPageCommitmentARB)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLboolean);
#16260|-> #define CALL_TexPageCommitmentARB(disp, parameters) (* GET_TexPageCommitmentARB(disp)) parameters
#16261|   #define GET_TexPageCommitmentARB(disp) ((_glptr_TexPageCommitmentARB)(GET_by_offset((disp), _gloffset_TexPageCommitmentARB)))
#16262|   #define SET_TexPageCommitmentARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def771]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c: scope_hint: In function ‘_mesa_unmarshal_TexturePageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16268:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3207:4: note: in expansion of macro ‘CALL_TexturePageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3207:4: note: in expansion of macro ‘CALL_TexturePageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3207:4: note: in expansion of macro ‘CALL_TexturePageCommitmentEXT’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3207:4: note: in expansion of macro ‘CALL_TexturePageCommitmentEXT’
#16266|   
#16267|   typedef void (GLAPIENTRYP _glptr_TexturePageCommitmentEXT)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLboolean);
#16268|-> #define CALL_TexturePageCommitmentEXT(disp, parameters) (* GET_TexturePageCommitmentEXT(disp)) parameters
#16269|   #define GET_TexturePageCommitmentEXT(disp) ((_glptr_TexturePageCommitmentEXT)(GET_by_offset((disp), _gloffset_TexturePageCommitmentEXT)))
#16270|   #define SET_TexturePageCommitmentEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def772]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘multi_draw_elements_async’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16348:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1121:7: note: in expansion of macro ‘CALL_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c: scope_hint: In function ‘multi_draw_elements_async’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:48:6: note: in definition of macro ‘GET_by_offset’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16349:101: note: in expansion of macro ‘_gloffset_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/main/dispatch.h:16348:60: note: in expansion of macro ‘GET_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1121:7: note: in expansion of macro ‘CALL_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1121:7: note: in expansion of macro ‘CALL_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1121:7: note: in expansion of macro ‘CALL_MultiDrawElementsUserBuf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_draw.c:1121:7: note: in expansion of macro ‘CALL_MultiDrawElementsUserBuf’
#16346|   
#16347|   typedef void (GLAPIENTRYP _glptr_MultiDrawElementsUserBuf)(GLintptr, GLenum, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, const GLint *);
#16348|-> #define CALL_MultiDrawElementsUserBuf(disp, parameters) (* GET_MultiDrawElementsUserBuf(disp)) parameters
#16349|   #define GET_MultiDrawElementsUserBuf(disp) ((_glptr_MultiDrawElementsUserBuf)(GET_by_offset((disp), _gloffset_MultiDrawElementsUserBuf)))
#16350|   #define SET_MultiDrawElementsUserBuf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3022:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3008:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3012:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__create_buffer’
# 3020|   	 * we need to put in 2 end-of-buffer characters.
# 3021|   	 */
# 3022|-> 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 3023|   	if ( ! b->yy_ch_buf )
# 3024|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

Error: GCC_ANALYZER_WARNING (CWE-476): [#def774]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3064:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2943:10: note: in expansion of macro ‘yyrestart’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3008:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3027:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3056:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3085:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3027:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3056:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3085:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
# 3062|   
# 3063|   	yy_flush_buffer( b , yyscanner);
# 3064|-> 
# 3065|   	b->yy_input_file = file;
# 3066|   	b->yy_fill_buffer = 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3282:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3275:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
# 3280|   	for ( i = 0; i < _yybytes_len; ++i )
# 3281|   		buf[i] = yybytes[i];
# 3282|-> 
# 3283|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 3284|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:482:4: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3226:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2961:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2971:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
# 3291|   	 */
# 3292|   	b->yy_is_our_buffer = 1;
# 3293|-> 
# 3294|   	return b;
# 3295|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:482:4: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3275:24: note: in expansion of macro ‘yyalloc’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2961:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:2971:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
# 3291|   	 */
# 3292|   	b->yy_is_our_buffer = 1;
# 3293|-> 
# 3294|   	return b;
# 3295|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:746:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2089:20: note: in expansion of macro ‘YYSTACK_ALLOC’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2162:17: note: in expansion of macro ‘YYTRANSLATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2089:20: note: in expansion of macro ‘YYSTACK_ALLOC’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:809:25: note: in definition of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2089:20: note: in expansion of macro ‘YYSTACK_ALLOC’
#  744|   #  endif
#  745|   #  ifndef YYMALLOC
#  746|-> #   define YYMALLOC malloc
#  747|   #   if ! defined malloc && ! defined EXIT_SUCCESS
#  748|   void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def779]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:809:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:794:9: note: in expansion of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:809:25: note: in definition of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:794:9: note: in expansion of macro ‘YYCOPY’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
#  807|   #  if defined __GNUC__ && 1 < __GNUC__
#  808|   #   define YYCOPY(Dst, Src, Count) \
#  809|->       __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
#  810|   #  else
#  811|   #   define YYCOPY(Dst, Src, Count)              \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:1077:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_graphics_state.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_command_buffer.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1019:26: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1019:26: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_shader.h:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_cmd_desc_state.h:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1021:7: note: in expansion of macro ‘panvk_pool_alloc_desc_array’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1021:7: note: in expansion of macro ‘panvk_pool_alloc_desc_array’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:90:27: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:12: note: in expansion of macro ‘PREFIX2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1026:7: note: in expansion of macro ‘pan_pack’
# 1075|                       const struct MALI_ATTRIBUTE * restrict values)
# 1076|   {
# 1077|->    cl[ 0] = util_bitpack_uint(values->buffer_index, 0, 8) |
# 1078|               util_bitpack_uint(values->offset_enable, 9, 9) |
# 1079|               util_bitpack_uint(values->format, 10, 31);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def781]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:2956:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_shader_upload.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:547:18: note: in expansion of macro ‘panvk_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:547:18: note: in expansion of macro ‘panvk_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_shader_upload.part.0’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:12: note: in expansion of macro ‘PREFIX2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:549:4: note: in expansion of macro ‘pan_pack’
# 2954|                            const struct MALI_RENDERER_STATE * restrict values)
# 2955|   {
# 2956|->    cl[ 0] = util_bitpack_uint(values->shader.shader, 0, 63);
# 2957|      cl[ 1] = util_bitpack_uint(values->shader.shader, 0, 63) >> 32;
# 2958|      cl[ 2] = util_bitpack_uint(values->shader.sampler_count, 0, 15) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def782]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:1133:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_graphics_state.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_command_buffer.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1019:26: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1019:26: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_shader.h:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_cmd_desc_state.h:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1021:7: note: in expansion of macro ‘panvk_pool_alloc_desc_array’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1021:7: note: in expansion of macro ‘panvk_pool_alloc_desc_array’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘emit_varying_attrs’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:90:27: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:93:12: note: in expansion of macro ‘PREFIX2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:1026:7: note: in expansion of macro ‘pan_pack’
# 1131|                       const struct MALI_ATTRIBUTE * restrict values)
# 1132|   {
# 1133|->    cl[ 0] = util_bitpack_uint(values->buffer_index, 0, 8) |
# 1134|               util_bitpack_uint(values->offset_enable, 9, 9) |
# 1135|               util_bitpack_uint(values->format, 10, 31);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def783]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:3221:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_shader_upload.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:547:18: note: in expansion of macro ‘panvk_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:547:18: note: in expansion of macro ‘panvk_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_shader_upload.part.0’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v7_pack.h:93:12: note: in expansion of macro ‘PREFIX2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:549:4: note: in expansion of macro ‘pan_pack’
# 3219|                            const struct MALI_RENDERER_STATE * restrict values)
# 3220|   {
# 3221|->    cl[ 0] = util_bitpack_uint(values->shader.shader, 0, 63);
# 3222|      cl[ 1] = util_bitpack_uint(values->shader.shader, 0, 63) >> 32;
# 3223|      cl[ 2] = util_bitpack_uint(values->shader.sampler_count, 0, 15) |

Error: COMPILER_WARNING (CWE-457): [#def784]
mesa-24.2.6-build/mesa-24.2.6/src/amd/addrlib/src/core/addrobject.cpp:129:28: warning[-Wuninitialized]: ‘*(const Addr::Client*)((char*)this + 8).Addr::Client::callbacks._ADDR_CALLBACKS::freeSysMem’ is used uninitialized
#  129 |     if (pClient->callbacks.freeSysMem != NULL)
#      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
#  127|       const Client*  pClient)    ///< [in] Client pointer
#  128|   {
#  129|->     if (pClient->callbacks.freeSysMem != NULL)
#  130|       {
#  131|           if (pObjMem != NULL)

Error: CPPCHECK_WARNING (CWE-562): [#def785]
mesa-24.2.6-build/mesa-24.2.6/src/amd/addrlib/src/r800/ciaddrlib.cpp:778: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  776|       if (pOut->pTileInfo == NULL)
#  777|       {
#  778|->         pOut->pTileInfo = &tileInfo;
#  779|       }
#  780|   

Error: CPPCHECK_WARNING (CWE-562): [#def786]
mesa-24.2.6-build/mesa-24.2.6/src/amd/addrlib/src/r800/egbaddrlib.cpp:3307: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 3305|       if (pOut->pTileInfo == NULL)
# 3306|       {
# 3307|->         pOut->pTileInfo = &tileInfo;
# 3308|       }
# 3309|   

Error: CPPCHECK_WARNING (CWE-562): [#def787]
mesa-24.2.6-build/mesa-24.2.6/src/amd/addrlib/src/r800/egbaddrlib.cpp:3813: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 3811|           if (pOut->pTileInfo == NULL)
# 3812|           {
# 3813|->             pOut->pTileInfo = &tileInfo;
# 3814|           }
# 3815|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def788]
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_debug.c: scope_hint: In function ‘ac_get_wave_info’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_debug.c:309:25: warning[-Wanalyzer-null-argument]: use of NULL ‘wave_dump’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  307|   
#  308|      while (true) {
#  309|->       const char *end = strchr(wave_dump, '\n');
#  310|         if (!end)
#  311|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def789]
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gather_context_rolls.c: scope_hint: In function ‘ac_ib_gather_context_rolls’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gather_context_rolls.c:109:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx.cur’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gather_context_rolls.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gather_context_rolls.c:315:14: note: in expansion of macro ‘CALLOC_STRUCT’
#  107|            struct hash_entry *marker = _mesa_hash_table_search(annotations, ib + cur_dw);
#  108|            if (marker)
#  109|->             ctx->cur->annotation = marker->data;
#  110|         }
#  111|   

Error: COMPILER_WARNING (CWE-563): [#def790]
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_meta_cs_blit.c: scope_hint: In function ‘ac_prepare_compute_blit’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_nir_meta_cs_blit.c:770:38: warning[-Wunused-variable]: unused variable ‘max_lane_size’
#  770 |    static const union ac_cs_blit_key max_lane_size = {
#      |                                      ^~~~~~~~~~~~~
#  768|   
#  769|      /* Check that the lane size fits into the shader key. */
#  770|->    static const union ac_cs_blit_key max_lane_size = {
#  771|         .log_lane_width = ~0,
#  772|         .log_lane_height = ~0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def791]
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_rgp_elf_object_pack.c: scope_hint: In function ‘ac_rgp_file_write_elf_text’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_rgp_elf_object_pack.c:323:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rgp_shader_data’
#  321|      }
#  322|   
#  323|->    symbol_offset += rgp_shader_data->code_size;
#  324|      uint32_t aligned = ALIGN(symbol_offset, 256) - symbol_offset;
#  325|      fseek(output, aligned, SEEK_CUR);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def792]
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_llvm_build.c: scope_hint: In function ‘ac_build_gather_values_extended’
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_llvm_build.c:556:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_llvm_build.c: scope_hint: In function ‘ac_build_gather_values_extended’
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_llvm_build.c: scope_hint: In function ‘ac_build_gather_values_extended’
#  554|   
#  555|      for (i = 0; i < value_count; i++) {
#  556|->       LLVMValueRef value = values[i * value_stride];
#  557|   
#  558|         if (!i)

Error: COMPILER_WARNING (CWE-563): [#def793]
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_nir_to_llvm.c: scope_hint: In function ‘visit_load’
mesa-24.2.6-build/mesa-24.2.6/src/amd/llvm/ac_nir_to_llvm.c:2802:12: warning[-Wunused-variable]: unused variable ‘offset’
# 2802 |    nir_src offset = *nir_get_io_offset_src(instr);
#      |            ^~~~~~
# 2800|      unsigned component = nir_intrinsic_component(instr);
# 2801|      unsigned count = instr->def.num_components;
# 2802|->    nir_src offset = *nir_get_io_offset_src(instr);
# 2803|   
# 2804|      assert(instr->def.bit_size == 16 || instr->def.bit_size == 32);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def794]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c: scope_hint: In function ‘vpe10_build_vpe_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:146:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe_ctx’
#  144|       output_ctx = &vpe_priv->output_ctx;
#  145|       if (!output_ctx->num_configs) {
#  146|->         vpe_priv->resource.program_backend(vpe_priv, pipe_ctx->pipe_idx, cmd_idx, false);
#  147|       } else {
#  148|           bool reuse = !vpe_priv->init.debug.disable_reuse_bit;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def795]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:155:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe_ctx’
#  153|           }
#  154|   
#  155|->         vpe_priv->resource.program_backend(vpe_priv, pipe_ctx->pipe_idx, cmd_idx, true);
#  156|       }
#  157|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def796]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vpelib/src/core/vpelib.c: scope_hint: In function ‘vpe_check_support’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vpelib/src/core/vpelib.c:380:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘param’
#  378|   
#  379|   #ifdef VPE_BUILD_1_1
#  380|->     vpe_priv->collaboration_mode = param->collaboration_mode;
#  381|       vpe_priv->vpe_num_instance   = param->num_instances;
#  382|       verify_collaboration_mode(vpe_priv);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def797]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_rra_layer.c: scope_hint: In function ‘rra_init_accel_struct_data_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_rra_layer.c:78:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
#   76|      VK_FROM_HANDLE(radv_device, device, vk_device);
#   77|   
#   78|->    buffer->ref_cnt = 1;
#   79|   
#   80|      VkBufferCreateInfo buffer_create_info = {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def798]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_sqtt_layer.c: scope_hint: In function ‘radv_sqtt_reloc_graphics_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_sqtt_layer.c:188:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reloc’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_command_buffer.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_sqtt_layer.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:121:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
#  186|      if (device->shader_use_invisible_vram) {
#  187|         submission = radv_shader_dma_get_submission(device, reloc->bo, slab_va, code_size);
#  188|->       if (!submission)
#  189|            return VK_ERROR_UNKNOWN;
#  190|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def799]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/layers/radv_sqtt_layer.c:201:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:121:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
#  199|   
#  200|         if (device->shader_use_invisible_vram)
#  201|->          dest_ptr = submission->ptr + offset;
#  202|         else
#  203|            dest_ptr = slab_ptr + offset;

Error: COMPILER_WARNING (CWE-563): [#def800]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/meta/radv_meta_clear.c: scope_hint: In function ‘radv_clear_htile’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/meta/radv_meta_clear.c:1351:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 1351 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 1349|   {
# 1350|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 1351|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 1352|      uint32_t level_count = vk_image_subresource_level_count(&image->vk, range);
# 1353|      uint32_t flush_bits = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def801]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:263:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:552:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:552:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:562:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:563:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:563:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:563:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:563:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:563:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gpu_info.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_descriptors.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:27: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_sampler_desc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
#  261|         nir_def *tmp = nir_imul_imm(b, deref->arr.index.ssa, array_size);
#  262|         if (tmp != deref->arr.index.ssa)
#  263|->          nir_instr_as_alu(tmp->parent_instr)->no_unsigned_wrap = true;
#  264|   
#  265|         if (index) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def802]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c: scope_hint: In function ‘radv_nir_translate_matrix_type.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:82:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fields’
#   80|   
#   81|         for (unsigned i = 0; i < num_fields; ++i) {
#   82|->          fields[i] = *glsl_get_struct_field_data(orig_type, i);
#   83|   
#   84|            fields[i].type = radv_nir_translate_matrix_type(fields[i].type, type_map, wave_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def803]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radix_sort/radix_sort_vk.c: scope_hint: In function ‘radix_sort_vk_create’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radix_sort/radix_sort_vk.c:203:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
#  201|     // Save the config for layer
#  202|     //
#  203|->   rs->config = config;
#  204|   
#  205|     //

Error: COMPILER_WARNING (CWE-563): [#def804]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_epilog’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:1900:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 1900 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 1898|   {
# 1899|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 1900|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 1901|      struct radeon_cmdbuf *cs = cmd_buffer->cs;
# 1902|   

Error: COMPILER_WARNING (CWE-563): [#def805]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_fragment_shading_rate’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:3476:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 3476 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 3474|   {
# 3475|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 3476|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 3477|      const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
# 3478|   

Error: COMPILER_WARNING (CWE-563): [#def806]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘lookup_ps_epilog’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:5593:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 5593 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 5591|      const struct radv_rendering_state *render = &cmd_buffer->state.render;
# 5592|      const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
# 5593|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 5594|      struct radv_ps_epilog_state state = {0};
# 5595|      uint8_t color_remap[MAX_RTS];

Error: COMPILER_WARNING (CWE-563): [#def807]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_streamout_enable_state’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:10638:39: warning[-Wunused-variable]: unused variable ‘pdev’
#10638 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
#10636|   {
#10637|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#10638|->    const struct radv_physical_device *pdev = radv_device_physical(device);
#10639|      const struct radv_streamout_state *so = &cmd_buffer->state.streamout;
#10640|      const bool streamout_enabled = radv_is_streamout_enabled(cmd_buffer);

Error: COMPILER_WARNING (CWE-563): [#def808]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirectKHR’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:12323:24: warning[-Wunused-variable]: unused variable ‘device’
#12323 |    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#      |                        ^~~~~~
#12321|   {
#12322|      VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
#12323|->    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#12324|   
#12325|      assert(device->use_global_bo_list);

Error: COMPILER_WARNING (CWE-563): [#def809]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirect2KHR’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.c:12348:24: warning[-Wunused-variable]: unused variable ‘device’
#12348 |    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#      |                        ^~~~~~
#12346|   {
#12347|      VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
#12348|->    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#12349|   
#12350|      assert(device->use_global_bo_list);

Error: COMPILER_WARNING (CWE-563): [#def810]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/amd/vulkan/layers/radv_annotate_layer.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h: scope_hint: In function ‘radv_emit_shader_pointer_body’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:646:39: warning[-Wunused-variable]: unused variable ‘pdev’
#  646 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
#  644|                                 bool use_32bit_pointers)
#  645|   {
#  646|->    const struct radv_physical_device *pdev = radv_device_physical(device);
#  647|   
#  648|      radeon_emit(cs, va);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def811]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c: scope_hint: In function ‘radv_add_split_disasm’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:256:13: warning[-Wanalyzer-null-argument]: use of NULL ‘last_inst’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  254|            for (uint32_t i = 0; i < repeat_count; i++) {
#  255|               inst = &instructions[*num];
#  256|->             memcpy(inst, last_inst, sizeof(struct radv_shader_inst));
#  257|               inst->offset = last_inst->offset + last_inst->size * (i + 1);
#  258|               (*num)++;

Error: GCC_ANALYZER_WARNING: [#def812]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:256:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_descriptors.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:21: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
#  254|            for (uint32_t i = 0; i < repeat_count; i++) {
#  255|               inst = &instructions[*num];
#  256|->             memcpy(inst, last_inst, sizeof(struct radv_shader_inst));
#  257|               inst->offset = last_inst->offset + last_inst->size * (i + 1);
#  258|               (*num)++;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def813]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:256:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘inst’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  254|            for (uint32_t i = 0; i < repeat_count; i++) {
#  255|               inst = &instructions[*num];
#  256|->             memcpy(inst, last_inst, sizeof(struct radv_shader_inst));
#  257|               inst->offset = last_inst->offset + last_inst->size * (i + 1);
#  258|               (*num)++;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def814]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:256:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘last_inst’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  254|            for (uint32_t i = 0; i < repeat_count; i++) {
#  255|               inst = &instructions[*num];
#  256|->             memcpy(inst, last_inst, sizeof(struct radv_shader_inst));
#  257|               inst->offset = last_inst->offset + last_inst->size * (i + 1);
#  258|               (*num)++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def815]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:277:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
#  275|         memcpy(inst->text, disasm, len);
#  276|         inst->text[len] = 0;
#  277|->       inst->offset = last_inst ? last_inst->offset + last_inst->size : 0;
#  278|   
#  279|         const char *semicolon = strchr(disasm, ';');

Error: GCC_ANALYZER_WARNING (CWE-476): [#def816]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.c:277:43: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘last_inst’
#  275|         memcpy(inst->text, disasm, len);
#  276|         inst->text[len] = 0;
#  277|->       inst->offset = last_inst ? last_inst->offset + last_inst->size : 0;
#  278|   
#  279|         const char *semicolon = strchr(disasm, ';');

Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1123:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1121:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1121:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
# 1121|         vk_find_struct_const(writeset->pNext, WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK);
# 1122|   
# 1123|->    memcpy(dst, inline_ub->pData, inline_ub->dataSize);
# 1124|   }
# 1125|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def818]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1345:82: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘accel_structs’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1290:26: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_descriptor_set.c:1290:26: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
# 1343|               break;
# 1344|            case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR: {
# 1345|->             VK_FROM_HANDLE(vk_acceleration_structure, accel_struct, accel_structs->pAccelerationStructures[j]);
# 1346|   
# 1347|               write_accel_struct(device, ptr, accel_struct ? vk_acceleration_structure_get_va(accel_struct) : 0);

Error: COMPILER_WARNING (CWE-563): [#def819]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.c: scope_hint: In function ‘radv_device_init_trap_handler’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.c:645:39: warning[-Wunused-variable]: unused variable ‘pdev’
#  645 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
#  643|   radv_device_init_trap_handler(struct radv_device *device)
#  644|   {
#  645|->    const struct radv_physical_device *pdev = radv_device_physical(device);
#  646|   
#  647|      if (!radv_trap_handler_enabled())

Error: COMPILER_WARNING (CWE-563): [#def820]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device_generated_commands.c: scope_hint: In function ‘radv_prepare_dgc_compute’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device_generated_commands.c:2416:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 2416 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 2414|      VK_FROM_HANDLE(radv_pipeline, pipeline, pGeneratedCommandsInfo->pipeline);
# 2415|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 2416|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 2417|      const uint32_t desc_size = pipeline ? 0 : MAX_SETS * 4;
# 2418|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def821]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_formats.c: scope_hint: In function ‘radv_get_image_format_properties’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_formats.c:866:76: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_debug.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_formats.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_formats.c:857:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_formats.c:857:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
#  864|         format_feature_flags = format_props.optimalTilingFeatures;
#  865|      } else if (tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
#  866|->       format_feature_flags = radv_get_modifier_flags(pdev, format, mod_info->drmFormatModifier, &format_props);
#  867|      } else {
#  868|         unreachable("bad VkImageTiling");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def822]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:1709:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:1691:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:1691:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:1708:23: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c:1708:23: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
# 1707|         if (image->disjoint) {
# 1708|            plane_info = vk_find_struct_const(pBindInfos[i].pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 1709|->          bind_idx = radv_plane_from_aspect(plane_info->planeAspect);
# 1710|         }
# 1711|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def823]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_nir_to_llvm.c: scope_hint: In function ‘ac_compile_llvm_module’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_nir_to_llvm.c:470:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbin’
#  468|      rbin->base.type = RADV_BINARY_TYPE_RTLD;
#  469|      rbin->base.total_size = alloc_size;
#  470|->    rbin->elf_size = elf_size;
#  471|      rbin->llvm_ir_size = llvm_ir_size;
#  472|      *rbinary = &rbin->base;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def824]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_nir_to_llvm.c:476:1: warning[-Wanalyzer-malloc-leak]: leak of ‘rbin’
#  474|      free(llvm_ir_string);
#  475|      free(elf_buffer);
#  476|-> }
#  477|   
#  478|   static void

Error: GCC_ANALYZER_WARNING (CWE-476): [#def825]
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gpu_info.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_perfcounter.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c: scope_hint: In function ‘radv_get_num_counter_passes’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c:361:81: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ac_block’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c:361:43: note: in expansion of macro ‘DIV_ROUND_UP’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c:89:27: note: in definition of macro ‘G_REG_BLOCK’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_perfcounter.c:361:43: note: in expansion of macro ‘DIV_ROUND_UP’
#  359|         ++block_reg_count;
#  360|   
#  361|->       passes_needed = MAX2(passes_needed, DIV_ROUND_UP(block_reg_count, ac_block->b->b->num_counters));
#  362|      }
#  363|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def826]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:940:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  938|         desc_copy(s->description, "Code size in bytes");
#  939|         s->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
#  940|->       s->value.u64 = shader->exec_size;
#  941|      }
#  942|      ++s;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def827]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:964:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  962|         desc_copy(s->description, "The maximum number of subgroups in flight on a SIMD unit");
#  963|         s->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
#  964|->       s->value.u64 = shader->max_waves;
#  965|      }
#  966|      ++s;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def828]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:1112:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1110|      ++s;
# 1111|   
# 1112|->    if (shader->statistics) {
# 1113|         for (unsigned i = 0; i < aco_num_statistics; i++) {
# 1114|            const struct aco_compiler_statistic_info *info = &aco_statistic_infos[i];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def829]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:1176:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1174|         desc_copy(p->name, "NIR Shader(s)");
# 1175|         desc_copy(p->description, "The optimized NIR shader(s)");
# 1176|->       if (radv_copy_representation(p->pData, &p->dataSize, shader->nir_string) != VK_SUCCESS)
# 1177|            result = VK_INCOMPLETE;
# 1178|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def830]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:1191:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1189|            desc_copy(p->description, "The ACO IR after some optimizations");
# 1190|         }
# 1191|->       if (radv_copy_representation(p->pData, &p->dataSize, shader->ir_string) != VK_SUCCESS)
# 1192|            result = VK_INCOMPLETE;
# 1193|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def831]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c:1197:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1195|   
# 1196|      /* Disassembler */
# 1197|->    if (p < end && shader->disasm_string) {
# 1198|         p->isText = true;
# 1199|         desc_copy(p->name, "Assembly");

Error: GCC_ANALYZER_WARNING (CWE-688): [#def832]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c: scope_hint: In function ‘radv_compile_cs’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c:142:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)*cs_stage.spirv.size)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/meta/radv_meta.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:109:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c:266:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c:266:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline_compute.c: scope_hint: In function ‘radv_compile_cs’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:109:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  140|      if (keep_executable_info && cs_stage->spirv.size) {
#  141|         cs_shader->spirv = malloc(cs_stage->spirv.size);
#  142|->       memcpy(cs_shader->spirv, cs_stage->spirv.data, cs_stage->spirv.size);
#  143|         cs_shader->spirv_size = cs_stage->spirv.size;
#  144|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def833]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:141:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
#  139|            arg = nir_b2i32(b, arg);
#  140|   
#  141|->       args[i] = arg;
#  142|   
#  143|         uint32_t arg_size = arg->bit_size == 1 ? 32 : arg->bit_size / 8;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def834]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:149:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
#  147|   
#  148|         if (arg->divergent) {
#  149|->          strides[i] = nir_imul_imm(b, active_invocation_count, arg_size);
#  150|            format.divergence_mask |= BITFIELD_BIT(i);
#  151|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def835]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:152:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
#  150|            format.divergence_mask |= BITFIELD_BIT(i);
#  151|         } else {
#  152|->          strides[i] = nir_imm_int(b, arg_size);
#  153|         }
#  154|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def836]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_dump_printf_data’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_printf.c:262:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:31: included_from: Included from here.
/usr/include/string.h:323:14: note: argument 1 of ‘strpbrk’ must be non-null
#  260|   
#  261|            size_t element_size = printf_format->element_sizes[i];
#  262|->          bool is_float = strpbrk(print_str, "fFeEgGaA") != NULL;
#  263|   
#  264|            uint32_t lane_count = (printf_format->divergence_mask & BITFIELD_BIT(i)) ? invocation_count : 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_radeon_winsys.h:338:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘send_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘send_cmd’
#  336|   radv_buffer_get_va(const struct radeon_winsys_bo *bo)
#  337|   {
#  338|->    return bo->va;
#  339|   }
#  340|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def838]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c:2343:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
# 2341|                          uint64_t *upload_seq_out)
# 2342|   {
# 2343|->    struct radeon_cmdbuf *cs = submission->cs;
# 2344|      struct radeon_winsys *ws = device->ws;
# 2345|      VkResult result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def839]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_create_uncached’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c:2483:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binary’
# 2481|      vk_pipeline_cache_object_init(&device->vk, &shader->base, &radv_shader_ops, shader->hash, sizeof(shader->hash));
# 2482|   
# 2483|->    shader->info = binary->info;
# 2484|      shader->config = binary->config;
# 2485|      shader->max_waves = radv_get_max_waves(device, &shader->config, &shader->info);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def840]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c:2510:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)*(struct radv_shader_binary_legacy *)binary.stats_size, 1)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 2508|         if (bin->stats_size) {
# 2509|            shader->statistics = calloc(bin->stats_size, 1);
# 2510|->          memcpy(shader->statistics, bin->data, bin->stats_size);
# 2511|         }
# 2512|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def841]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_capture_shader_executable_info’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c:2820:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(disasm_size + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_capture_shader_executable_info’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_capture_shader_executable_info’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 2818|         shader->ir_string = bin->llvm_ir_size ? strdup((const char *)(bin->data + bin->elf_size)) : NULL;
# 2819|         shader->disasm_string = malloc(disasm_size + 1);
# 2820|->       memcpy(shader->disasm_string, disasm_data, disasm_size);
# 2821|         shader->disasm_string[disasm_size] = 0;
# 2822|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def842]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_aco_build_shader_part’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader.c:2952:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘part_binary’
# 2950|      struct radv_shader_part_binary *part_binary = (struct radv_shader_part_binary *)calloc(size, 1);
# 2951|   
# 2952|->    part_binary->num_sgprs = num_sgprs;
# 2953|      part_binary->num_vgprs = num_vgprs;
# 2954|      part_binary->total_size = size;

Error: COMPILER_WARNING (CWE-563): [#def843]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader_info.c: scope_hint: In function ‘radv_get_legacy_gs_info’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_shader_info.c:789:19: warning[-Wunused-variable]: unused variable ‘max_prims_per_subgroup’
#  789 |    const uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out;
#      |                   ^~~~~~~~~~~~~~~~~~~~~~
#  787|      const uint32_t gs_prims_per_subgroup = gs_prims;
#  788|      const uint32_t gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations;
#  789|->    const uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out;
#  790|      const uint32_t lds_granularity = pdev->info.lds_encode_granularity;
#  791|      const uint32_t total_lds_bytes = align(esgs_lds_size * 4, lds_granularity);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def844]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1089:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cs.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1087:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1087:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
# 1087|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 1088|   
# 1089|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 1090|   
# 1091|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def845]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1089:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1087:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1087:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
# 1087|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 1088|   
# 1089|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 1090|   
# 1091|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def846]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1241:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1237:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1237:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
# 1239|   
# 1240|      const StdVideoH265SequenceParameterSet *sps =
# 1241|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 1242|      const StdVideoH265PictureParameterSet *pps =
# 1243|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def847]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1241:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1237:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1237:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
# 1239|   
# 1240|      const StdVideoH265SequenceParameterSet *sps =
# 1241|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 1242|      const StdVideoH265PictureParameterSet *pps =
# 1243|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def848]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1410:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1409:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1409:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
# 1408|      const struct VkVideoDecodeAV1PictureInfoKHR *av1_pic_info =
# 1409|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_AV1_PICTURE_INFO_KHR);
# 1410|->    const StdVideoDecodeAV1PictureInfo *pi = av1_pic_info->pStdPictureInfo;
# 1411|      const StdVideoAV1SequenceHeader *seq_hdr = &params->vk.av1_dec.seq_hdr.base;
# 1412|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def849]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1410:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘probs_ptr’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1409:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1409:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
# 1408|      const struct VkVideoDecodeAV1PictureInfoKHR *av1_pic_info =
# 1409|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_AV1_PICTURE_INFO_KHR);
# 1410|->    const StdVideoDecodeAV1PictureInfo *pi = av1_pic_info->pStdPictureInfo;
# 1411|      const StdVideoAV1SequenceHeader *seq_hdr = &params->vk.av1_dec.seq_hdr.base;
# 1412|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1842:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
# 1840|   
# 1841|      if (vid->dpb_type == DPB_DYNAMIC_TIER_2) {
# 1842|->       index_dynamic_dpb->message_id = RDECODE_MESSAGE_DYNAMIC_DPB;
# 1843|         index_dynamic_dpb->offset = offset_dynamic_dpb;
# 1844|         index_dynamic_dpb->filled = 0;

Error: COMPILER_WARNING (CWE-563): [#def851]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:1978:15: warning[-Wunused-variable]: unused variable ‘slot_idx’
# 1978 |       int32_t slot_idx = frame_info->pReferenceSlots[i].slotIndex;
#      |               ^~~~~~~~
# 1976|   
# 1977|      for (int i = 0; i < frame_info->referenceSlotCount; i++) {
# 1978|->       int32_t slot_idx = frame_info->pReferenceSlots[i].slotIndex;
# 1979|         assert(slot_idx >= 0 && slot_idx < 16);
# 1980|         struct radv_image_view *f_dpb_iv =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def852]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2025:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2023:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2023:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
# 2023|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 2024|   
# 2025|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 2026|   
# 2027|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def853]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2025:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2023:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2023:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
# 2023|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 2024|   
# 2025|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 2026|   
# 2027|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2138:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2133:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2133:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
# 2136|   
# 2137|      const StdVideoH265SequenceParameterSet *sps =
# 2138|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 2139|      const StdVideoH265PictureParameterSet *pps =
# 2140|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def855]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2138:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2133:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2133:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
# 2136|   
# 2137|      const StdVideoH265SequenceParameterSet *sps =
# 2138|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 2139|      const StdVideoH265PictureParameterSet *pps =
# 2140|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def856]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_vcn_decode_video’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2652:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘slice_offset’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_vcn_decode_video’
# 2650|         send_cmd(cmd_buffer, RDECODE_CMD_CONTEXT_BUFFER, vid->ctx.mem->bo, vid->ctx.offset);
# 2651|   
# 2652|->    send_cmd(cmd_buffer, RDECODE_CMD_BITSTREAM_BUFFER, src_buffer->bo,
# 2653|               src_buffer->offset + frame_info->srcBufferOffset + slice_offset);
# 2654|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def857]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_video_get_profile_alignments’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2694:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2693:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c:2693:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_video_get_profile_alignments’
# 2692|            const struct VkVideoDecodeH265ProfileInfoKHR *h265_profile =
# 2693|               vk_find_struct_const(profile_list->pProfiles[i].pNext, VIDEO_DECODE_H265_PROFILE_INFO_KHR);
# 2694|->          if (h265_profile->stdProfileIdc == STD_VIDEO_H265_PROFILE_IDC_MAIN_10)
# 2695|               is_h265_main_10 = true;
# 2696|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def858]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_h264’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:536:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_device.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_cs.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:535:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:535:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_h264’
#  534|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  535|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  536|->    const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  537|      const StdVideoH264SequenceParameterSet *sps =
#  538|         vk_video_find_h264_enc_std_sps(&cmd_buffer->video.params->vk, pic->seq_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def859]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:567:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:566:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:566:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
#  565|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  566|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  567|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  568|      const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
#  569|      const StdVideoEncodeH265SliceSegmentHeader *slice = h265_slice->pStdSliceSegmentHeader;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def860]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_control_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:598:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_control_hevc’
#  596|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  597|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  598|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  599|      const StdVideoH265SequenceParameterSet *sps =
#  600|         vk_video_find_h265_enc_std_sps(&cmd_buffer->video.params->vk, pic->pps_seq_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def861]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:656:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:535:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:535:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:655:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:655:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
#  654|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  655|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  656|->    const VkVideoEncodeH264NaluSliceInfoKHR *h264_slice = &h264_picture_info->pNaluSliceEntries[0];
#  657|      const StdVideoEncodeH264SliceHeader *slice = h264_slice->pStdSliceHeader;
#  658|      ENC_BEGIN;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def862]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:676:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:597:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:566:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:566:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:675:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:675:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
#  674|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  675|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  676|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  677|      const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
#  678|      const StdVideoEncodeH265SliceSegmentHeader *slice = h265_slice->pStdSliceSegmentHeader;

Error: COMPILER_WARNING (CWE-563): [#def863]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:720:8: warning[-Wunused-variable]: unused variable ‘slice_count’
#  720 |    int slice_count = h264_picture_info->naluSliceEntryCount;
#      |        ^~~~~~~~~~~
#  718|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  719|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  720|->    int slice_count = h264_picture_info->naluSliceEntryCount;
#  721|      const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  722|      const StdVideoH264SequenceParameterSet *sps =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def864]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:721:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:719:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:719:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
#  719|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  720|      int slice_count = h264_picture_info->naluSliceEntryCount;
#  721|->    const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  722|      const StdVideoH264SequenceParameterSet *sps =
#  723|         vk_video_find_h264_enc_std_sps(&cmd_buffer->video.params->vk, pic->seq_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def865]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1308:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1307:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1307:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
# 1306|            const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
# 1307|               vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
# 1308|->          const VkVideoEncodeH264NaluSliceInfoKHR *h264_slice = &h264_picture_info->pNaluSliceEntries[0];
# 1309|            qp = h264_slice->constantQp;
# 1310|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def866]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1315:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1314:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1314:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
# 1313|            const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
# 1314|               vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
# 1315|->          const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
# 1316|            qp = h265_slice->constantQp;
# 1317|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def867]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1961:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1959:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1959:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
# 1959|            vk_find_struct_const(pVideoSessionParametersInfo->pNext, VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR);
# 1960|         size_t sps_size = 0, pps_size = 0;
# 1961|->       if (h264_get_info->writeStdSPS) {
# 1962|            const StdVideoH264SequenceParameterSet *sps =
# 1963|               vk_video_find_h264_enc_std_sps(&templ->vk, h264_get_info->stdSPSId);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def868]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1982:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1980:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c:1980:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
# 1980|            vk_find_struct_const(pVideoSessionParametersInfo->pNext, VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR);
# 1981|         size_t sps_size = 0, pps_size = 0, vps_size = 0;
# 1982|->       if (h265_get_info->writeStdVPS) {
# 1983|            const StdVideoH265VideoParameterSet *vps = vk_video_find_h265_enc_std_vps(&templ->vk, h265_get_info->stdVPSId);
# 1984|            assert(vps);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def869]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_winsys_cs_dump’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1470:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ibs’
# 1468|               ac_parse_ib(&ib_parser, name);
# 1469|            } else {
# 1470|->             ibs[i] = mapped;
# 1471|               ib_dw_sizes[i] = ib->cdw;
# 1472|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def870]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1470:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ibs’
# 1468|               ac_parse_ib(&ib_parser, name);
# 1469|            } else {
# 1470|->             ibs[i] = mapped;
# 1471|               ib_dw_sizes[i] = ib->cdw;
# 1472|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def871]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1471:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ib_dw_sizes’
# 1469|            } else {
# 1470|               ibs[i] = mapped;
# 1471|->             ib_dw_sizes[i] = ib->cdw;
# 1472|            }
# 1473|         }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def872]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_winsys_cs_annotate’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1499:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_annotation’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
# 1497|         char *old_annotation = entry->data;
# 1498|         char *new_annotation = calloc(strlen(old_annotation) + strlen(annotation) + 5, 1);
# 1499|->       sprintf(new_annotation, "%s -> %s", old_annotation, annotation);
# 1500|         free(old_annotation);
# 1501|         _mesa_hash_table_insert(cs->annotations, _cs->buf + _cs->cdw, new_annotation);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def873]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_cs_alloc_timeline_syncobj_chunk’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1704:33: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1702|   
# 1703|      if (queue_syncobj) {
# 1704|->       syncobj[count - 1].handle = queue_syncobj;
# 1705|         syncobj[count - 1].flags = 0;
# 1706|         syncobj[count - 1].point = 0;

Error: GCC_ANALYZER_WARNING (CWE-122): [#def874]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1705:32: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1703|      if (queue_syncobj) {
# 1704|         syncobj[count - 1].handle = queue_syncobj;
# 1705|->       syncobj[count - 1].flags = 0;
# 1706|         syncobj[count - 1].point = 0;
# 1707|      }

Error: GCC_ANALYZER_WARNING (CWE-122): [#def875]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1706:32: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1704|         syncobj[count - 1].handle = queue_syncobj;
# 1705|         syncobj[count - 1].flags = 0;
# 1706|->       syncobj[count - 1].point = 0;
# 1707|      }
# 1708|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/null/radv_null_cs.c: scope_hint: In function ‘radv_null_cs_create’
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/winsys/null/radv_null_cs.c:66:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cs’
#   64|      }
#   65|   
#   66|->    return &cs->base;
#   67|   }
#   68|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def877]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/clif/v3dx_dump.c: scope_hint: In function ‘clif_name’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/clif/v3dx_dump.c:48:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
#   46|           for (int i = 0; i < strlen(xml_name); i++) {
#   47|                   if (xml_name[i] == ' ') {
#   48|->                         name[j++] = '_';
#   49|                   } else if (xml_name[i] == '(' || xml_name[i] == ')') {
#   50|                           /* skip */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def878]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/clif/v3dx_dump.c:52:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/clif/v3dx_dump.c:24: included_from: Included from here.
#   50|                           /* skip */
#   51|                   } else {
#   52|->                         name[j++] = toupper(xml_name[i]);
#   53|                   }
#   54|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def879]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/clif/v3dx_dump.c:55:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
#   53|                   }
#   54|           }
#   55|->         name[j++] = 0;
#   56|   
#   57|           return name;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def880]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘process_mux_deps’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:162:53: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:162:53: note: read of 8 bytes from after the end of ‘setup_list’
#  160|           switch (mux) {
#  161|           case V3D_QPU_MUX_A:
#  162|->                 add_read_dep(state, state->last_rf[n->inst->qpu.raddr_a], n);
#  163|                   break;
#  164|           case V3D_QPU_MUX_B:

Error: GCC_ANALYZER_WARNING (CWE-126): [#def881]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘process_mux_deps.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:165:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:165:23: note: read of 8 bytes from after the end of ‘setup_list’
#  163|                   break;
#  164|           case V3D_QPU_MUX_B:
#  165|->                 if (!n->inst->qpu.sig.small_imm_b) {
#  166|                           add_read_dep(state,
#  167|                                        state->last_rf[n->inst->qpu.raddr_b], n);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def882]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘calculate_deps’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:292:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/qpu_schedule.c:292:23: note: read of 8 bytes from after the end of ‘setup_list’
#  290|   {
#  291|           const struct v3d_device_info *devinfo = state->devinfo;
#  292|->         struct qinst *qinst = n->inst;
#  293|           struct v3d_qpu_instr *inst = &qinst->qpu;
#  294|           /* If the input and output segments are shared, then all VPM reads to

Error: GCC_ANALYZER_WARNING (CWE-476): [#def883]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir.c: scope_hint: In function ‘vir_add_inst’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir.c:342:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
#  340|           struct qinst *inst = calloc(1, sizeof(*inst));
#  341|   
#  342|->         inst->qpu = v3d_qpu_nop();
#  343|           inst->qpu.alu.add.op = op;
#  344|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def884]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:336:54: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned char *)((char *)&dst + offsetof(struct qpu_reg, magic))’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1569:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
#  334|                                   bool use_rf;
#  335|                                   if (c->devinfo->has_accumulators) {
#  336|->                                         use_rf = !dst.magic ||
#  337|                                                    dst.index != V3D_QPU_WADDR_R5;
#  338|                                   } else {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def885]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:339:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned char *)((char *)&dst + offsetof(struct qpu_reg, magic))’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1569:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
#  337|                                                    dst.index != V3D_QPU_WADDR_R5;
#  338|                                   } else {
#  339|->                                         use_rf = dst.magic || dst.index != 0;
#  340|                                   }
#  341|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def886]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:358:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1569:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
#  356|                                   assert(qinst->qpu.alu.mul.op == V3D_QPU_M_NOP);
#  357|   
#  358|->                                 qinst->qpu.sig_addr = dst.index;
#  359|                                   qinst->qpu.sig_magic = dst.magic;
#  360|                           } else if (qinst->qpu.alu.add.op != V3D_QPU_A_NOP) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def887]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:376:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1569:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
#  374|                                   }
#  375|   
#  376|->                                 qinst->qpu.alu.add.waddr = dst.index;
#  377|                                   qinst->qpu.alu.add.magic_write = dst.magic;
#  378|                           } else {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def888]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:392:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1569:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
#  390|                                   }
#  391|   
#  392|->                                 qinst->qpu.alu.mul.waddr = dst.index;
#  393|                                   qinst->qpu.alu.mul.magic_write = dst.magic;
#  394|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def889]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cl.h:105:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/simulator/v3d_simulator.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:95: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1437:1: note: in expansion of macro ‘v3dX’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1469:7: note: in expansion of macro ‘v3dX’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1153:1: note: in expansion of macro ‘v3dX’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1171:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1171:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:194:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:194:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:224:7: note: in expansion of macro ‘cl_emit’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:235:10: note: in expansion of macro ‘cl_emit’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1118:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:254:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_meta_common.c:1175:4: note: in expansion of macro ‘cl_emit’
#  103|   cl_start(struct v3dv_cl *cl)
#  104|   {
#  105|->    return cl->next;
#  106|   }
#  107|   

Error: COMPILER_WARNING (CWE-563): [#def890]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘job_destroy_cloned_gpu_cl_resources’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:152:28: warning[-Wunused-variable]: unused variable ‘cmd_buffer’
#  152 |    struct v3dv_cmd_buffer *cmd_buffer = job->cmd_buffer;
#      |                            ^~~~~~~~~~
#  150|      assert(job->type == V3DV_JOB_TYPE_GPU_CL);
#  151|   
#  152|->    struct v3dv_cmd_buffer *cmd_buffer = job->cmd_buffer;
#  153|      if (job->clone_owns_bcl) {
#  154|         /* For suspending jobs in command buffers with the simultaneous use flag

Error: GCC_ANALYZER_WARNING (CWE-476): [#def891]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:1256:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4504:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4507:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4562:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1254|   
# 1255|      if (clear_depth)
# 1256|->       attachment_state->clear_value.z = ds->depth;
# 1257|   
# 1258|      if (clear_stencil)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def892]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:1259:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4504:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4507:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4562:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1257|   
# 1258|      if (clear_stencil)
# 1259|->       attachment_state->clear_value.s = ds->stencil;
# 1260|   
# 1261|      attachment_state->vk_clear_value.depthStencil = *ds;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def893]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:1261:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4504:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4507:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_cmd_buffer.c:4562:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1259|         attachment_state->clear_value.s = ds->stencil;
# 1260|   
# 1261|->    attachment_state->vk_clear_value.depthStencil = *ds;
# 1262|   }
# 1263|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def894]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c: scope_hint: In function ‘write_image_descriptor’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c:1091:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sampler’
# 1089|   
# 1090|      assert(iview || sampler);
# 1091|->    uint8_t plane_count = iview ? iview->plane_count : sampler->plane_count;
# 1092|   
# 1093|      void *desc_map = descriptor_bo_map(device, set,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def895]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c: scope_hint: In function ‘v3dv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c:1277:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c:1270:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c:1270:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_descriptor_set.c: scope_hint: In function ‘v3dv_UpdateDescriptorSets’
# 1275|                                               inline_write->pData,
# 1276|                                               writeset->dstArrayElement, /* offset */
# 1277|->                                             inline_write->dataSize);
# 1278|               break;
# 1279|            }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def896]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘create_physical_device’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:1347:20: warning[-Wanalyzer-null-argument]: use of NULL ‘primary_path’ where non-null expected
/usr/include/features.h:511: included_from: Included from here.
/usr/include/assert.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:24: included_from: Included from here.
/usr/include/fcntl.h:212:12: note: argument 1 of ‘open’ must be non-null
# 1345|         /* Open the primary node on the vc4 display device */
# 1346|         assert(display_device);
# 1347|->       display_fd = open(primary_path, O_RDWR | O_CLOEXEC);
# 1348|   #else
# 1349|         /* There is only one device with primary and render nodes.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def897]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘bind_image_memory’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:2472:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:2454:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:2454:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘bind_image_memory’
# 2470|          * So planeAspect should only refer to one plane.
# 2471|          */
# 2472|->       uint8_t plane = v3dv_plane_from_aspect(plane_mem_info->planeAspect);
# 2473|         assert(offset % image->planes[plane].alignment == 0);
# 2474|         image->planes[plane].mem = mem;

Error: COMPILER_WARNING (CWE-563): [#def898]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘v3dv_setup_dynamic_framebuffer’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_device.c:2796:29: warning[-Wunused-variable]: unused variable ‘pass’
# 2796 |    struct v3dv_render_pass *pass = &cmd_buffer->state.dynamic_pass;
#      |                             ^~~~
# 2794|      fb->layers = info->viewMask == 0 ? info->layerCount : 1;
# 2795|   
# 2796|->    struct v3dv_render_pass *pass = &cmd_buffer->state.dynamic_pass;
# 2797|      assert(pass->subpass_count == 1 && pass->subpasses);
# 2798|      assert(pass->subpasses[0].color_count == info->colorAttachmentCount);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def899]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c: scope_hint: In function ‘v3dv_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:450:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:533:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:533:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c: scope_hint: In function ‘v3dv_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:533:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:533:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:430:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:430:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:433:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_image.c:433:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
#  448|            }
#  449|         } else {
#  450|->          modifier = explicit_mod_info->drmFormatModifier;
#  451|         }
#  452|         assert(modifier == DRM_FORMAT_MOD_LINEAR ||

Error: COMPILER_WARNING (CWE-563): [#def900]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_image_linear_texel_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_meta_copy.c:1634:12: warning[-Wunused-variable]: unused variable ‘dst_plane’
# 1634 |    uint8_t dst_plane =
#      |            ^~~~~~~~~
# 1632|      uint8_t src_plane =
# 1633|         v3dv_plane_from_aspect(region->srcSubresource.aspectMask);
# 1634|->    uint8_t dst_plane =
# 1635|         v3dv_plane_from_aspect(region->dstSubresource.aspectMask);
# 1636|   

Error: COMPILER_WARNING (CWE-563): [#def901]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_buffer_to_image_shader’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_meta_copy.c:3166:9: warning[-Wunused-variable]: unused variable ‘is_plane_aspect’
# 3166 |    bool is_plane_aspect = aspect & any_plane_aspect;
#      |         ^~~~~~~~~~~~~~~
# 3164|         VK_IMAGE_ASPECT_PLANE_2_BIT;
# 3165|   
# 3166|->    bool is_plane_aspect = aspect & any_plane_aspect;
# 3167|   
# 3168|      /* Generally, the bpp of the data in the buffer matches that of the

Error: GCC_ANALYZER_WARNING (CWE-476): [#def902]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pass.c: scope_hint: In function ‘v3dv_CreateRenderPass2’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pass.c:230:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
#  228|   
#  229|            for (uint32_t j = 0; j < desc->inputAttachmentCount; j++) {
#  230|->             subpass->input_attachments[j] = (struct v3dv_subpass_attachment) {
#  231|                  .attachment = desc->pInputAttachments[j].attachment,
#  232|                  .layout = desc->pInputAttachments[j].layout,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pass.c:242:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
#  240|   
#  241|            for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) {
#  242|->             subpass->color_attachments[j] = (struct v3dv_subpass_attachment) {
#  243|                  .attachment = desc->pColorAttachments[j].attachment,
#  244|                  .layout = desc->pColorAttachments[j].layout,

Error: COMPILER_WARNING (CWE-563): [#def904]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_fs_key’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:1188:24: warning[-Wunused-variable]: unused variable ‘device’
# 1188 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1186|      memset(key, 0, sizeof(*key));
# 1187|   
# 1188|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1189|      assert(device);
# 1190|   

Error: COMPILER_WARNING (CWE-563): [#def905]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_gs_key’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:1273:24: warning[-Wunused-variable]: unused variable ‘device’
# 1273 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1271|             p_stage->stage == BROADCOM_SHADER_GEOMETRY_BIN);
# 1272|   
# 1273|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1274|      assert(device);
# 1275|   

Error: COMPILER_WARNING (CWE-563): [#def906]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_vs_key’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:1317:24: warning[-Wunused-variable]: unused variable ‘device’
# 1317 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1315|             p_stage->stage == BROADCOM_SHADER_VERTEX_BIN);
# 1316|   
# 1317|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1318|      assert(device);
# 1319|   

Error: COMPILER_WARNING (CWE-563): [#def907]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_graphics_key’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:1985:24: warning[-Wunused-variable]: unused variable ‘device’
# 1985 |    struct v3dv_device *device = pipeline->device;
#      |                        ^~~~~~
# 1983|                                  const VkGraphicsPipelineCreateInfo *pCreateInfo)
# 1984|   {
# 1985|->    struct v3dv_device *device = pipeline->device;
# 1986|      assert(device);
# 1987|   

Error: COMPILER_WARNING (CWE-563): [#def908]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_compute_key’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:2070:24: warning[-Wunused-variable]: unused variable ‘device’
# 2070 |    struct v3dv_device *device = pipeline->device;
#      |                        ^~~~~~
# 2068|                                 const VkComputePipelineCreateInfo *pCreateInfo)
# 2069|   {
# 2070|->    struct v3dv_device *device = pipeline->device;
# 2071|      assert(device);
# 2072|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_collect_executable_data.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3491:1: warning[-Wanalyzer-malloc-leak]: leak of ‘util_dynarray_grow_bytes(&*pipeline.executables.data, 1, 24)’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/rmv/vk_rmv_common.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_debug.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3488:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3488:7: note: in expansion of macro ‘util_dynarray_append’
# 3489|                              struct v3dv_pipeline_executable_data, data);
# 3490|      }
# 3491|-> }
# 3492|   
# 3493|   static const struct v3dv_pipeline_executable_data *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def910]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3608:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:253:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3604:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:253:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3604:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:253:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3604:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3604:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_pipeline.c:3405:11: note: in definition of macro ‘WRITE_STR’
# 3606|            WRITE_STR(stat->description, "Chosen compile strategy index");
# 3607|            stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
# 3608|->          stat->value.u64 = prog_data->compile_strategy_idx;
# 3609|         }
# 3610|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def911]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h: scope_hint: In function ‘v3dv_flag_oom.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:2588:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h: scope_hint: In function ‘v3dv_flag_oom.part.0’
# 2586|      } else {
# 2587|         assert(job);
# 2588|->       if (job->cmd_buffer)
# 2589|            job->cmd_buffer->state.oom = true;
# 2590|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def912]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:173:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_descriptor_update_template.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
/usr/include/dlfcn.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/nir_spirv.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_private.h:78: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
#  171|      for (int i = 0; i < n_syncs; i++) {
#  172|         syncs[i].handle =
#  173|->          vk_sync_as_drm_syncobj(sync_info->waits[i].sync)->syncobj;
#  174|      }
#  175|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def913]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:329:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
#  327|            for (uint32_t i = 0; i < info->count; i++) {
#  328|               struct v3dv_query *query = &info->pool->queries[info->first + i];
#  329|->             syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  330|            }
#  331|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def914]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:329:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
#  327|            for (uint32_t i = 0; i < info->count; i++) {
#  328|               struct v3dv_query *query = &info->pool->queries[info->first + i];
#  329|->             syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  330|            }
#  331|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def915]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:367:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
#  365|               struct v3dv_query *query = &info->pool->queries[info->first + i];
#  366|   
#  367|->             syncs[i] = vk_sync_as_drm_syncobj(query->perf.last_job_sync)->syncobj;
#  368|               kperfmon_ids[i] = (uintptr_t)(void *)query->perf.kperfmon_ids;
#  369|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def916]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:367:73: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
#  365|               struct v3dv_query *query = &info->pool->queries[info->first + i];
#  366|   
#  367|->             syncs[i] = vk_sync_as_drm_syncobj(query->perf.last_job_sync)->syncobj;
#  368|               kperfmon_ids[i] = (uintptr_t)(void *)query->perf.kperfmon_ids;
#  369|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:368:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kperfmon_ids’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
#  366|   
#  367|               syncs[i] = vk_sync_as_drm_syncobj(query->perf.last_job_sync)->syncobj;
#  368|->             kperfmon_ids[i] = (uintptr_t)(void *)query->perf.kperfmon_ids;
#  369|            }
#  370|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def918]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_end_query_cpu_job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:517:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_end_query_cpu_job’
#  515|   
#  516|         if (info->pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR) {
#  517|->          uint32_t syncobj = vk_sync_as_drm_syncobj(query->perf.last_job_sync)->syncobj;
#  518|            err = drmSyncobjImportSyncFile(job->device->pdevice->render_fd,
#  519|                                           syncobj, fd);

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def919]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:533:7: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
#  531|   fail:
#  532|      if (info->pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR)
#  533|->       close(fd);
#  534|   
#  535|      cnd_broadcast(&job->device->query_ended);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def920]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_copy_query_results_cpu_job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:572:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
#  570|               malloc(sizeof(uint32_t) * submit.bo_handle_count);
#  571|   
#  572|->          bo_handles[0] = bo->handle;
#  573|            bo_handles[1] = info->pool->timestamp.bo->handle;
#  574|            submit.bo_handles = (uintptr_t)(void *)bo_handles;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def921]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:592:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘offsets’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
#  590|               struct v3dv_query *query = &info->pool->queries[info->first + i];
#  591|   
#  592|->             offsets[i] = query->timestamp.offset;
#  593|               syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  594|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def922]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:593:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_copy_query_results_cpu_job’
#  591|   
#  592|               offsets[i] = query->timestamp.offset;
#  593|->             syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  594|            }
#  595|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def923]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:593:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_copy_query_results_cpu_job’
#  591|   
#  592|               offsets[i] = query->timestamp.offset;
#  593|->             syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  594|            }
#  595|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def924]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_cl_job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:952:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/nir_spirv.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:950:4: note: in expansion of macro ‘set_foreach’
#  950|      set_foreach(job->bos, entry) {
#  951|         struct v3dv_bo *bo = (struct v3dv_bo *)entry->key;
#  952|->       bo_handles[bo_idx++] = bo->handle;
#  953|      }
#  954|      assert(bo_idx == submit.bo_handle_count);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def925]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_csd_job’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1100:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_queue.c:1098:4: note: in expansion of macro ‘set_foreach’
# 1098|      set_foreach(job->bos, entry) {
# 1099|         struct v3dv_bo *bo = (struct v3dv_bo *)entry->key;
# 1100|->       bo_handles[bo_idx++] = bo->handle;
# 1101|      }
# 1102|      assert(bo_idx == submit->bo_handle_count);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def926]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_uniforms.c: scope_hint: In function ‘write_ubo_ssbo_uniforms’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dv_uniforms.c:274:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*cmd_buffer.push_constants_resource.bo’
#  272|         assert(resource->bo);
#  273|   
#  274|->       cl_aligned_u32(uniforms, resource->bo->offset +
#  275|                                  resource->offset +
#  276|                                  offset + dynamic_offset);

Error: COMPILER_WARNING (CWE-563): [#def927]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_cmd_buffer.c: scope_hint: In function ‘v3d71_cmd_buffer_emit_depth_bias’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/vulkan/v3dvx_cmd_buffer.c:1502:26: warning[-Wunused-variable]: unused variable ‘pipeline’
# 1502 |    struct v3dv_pipeline *pipeline = cmd_buffer->state.gfx.pipeline;
#      |                          ^~~~~~~~
# 1500|   v3dX(cmd_buffer_emit_depth_bias)(struct v3dv_cmd_buffer *cmd_buffer)
# 1501|   {
# 1502|->    struct v3dv_pipeline *pipeline = cmd_buffer->state.gfx.pipeline;
# 1503|      assert(pipeline);
# 1504|      struct vk_dynamic_graphics_state *dyn = &cmd_buffer->vk.dynamic_graphics_state;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def928]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘resize_block_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:761:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:985:7: note: in expansion of macro ‘hash_table_foreach’
#  759|   {
#  760|      if (glsl_type_is_array(type)) {
#  761|->       struct uniform_block_array_elements *child_array =
#  762|            glsl_type_is_array(glsl_get_array_element(type)) ? ub_array->array : NULL;
#  763|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def929]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:767:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:985:7: note: in expansion of macro ‘hash_table_foreach’
#  765|            resize_block_array(glsl_get_array_element(type), child_array);
#  766|         const struct glsl_type *new_type =
#  767|->          glsl_array_type(new_child_type, ub_array->num_array_elements, 0);
#  768|   
#  769|         return new_type;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def930]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘add_var_use_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:499:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ainfo’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:520:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘add_var_use_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:520:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:521:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:521:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:521:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘add_var_use_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘add_var_use_deref’
#  497|         }
#  498|   
#  499|->       link_util_mark_array_elements_referenced(*derefs, num_derefs, array_depth,
#  500|                                                  ainfo->indices);
#  501|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def931]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘build_type_tree_for_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:1100:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘build_type_tree_for_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
# 1098|      struct type_tree_entry *entry = malloc(sizeof *entry);
# 1099|   
# 1100|->    entry->array_size = 1;
# 1101|      entry->next_index = UINT_MAX;
# 1102|      entry->children = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def932]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2531:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var2_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2517:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2517:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
# 2529|                        *var1_written = true;
# 2530|                     else if (var == var2)
# 2531|->                      *var2_written = true;
# 2532|                     else if (var == var3)
# 2533|                        *var3_written = true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def933]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2533:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var3_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2516:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2517:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2517:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c:2518:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
# 2531|                        *var2_written = true;
# 2532|                     else if (var == var3)
# 2533|->                      *var3_written = true;
# 2534|                  }
# 2535|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def934]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c:122:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
#  120|   
#  121|      nir_def *offset = nir_imm_int(b, offset_value);
#  122|->    for (nir_deref_instr *d = deref; d->deref_type != nir_deref_type_var;
#  123|           d = nir_deref_instr_parent(d)) {
#  124|         assert(d->deref_type == nir_deref_type_array);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def935]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c: scope_hint: In function ‘flatten_named_interface_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:157:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:367:10: note: in expansion of macro ‘NIR_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:254:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘flatten_named_interface_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c: scope_hint: In function ‘flatten_named_interface_deref’
#  155|      nir_variable *var = nir_deref_instr_get_variable(deref);
#  156|   
#  157|->    const struct glsl_type * iface_t = glsl_without_array(var->type);
#  158|      if (iface_t != var->interface_type)
#  159|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def936]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘record_images_used’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:129:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘record_images_used’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘record_images_used’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘record_images_used’
#  127|      /* Structs have been lowered already, so get_aoa_size is sufficient. */
#  128|      const unsigned size =
#  129|->       glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1;
#  130|   
#  131|      BITSET_SET_RANGE(info->images_used, var->data.binding,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def937]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘lower_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘lower_deref’
#  160|      assert(path.path[0]->deref_type == nir_deref_type_var);
#  161|   
#  162|->    char *name = ralloc_asprintf(state->remap_table, "lower@%s", var->name);
#  163|      unsigned location = var->data.location;
#  164|      const struct glsl_type *type = NULL;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def938]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘get_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c:106:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘get_field_name(name + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘get_deref’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  104|         *deref = nir_build_deref_struct(b, *deref, idx);
#  105|         *type = glsl_get_struct_field(*type, idx);
#  106|->       name += 1 + strlen(field);
#  107|         free(field);
#  108|         return get_deref(b, name, NULL, deref, type);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def939]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c:112:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘get_field_name(name)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘get_deref’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  110|         /* Top level variable */
#  111|         char *field = get_field_name(name);
#  112|->       name += strlen(field);
#  113|         free(field);
#  114|         if (toplevel_var == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def940]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:99:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘consumer_info.fog’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:153:5: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:188:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
#   97|      nir_variable *var = nir_deref_instr_get_variable(deref);
#   98|   
#   99|->    if (!glsl_type_is_array(var->type) || !is_gl_identifier(var->name))
#  100|         return;
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-465): [#def941]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-parse.y: scope_hint: In function ‘_token_list_equal_ignoring_space’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-parse.y:1208:24: warning[-Wanalyzer-deref-before-check]: check of ‘node_b’ for NULL after already dereferencing it
# 1206|         /* Ignore trailing whitespace */
# 1207|         if (node_a == NULL && node_b->token->type == SPACE) {
# 1208|->          while (node_b && node_b->token->type == SPACE)
# 1209|               node_b = node_b->next;
# 1210|         }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def942]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-parse.y:1216:24: warning[-Wanalyzer-deref-before-check]: check of ‘node_a’ for NULL after already dereferencing it
# 1214|   
# 1215|         if (node_b == NULL && node_a->token->type == SPACE) {
# 1216|->          while (node_a && node_a->token->type == SPACE)
# 1217|               node_a = node_a->next;
# 1218|         }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def943]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp-parse.y:1230:24: warning[-Wanalyzer-deref-before-check]: check of ‘node_a’ for NULL after already dereferencing it
# 1228|          */
# 1229|         if (node_a->token->type == SPACE && node_b->token->type == SPACE) {
# 1230|->          while (node_a && node_a->token->type == SPACE)
# 1231|               node_a = node_a->next;
# 1232|            while (node_b && node_b->token->type == SPACE)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def944]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
#  143|   exec_node_get_prev(struct exec_node *n)
#  144|   {
#  145|->    return n->prev;
#  146|   }
#  147|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def945]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cursor.<U88e8>.block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
#  143|   exec_node_get_prev(struct exec_node *n)
#  144|   {
#  145|->    return n->prev;
#  146|   }
#  147|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def946]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
#  143|   exec_node_get_prev(struct exec_node *n)
#  144|   {
#  145|->    return n->prev;
#  146|   }
#  147|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def947]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:151:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h: scope_hint: In function ‘exec_list_pop_head’
#  149|   exec_node_remove(struct exec_node *n)
#  150|   {
#  151|->    n->next->prev = n->prev;
#  152|      n->prev->next = n->next;
#  153|      n->next = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def948]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘iris_create_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:64: warning[-Wanalyzer-malloc-leak]: leak of ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/util/blend.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
#  740|   #define foreach_list_typed(__type, __node, __field, __list)                     \
#  741|      for (__type * __node =                                                       \
#  742|->          exec_node_data_forward(__type, (__list)->head_sentinel.next, __field); \
#  743|      (__node) != NULL;                                                            \
#  744|      (__node) = exec_node_data_forward(__type, (__node)->__field.next, __field))

Error: COMPILER_WARNING (CWE-252): [#def949]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:4407: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_error’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:196:9: warning[-Wunused-result]: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’
#  196 |         vasprintf(&state->errors[state->num_errors++], fmt, ap);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  194|   	va_list ap;
#  195|   	va_start(ap, fmt);
#  196|-> 	vasprintf(&state->errors[state->num_errors++], fmt, ap);
#  197|   	va_end(ap);
#  198|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def950]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/isa/ir3-isa.c:14258: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:541:33: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘field_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/isa/ir3-isa.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/freedreno/isa/ir3-isa.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:971:55: note: in expansion of macro ‘BITSET_WORDS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:306:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:309:17: note: in expansion of macro ‘BITSET_NOT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:311:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:52:43: note: in definition of macro ‘BITSET_EQUAL’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:333:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h: scope_hint: In function ‘display_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  539|   	struct decode_state *state = scope->state;
#  540|   	struct isa_print_state *print = &state->print;
#  541|-> 	size_t field_name_len = strlen(field_name);
#  542|   	int num_align = 0;
#  543|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def951]
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:4407: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:841:33: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘field_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:306:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:309:17: note: in expansion of macro ‘BITSET_NOT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:311:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:333:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  839|   {
#  840|   	const struct isa_bitset *bitset = scope->bitset;
#  841|-> 	size_t field_name_len = strlen(field_name);
#  842|   
#  843|   	/* alignment handling */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def952]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘isa_disasm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:979:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*<unknown>.print.out’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec_decode_impl.c:971:55: note: in expansion of macro ‘BITSET_WORDS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/isaspec/isaspec.h:30: included_from: Included from here.
/usr/include/stdio.h:184:12: note: argument 1 of ‘fclose’ must be non-null
#  977|   		state->options = &default_options;   /* skip hooks for prepass */
#  978|   		disasm(state, bin, sz);
#  979|-> 		fclose(state->print.out);
#  980|   		if (options) {
#  981|   			state->options = options;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def953]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_src_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2968:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_src_type’
# 2966|         nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]);
# 2967|         if (src == 1)
# 2968|->          return nir_get_nir_type_for_glsl_type(deref->type);
# 2969|         break;
# 2970|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def954]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_dest_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:3007:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_dest_type’
# 3005|      case nir_intrinsic_load_deref: {
# 3006|         nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]);
# 3007|->       return nir_get_nir_type_for_glsl_type(deref->type);
# 3008|      }
# 3009|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def955]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1175:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_ubo_vec4.c: scope_hint: In function ‘nir_vector_extract’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_ubo_vec4.c:64: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_extract’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_extract’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_ubo_vec4.c: scope_hint: In function ‘nir_vector_extract’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_ubo_vec4.c: scope_hint: In function ‘nir_vector_extract’
# 1173|   nir_src_is_const(nir_src src)
# 1174|   {
# 1175|->    return src.ssa->parent_instr->type == nir_instr_type_load_const;
# 1176|   }
# 1177|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def956]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1762:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_instr_set.c: scope_hint: In function ‘nir_intrinsic_can_reorder’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_intrinsic_can_reorder’
# 1760|      assert(!(modes & ~nir_var_all));
# 1761|      assert(deref->modes != 0);
# 1762|->    return deref->modes & modes;
# 1763|   }
# 1764|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def957]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1762:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
# 1760|      assert(!(modes & ~nir_var_all));
# 1761|      assert(deref->modes != 0);
# 1762|->    return deref->modes & modes;
# 1763|   }
# 1764|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def958]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1778:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:38:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
# 1776|      assert(!(modes & ~nir_var_all));
# 1777|      assert(deref->modes != 0);
# 1778|->    return !(deref->modes & ~modes);
# 1779|   }
# 1780|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def959]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1778:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:506:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
# 1776|      assert(!(modes & ~nir_var_all));
# 1777|      assert(deref->modes != 0);
# 1778|->    return !(deref->modes & ~modes);
# 1779|   }
# 1780|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def960]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1804:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_link_opt_varyings’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3101:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1379:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3101:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1379:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_link_opt_varyings’
# 1802|      }
# 1803|   
# 1804|->    return deref->modes == mode;
# 1805|   }
# 1806|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def961]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1804:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_constant_folding.c: scope_hint: In function ‘const_value_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_constant_folding.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘const_value_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_constant_folding.c: scope_hint: In function ‘const_value_for_deref’
# 1802|      }
# 1803|   
# 1804|->    return deref->modes == mode;
# 1805|   }
# 1806|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def962]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1853:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘operand’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
# 1851|   nir_deref_instr_parent(const nir_deref_instr *instr)
# 1852|   {
# 1853|->    if (instr->deref_type == nir_deref_type_var)
# 1854|         return NULL;
# 1855|      else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def963]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1853:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src_head’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘clone_deref_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘clone_deref_array’
# 1851|   nir_deref_instr_parent(const nir_deref_instr *instr)
# 1852|   {
# 1853|->    if (instr->deref_type == nir_deref_type_var)
# 1854|         return NULL;
# 1855|      else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def964]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_deref_instr_get_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1862:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_deref_instr_get_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_deref_instr_get_variable’
# 1860|   nir_deref_instr_get_variable(const nir_deref_instr *instr)
# 1861|   {
# 1862|->    while (instr->deref_type != nir_deref_type_var) {
# 1863|         if (instr->deref_type == nir_deref_type_cast)
# 1864|            return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def965]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2821:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘indirect’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:297:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:735:26: note: in expansion of macro ‘PROCESS4’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:737:26: note: in expansion of macro ‘PROCESS4’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
# 2819|   nir_scalar_is_const(nir_scalar s)
# 2820|   {
# 2821|->    return s.def->parent_instr->type == nir_instr_type_load_const;
# 2822|   }
# 2823|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def966]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builtin_builder.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4418:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4417:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4417:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_math.h:48: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builtin_builder.h:27: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 4416|   {
# 4417|      nir_foreach_function(func, shader) {
# 4418|->       if (func->name && strcmp(func->name, name) == 0)
# 4419|            return func;
# 4420|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def967]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow_private.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_before_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4683:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:913:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:913:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c: scope_hint: In function ‘nir_before_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:943:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:943:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c: scope_hint: In function ‘nir_before_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:943:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:943:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:664:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:664:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:664:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c: scope_hint: In function ‘nir_before_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:664:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c:664:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6998: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.c: scope_hint: In function ‘nir_before_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_before_cf_node’
# 4681|   nir_before_cf_node(nir_cf_node *node)
# 4682|   {
# 4683|->    if (node->type == nir_cf_node_block)
# 4684|         return nir_before_block(nir_cf_node_as_block(node));
# 4685|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def968]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_functions.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4692:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_functions.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_functions.c: scope_hint: In function ‘nir_after_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_functions.c:99:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_functions.c: scope_hint: In function ‘nir_after_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_after_cf_node’
# 4690|   nir_after_cf_node(nir_cf_node *node)
# 4691|   {
# 4692|->    if (node->type == nir_cf_node_block)
# 4693|         return nir_after_block(nir_cf_node_as_block(node));
# 4694|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def969]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘nir_tgsi_scan_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4995:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘nir_tgsi_scan_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
# 4993|   
# 4994|   #define nir_foreach_block(block, impl)                           \
# 4995|->    for (nir_block *block = nir_start_block(impl); block != NULL; \
# 4996|           block = nir_block_cf_tree_next(block))
# 4997|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def970]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6726:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:843:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:843:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
# 6724|   {
# 6725|      return (var->data.mode == nir_var_mem_ubo &&
# 6726|->            var->interface_type != NULL);
# 6727|   }
# 6728|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def971]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.c: scope_hint: In function ‘nir_builder_alu_instr_finish_and_insert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.c:90:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.c: scope_hint: In function ‘nir_builder_alu_instr_finish_and_insert’
#   88|      if (bit_size == 0) {
#   89|         for (unsigned i = 0; i < op_info->num_inputs; i++) {
#   90|->          unsigned src_bit_size = instr->src[i].src.ssa->bit_size;
#   91|            if (nir_alu_type_get_type_size(op_info->input_types[i]) == 0) {
#   92|               if (bit_size)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def972]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_builder_create’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:61:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#   59|      b.exact = false;
#   60|      b.impl = impl;
#   61|->    b.shader = impl->function->shader;
#   62|      return b;
#   63|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def973]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_subgroups.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:271:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value’
#  269|         return NULL;
#  270|   
#  271|->    memcpy(load_const->value, value, sizeof(nir_const_value) * num_components);
#  272|   
#  273|      nir_builder_instr_insert(build, &load_const->instr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def974]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_mov_alu’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:603:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_instruction.h:60:35: note: in definition of macro ‘GET_SWZ’
#  601|   nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components)
#  602|   {
#  603|->    if (src.src.ssa->num_components == num_components) {
#  604|         bool any_swizzles = false;
#  605|         for (unsigned i = 0; i < num_components; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def975]
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_nir_lower_txf_ms.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:642:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_nir_lower_txf_ms.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_nir_lower_txf_ms.c: scope_hint: In function ‘nir_swizzle’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
#  640|      }
#  641|   
#  642|->    if (num_components == src->num_components && is_identity_swizzle)
#  643|         return src;
#  644|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def976]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:759:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_select_from_array_helper’
#  757|   {
#  758|      if (start == end - 1) {
#  759|->       return arr[start];
#  760|      } else {
#  761|         unsigned mid = start + (end - start) / 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def977]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:801:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vec’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:38:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
#  799|      assert(c < vec->num_components);
#  800|   
#  801|->    nir_op vec_op = nir_op_vec(vec->num_components);
#  802|      nir_alu_instr *vec_instr = nir_alu_instr_create(b->shader, vec_op);
#  803|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def978]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iadd_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:865:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_iadd_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iadd_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_iadd_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c:248:10: note: in expansion of macro ‘nir_store_shared’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_variable_initializers.c:248:10: note: in expansion of macro ‘nir_store_shared’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
#  863|   {
#  864|      assert(x->bit_size <= 64);
#  865|->    y &= BITFIELD64_MASK(x->bit_size);
#  866|   
#  867|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def979]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_isub_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:907:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
#  905|   nir_isub_imm(nir_builder *build, uint64_t y, nir_def *x)
#  906|   {
#  907|->    return nir_isub(build, nir_imm_intN_t(build, y, x->bit_size), x);
#  908|   }
#  909|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def980]
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_math.h:48: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_idiv_const.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:938:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_idiv_const.c: scope_hint: In function ‘_nir_mul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
#  936|   {
#  937|      assert(x->bit_size <= 64);
#  938|->    y &= BITFIELD64_MASK(x->bit_size);
#  939|   
#  940|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def981]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fsub_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:976:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:347:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘nir_fsub_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fsub_imm’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘nir_fsub_imm’
#  974|   nir_fsub_imm(nir_builder *build, double x, nir_def *y)
#  975|   {
#  976|->    return nir_fsub(build, nir_imm_floatN_t(build, x, y->bit_size), y);
#  977|   }
#  978|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def982]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:982:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
#  980|   nir_fmul_imm(nir_builder *build, nir_def *x, double y)
#  981|   {
#  982|->    return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size));
#  983|   }
#  984|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1001:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
#  999|   {
# 1000|      assert(x->bit_size <= 64);
# 1001|->    y &= BITFIELD64_MASK(x->bit_size);
# 1002|   
# 1003|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def984]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1023:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
# 1021|   {
# 1022|      assert(x->bit_size <= 64);
# 1023|->    y &= BITFIELD64_MASK(x->bit_size);
# 1024|   
# 1025|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def985]
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_reg.h:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_udiv_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1074:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_udiv_imm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:409:6: note: in definition of macro ‘BITFIELD64_MASK’
# 1072|   {
# 1073|      assert(x->bit_size <= 64);
# 1074|->    y &= BITFIELD64_MASK(x->bit_size);
# 1075|   
# 1076|      if (y == 1) {

Error: GCC_ANALYZER_WARNING (CWE-126): [#def986]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1307:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1320:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1348:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1307:29: note: read of 8 bytes from after the end of ‘src’
# 1305|            assert(src_idx < (int)num_srcs);
# 1306|            src_start_bit = src_end_bit;
# 1307|->          src_end_bit += srcs[src_idx]->bit_size *
# 1308|                           srcs[src_idx]->num_components;
# 1309|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def987]
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1307:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_gpu_info.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
# 1305|            assert(src_idx < (int)num_srcs);
# 1306|            src_start_bit = src_end_bit;
# 1307|->          src_end_bit += srcs[src_idx]->bit_size *
# 1308|                           srcs[src_idx]->num_components;
# 1309|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def988]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1313:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1320:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1348:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1313:41: note: read of 8 bytes from after the end of ‘src’
# 1311|         assert(bit + common_bit_size <= src_end_bit);
# 1312|         const unsigned rel_bit = bit - src_start_bit;
# 1313|->       const unsigned src_bit_size = srcs[src_idx]->bit_size;
# 1314|   
# 1315|         nir_def *comp = nir_channel(b, srcs[src_idx],

Error: GCC_ANALYZER_WARNING (CWE-127): [#def989]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1313:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1313:41: note: valid subscripts for ‘input_args’ are ‘[0]’ to ‘[1]’
# 1311|         assert(bit + common_bit_size <= src_end_bit);
# 1312|         const unsigned rel_bit = bit - src_start_bit;
# 1313|->       const unsigned src_bit_size = srcs[src_idx]->bit_size;
# 1314|   
# 1315|         nir_def *comp = nir_channel(b, srcs[src_idx],

Error: GCC_ANALYZER_WARNING (CWE-126): [#def990]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1317:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1320:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:1348:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1317:15: note: read of 8 bytes from after the end of ‘src’
# 1315|         nir_def *comp = nir_channel(b, srcs[src_idx],
# 1316|                                     rel_bit / src_bit_size);
# 1317|->       if (srcs[src_idx]->bit_size > common_bit_size) {
# 1318|            nir_def *unpacked = nir_unpack_bits(b, comp, common_bit_size);
# 1319|            comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) / common_bit_size);

Error: GCC_ANALYZER_WARNING (CWE-127): [#def991]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1317:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1317:15: note: valid subscripts for ‘input_args’ are ‘[0]’ to ‘[1]’
# 1315|         nir_def *comp = nir_channel(b, srcs[src_idx],
# 1316|                                     rel_bit / src_bit_size);
# 1317|->       if (srcs[src_idx]->bit_size > common_bit_size) {
# 1318|            nir_def *unpacked = nir_unpack_bits(b, comp, common_bit_size);
# 1319|            comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) / common_bit_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def992]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1355:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atifs_to_nir.c: scope_hint: In function ‘compile_setupinst’
# 1353|   {
# 1354|      assert(src->num_components >= num_components);
# 1355|->    if (src->num_components == num_components)
# 1356|         return src;
# 1357|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def993]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1393:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘lower_1d’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1790:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘lower_1d’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_1d’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘lower_1d’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
# 1391|   {
# 1392|      assert(src->num_components <= num_components);
# 1393|->    if (src->num_components == num_components)
# 1394|         return src;
# 1395|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def994]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1450:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
# 1448|   
# 1449|      deref->modes = (nir_variable_mode)var->data.mode;
# 1450|->    deref->type = var->type;
# 1451|      deref->var = var;
# 1452|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def995]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_struct’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1553:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘nir_build_deref_struct’
# 1551|         nir_deref_instr_create(build->shader, nir_deref_type_struct);
# 1552|   
# 1553|->    deref->modes = parent->modes;
# 1554|      deref->type = glsl_get_struct_field(parent->type, index);
# 1555|      deref->parent = nir_src_for_ssa(&parent->def);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def996]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1696:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13944:46: note: in definition of macro ‘nir_build_load_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c:96:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c:96:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c:96:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_single_sampled.c: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13944:46: note: in definition of macro ‘nir_build_load_deref’
# 1694|   {
# 1695|      return nir_build_load_deref(build, glsl_get_vector_elements(deref->type),
# 1696|->                                glsl_get_bit_size(deref->type), &deref->def,
# 1697|                                  access);
# 1698|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def997]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1712:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
# 1710|                               enum gl_access_qualifier access)
# 1711|   {
# 1712|->    writemask &= (1u << value->num_components) - 1u;
# 1713|      nir_build_store_deref(build, &deref->def, value, writemask, access);
# 1714|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def998]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:1870:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:493: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:197:7: note: in expansion of macro ‘nir_global_atomic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:197:7: note: in expansion of macro ‘nir_global_atomic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘nir_store_global’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:197:7: note: in expansion of macro ‘nir_global_atomic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:197:7: note: in expansion of macro ‘nir_global_atomic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘nir_store_global’
# 1868|      nir_intrinsic_instr *store =
# 1869|         nir_intrinsic_instr_create(build->shader, nir_intrinsic_store_global);
# 1870|->    store->num_components = value->num_components;
# 1871|      store->src[0] = nir_src_for_ssa(value);
# 1872|      store->src[1] = nir_src_for_ssa(addr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def999]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1282:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1475:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2806:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2806:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
# 1280|          * opt_deref_cast() above.
# 1281|          */
# 1282|->       if (parent->deref_type == nir_deref_type_cast &&
# 1283|             parent->cast.align_mul == 0 &&
# 1284|             nir_deref_cast_is_trivial(parent))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1000]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1290:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1475:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
# 1288|      }
# 1289|   
# 1290|->    if (parent->deref_type != nir_deref_type_array &&
# 1291|          parent->deref_type != nir_deref_type_ptr_as_array)
# 1292|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1001]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1310:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cast’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1557:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1475:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c:1476:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
# 1308|                           bool is_write)
# 1309|   {
# 1310|->    if (cast->deref_type != nir_deref_type_cast)
# 1311|         return false;
# 1312|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1002]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c: scope_hint: In function ‘visit_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:293:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:293:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  291|         break;
#  292|      case nir_intrinsic_load_input:
#  293|->       is_divergent = instr->src[0].ssa->divergent;
#  294|   
#  295|         if (stage == MESA_SHADER_FRAGMENT) {

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1003]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:308:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:308:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  306|         break;
#  307|      case nir_intrinsic_load_per_vertex_input:
#  308|->       is_divergent = instr->src[0].ssa->divergent ||
#  309|                        instr->src[1].ssa->divergent;
#  310|         if (stage == MESA_SHADER_TESS_CTRL)

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1004]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:309:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:309:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  307|      case nir_intrinsic_load_per_vertex_input:
#  308|         is_divergent = instr->src[0].ssa->divergent ||
#  309|->                      instr->src[1].ssa->divergent;
#  310|         if (stage == MESA_SHADER_TESS_CTRL)
#  311|            is_divergent |= !(options & nir_divergence_single_patch_per_tcs_subgroup);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1005]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:318:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:318:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  316|         break;
#  317|      case nir_intrinsic_load_input_vertex:
#  318|->       is_divergent = instr->src[1].ssa->divergent;
#  319|         assert(stage == MESA_SHADER_FRAGMENT);
#  320|         is_divergent |= !(options & nir_divergence_single_prim_per_subgroup);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1006]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:323:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:323:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  321|         break;
#  322|      case nir_intrinsic_load_output:
#  323|->       is_divergent = instr->src[0].ssa->divergent;
#  324|         switch (stage) {
#  325|         case MESA_SHADER_TESS_CTRL:

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1007]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:344:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:344:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  342|         /* TCS and NV_mesh_shader only (EXT_mesh_shader does not allow loading outputs). */
#  343|         assert(stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_MESH);
#  344|->       is_divergent = instr->src[0].ssa->divergent ||
#  345|                        instr->src[1].ssa->divergent ||
#  346|                        (stage == MESA_SHADER_TESS_CTRL &&

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1008]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:345:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:345:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  343|         assert(stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_MESH);
#  344|         is_divergent = instr->src[0].ssa->divergent ||
#  345|->                      instr->src[1].ssa->divergent ||
#  346|                        (stage == MESA_SHADER_TESS_CTRL &&
#  347|                         !(options & nir_divergence_single_patch_per_tcs_subgroup));

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1009]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:352:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:352:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  350|         /* NV_mesh_shader only (EXT_mesh_shader does not allow loading outputs). */
#  351|         assert(stage == MESA_SHADER_MESH);
#  352|->       is_divergent = instr->src[0].ssa->divergent ||
#  353|                        instr->src[1].ssa->divergent;
#  354|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1010]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:353:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:353:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  351|         assert(stage == MESA_SHADER_MESH);
#  352|         is_divergent = instr->src[0].ssa->divergent ||
#  353|->                      instr->src[1].ssa->divergent;
#  354|         break;
#  355|      case nir_intrinsic_load_layer_id:

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1011]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:371:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:371:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  369|      case nir_intrinsic_load_fs_input_interp_deltas:
#  370|         assert(stage == MESA_SHADER_FRAGMENT);
#  371|->       is_divergent = instr->src[0].ssa->divergent;
#  372|         is_divergent |= !(options & nir_divergence_single_prim_per_subgroup);
#  373|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1012]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:431:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:431:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  429|      case nir_intrinsic_inclusive_scan_clusters_ir3: {
#  430|         nir_op op = nir_intrinsic_reduction_op(instr);
#  431|->       is_divergent = instr->src[0].ssa->divergent || state->vertex_divergence;
#  432|         if (op != nir_op_umin && op != nir_op_imin && op != nir_op_fmin &&
#  433|             op != nir_op_umax && op != nir_op_imax && op != nir_op_fmax &&

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1013]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:450:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:450:36: note: read of 8 bytes from after the end of ‘fake_instr’
#  448|      case nir_intrinsic_ldc_nv:
#  449|      case nir_intrinsic_ldcx_nv:
#  450|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  451|                        instr->src[1].ssa->divergent;
#  452|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1014]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:451:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:451:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  449|      case nir_intrinsic_ldcx_nv:
#  450|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  451|->                      instr->src[1].ssa->divergent;
#  452|         break;
#  453|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1015]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:456:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:456:36: note: read of 8 bytes from after the end of ‘fake_instr’
#  454|      case nir_intrinsic_load_ssbo:
#  455|      case nir_intrinsic_load_ssbo_ir3:
#  456|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  457|                        instr->src[1].ssa->divergent ||
#  458|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1016]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:457:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:457:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  455|      case nir_intrinsic_load_ssbo_ir3:
#  456|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  457|->                      instr->src[1].ssa->divergent ||
#  458|                        load_may_tear(state->shader, instr);
#  459|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1017]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:463:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:463:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  461|      case nir_intrinsic_load_shared:
#  462|      case nir_intrinsic_load_shared_ir3:
#  463|->       is_divergent = instr->src[0].ssa->divergent ||
#  464|            (state->shader->options->divergence_analysis_options &
#  465|             nir_divergence_uniform_load_tears);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1018]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:479:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:479:27: note: read of 8 bytes from after the end of ‘fake_instr’
#  477|         unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs;
#  478|         for (unsigned i = 0; i < num_srcs; i++) {
#  479|->          if (instr->src[i].ssa->divergent) {
#  480|               is_divergent = true;
#  481|               break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1019]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:489:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:489:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  487|      case nir_intrinsic_get_ssbo_size:
#  488|      case nir_intrinsic_deref_buffer_array_length:
#  489|->       is_divergent = instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM);
#  490|         break;
#  491|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1020]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:498:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:498:36: note: read of 8 bytes from after the end of ‘fake_instr’
#  496|      case nir_intrinsic_image_deref_fragment_mask_load_amd:
#  497|      case nir_intrinsic_bindless_image_fragment_mask_load_amd:
#  498|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  499|                        instr->src[1].ssa->divergent ||
#  500|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1021]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:499:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:499:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  497|      case nir_intrinsic_bindless_image_fragment_mask_load_amd:
#  498|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  499|->                      instr->src[1].ssa->divergent ||
#  500|                        load_may_tear(state->shader, instr);
#  501|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1022]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:506:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:506:36: note: read of 8 bytes from after the end of ‘fake_instr’
#  504|      case nir_intrinsic_image_deref_texel_address:
#  505|      case nir_intrinsic_bindless_image_texel_address:
#  506|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  507|                        instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  508|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1023]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:507:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:507:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  505|      case nir_intrinsic_bindless_image_texel_address:
#  506|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  507|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  508|         break;
#  509|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1024]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:507:67: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:507:67: note: read of 8 bytes from after the end of ‘fake_instr’
#  505|      case nir_intrinsic_bindless_image_texel_address:
#  506|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  507|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  508|         break;
#  509|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1025]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:516:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:516:36: note: read of 8 bytes from after the end of ‘fake_instr’
#  514|      case nir_intrinsic_image_deref_sparse_load:
#  515|      case nir_intrinsic_bindless_image_sparse_load:
#  516|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  517|                        instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  518|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1026]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  515|      case nir_intrinsic_bindless_image_sparse_load:
#  516|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  517|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  518|                        load_may_tear(state->shader, instr);
#  519|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1027]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:67: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:67: note: read of 8 bytes from after the end of ‘fake_instr’
#  515|      case nir_intrinsic_bindless_image_sparse_load:
#  516|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  517|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  518|                        load_may_tear(state->shader, instr);
#  519|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1028]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:99: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:517:99: note: read of 8 bytes from after the end of ‘fake_instr’
#  515|      case nir_intrinsic_bindless_image_sparse_load:
#  516|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  517|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  518|                        load_may_tear(state->shader, instr);
#  519|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1029]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:522:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:522:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  520|   
#  521|      case nir_intrinsic_optimization_barrier_vgpr_amd:
#  522|->       is_divergent = instr->src[0].ssa->divergent;
#  523|         break;
#  524|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1030]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:589:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:589:27: note: read of 8 bytes from after the end of ‘fake_instr’
#  587|         unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs;
#  588|         for (unsigned i = 0; i < num_srcs; i++) {
#  589|->          if (instr->src[i].ssa->divergent) {
#  590|               is_divergent = true;
#  591|               break;
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:589:27: note: trimmed 1 message(s) with length over 512

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1031]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:598:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:598:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  596|   
#  597|      case nir_intrinsic_shuffle:
#  598|->       is_divergent = instr->src[0].ssa->divergent &&
#  599|                        instr->src[1].ssa->divergent;
#  600|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1032]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:599:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_divergence_analysis.c:599:35: note: read of 8 bytes from after the end of ‘fake_instr’
#  597|      case nir_intrinsic_shuffle:
#  598|         is_divergent = instr->src[0].ssa->divergent &&
#  599|->                      instr->src[1].ssa->divergent;
#  600|         break;
#  601|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1033]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:994:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘in_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘does_varying_match’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1094:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
#  992|      return in_var->data.location == out_var->data.location &&
#  993|             in_var->data.location_frac == out_var->data.location_frac &&
#  994|->           in_var->type == out_var->type;
#  995|   }
#  996|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1034]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:994:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘does_varying_match’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1094:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1095:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
#  992|      return in_var->data.location == out_var->data.location &&
#  993|             in_var->data.location_frac == out_var->data.location_frac &&
#  994|->           in_var->type == out_var->type;
#  995|   }
#  996|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1035]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘can_replace_varying’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1014:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3101:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1379:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3101:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1379:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘can_replace_varying’
# 1012|       * TODO: add support for these types.
# 1013|       */
# 1014|->    if (glsl_type_is_array(out_var->type) ||
# 1015|          glsl_type_is_dual_slot(out_var->type) ||
# 1016|          glsl_type_is_matrix(out_var->type) ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1036]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1175:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1172:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1172:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
# 1173|         if ((spirv && uniform->data.mode & nir_var_mem_ubo &&
# 1174|              v->data.binding == uniform->data.binding) ||
# 1175|->           (!spirv && !strcmp(uniform->name, v->name))) {
# 1176|            new_var = v;
# 1177|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1037]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c:1194:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_deref_instr’
# 1192|                         nir_deref_instr *deref)
# 1193|   {
# 1194|->    if (deref->deref_type == nir_deref_type_var)
# 1195|         return nir_build_deref_var(b, var);
# 1196|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1038]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:67:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:159:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:38:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c:39:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
#   65|   
#   66|            nir_deref_instr *vec_deref = nir_deref_instr_parent(deref);
#   67|->          if (!glsl_type_is_vector(vec_deref->type))
#   68|               continue;
#   69|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1039]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_bitmap.c: scope_hint: In function ‘lower_bitmap_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_bitmap.c:107:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_bitmap.c: scope_hint: In function ‘lower_bitmap_impl’
#  105|      nir_builder b = nir_builder_at(nir_before_impl(impl));
#  106|   
#  107|->    lower_bitmap(impl->function->shader, &b, options);
#  108|   
#  109|      nir_metadata_preserve(impl, nir_metadata_control_flow);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1040]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘var_is_inline_sampler.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_cl_images.c:12:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
#   10|         return false;
#   11|   
#   12|->    return glsl_type_is_sampler(var->type) &&
#   13|             var->data.sampler.is_inline_sampler;
#   14|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1041]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c:110:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
#  108|         /* storing using a variable index */
#  109|         nir_def *index = deref->arr.index.ssa;
#  110|->       unsigned length = glsl_get_length(nir_deref_instr_parent(deref)->type);
#  111|   
#  112|         recursive_if_chain(b, deref, instr->src[1].ssa, clip_plane_enable, index, 0, length);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1042]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_double_ops.c: scope_hint: In function ‘lower_doubles_instr_to_soft’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_double_ops.c:723:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘func’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_double_ops.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4417:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4417:4: note: in expansion of macro ‘nir_foreach_function’
#  721|      }
#  722|   
#  723|->    nir_inline_function_impl(b, func->impl, params, NULL);
#  724|   
#  725|      return nir_load_deref(b, ret_deref);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1043]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_fragcolor.c: scope_hint: In function ‘lower_fragcolor_intrin.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_fragcolor.c:65:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_fragcolor_intrin.part.0’
#   63|   
#   64|      nir_def *frag_color = instr->src[1].ssa;
#   65|->    ralloc_free(out->name);
#   66|   
#   67|      const char *name = out->data.index == 0 ? "gl_FragData[0]" : "gl_SecondaryFragDataEXT[0]";

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1044]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘organize_levels’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:704:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
#  702|                                            entry->hash, entry->key)) {
#  703|               _mesa_set_remove(skip_targets, entry);
#  704|->             prev_level->skip_end = 1;
#  705|            }
#  706|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1045]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:736:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
#  734|               _mesa_set_add_pre_hashed(skip_targets, entry->hash, entry->key);
#  735|               if (is_in_skip)
#  736|->                prev_level->skip_end = 1;
#  737|               curr_level->skip_start = 1;
#  738|            }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1046]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:755:65: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:755:7: note: in expansion of macro ‘list_last_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:755:65: note: write of 1 bit to beyond the end of ‘outside_levels’
#  753|   
#  754|      if (skip_targets->entries)
#  755|->       list_last_entry(levels, struct strct_lvl, link)->skip_end = 1;
#  756|   
#  757|      /* Iterate throught all levels reverse and create all the paths and forks */

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1047]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:762:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:760:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:762:23: note: write of 16 bytes to beyond the end of ‘outside_levels’
#  760|      list_for_each_entry_rev(struct strct_lvl, level, levels, link) {
#  761|         bool need_var = !(is_domminated && level->link.prev == levels);
#  762|->       level->out_path = routing->regular;
#  763|         if (level->skip_end) {
#  764|            path_after_skip = routing->regular;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1048]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:763:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:760:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:763:16: note: read of 1 bit from after the end of ‘outside_levels’
#  761|         bool need_var = !(is_domminated && level->link.prev == levels);
#  762|         level->out_path = routing->regular;
#  763|->       if (level->skip_end) {
#  764|            path_after_skip = routing->regular;
#  765|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1049]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:766:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:760:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:766:41: note: read of 8 bytes from after the end of ‘outside_levels’
#  764|            path_after_skip = routing->regular;
#  765|         }
#  766|->       routing->regular.reachable = level->blocks;
#  767|         routing->regular.fork = select_fork(routing->regular.reachable, impl,
#  768|                                             need_var, mem_ctx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1050]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:846:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_goto_ifs.c:948:29: note: in expansion of macro ‘rzalloc’
#  844|   {
#  845|      struct set *remaining = _mesa_pointer_set_create(mem_ctx);
#  846|->    for (int i = 0; i < block->num_dom_children; i++) {
#  847|         if (!_mesa_set_search(routing->brk.reachable, block->dom_children[i]))
#  848|            _mesa_set_add(remaining, block->dom_children[i]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1051]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_gs_intrinsics.c: scope_hint: In function ‘nir_lower_gs_intrinsics’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_gs_intrinsics.c:480:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  478|      assert(impl);
#  479|   
#  480|->    if (!a_block_needs_set_vertex_and_primitive_count(impl->end_block, per_stream))
#  481|         return false;
#  482|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1052]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:107:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:199:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
#  105|                      orig_instr->def.bit_size);
#  106|         nir_builder_instr_insert(b, &load->instr);
#  107|->       *dest = &load->def;
#  108|      } else {
#  109|         assert(orig_instr->intrinsic == nir_intrinsic_store_deref);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1053]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:145:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:199:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
#  143|            if (base->deref_type == nir_deref_type_array &&
#  144|                !nir_src_is_const(base->arr.index)) {
#  145|->             indirect_array_len *= glsl_get_length(parent->type);
#  146|               has_indirect = true;
#  147|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1054]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c:91:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
#   89|      assert(glsl_type_is_image(deref->type));
#   90|   
#   91|->    enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type);
#   92|      if (image_dim != GLSL_SAMPLER_DIM_SUBPASS &&
#   93|          image_dim != GLSL_SAMPLER_DIM_SUBPASS_MS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1055]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_texop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c:162:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘try_lower_input_texop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_texop’
#  160|      nir_deref_instr *deref = nir_src_as_deref(tex->src[0].src);
#  161|   
#  162|->    if (glsl_get_sampler_dim(deref->type) != GLSL_SAMPLER_DIM_SUBPASS_MS)
#  163|         return false;
#  164|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1056]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_is_arrayed_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:148:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:3266:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:799:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_is_arrayed_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_is_arrayed_io’
#  146|   nir_is_arrayed_io(const nir_variable *var, gl_shader_stage stage)
#  147|   {
#  148|->    if (var->data.patch || !glsl_type_is_array(var->type))
#  149|         return false;
#  150|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1057]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:182:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:3266:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:799:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
#  180|             state->options & nir_lower_io_lower_64bit_to_32_new &&
#  181|             var->data.mode == nir_var_shader_in &&
#  182|->           glsl_type_is_dual_slot(glsl_without_array(var->type));
#  183|   }
#  184|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1058]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:474:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:3266:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:826:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:799:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c:664:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘emit_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
#  472|         nir_intrinsic_instr_create(state->builder.shader, op);
#  473|      store->num_components = num_components;
#  474|->    store->name = add_variable_name(state, var->name);
#  475|   
#  476|      store->src[0] = nir_src_for_ssa(data);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1059]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c: scope_hint: In function ‘lower_io_arrays_to_elements’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:308:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:229:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:228:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:228:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:272:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c: scope_hint: In function ‘lower_io_arrays_to_elements’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_arrays_to_elements.c: scope_hint: In function ‘lower_io_arrays_to_elements’
#  306|               nir_variable_mode mode = var->data.mode;
#  307|   
#  308|->             const struct glsl_type *type = var->type;
#  309|               if (nir_is_arrayed_io(var, b.shader->info.stage)) {
#  310|                  assert(glsl_type_is_array(type));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1060]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘nir_lower_io_to_scalar_early_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_to_scalar.c:517:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘nir_lower_io_to_scalar_early_instr’
#  515|   
#  516|      /* TODO: add doubles support */
#  517|->    if (glsl_type_is_64bit(glsl_without_array(var->type)))
#  518|         return false;
#  519|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1061]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:116:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:313:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:297:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:735:26: note: in expansion of macro ‘PROCESS4’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h:737:26: note: in expansion of macro ‘PROCESS4’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
#  114|      for (nir_deref_instr *d = deref; d; d = nir_deref_instr_parent(d)) {
#  115|         if (d->deref_type == nir_deref_type_array)
#  116|->          array_size *= glsl_get_length(nir_deref_instr_parent(d)->type);
#  117|      }
#  118|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1062]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:150:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:100:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
#  148|                */
#  149|               nir_deref_instr *copy_dst =
#  150|->                nir_build_deref_cast(&b, &dst->def, dst->modes,
#  151|                                       glsl_uint8_t_type(), 1);
#  152|               nir_deref_instr *copy_src =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1063]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:153:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:194:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:100:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
#  151|                                       glsl_uint8_t_type(), 1);
#  152|               nir_deref_instr *copy_src =
#  153|->                nir_build_deref_cast(&b, &src->def, src->modes,
#  154|                                       glsl_uint8_t_type(), 1);
#  155|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1064]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:40:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   38|      case nir_intrinsic_image_deref_load:
#   39|      case nir_intrinsic_image_deref_sparse_load:
#   40|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   41|         *reads = true;
#   42|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1065]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:44:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   42|         break;
#   43|      case nir_intrinsic_image_deref_store:
#   44|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   45|         *writes = true;
#   46|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1066]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:49:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   47|      case nir_intrinsic_image_deref_atomic:
#   48|      case nir_intrinsic_image_deref_atomic_swap:
#   49|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   50|         *reads = true;
#   51|         *writes = true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1067]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:82:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   80|         break;
#   81|      case nir_intrinsic_load_deref:
#   82|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   83|         *reads = true;
#   84|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1068]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:86:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   84|         break;
#   85|      case nir_intrinsic_store_deref:
#   86|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   87|         *writes = true;
#   88|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1069]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:91:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
#   89|      case nir_intrinsic_deref_atomic:
#   90|      case nir_intrinsic_deref_atomic_swap:
#   91|->       *modes = nir_src_as_deref(intrin->src[0])->modes;
#   92|         *reads = true;
#   93|         *writes = true;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1070]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:72:46: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:72:46: note: read of 8 bytes from after the end of ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:72:46: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#   70|      nir_component_mask_t channel_mask = ~0;
#   71|      if (options->callback)
#   72|->       channel_mask = options->callback(handle->src, options->callback_data);
#   73|      channel_mask &= nir_component_mask(handle->handle->num_components);
#   74|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1071]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:73:45: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:73:45: note: read of 8 bytes from after the end of ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:73:45: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#   71|      if (options->callback)
#   72|         channel_mask = options->callback(handle->src, options->callback_data);
#   73|->    channel_mask &= nir_component_mask(handle->handle->num_components);
#   74|   
#   75|      nir_def *channels[NIR_MAX_VEC_COMPONENTS];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1072]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:97:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*h.first’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite’
#   95|         /* Replicate the deref. */
#   96|         nir_deref_instr *deref =
#   97|->          nir_build_deref_array(b, h->parent_deref, h->first);
#   98|         *(h->src) = nir_src_for_ssa(&deref->def);
#   99|      } else {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1073]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:100:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*h.first’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite.part.0’
#   98|         *(h->src) = nir_src_for_ssa(&deref->def);
#   99|      } else {
#  100|->       *(h->src) = nir_src_for_ssa(h->first);
#  101|      }
#  102|   }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1074]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:152:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:152:26: note: read of 8 bytes from after the end of ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:152:26: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#  150|      nir_def *all_equal_first = nir_imm_true(b);
#  151|      for (unsigned i = 0; i < num_handles; i++) {
#  152|->       if (i && handles[i].handle == handles[0].handle) {
#  153|            handles[i].first = handles[0].first;
#  154|            continue;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1075]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:153:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:153:27: note: write of 8 bytes to beyond the end of ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_non_uniform_access.c:153:27: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#  151|      for (unsigned i = 0; i < num_handles; i++) {
#  152|         if (i && handles[i].handle == handles[0].handle) {
#  153|->          handles[i].first = handles[0].first;
#  154|            continue;
#  155|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1076]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_passthrough_edgeflags.c: scope_hint: In function ‘lower_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_passthrough_edgeflags.c:30:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#   28|   lower_impl(nir_function_impl *impl)
#   29|   {
#   30|->    nir_shader *shader = impl->function->shader;
#   31|      nir_builder b;
#   32|      nir_variable *in, *out;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1077]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_point_smooth.c: scope_hint: In function ‘lower_point_smooth’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_point_smooth.c:53:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_point_smooth’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_point_smooth’
#   51|         if ((var->data.location != FRAG_RESULT_COLOR &&
#   52|              var->data.location < FRAG_RESULT_DATA0) ||
#   53|->           glsl_get_base_type(var->type) != GLSL_TYPE_FLOAT)
#   54|            return false;
#   55|         out_src_idx = 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1078]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘lower_printf_intrin.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c:62:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘lower_printf_intrin.part.0’
#   60|      /* Align the struct size to 4 */
#   61|      assert(glsl_type_is_struct_or_ifc(args->type));
#   62|->    int args_size = align(glsl_get_cl_size(args->type), 4);
#   63|      assert(fmt_str_id->bit_size == 32);
#   64|      int fmt_str_id_size = 4;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1079]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_readonly_images_to_tex.c: scope_hint: In function ‘replace_image_type_with_texture’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_readonly_images_to_tex.c:45:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘replace_image_type_with_texture’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_readonly_images_to_tex.c: scope_hint: In function ‘replace_image_type_with_texture’
#   43|   replace_image_type_with_texture(nir_deref_instr *deref)
#   44|   {
#   45|->    const struct glsl_type *type = deref->type;
#   46|   
#   47|      /* If we've already chased up the deref chain this far from a different intrinsic, we're done */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1080]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘lower_resume’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1279:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_resume’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘lower_resume’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:814:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:815:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:815:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:815:7: note: in expansion of macro ‘nir_foreach_instr’
# 1277|       * by the spilling pass and which we shouldn't delete.
# 1278|       */
# 1279|->    struct sized_bitset remat = bitset_create(mem_ctx, impl->ssa_alloc);
# 1280|   
# 1281|      /* Create a nop instruction to use as a cursor as we extract and re-insert

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1081]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:442:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘a’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1814:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1790:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c:1519:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘convert_yuv_to_rgb’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_tex.c: scope_hint: In function ‘convert_yuv_to_rgb’
#  440|                  nir_imm_floatN_t(b, offset_vals[0], a->bit_size),
#  441|                  nir_imm_floatN_t(b, offset_vals[1], a->bit_size),
#  442|->                nir_imm_floatN_t(b, offset_vals[2], a->bit_size),
#  443|                  a);
#  444|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1082]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:110:78: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:400:6: note: in definition of macro ‘BITFIELD_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:93:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:400:6: note: in definition of macro ‘BITFIELD_MASK’
#  108|   
#  109|            b.cursor = nir_after_instr(instr);
#  110|->          uint32_t component_mask = BITFIELD_MASK(glsl_get_vector_elements(var->type)) << var->data.location_frac;
#  111|            nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]);
#  112|            nir_def *index = get_io_index(&b, deref);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1083]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:110:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:110:27: note: read of 8 bytes from after the end of ‘state’
#  108|         gl_varying_slot slot;
#  109|   
#  110|->       if (state->colors[i].front->data.location == VARYING_SLOT_COL0)
#  111|            slot = VARYING_SLOT_BFC0;
#  112|         else

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1084]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:115:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_two_sided_color.c:115:29: note: write of 8 bytes to beyond the end of ‘state’
#  113|            slot = VARYING_SLOT_BFC1;
#  114|   
#  115|->       state->colors[i].back = create_input(
#  116|            state->shader, slot,
#  117|            state->colors[i].front->data.interpolation);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1085]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:877:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:506:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
#  146|                        struct lower_variables_state *state)
#  147|   {
#  148|->    if (deref->deref_type == nir_deref_type_var)
#  149|         return get_deref_node_for_var(deref->var, state);
#  150|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1086]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘gather_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:98:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:303:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘gather_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:303:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:304:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:304:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:304:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘gather_intrinsic’
#   96|          * Therefore we have to group buffer samplers together with SSBO's.
#   97|          */
#   98|->       if (glsl_get_sampler_dim(glsl_without_array(var->type)) ==
#   99|             GLSL_SAMPLER_DIM_BUF) {
#  100|            state->buffers_read |= read;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1087]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘process_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:256:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:303:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘process_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:304:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:303:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:303:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:302:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:319:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:319:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:322:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:322:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:322:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:322:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:272:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘process_intrinsic’
#  254|   
#  255|         bool is_buffer =
#  256|->          glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF;
#  257|   
#  258|         return update_access(state, instr, is_buffer, false);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1088]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:226:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
#  224|         if (dst->deref_type != nir_deref_type_array ||
#  225|             !nir_src_is_const(dst->arr.index) ||
#  226|->           !glsl_type_is_vector(nir_deref_instr_parent(dst)->type)) {
#  227|            combine_stores_with_deref(state, dst);
#  228|            return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1089]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:234:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:427:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
#  232|         vec_dst = nir_deref_instr_parent(dst);
#  233|   
#  234|->       if (index >= glsl_get_vector_elements(vec_dst->type)) {
#  235|            /* Storing to an invalid index is a no-op. */
#  236|            nir_instr_remove(&intrin->instr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1090]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:204:79: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
#  202|                  nir_src_as_deref(*nir_get_shader_call_payload_src(intrin));
#  203|   
#  204|->             nir_component_mask_t mask = (1 << glsl_get_vector_elements(payload->type)) - 1;
#  205|   
#  206|               struct hash_entry *ht_entry =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1091]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:239:148: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:1528:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
#  237|               nir_deref_instr *dst = nir_src_as_deref(intrin->src[0]);
#  238|   
#  239|->             uintptr_t mask = intrin->intrinsic == nir_intrinsic_store_deref ? nir_intrinsic_write_mask(intrin) : (1 << glsl_get_vector_elements(dst->type)) - 1;
#  240|   
#  241|               struct hash_entry *ht_entry = _mesa_hash_table_search(written->derefs, dst);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1092]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:211:72: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:253:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:253:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:253:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:235:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_dead_write_vars.c:67:4: note: in expansion of macro ‘util_dynarray_foreach_reverse’
#  209|   
#  210|            clear_unused_for_read(&unused_writes, src);
#  211|->          nir_component_mask_t mask = (1 << glsl_get_vector_elements(dst->type)) - 1;
#  212|            progress |= update_unused_writes(&unused_writes, intrin, dst, mask);
#  213|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1093]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘node_for_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:118:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘node_for_deref’
#  116|   
#  117|      case nir_deref_type_array_wildcard:
#  118|->       idx = parent->num_children - 1;
#  119|         break;
#  120|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1094]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:126:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘node_for_deref’
#  124|            assert(idx < parent->num_children - 1);
#  125|         } else {
#  126|->          idx = parent->num_children - 1;
#  127|         }
#  128|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1095]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:403:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
#  401|      if (nir_deref_instr_has_indirect(src) ||
#  402|          nir_deref_instr_is_known_out_of_bounds(src) ||
#  403|->        (src->deref_type == nir_deref_type_array &&
#  404|           glsl_type_is_vector(nir_src_as_deref(src->parent)->type)))
#  405|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1096]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:404:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:678:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
#  402|          nir_deref_instr_is_known_out_of_bounds(src) ||
#  403|          (src->deref_type == nir_deref_type_array &&
#  404|->         glsl_type_is_vector(nir_src_as_deref(src->parent)->type)))
#  405|         return;
#  406|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1097]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:47:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
#   45|      assert(header_block->predecessors->entries == 2);
#   46|   
#   47|->    set_foreach(header_block->predecessors, pred_entry) {
#   48|         if (pred_entry->key != prev_block)
#   49|            return (nir_block *)pred_entry->key;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1098]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘opt_split_alu_of_phi’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:384:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1333:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c:1297:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘opt_split_alu_of_phi’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘opt_split_alu_of_phi’
#  382|       * last block in the loop back to the top.
#  383|       */
#  384|->    if (header_block->predecessors->entries != 2)
#  385|         return false;
#  386|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1099]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c: scope_hint: In function ‘should_optimize_loop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:60:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c:87:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_licm.c: scope_hint: In function ‘should_optimize_loop’
#   58|   {
#   59|      /* Ignore loops without back-edge */
#   60|->    if (nir_loop_first_block(loop)->predecessors->entries == 1)
#   61|         return false;
#   62|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1100]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:633:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:1193:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:963:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:673:4: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:674:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:674:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:674:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:674:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c:674:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
#  631|          * access of the array.
#  632|          */
#  633|->       unsigned length = glsl_type_is_vector(parent->type) ? glsl_get_vector_elements(parent->type) : glsl_get_length(parent->type);
#  634|         return length <= trip_count;
#  635|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1101]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:145:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
#  143|      }
#  144|   
#  145|->    if (glsl_type_is_vector_or_scalar(src->type) &&
#  146|          glsl_type_is_vector_or_scalar(dst->type) &&
#  147|          glsl_get_explicit_size(dst->type, false) == size &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1102]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:146:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
#  144|   
#  145|      if (glsl_type_is_vector_or_scalar(src->type) &&
#  146|->        glsl_type_is_vector_or_scalar(dst->type) &&
#  147|          glsl_get_explicit_size(dst->type, false) == size &&
#  148|          glsl_get_explicit_size(src->type, false) == size) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1103]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:160:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:291:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
#  158|   
#  159|      unsigned type_size;
#  160|->    if (dst->type == src->type &&
#  161|          type_is_tightly_packed(dst->type, &type_size) &&
#  162|          type_size == size) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1104]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c: scope_hint: In function ‘nir_opt_move_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:90:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘__prev’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:132:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c: scope_hint: In function ‘nir_opt_move_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:132:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:70:4: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1117:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_move.c:80:7: note: in expansion of macro ‘nir_foreach_use’
#   88|         if (first_user) {
#   89|            /* Check predecessor instructions for the same index to keep the order */
#   90|->          while (nir_instr_prev(first_user)->index == first_user->index)
#   91|               first_user = nir_instr_prev(first_user);
#   92|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1105]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:112:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:528:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
#  110|               nir_deref_instr *const deref = nir_src_as_deref(intrin->src[0]);
#  111|   
#  112|->             switch (deref->modes) {
#  113|               case nir_var_shader_in:
#  114|               case nir_var_uniform:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1106]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_preamble.c: scope_hint: In function ‘nir_opt_preamble’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_preamble.c:757:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_preamble.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  755|   
#  756|      nir_function_impl *impl = nir_shader_get_entrypoint(shader);
#  757|->    ctx.states = calloc(impl->ssa_alloc, sizeof(*ctx.states));
#  758|   
#  759|      /* Step 1: Calculate can_move */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1107]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c: scope_hint: In function ‘nir_opt_ray_query_ranges’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:229:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3420:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:229:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c: scope_hint: In function ‘nir_opt_ray_query_ranges’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:224:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:224:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:224:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3420:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:229:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3420:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_ray_queries.c:229:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
#  227|         ray_query_count++;
#  228|      }
#  229|->    nir_foreach_function_temp_variable(var, func->impl) {
#  230|         if (!var->data.ray_query || glsl_type_is_array(var->type))
#  231|            continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1108]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘get_innermost_loop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:137:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:269:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘get_innermost_loop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:201:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘get_innermost_loop’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘get_innermost_loop’
#  135|         if (node->type == nir_cf_node_loop) {
#  136|            nir_loop *loop = nir_cf_node_as_loop(node);
#  137|->          if (nir_loop_first_block(loop)->predecessors->entries > 1)
#  138|               return loop;
#  139|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1109]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:151:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:269:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:201:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
#  149|      nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&loop->cf_node));
#  150|   
#  151|->    return block->index > before->index && block->index < after->index;
#  152|   }
#  153|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1110]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:151:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:265:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:269:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3105:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:270:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c:201:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3454:14: note: in expansion of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
#  149|      nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&loop->cf_node));
#  150|   
#  151|->    return block->index > before->index && block->index < after->index;
#  152|   }
#  153|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1111]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:206:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:329:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
#  204|            nir_block *first_then = nir_if_first_then_block(nir_cf_node_as_if(cf));
#  205|            nir_block *last_then = nir_if_last_then_block(nir_cf_node_as_if(cf));
#  206|->          bool within_then = instr->instr.block->index >= first_then->index;
#  207|            within_then = within_then && instr->instr.block->index <= last_then->index;
#  208|            if (!within_then)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1112]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:207:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:371:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:329:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c:330:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
#  205|            nir_block *last_then = nir_if_last_then_block(nir_cf_node_as_if(cf));
#  206|            bool within_then = instr->instr.block->index >= first_then->index;
#  207|->          within_then = within_then && instr->instr.block->index <= last_then->index;
#  208|            if (!within_then)
#  209|               continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1113]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1873:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1429:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1429:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1429:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1438:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1438:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1438:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1596:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1596:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1596:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1603:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1603:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1603:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1627:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1634:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1634:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1688:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:1688:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:2117:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:2117:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
# 1871|       * move subroutine uniforms.
# 1872|       */
# 1873|->    if (var->name && strstr(var->name, "__subu_") == var->name)
# 1874|         return false;
# 1875|   

Error: COMPILER_WARNING (CWE-563): [#def1114]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘fs_assign_slots’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_varyings.c:3784:28: warning[-Wunused-but-set-variable]: variable ‘max_slot’ set but not used
# 3784 |    unsigned i, slot_index, max_slot;
#      |                            ^~~~~~~~
# 3782|                   nir_opt_varyings_progress *progress)
# 3783|   {
# 3784|->    unsigned i, slot_index, max_slot;
# 3785|      unsigned num_assigned_slots = 0;
# 3786|   

Error: GCC_ANALYZER_WARNING (CWE-674): [#def1115]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_vectorize_io.c: scope_hint: In function ‘nir_opt_vectorize_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_vectorize_io.c:457:26: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_vectorize_io.c: scope_hint: In function ‘nir_opt_vectorize_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_opt_vectorize_io.c: scope_hint: In function ‘nir_opt_vectorize_io’
#  455|          * separately.
#  456|          */
#  457|->       bool progress_in = nir_opt_vectorize_io(shader, nir_var_shader_in);
#  458|         bool progress_out = nir_opt_vectorize_io(shader, nir_var_shader_out);
#  459|         return progress_in || progress_out;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1116]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_remove_tex_shadow.c: scope_hint: In function ‘remove_tex_shadow.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_remove_tex_shadow.c:85:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_remove_tex_shadow.c: scope_hint: In function ‘remove_tex_shadow.part.0’
#   83|            sampler_deref = nir_instr_as_deref(tex->src[sampler_src_index].src.ssa->parent_instr);
#   84|            sampler = nir_deref_instr_get_variable(sampler_deref);
#   85|->          sampler->type = strip_shadow_with_array(sampler->type);
#   86|            sampler_deref->type = sampler->type;
#   87|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1117]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c: scope_hint: In function ‘nir_schedule_calculate_deps’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:434:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘n’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1273:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c: scope_hint: In function ‘nir_schedule_calculate_deps’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1273:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1137:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1137:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:1139:10: note: in expansion of macro ‘rzalloc’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:493:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c:493:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_schedule.c: scope_hint: In function ‘nir_schedule_calculate_deps’
#  432|   nir_schedule_calculate_deps(nir_deps_state *state, nir_schedule_node *n)
#  433|   {
#  434|->    nir_instr *instr = n->instr;
#  435|   
#  436|      /* For NIR SSA defs, we only need to do a single pass of making the uses

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1118]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c: scope_hint: In function ‘get_var_pair’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:143:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c: scope_hint: In function ‘get_var_pair’
#  141|      if (!entry) {
#  142|         new_var = (variable_pair *)calloc(1, sizeof(variable_pair));
#  143|->       new_var->xy = nir_variable_clone(old_var, b->shader);
#  144|         new_var->zw = nir_variable_clone(old_var, b->shader);
#  145|         new_var->xy->type = glsl_dvec_type(2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1119]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c: scope_hint: In function ‘split_load_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:172:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘split_load_deref’
#  170|      nir_variable *old_var = nir_intrinsic_get_var(intr, 0);
#  171|      unsigned old_components = glsl_get_components(
#  172|->       glsl_without_array_or_matrix(old_var->type));
#  173|   
#  174|      variable_pair *vars = get_var_pair(b, old_var, split_vars);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1120]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:103:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c:163:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘build_member_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
#  101|   build_member_deref(nir_builder *b, nir_deref_instr *deref, nir_variable *member)
#  102|   {
#  103|->    if (deref->deref_type == nir_deref_type_var) {
#  104|         return nir_build_deref_var(b, member);
#  105|      } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1121]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c: scope_hint: In function ‘is_array_deref_of_vec.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:40:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c: scope_hint: In function ‘is_array_deref_of_vec.part.0’
#   38|   
#   39|      nir_deref_instr *parent = nir_deref_instr_parent(deref);
#   40|->    return glsl_type_is_vector_or_scalar(parent->type);
#   41|   }
#   42|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1122]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:40:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘copy_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1697:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1697:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1697:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1257:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1258:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1258:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c:1258:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c: scope_hint: In function ‘is_array_deref_of_vec.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_split_vars.c: scope_hint: In function ‘is_array_deref_of_vec.part.0’
#   38|   
#   39|      nir_deref_instr *parent = nir_deref_instr_parent(deref);
#   40|->    return glsl_type_is_vector_or_scalar(parent->type);
#   41|   }
#   42|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1123]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:99:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘def_is_invariant’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘def_is_invariant’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:323:10: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:323:10: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6998: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘def_is_invariant’
#   97|         nir_cf_node_as_block(nir_cf_node_prev(&loop->cf_node));
#   98|   
#   99|->    return instr->block->index <= block_before_loop->index;
#  100|   }
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1124]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘convert_to_lcssa’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:320:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘convert_to_lcssa’
#  318|             * We don't consider this, but assume all not_invariant.
#  319|             */
#  320|->          if (nir_loop_first_block(loop)->predecessors->entries == 1)
#  321|               goto end;
#  322|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1125]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘unwrap_matrix’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:56:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘unwrap_matrix’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘unwrap_matrix’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘unwrap_matrix’
#   54|   unwrap_matrix(struct vtn_ssa_value *val)
#   55|   {
#   56|->    if (glsl_type_is_matrix(val->type))
#   57|            return val;
#   58|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1126]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:69:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_src0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
#   67|      struct vtn_ssa_value *src0 = wrap_matrix(b, _src0);
#   68|      struct vtn_ssa_value *src1 = wrap_matrix(b, _src1);
#   69|->    struct vtn_ssa_value *src0_transpose = wrap_matrix(b, _src0->transposed);
#   70|      struct vtn_ssa_value *src1_transpose = wrap_matrix(b, _src1->transposed);
#   71|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1127]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:72:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
#   70|      struct vtn_ssa_value *src1_transpose = wrap_matrix(b, _src1->transposed);
#   71|   
#   72|->    unsigned src0_rows = glsl_get_vector_elements(src0->type);
#   73|      unsigned src0_columns = glsl_get_matrix_columns(src0->type);
#   74|      unsigned src1_columns = glsl_get_matrix_columns(src1->type);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1128]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:74:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
#   72|      unsigned src0_rows = glsl_get_vector_elements(src0->type);
#   73|      unsigned src0_columns = glsl_get_matrix_columns(src0->type);
#   74|->    unsigned src1_columns = glsl_get_matrix_columns(src1->type);
#   75|   
#   76|      const struct glsl_type *dest_type;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1129]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c:653:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘vtn_handle_alu’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
#  651|      }
#  652|   
#  653|->    if (glsl_type_is_matrix(vtn_src[0]->type) ||
#  654|          (num_inputs >= 2 && glsl_type_is_matrix(vtn_src[1]->type))) {
#  655|         struct vtn_ssa_value *dest = vtn_handle_matrix_alu(b, opcode, vtn_src[0], vtn_src[1]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1130]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c:208:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
#  206|       */
#  207|      const bool vec_array_deref = deref->deref_type == nir_deref_type_array &&
#  208|->       glsl_type_is_vector(nir_deref_instr_parent(deref)->type);
#  209|   
#  210|      nir_deref_instr *vec_deref = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1131]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c:218:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
#  216|      intrin->src[1] = nir_src_for_ssa(vtn_get_nir_ssa(b, w[6]));
#  217|   
#  218|->    intrin->num_components = glsl_get_vector_elements(deref->type);
#  219|      nir_def_init(&intrin->instr, &intrin->def,
#  220|                   glsl_get_vector_elements(deref->type),

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1132]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c:653:20: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c:608:7: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c:415:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:237:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c:652:10: note: in expansion of macro ‘vtn_foreach_case’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_cfg.c:653:20: note: read of 1 bit from after the end of ‘cases’
#  651|            struct vtn_case *def = NULL;
#  652|            vtn_foreach_case(cse, &cases) {
#  653|->             if (cse->is_default) {
#  654|                  assert(def == NULL);
#  655|                  def = cse;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1133]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:218:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘w_dest’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
#  216|      nir_def *result = handler(b, opcode, num_srcs, srcs, src_types, dest_type);
#  217|      if (result) {
#  218|->       vtn_push_nir_ssa(b, w_dest[1], result);
#  219|      } else {
#  220|         vtn_assert(dest_type == NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1134]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_alu’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:282:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
#  280|                                       srcs[0], srcs[1], srcs[2], NULL);
#  281|      if (opcode == OpenCLstd_Popcount)
#  282|->       ret = nir_u2uN(&b->nb, ret, glsl_get_bit_size(dest_type->type));
#  283|      return ret;
#  284|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1135]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_special’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:506:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
#  504|         return nir_copysign(nb, srcs[0], srcs[1]);
#  505|      case OpenCLstd_Cross:
#  506|->       if (dest_type->length == 4)
#  507|            return nir_cross4(nb, srcs[0], srcs[1]);
#  508|         return nir_cross3(nb, srcs[0], srcs[1]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1136]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1432:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1529:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:65:45: note: in definition of macro ‘likely’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1612:7: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1612:7: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1427:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
# 1430|         nir_def *any = nir_imm_false(&b->nb);
# 1431|   
# 1432|->       struct vtn_block *header = b->func->ordered_blocks[swtch->start_pos];
# 1433|   
# 1434|         for (unsigned j = 0; j < header->successors_count; j++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1137]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1597:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1529:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
# 1595|                  nir_block *last = nir_loop_last_block(top->nloop);
# 1596|                  if (!nir_block_ends_in_jump(last)) {
# 1597|->                   b->nb.cursor = nir_after_block(last);
# 1598|                     nir_jump(&b->nb, nir_jump_break);
# 1599|                  }

Error: GCC_ANALYZER_WARNING (CWE-416): [#def1138]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1597:34: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘b’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1529:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
# 1595|                  nir_block *last = nir_loop_last_block(top->nloop);
# 1596|                  if (!nir_block_ends_in_jump(last)) {
# 1597|->                   b->nb.cursor = nir_after_block(last);
# 1598|                     nir_jump(&b->nb, nir_jump_break);
# 1599|                  }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1139]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_variables.c: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_variables.c:1749:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘interface_type’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_variables.c: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:759:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:763:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_private.h:763:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_variables.c:2090:4: note: in expansion of macro ‘vtn_assert’
# 1747|             */
# 1748|            assert(interface_type != NULL);
# 1749|->          if (interface_type->base_type == vtn_base_type_accel_struct) {
# 1750|               mode = vtn_variable_mode_accel_struct;
# 1751|               nir_mode = nir_var_uniform;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1140]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/egl_dri2.c: scope_hint: In function ‘dri2_make_current’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/egl_dri2.c:1689:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old_dri2_dpy’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/egl_dri2.c: scope_hint: In function ‘dri2_make_current’
# 1687|            if (dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) {
# 1688|               if (old_dsurf && _eglSurfaceInSharedBufferMode(old_dsurf) &&
# 1689|->                 old_dri2_dpy->vtbl->set_shared_buffer_mode) {
# 1690|                  old_dri2_dpy->vtbl->set_shared_buffer_mode(old_disp, old_dsurf,
# 1691|                                                             true);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1141]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_device.c: scope_hint: In function ‘device_probe_device’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_device.c:299:29: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("kms_swrast")’
#  297|         free(dri2_dpy->driver_name);
#  298|         _eglLog(_EGL_WARNING, "NEEDS EXTENSION: falling back to kms_swrast");
#  299|->       dri2_dpy->driver_name = strdup("kms_swrast");
#  300|      }
#  301|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1142]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_device.c: scope_hint: In function ‘device_probe_device_sw’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_device.c:326:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(<unknown>)’
#  324|      dri2_dpy->fd_display_gpu = -1;
#  325|      dri2_dpy->driver_name = strdup(disp->Options.Zink ? "zink" : "swrast");
#  326|->    if (!dri2_dpy->driver_name)
#  327|         return false;
#  328|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1143]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_drm.c: scope_hint: In function ‘dri2_drm_config_is_compatible’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_drm.c:125:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘visual’
#  123|         util_format_description(gl_config->color_format);
#  124|      const struct util_format_description *fmt_s =
#  125|->       util_format_description(visual->pipe_format);
#  126|   
#  127|      if (util_is_format_compatible(fmt_c, fmt_s) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1144]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_surfaceless.c: scope_hint: In function ‘surfaceless_probe_device’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_surfaceless.c:262:35: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("kms_swrast")’
#  260|            if (driver_name && (strcmp(driver_name, "vgem") == 0 ||
#  261|                                strcmp(driver_name, "virtio_gpu") == 0))
#  262|->             dri2_dpy->driver_name = strdup("kms_swrast");
#  263|            free(driver_name);
#  264|         } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1145]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_surfaceless.c: scope_hint: In function ‘surfaceless_probe_device_sw’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_surfaceless.c:308:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(<unknown>)’
#  306|   
#  307|      dri2_dpy->driver_name = strdup(disp->Options.Zink ? "zink" : "swrast");
#  308|->    if (!dri2_dpy->driver_name)
#  309|         return false;
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1146]
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_x11.c: scope_hint: In function ‘dri2_x11_connect’
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_x11.c:886:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*dri2_dpy.driver_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/egl/drivers/dri2/platform_x11.c:36: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  884|      }
#  885|   
#  886|->    if (!strcmp(dri2_dpy->driver_name, "zink")) {
#  887|         close(dri2_dpy->fd_render_gpu);
#  888|         return EGL_FALSE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1147]
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1625:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1643:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1643:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglsurface.h: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1624:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1624:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1624:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1624:4: note: in expansion of macro ‘egl_relax’
# 1623|   
# 1624|      egl_relax (disp, &ctx->Resource) {
# 1625|->       ret = disp->Driver->WaitClient(disp, ctx);
# 1626|      }
# 1627|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1148]
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1670:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1657:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglsurface.h: scope_hint: In function ‘eglWaitNative’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1669:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1669:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1669:4: note: in expansion of macro ‘egl_relax’
mesa-24.2.6-build/mesa-24.2.6/src/egl/main/eglapi.c:1669:4: note: in expansion of macro ‘egl_relax’
# 1668|   
# 1669|      egl_relax (disp) {
# 1670|->       ret = disp->Driver->WaitNative(engine);
# 1671|      }
# 1672|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1149]
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_bo.c: scope_hint: In function ‘etna_bo_new’
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_bo.c:207:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo_from_handle(dev,  size,  req.handle,  flags)’
#  205|   	simple_mtx_lock(&etna_device_lock);
#  206|   	bo = bo_from_handle(dev, size, req.handle, flags);
#  207|-> 	bo->reuse = 1;
#  208|   	simple_mtx_unlock(&etna_device_lock);
#  209|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1150]
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_query_domains’
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:78:23: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
#   76|   			break;
#   77|   
#   78|-> 		dom = calloc(1, sizeof(*dom));
#   79|   		if (!dom)
#   80|   			return -ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1151]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c: scope_hint: In function ‘fd_bo_heap_new’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c:53:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘heap’
#   51|      heap = calloc(1, sizeof(*heap));
#   52|   
#   53|->    heap->dev = dev;
#   54|      heap->flags = flags;
#   55|      simple_mtx_init(&heap->lock, mtx_plain);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1152]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c: scope_hint: In function ‘fd_bo_heap_alloc’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c:243:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_drmif.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_priv.h:297:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c:207:4: note: in expansion of macro ‘foreach_bo_safe’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo_heap.c: scope_hint: In function ‘fd_bo_heap_alloc’
#  241|      struct sa_bo *s = calloc(1, sizeof(*s));
#  242|   
#  243|->    s->heap = heap;
#  244|      s->offset = offset;
#  245|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1153]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_pipe.c: scope_hint: In function ‘fd_fence_new’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_pipe.c:233:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
#  231|      struct fd_fence *f = calloc(1, sizeof(*f));
#  232|   
#  233|->    f->refcnt = 1;
#  234|      f->pipe = fd_pipe_ref(pipe);
#  235|      util_queue_fence_init(&f->ready);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1154]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_priv.h: scope_hint: In function ‘grow.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_priv.h:84:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*bo.fences’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo.c:833:7: note: in expansion of macro ‘APPEND’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo.c:833:7: note: in expansion of macro ‘APPEND’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_bo.c:836:4: note: in expansion of macro ‘APPEND’
#   82|         else
#   83|            *max = *max * 2;
#   84|->       *ptr = realloc(*ptr, *max * sz);
#   85|      }
#   86|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1155]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_priv.h: scope_hint: In function ‘grow’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_priv.h:86:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:620: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c: scope_hint: In function ‘grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/hash_table.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:114:18: note: in expansion of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:117:16: note: in expansion of macro ‘APPEND’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:117:16: note: in expansion of macro ‘APPEND’
#   84|         *ptr = realloc(*ptr, *max * sz);
#   85|      }
#   86|-> }
#   87|   
#   88|   #define DECLARE_ARRAY(type, name)                                              \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1156]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c: scope_hint: In function ‘fd_ringbuffer_sp_new_object’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:779:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fd_ring’
mesa-24.2.6-build/mesa-24.2.6/src/util/slab.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:34: included_from: Included from here.
#  777|      simple_mtx_lock(&dev->suballoc_lock);
#  778|   
#  779|->    fd_ring->offset = align(dev->suballoc_offset, SUBALLOC_ALIGNMENT);
#  780|      if (!dev->suballoc_bo ||
#  781|          fd_ring->offset + size > fd_bo_size(dev->suballoc_bo)) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1157]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/freedreno_ringbuffer_sp.c:798:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fd_ring’
#  796|      simple_mtx_unlock(&dev->suballoc_lock);
#  797|   
#  798|->    return fd_ringbuffer_sp_init(fd_ring, size, _FD_RINGBUFFER_OBJECT);
#  799|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1158]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_device.c: scope_hint: In function ‘msm_device_new’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_device.c:87:17: warning[-Wanalyzer-malloc-leak]: leak of ‘msm_dev’
#   85|      }
#   86|   
#   87|->    dev->bo_size = sizeof(struct msm_bo);
#   88|   
#   89|      return dev;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1159]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer.c: scope_hint: In function ‘cmd_new’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer.c:81:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmd’
#   79|   {
#   80|      struct msm_cmd *cmd = malloc(sizeof(*cmd));
#   81|->    cmd->ring_bo = fd_bo_ref(ring_bo);
#   82|      cmd->size = 0;
#   83|      cmd->nr_relocs = cmd->max_relocs = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1160]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer.c: scope_hint: In function ‘msm_ringbuffer_new_object’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer.c:693:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘msm_ring’
#  691|   
#  692|      msm_ring->u.pipe = pipe;
#  693|->    msm_ring->offset = 0;
#  694|      msm_ring->ring_bo = fd_bo_new_ring(pipe->dev, size);
#  695|      msm_ring->base.refcnt = 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1161]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer.c:703:11: warning[-Wanalyzer-malloc-leak]: leak of ‘msm_ring’
#  701|         _mesa_set_create(NULL, _mesa_hash_pointer, _mesa_key_pointer_equal);
#  702|   
#  703|->    return msm_ringbuffer_init(msm_ring, size, _FD_RINGBUFFER_OBJECT);
#  704|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1162]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer_sp.c: scope_hint: In function ‘flush_submit_list’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/drm/msm/msm_ringbuffer_sp.c:138:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘submit_bos’
#  136|   
#  137|      for (unsigned i = 0; i < fd_submit->nr_bos; i++) {
#  138|->       submit_bos[i].flags = fd_submit->bos[i]->reloc_flags;
#  139|         submit_bos[i].handle = fd_submit->bos[i]->handle;
#  140|         submit_bos[i].presumed = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1163]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.c: scope_hint: In function ‘ir3_valid_flags’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.c:1127:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.c: scope_hint: In function ‘ir3_valid_flags’
# 1125|         if (instr->srcs[n]->flags & IR3_REG_SSA) {
# 1126|            struct ir3_instruction *src = ssa(instr->srcs[n]);
# 1127|->          if (src->address->def->instr->block != instr->block)
# 1128|               return false;
# 1129|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1164]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h: scope_hint: In function ‘is_same_type_mov’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:981:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:524:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘is_same_type_mov’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:524:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘is_same_type_mov’
#  979|      struct ir3_register *dst;
#  980|   
#  981|->    switch (instr->opc) {
#  982|      case OPC_MOV:
#  983|         if (instr->cat1.src_type != instr->cat1.dst_type)

Error: COMPILER_WARNING (CWE-563): [#def1165]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_compiler_nir.c: scope_hint: In function ‘emit_predicated_branch’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_compiler_nir.c:4179:22: warning[-Wunused-variable]: unused variable ‘else_block’
# 4179 |    struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif));
#      |                      ^~~~~~~~~~
# 4177|   
# 4178|      struct ir3_block *then_block = get_block(ctx, nir_if_first_then_block(nif));
# 4179|->    struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif));
# 4180|      assert(list_is_empty(&then_block->instr_list) &&
# 4181|             list_is_empty(&else_block->instr_list));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1166]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:593:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:524:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:524:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c:524:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1864:71: note: in definition of macro ‘foreach_src_n’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
#  591|         assert(samp_tex->opc == OPC_META_COLLECT);
#  592|   
#  593|->       struct ir3_register *samp = samp_tex->srcs[0];
#  594|         struct ir3_register *tex = samp_tex->srcs[1];
#  595|   

Error: COMPILER_WARNING (CWE-563): [#def1167]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c: scope_hint: In function ‘emit_descriptor_prefetch’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c:541:11: warning[-Wunused-variable]: unused variable ‘texture_index’
#  541 |       int texture_index =
#      |           ^~~~~~~~~~~~~
#  539|         int sampler_index =
#  540|            nir_tex_instr_src_index(tex, nir_tex_src_sampler_handle);
#  541|->       int texture_index =
#  542|            nir_tex_instr_src_index(tex, nir_tex_src_texture_handle);
#  543|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1168]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c: scope_hint: In function ‘ir3_nir_opt_prefetch_descriptors’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c:620:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  618|      nir_function_impl *main = nir_shader_get_entrypoint(nir);
#  619|      struct set *instr_set = nir_instr_set_create(NULL);
#  620|->    nir_function_impl *preamble = main->preamble ? main->preamble->impl : NULL;
#  621|      nir_builder b;
#  622|      bool progress = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1169]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c: scope_hint: In function ‘ir3_nir_lower_preamble’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_nir_opt_preamble.c:732:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  730|      nir_function_impl *main = nir_shader_get_entrypoint(nir);
#  731|      
#  732|->    if (!main->preamble)
#  733|         return false;
#  734|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1170]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_parser.y: scope_hint: In function ‘add_buf_init_val’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_parser.y:247:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)sz)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  245|   		unsigned sz = info->buf_sizes[idx] * 4;
#  246|   		info->buf_init_data[idx] = malloc(sz);
#  247|-> 		memset(info->buf_init_data[idx], 0, sz);
#  248|   	}
#  249|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1171]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shader.c: scope_hint: In function ‘assemble_variant’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shader.c:176:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shader.c:27: included_from: Included from here.
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null
#  174|            FILE *stream = open_memstream(&stream_data, &stream_size);
#  175|   
#  176|->          fprintf(stream,
#  177|                    "Native code%s for unnamed %s shader %s with sha1 %s:\n",
#  178|                    shader_overridden ? " (overridden)" : "", ir3_shader_stage(v),

Error: COMPILER_WARNING (CWE-252): [#def1172]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘readdt’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c:67:10: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
#   67 |    (void)asprintf(&path, "%s/%s", dev.dtnode, node);
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   65|      size_t sz;
#   66|   
#   67|->    (void)asprintf(&path, "%s/%s", dev.dtnode, node);
#   68|      buf = os_read_file(path, &sz);
#   69|      free(path);

Error: COMPILER_WARNING (CWE-252): [#def1173]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘find_freqs’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c:100:10: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
#  100 |    (void)asprintf(&path, "%s/%s", dev.dtnode, "qcom,gpu-pwrlevels");
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   98|      dev.max_freq = 0;
#   99|   
#  100|->    (void)asprintf(&path, "%s/%s", dev.dtnode, "qcom,gpu-pwrlevels");
#  101|   
#  102|      nftw(path, find_freqs_fn, 64, 0);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1174]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘find_device_fn’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/perfcntrs/freedreno_dt.c:151:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dev.dtnode’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  149|            int dlen = strlen(fpath) - strlen("/compatible");
#  150|            dev.dtnode = malloc(dlen + 1);
#  151|->          memcpy(dev.dtnode, fpath, dlen);
#  152|            dev.dtnode[dlen] = '\0';
#  153|            printf("found dt node: %s\n", dev.dtnode);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1175]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘sanitize_hash’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:196:50: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samplers_to_restore’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
#  194|   
#  195|               if (sampler && cso_hash_take(hash, sampler->hash_key))
#  196|->                samplers_to_restore[to_restore++] = sampler;
#  197|            }
#  198|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1176]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:203:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samplers_to_restore’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
#  201|   
#  202|            if (sampler && cso_hash_take(hash, sampler->hash_key))
#  203|->             samplers_to_restore[to_restore++] = sampler;
#  204|         }
#  205|         for (int j = 0; j < PIPE_MAX_SAMPLERS; j++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1177]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:1395:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘cso_single_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘cso_single_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_context.c:1368:13: note: in expansion of macro ‘MALLOC’
# 1393|      struct cso_sampler *cso = set_sampler(ctx, shader_stage, idx, templ, size);
# 1394|      ctx->samplers[shader_stage].cso_samplers[idx] = cso;
# 1395|->    ctx->samplers[shader_stage].samplers[idx] = cso->data;
# 1396|      return true;
# 1397|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1178]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_hash.c: scope_hint: In function ‘cso_data_rehash’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_hash.c:119:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*hash.buckets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_hash.c:40:25: note: in definition of macro ‘MAX’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_hash.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/cso_cache/cso_hash.c:117:23: note: in expansion of macro ‘MALLOC’
#  117|         hash->buckets = MALLOC(sizeof(struct cso_node*) * hash->numBuckets);
#  118|         for (int i = 0; i < hash->numBuckets; ++i)
#  119|->          hash->buckets[i] = e;
#  120|   
#  121|         for (int i = 0; i < oldNumBuckets; ++i) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1179]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:893:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:892:22: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:892:22: note: in expansion of macro ‘align_malloc’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  891|         int vector_size = gs->vector_length * sizeof(float);
#  892|         gs->gs_input = align_malloc(sizeof(struct draw_gs_inputs), 16);
#  893|->       memset(gs->gs_input, 0, sizeof(struct draw_gs_inputs));
#  894|         gs->llvm_prim_lengths = 0;
#  895|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1180]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c: scope_hint: In function ‘store_clip’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:1062:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aos[j]’
# 1060|   
# 1061|         /* Unaligned store */
# 1062|->       LLVMSetAlignment(LLVMBuildStore(builder, aos[j], clip_ptr), sizeof(float));
# 1063|      }
# 1064|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1181]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c: scope_hint: In function ‘draw_llvm_generate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:1632:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_private.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:1631:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 1630|      variant->function = variant_func;
# 1631|      variant->function_name = MALLOC(strlen(func_name)+1);
# 1632|->    strcpy(variant->function_name, func_name);
# 1633|   
# 1634|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1182]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c: scope_hint: In function ‘draw_gs_llvm_generate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2364:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2363:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 2362|      variant->function = variant_func;
# 2363|      variant->function_name = MALLOC(strlen(func_name)+1);
# 2364|->    strcpy(variant->function_name, func_name);
# 2365|   
# 2366|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1183]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2364:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2363:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 2362|      variant->function = variant_func;
# 2363|      variant->function_name = MALLOC(strlen(func_name)+1);
# 2364|->    strcpy(variant->function_name, func_name);
# 2365|   
# 2366|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1184]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c: scope_hint: In function ‘draw_tcs_llvm_generate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2955:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2954:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 2953|      variant->function = variant_func;
# 2954|      variant->function_name = MALLOC(strlen(func_name)+1);
# 2955|->    strcpy(variant->function_name, func_name);
# 2956|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);
# 2957|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1185]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2955:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:2954:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 2953|      variant->function = variant_func;
# 2954|      variant->function_name = MALLOC(strlen(func_name)+1);
# 2955|->    strcpy(variant->function_name, func_name);
# 2956|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);
# 2957|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1186]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c: scope_hint: In function ‘draw_tes_llvm_generate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:3528:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:3527:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 3526|      variant->function = variant_func;
# 3527|      variant->function_name = MALLOC(strlen(func_name)+1);
# 3528|->    strcpy(variant->function_name, func_name);
# 3529|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);
# 3530|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1187]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:3528:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_llvm.c:3527:29: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 3526|      variant->function = variant_func;
# 3527|      variant->function_name = MALLOC(strlen(func_name)+1);
# 3528|->    strcpy(variant->function_name, func_name);
# 3529|      LLVMSetFunctionCallConv(variant_func, LLVMCCallConv);
# 3530|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1188]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_mesh_prim.c: scope_hint: In function ‘draw_mesh_prim_run’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_mesh_prim.c:206:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*output_prims.primitive_lengths’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_mesh_prim.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_mesh_prim.c:205:38: note: in expansion of macro ‘MALLOC’
#  204|      output_prims->flags = 0x0;
#  205|      output_prims->primitive_lengths = MALLOC(sizeof(unsigned));
#  206|->    output_prims->primitive_lengths[0] = 0;
#  207|      output_prims->primitive_count = 0;
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1189]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c: scope_hint: In function ‘draw_vbuf_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:406:1: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:405:4: note: in expansion of macro ‘FREE’
#  404|   
#  405|      FREE(stage);
#  406|-> }
#  407|   
#  408|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1190]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:445:11: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
#  443|      vbuf->zero4[0] = vbuf->zero4[1] = vbuf->zero4[2] = vbuf->zero4[3] = 0.0f;
#  444|   
#  445|->    return &vbuf->stage;
#  446|   
#  447|   fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1191]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c: scope_hint: In function ‘draw_prim_assembler_run’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c:294:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*output_prims.primitive_lengths’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_private.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c:293:38: note: in expansion of macro ‘MALLOC’
#  292|      output_prims->flags = 0x0;
#  293|      output_prims->primitive_lengths = MALLOC(sizeof(unsigned));
#  294|->    output_prims->primitive_lengths[0] = 0;
#  295|      output_prims->primitive_count = 1;
#  296|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1192]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c: scope_hint: In function ‘draw_prim_assembler_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c:325:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ia’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_prim_assembler.c:323:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  323|      struct draw_assembler *ia = CALLOC_STRUCT(draw_assembler);
#  324|   
#  325|->    ia->draw = draw;
#  326|   
#  327|      return ia;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1193]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c: scope_hint: In function ‘draw_pt_middle_fse’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:364:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fse’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:351:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  362|      fse->draw = draw;
#  363|   
#  364|->    return &fse->base;
#  365|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1194]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c: scope_hint: In function ‘draw_pt_fetch_pipeline_or_emit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:492:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:499:7: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:491:4: note: in expansion of macro ‘FREE’
#  490|   
#  491|      FREE(middle);
#  492|-> }
#  493|   
#  494|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1195]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:529:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:499:7: note: in expansion of macro ‘CALLOC_STRUCT’
#  527|         goto fail;
#  528|   
#  529|->    return &fpme->base;
#  530|   
#  531|    fail:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1196]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c: scope_hint: In function ‘draw_pt_fetch_pipeline_or_emit_llvm’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:845:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:844:4: note: in expansion of macro ‘FREE’
#  843|   
#  844|      FREE(middle);
#  845|-> }
#  846|   
#  847|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1197]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:892:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
#  890|      fpme->current_variant = NULL;
#  891|   
#  892|->    return &fpme->base;
#  893|   
#  894|    fail:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1198]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c: scope_hint: In function ‘draw_pt_mesh_pipeline_or_emit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:62:1: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:109:7: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:61:4: note: in expansion of macro ‘FREE’
#   60|         draw_pt_post_vs_destroy(mpme->post_vs);
#   61|      FREE(middle);
#   62|-> }
#   63|   
#   64|   static void

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1199]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:109:7: note: in expansion of macro ‘CALLOC_STRUCT’
#  123|         goto fail;
#  124|   
#  125|->    return &mpme->base;
#  126|    fail:
#  127|      if (mpme)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1200]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_so_emit.c: scope_hint: In function ‘so_emit_prim’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_so_emit.c:149:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_decompose_tmp.h:48:1: note: in expansion of macro ‘FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_so_emit.c:262: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_decompose_tmp.h:54:4: note: in expansion of macro ‘FUNC_ENTER’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_so_emit_tmp.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_decompose_tmp.h:65:19: note: in expansion of macro ‘GET_ELT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_decompose_tmp.h:66:10: note: in expansion of macro ‘POINT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pt_so_emit.c: scope_hint: In function ‘so_emit_prim’
#  147|   
#  148|      /* check have we space to emit prim first - if not don't do anything */
#  149|->    for (unsigned slot = 0; slot < state->num_outputs; ++slot) {
#  150|         int ob = state->output[slot].output_buffer;
#  151|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1201]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:398:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:377:29: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:382:14: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
#  396|         }
#  397|   
#  398|->       uint32_t prim_len = u_prim_vertex_count(output_prims->prim)->min;
#  399|         output_prims->primitive_count += data.num_indices / prim_len;
#  400|         output_prims->primitive_lengths = REALLOC(output_prims->primitive_lengths, prim_start * sizeof(uint32_t),

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1202]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_create_tess_ctrl_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:454:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:426:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  452|   
#  453|         tcs->tcs_input = align_malloc(sizeof(struct draw_tcs_inputs), 16);
#  454|->       memset(tcs->tcs_input, 0, sizeof(struct draw_tcs_inputs));
#  455|   
#  456|         tcs->tcs_output = align_malloc(sizeof(struct draw_tcs_outputs), 16);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1203]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:457:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:426:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:456:25: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:456:25: note: in expansion of macro ‘align_malloc’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  455|   
#  456|         tcs->tcs_output = align_malloc(sizeof(struct draw_tcs_outputs), 16);
#  457|->       memset(tcs->tcs_output, 0, sizeof(struct draw_tcs_outputs));
#  458|   
#  459|         tcs->jit_resources = &draw->llvm->jit_resources[PIPE_SHADER_TESS_CTRL];

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1204]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_create_tess_eval_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:582:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:528:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:581:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:581:24: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_tess.c:581:24: note: in expansion of macro ‘align_malloc’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  580|   
#  581|         tes->tes_input = align_malloc(sizeof(struct draw_tes_inputs), 16);
#  582|->       memset(tes->tes_input, 0, sizeof(struct draw_tes_inputs));
#  583|   
#  584|         tes->jit_resources = &draw->llvm->jit_resources[PIPE_SHADER_TESS_EVAL];

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1205]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c: scope_hint: In function ‘ddebug_screen_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:534:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dscreen’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_pipe.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:612:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:623:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:623:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:631:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:631:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:635:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:635:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:638:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:638:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:640:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:640:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:642:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:642:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:644:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:644:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:646:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:646:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:648:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:648:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:649:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:649:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:650:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:650:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:651:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:651:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:655:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:655:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:659:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:659:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:660:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_ddebug/dd_screen.c:660:4: note: in expansion of macro ‘SCR_INIT’
#  532|      option = debug_get_option("GALLIUM_DDEBUG", NULL);
#  533|      if (!option)
#  534|->       return screen;
#  535|   
#  536|      if (!strcmp(option, "help")) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1206]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:242:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:30: included_from: Included from here.
#  240|      *ptransfer = transfer;
#  241|   
#  242|->    return nresource->data;
#  243|   }
#  244|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1207]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_flush.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:338:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:337:34: note: in expansion of macro ‘MALLOC_STRUCT’
#  336|      if (fence) {
#  337|         struct pipe_reference *f = MALLOC_STRUCT(pipe_reference);
#  338|->       f->count = 1;
#  339|   
#  340|         ctx->screen->fence_reference(ctx->screen, fence, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1208]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_create_fence’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:395:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_pipe.c:393:31: note: in expansion of macro ‘MALLOC_STRUCT’
#  393|      struct pipe_reference *f = MALLOC_STRUCT(pipe_reference);
#  394|   
#  395|->    f->count = 1;
#  396|      return (struct pipe_fence_handle*)f;
#  397|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1209]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_state.c: scope_hint: In function ‘noop_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_state.c:114:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_noop/noop_state.c: scope_hint: In function ‘noop_create_surface’
#  112|      surface->context = ctx;
#  113|      surface->format = surf_tmpl->format;
#  114|->    surface->width = texture->width0;
#  115|      surface->height = texture->height0;
#  116|      surface->texture = texture;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1210]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_context.c: scope_hint: In function ‘trace_context_end_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_context.c:300:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_context.c: scope_hint: In function ‘trace_context_end_query’
#  298|   
#  299|      if (tr_ctx->threaded)
#  300|->       threaded_query(query)->flushed = trace_query(_query)->base.flushed;
#  301|      ret = pipe->end_query(pipe, query);
#  302|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1211]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_surf_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:59:21: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_surf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:49:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:49:14: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|      tr_surf->base.texture = NULL;
#   58|      pipe_resource_reference(&tr_surf->base.texture, res);
#   59|->    tr_surf->surface = surface;
#   60|   
#   61|      return &tr_surf->base;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1212]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_transfer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:100:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_trans’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:88:15: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:88:15: note: in expansion of macro ‘CALLOC_STRUCT’
#   98|      assert(tr_trans->base.b.resource == res);
#   99|   
#  100|->    return &tr_trans->base.b;
#  101|   
#  102|   error:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1213]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:135:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tr_view’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:129:41: note: in expansion of macro ‘CALLOC_STRUCT’
#  133|      pipe_resource_reference(&tr_view->base.texture, tr_res);
#  134|      tr_view->base.context = &tr_ctx->base;
#  135|->    tr_view->sampler_view = view;
#  136|      view->reference.count += SAMPLER_VIEW_PRIVATE_REFCOUNT;
#  137|      tr_view->refcount = SAMPLER_VIEW_PRIVATE_REFCOUNT;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1214]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:138:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_view’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/driver_trace/tr_texture.c:129:41: note: in expansion of macro ‘CALLOC_STRUCT’
#  136|      view->reference.count += SAMPLER_VIEW_PRIVATE_REFCOUNT;
#  137|      tr_view->refcount = SAMPLER_VIEW_PRIVATE_REFCOUNT;
#  138|->    return &tr_view->base;
#  139|   }
#  140|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1215]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_intr.c: scope_hint: In function ‘lp_add_function_attr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_intr.c:164:23: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_intr.c: scope_hint: In function ‘lp_add_function_attr’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  162|   
#  163|      const char *attr_name = attr_to_str(attr);
#  164|->    unsigned kind_id = LLVMGetEnumAttributeKindForName(attr_name,
#  165|                                                         strlen(attr_name));
#  166|      LLVMAttributeRef llvm_attr = LLVMCreateEnumAttribute(ctx, kind_id, 0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1216]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_pack.c: scope_hint: In function ‘lp_build_concat’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_pack.c:227:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  225|   
#  226|      for (i = 0; i < num_vectors; i++)
#  227|->       tmp[i] = src[i];
#  228|   
#  229|      while (num_vectors > 1) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1217]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_pack.c:241:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp[0]’
#  239|      }
#  240|   
#  241|->    return tmp[0];
#  242|   }
#  243|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1218]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c: scope_hint: In function ‘lp_build_gather_resident’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:110:8: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:110:8: note: read of 8 bytes from after the end of ‘tex_ret’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:110:8: note: valid subscripts for ‘tex_ret’ are ‘[0]’ to ‘[3]’
#  108|      resident = LLVMBuildICmp(builder, LLVMIntNE, resident, lp_build_zero(gallivm, type), "");
#  109|   
#  110|->    if (*out_resident)
#  111|         *out_resident = LLVMBuildAnd(builder, *out_resident, resident, "");
#  112|      else

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1219]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:111:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:111:21: note: write of 8 bytes to beyond the end of ‘tex_ret’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:111:21: note: valid subscripts for ‘tex_ret’ are ‘[0]’ to ‘[3]’
#  109|   
#  110|      if (*out_resident)
#  111|->       *out_resident = LLVMBuildAnd(builder, *out_resident, resident, "");
#  112|      else
#  113|         *out_resident = resident;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1220]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:113:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:113:21: note: write of 8 bytes to beyond the end of ‘tex_ret’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:113:21: note: valid subscripts for ‘tex_ret’ are ‘[0]’ to ‘[3]’
#  111|         *out_resident = LLVMBuildAnd(builder, *out_resident, resident, "");
#  112|      else
#  113|->       *out_resident = resident;
#  114|   }
#  115|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1221]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c: scope_hint: In function ‘lp_build_tgsi_info’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:549:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:548:10: note: in expansion of macro ‘CALLOC’
#  547|   
#  548|      ctx = CALLOC(1, sizeof(struct analysis_context));
#  549|->    ctx->info = info;
#  550|   
#  551|      tgsi_parse_init(&parse, tokens);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1222]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c: scope_hint: In function ‘emit_fetch_64bit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:956:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c: scope_hint: In function ‘emit_fetch_64bit’
#  954|      res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), "");
#  955|   
#  956|->    return LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
#  957|   }
#  958|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1223]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/hud/hud_sensors_temp.c: scope_hint: In function ‘create_object’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/hud/hud_sensors_temp.c:261:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sti’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/hud/hud_private.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/hud/hud_sensors_temp.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/hud/hud_sensors_temp.c:259:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  259|      struct sensors_temp_info *sti = CALLOC_STRUCT(sensors_temp_info);
#  260|   
#  261|->    sti->mode = mode;
#  262|      sti->chip = (sensors_chip_name *) chip;
#  263|      sti->feature = feature;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1224]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘gather_usage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:110:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘gather_usage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘gather_usage’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘gather_usage’
#  108|   
#  109|      unsigned location_frac = path.path[0]->var->data.location_frac;
#  110|->    if (glsl_type_is_64bit(deref->type)) {
#  111|         uint8_t new_mask = 0;
#  112|         for (unsigned i = 0; i < 4; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1225]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/tgsi_to_nir.c: scope_hint: In function ‘ttn_compile_init’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/nir/tgsi_to_nir.c:2238:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘screen’
# 2236|      if (!options) {
# 2237|         options =
# 2238|->          screen->get_compiler_options(screen, PIPE_SHADER_IR_NIR, scan.processor);
# 2239|      }
# 2240|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1226]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘get_driver_descriptor’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:103:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘driver_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:35: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  101|   #ifdef GALLIUM_STATIC_TARGETS
#  102|      for (int i = 0; i < ARRAY_SIZE(driver_descriptors); i++) {
#  103|->       if (strcmp(driver_descriptors[i]->driver_name, driver_name) == 0)
#  104|            return driver_descriptors[i];
#  105|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1227]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_probe_fd_nodup’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:176:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*ddev.base.driver_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:172:7: note: in expansion of macro ‘FREE’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  174|      }
#  175|   
#  176|->    if (strcmp(ddev->base.driver_name, "virtio_gpu") == 0) {
#  177|         struct virgl_renderer_capset_drm caps;
#  178|         if (get_nctx_caps(fd, &caps) == 0) {

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1228]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_release’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:305:4: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘*ddev.fd’
#  303|   #endif
#  304|   
#  305|->    close(ddev->fd);
#  306|      FREE(ddev->base.driver_name);
#  307|      pipe_loader_base_release(dev);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1229]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_get_driconf_by_name’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:398:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘driconf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  396|         }
#  397|         driconf = malloc(size);
#  398|->       memcpy(driconf, dd->driconf, size);
#  399|   
#  400|         uint8_t *ptr = (void*)driconf;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1230]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_dri’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:227:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:209:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_dri’
#  225|         goto fail;
#  226|   
#  227|->    *devs = &sdev->base;
#  228|      return true;
#  229|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1231]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_vk_probe_dri’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:257:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:239:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_vk_probe_dri’
#  255|         goto fail;
#  256|   
#  257|->    *devs = &sdev->base;
#  258|      return true;
#  259|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1232]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_kms’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:293:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:272:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_kms’
#  291|         goto fail;
#  292|   
#  293|->    *devs = &sdev->base;
#  294|      return true;
#  295|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1233]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_null’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:326:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:308:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_null’
#  324|         goto fail;
#  325|   
#  326|->    *devs = &sdev->base;
#  327|      return true;
#  328|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1234]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_wrapped’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:371:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:353:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_wrapped’
#  369|         goto fail;
#  370|   
#  371|->    *dev = &sdev->base;
#  372|      return true;
#  373|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1235]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c: scope_hint: In function ‘mm_bufmgr_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:49:27: warning[-Wanalyzer-malloc-leak]: leak of ‘mm_buf’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:220:11: note: in expansion of macro ‘SUPER’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:189:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c: scope_hint: In function ‘mm_bufmgr_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:220:11: note: in expansion of macro ‘SUPER’
#   47|    * Convenience macro (type safe).
#   48|    */
#   49|-> #define SUPER(__derived) (&(__derived)->base)
#   50|   
#   51|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1236]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c: scope_hint: In function ‘pb_slab_range_manager_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:574:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:543:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:543:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  572|      }
#  573|   
#  574|->    return &mgr->base;
#  575|   
#  576|   out_err2: 

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1237]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c:80:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_immediate’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c:465:10: note: in expansion of macro ‘MALLOC’
#   78|                        enum tgsi_file_type file, unsigned index)
#   79|   {
#   80|->    reg->file = file;
#   81|      reg->dimensions = 1;
#   82|      reg->indices[0] = index;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1238]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c:91:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_declaration’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_declaration’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_sanity.c:437:31: note: in expansion of macro ‘MALLOC’
#   89|                        unsigned index1, unsigned index2)
#   90|   {
#   91|->    reg->file = file;
#   92|      reg->dimensions = 2;
#   93|      reg->indices[0] = index1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1239]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_scan.c: scope_hint: In function ‘scan_src_operand’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/tgsi/tgsi_scan.c:186:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘is_mem_inst’
#  184|      if (is_memory_file(src->Register.File) &&
#  185|          !is_mem_query_inst(fullinst->Instruction.Opcode)) {
#  186|->       *is_mem_inst = true;
#  187|   
#  188|         if (src->Register.File == TGSI_FILE_IMAGE &&

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1240]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_generic.c: scope_hint: In function ‘translate_generic_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_generic.c:846:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tg’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_generic.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_generic.c:784:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  844|      tg->nr_attrib = key->nr_elements;
#  845|   
#  846|->    return &tg->translate;
#  847|   }
#  848|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1241]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_sse.c: scope_hint: In function ‘build_vertex_emit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_sse.c:1420:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vb’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/translate/translate_sse.c:31: included_from: Included from here.
# 1418|            }
# 1419|   
# 1420|->          if (!translate_attr(p, a,
# 1421|                                x86_make_disp(vb, a->input_offset),
# 1422|                                x86_make_disp(p->outbuf_EBX, a->output_offset)))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1242]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_compute.c:104:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘params[1]’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
#  102|      nir_def *tex_pos = nir_u2f32(&b, ids);
#  103|      tex_pos = nir_fadd(&b, tex_pos, nir_imm_vec3(&b, 0.5f, 0.5f, 0.0f));
#  104|->    tex_pos = nir_ffma(&b, tex_pos, params[1], params[0]);
#  105|      nir_def *z = nir_channel(&b, tex_pos, 2);
#  106|      tex_pos = nir_fmin(&b, tex_pos, params[3]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1243]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_buffer.c: scope_hint: In function ‘si_alloc_buffer_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:108:41: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_buffer.c:554:30: note: in expansion of macro ‘MALLOC_STRUCT_CL’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:108:41: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_buffer.c:554:30: note: in expansion of macro ‘MALLOC_STRUCT_CL’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1244]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_bufmgr.c: scope_hint: In function ‘vc4_bo_open_handle’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_bufmgr.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_bufmgr.c:397:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_bufmgr.c:397:14: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1245]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_fence.c:3: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_fence.c: scope_hint: In function ‘i915_drm_fence_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_fence.c:23:35: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1246]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_memobj_create_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:451:44: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1247]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_buffer_common.c: scope_hint: In function ‘r600_alloc_buffer_struct’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_buffer_common.c:537:19: note: in expansion of macro ‘MALLOC_STRUCT’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1248]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_compute_global_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:1335:9: note: in expansion of macro ‘CALLOC’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1249]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:723:33: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|   pipe_reference_init(struct pipe_reference *dst, unsigned count)
#   58|   {
#   59|->    dst->count = count;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1250]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute_blit.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘pipe_resource_reference’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:157:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:114: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:157:26: note: read of 8 bytes from after the end of ‘saved_image’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:157:26: note: valid subscripts for ‘saved_image’ are ‘[0]’ to ‘[1]’
#  155|   pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src)
#  156|   {
#  157|->    struct pipe_resource *old_dst = *dst;
#  158|   
#  159|      if (pipe_reference_described(old_dst ? &old_dst->reference : NULL,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1251]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘nv50_miptree_surface_new’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:159:8: warning[-Wanalyzer-malloc-leak]: leak of ‘nv50_surface_from_miptree(pt,  templ)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:470:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c: scope_hint: In function ‘nv50_miptree_surface_new’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  157|      struct pipe_resource *old_dst = *dst;
#  158|   
#  159|->    if (pipe_reference_described(old_dst ? &old_dst->reference : NULL,
#  160|                                   src ? &src->reference : NULL,
#  161|                                   (debug_reference_descriptor)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1252]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/rusticl/rusticl_mesa_bindings.h:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘pipe_surface_reset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:284:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
#  282|   {
#  283|      pipe_resource_reference(&ps->texture, pt);
#  284|->    ps->format = pt->format;
#  285|      ps->width = u_minify(pt->width0, level);
#  286|      ps->height = u_minify(pt->height0, level);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1253]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c: scope_hint: In function ‘u_log_chunk’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c:177:21: warning[-Wanalyzer-malloc-leak]: leak of ‘new_entries’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c:165:40: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_log.c:165:40: note: in expansion of macro ‘REALLOC’
#  175|      page->entries[page->num_entries].type = type;
#  176|      page->entries[page->num_entries].data = data;
#  177|->    page->num_entries++;
#  178|      return;
#  179|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1254]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_prim.h:215:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_context.c: scope_hint: In function ‘v3d_update_primitive_counters’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_prim.h: scope_hint: In function ‘v3d_update_primitive_counters’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_prim.h:92:12: note: in expansion of macro ‘likely’
#  213|      assert(info);
#  214|   
#  215|->    return info->min + (count - 1) * info->incr;
#  216|   }
#  217|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1255]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_range.h: scope_hint: In function ‘nouveau_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_range.h:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:2: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:769:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:44:44: note: in definition of macro ‘p_atomic_read’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
#   75|         }
#   76|      }
#   77|-> }
#   78|   
#   79|   static inline bool

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1256]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_transfer_helper.c: scope_hint: In function ‘u_transfer_helper_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_transfer_helper.c:581:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘helper’
#  579|      struct u_transfer_helper *helper = calloc(1, sizeof(*helper));
#  580|   
#  581|->    helper->vtbl = vtbl;
#  582|      helper->separate_z32s8 = flags & U_TRANSFER_HELPER_SEPARATE_Z32S8;
#  583|      helper->separate_stencil = flags & U_TRANSFER_HELPER_SEPARATE_STENCIL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1257]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_median_filter.c: scope_hint: In function ‘create_frag_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_median_filter.c:117:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_array’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_draw.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_median_filter.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_median_filter.c:84:31: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_median_filter.c: scope_hint: In function ‘create_frag_shader’
#  115|   
#  116|      for (i = 0; i < num_offsets; ++i)
#  117|->       t_array[i] = ureg_DECL_temporary(shader);
#  118|      o_fragment = ureg_DECL_output(shader, TGSI_SEMANTIC_COLOR, 0);
#  119|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1258]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c: scope_hint: In function ‘vl_mpeg12_end_frame’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:773:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:544:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  771|      vl_vb_unmap(&buf->vertex_stream, dec->context);
#  772|   
#  773|->    if (buf->tex_transfer)
#  774|         dec->context->texture_unmap(dec->context, buf->tex_transfer);
#  775|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1259]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_video_buffer.c: scope_hint: In function ‘vl_video_buffer_create_ex2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_video_buffer.c:496:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_video_buffer.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_video_buffer.c:477:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  494|      }
#  495|   
#  496|->    return &buffer->base;
#  497|   }
#  498|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1260]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_vert_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:82:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘o_vtex’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
#   80|   
#   81|      for (i = 0; i < zscan->num_channels; ++i)
#   82|->       o_vtex[i] = ureg_DECL_output(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i);
#   83|   
#   84|      /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1261]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_frag_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:148:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
#  146|   
#  147|      for (i = 0; i < zscan->num_channels; ++i)
#  148|->       vtex[i] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i, TGSI_INTERPOLATE_LINEAR);
#  149|   
#  150|      samp_src = ureg_DECL_sampler(shader, 0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1262]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:155:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:145:10: note: in expansion of macro ‘MALLOC’
#  153|   
#  154|      for (i = 0; i < zscan->num_channels; ++i)
#  155|->       tmp[i] = ureg_DECL_temporary(shader);
#  156|      quant = ureg_DECL_temporary(shader);
#  157|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1263]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
#  164|       */
#  165|      for (i = 0; i < zscan->num_channels; ++i)
#  166|->       ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan);
#  167|   
#  168|      for (i = 0; i < zscan->num_channels; ++i)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1264]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
#  164|       */
#  165|      for (i = 0; i < zscan->num_channels; ++i)
#  166|->       ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan);
#  167|   
#  168|      for (i = 0; i < zscan->num_channels; ++i)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1265]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:145:10: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_frag_shader’
#  175|   
#  176|      ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f));
#  177|->    ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant));
#  178|   
#  179|      for (i = 0; i < zscan->num_channels; ++i)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1266]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*tmp’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c:145:10: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_frag_shader’
#  175|   
#  176|      ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f));
#  177|->    ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant));
#  178|   
#  179|      for (i = 0; i < zscan->num_channels; ++i)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1267]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:99:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_batch.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
#   97|         util_dynarray_grow(&batch->exec_fences, struct drm_i915_gem_exec_fence, 1);
#   98|   
#   99|->    *fence = (struct drm_i915_gem_exec_fence){
#  100|         .handle = syncobj->handle,
#  101|         .flags = flags,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1268]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:107:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:105:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fence.c:105:7: note: in expansion of macro ‘util_dynarray_grow’
#  105|         util_dynarray_grow(&batch->syncobjs, struct crocus_syncobj *, 1);
#  106|   
#  107|->    *store = NULL;
#  108|      crocus_syncobj_reference(batch->screen, store, syncobj);
#  109|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1269]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_performance_query.c: scope_hint: In function ‘crocus_new_perf_query_obj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_performance_query.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
#  102|   
#  103|      q->query = obj;
#  104|->    return (struct pipe_query *)&q->base;
#  105|   }
#  106|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1270]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:267:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:2684:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:287:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
#  265|         deref = nir_deref_instr_parent(deref);
#  266|         assert(glsl_type_is_array(deref->type));
#  267|->       array_size *= glsl_get_length(deref->type);
#  268|      }
#  269|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1271]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘crocus_create_fs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:2841:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crocus_create_shader_state(ctx,  state)’
/usr/include/dlfcn.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_screen.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_fine_fence.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_batch.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_context.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:50: included_from: Included from here.
# 2839|      struct crocus_screen *screen = (void *) ctx->screen;
# 2840|      struct crocus_uncompiled_shader *ish = crocus_create_shader_state(ctx, state);
# 2841|->    struct shader_info *info = &ish->nir->info;
# 2842|   
# 2843|      ish->nos |= (1ull << CROCUS_NOS_FRAMEBUFFER) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1272]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘crocus_create_compute_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_program.c:2898:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crocus_create_uncompiled_shader(ctx, *state.prog, 0)’
# 2896|         crocus_create_uncompiled_shader(ctx, (void *) state->prog, NULL);
# 2897|   
# 2898|->    ish->nos |= (1ull << CROCUS_NOS_TEXTURES);
# 2899|      // XXX: disallow more than 64KB of shared variables
# 2900|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1273]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_query.c: scope_hint: In function ‘crocus_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_query.c:475:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘q’
#  473|      struct crocus_query *q = calloc(1, sizeof(struct crocus_query));
#  474|   
#  475|->    q->type = query_type;
#  476|      q->index = index;
#  477|      q->monitor = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1274]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_resource.c: scope_hint: In function ‘crocus_memobj_create_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_resource.c:1910:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_resource.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_resource.c:1869:42: note: in expansion of macro ‘CALLOC_STRUCT’
# 1908|      memobj->stride = whandle->stride;
# 1909|   
# 1910|->    return &memobj->b;
# 1911|   }
# 1912|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1275]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_populate_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:5493:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shs’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:5490:4: note: in expansion of macro ‘foreach_surface_used’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:5490:4: note: in expansion of macro ‘foreach_surface_used’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_populate_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:5490:4: note: in expansion of macro ‘foreach_surface_used’
# 5491|         if (shs->ssbo[i].buffer)
# 5492|            surf_offsets[s] = emit_ssbo_buffer(ice, batch, &shs->ssbo[i],
# 5493|->                                             !!(shs->writable_ssbos & (1 << i)));
# 5494|         else
# 5495|            emit_null_surface(batch, &surf_offsets[s]);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1276]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:6080:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
# 6078|         if (ice->urb.vsize == urb_cfg.size[MESA_SHADER_VERTEX] &&
# 6079|             ice->urb.gs_present == gs_present &&
# 6080|->           ice->urb.gsize == urb_cfg.size[MESA_SHADER_GEOMETRY] &&
# 6081|             ice->urb.tess_present == tess_present &&
# 6082|             ice->urb.hsize == urb_cfg.size[MESA_SHADER_TESS_CTRL] &&

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1277]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_state.c:6090:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
# 6088|            ice->urb.vsize = urb_cfg.size[MESA_SHADER_VERTEX];
# 6089|            ice->urb.gs_present = gs_present;
# 6090|->          ice->urb.gsize = urb_cfg.size[MESA_SHADER_GEOMETRY];
# 6091|            ice->urb.tess_present = tess_present;
# 6092|            ice->urb.hsize = urb_cfg.size[MESA_SHADER_TESS_CTRL];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1278]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c: scope_hint: In function ‘etna_compile_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1233:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_resource.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_context.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1111:29: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_shader.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1148:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1148:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1148:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c: scope_hint: In function ‘etna_compile_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1148:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1168:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
# 1231|         nir_print_shader(s, stdout);
# 1232|   
# 1233|->    unsigned block_ptr[nir_shader_get_entrypoint(s)->num_blocks];
# 1234|      c->block_ptr = block_ptr;
# 1235|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1279]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c: scope_hint: In function ‘etna_ra_assign’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:139:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: note: in expansion of macro ‘nir_foreach_function_impl’
#  137|       * (some ssa values do not represent an allocated register)
#  138|       */
#  139|->    unsigned max_nodes = impl->ssa_alloc;
#  140|      unsigned *live_map = ralloc_array(NULL, unsigned, max_nodes);
#  141|      memset(live_map, 0xff, sizeof(unsigned) * max_nodes);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1280]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c: scope_hint: In function ‘lower_operations’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:166:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:259:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:259:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:264:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:264:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_resource.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_context.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:237:15: note: in definition of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:165:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:166:7: note: read of 4 bytes from after the end of ‘operations’
#  164|   
#  165|      list_for_each_entry(struct etna_operation, operation, etna_operations, link) {
#  166|->       etna_ml_create_tensor(subgraph, operation->input_tensor, operation->input_tensor_size);
#  167|   
#  168|         if (operation->type == ETNA_JOB_TYPE_NN && operation->addition)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1281]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c: scope_hint: In function ‘dump_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:304:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(&buffer, "wb")’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c:6: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  302|      FILE *f = fopen(buffer, "wb");
#  303|      assert(f);
#  304|->    fwrite(map, 1, etna_bo_size(bo), f);
#  305|      if(ferror(f)) {
#  306|         ML_DBG("Error in writing to file: %s\n", strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1282]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c: scope_hint: In function ‘perfmon_allocate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:121:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:114:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:114:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  119|      pq->multiply_with_8 = cfg->multiply_with_8;
#  120|   
#  121|->    return &pq->base;
#  122|   }
#  123|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1283]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_sw.c: scope_hint: In function ‘etna_sw_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:114:12: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:108:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:108:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  112|      q = &sq->base;
#  113|      q->funcs = &sw_query_funcs;
#  114|->    q->type = query_type;
#  115|   
#  116|      return q;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1284]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.c: scope_hint: In function ‘etna_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.c:180:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_resource.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.c:92:32: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_surface.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  178|      }
#  179|   
#  180|->    return &surf->base;
#  181|   }
#  182|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1285]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/fd2_query.c: scope_hint: In function ‘fd2_create_batch_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/fd2_query.c:175:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/fd2_query.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/fd2_query.c:172:11: note: in expansion of macro ‘CALLOC_VARIANT_LENGTH_STRUCT’
#  173|         fd_batch_query_data, num_queries * sizeof(data->query_entries[0]));
#  174|   
#  175|->    data->screen = screen;
#  176|      data->num_query_entries = num_queries;
#  177|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1286]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c: scope_hint: In function ‘src_to_reg’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:154:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c: scope_hint: In function ‘src_to_reg’
#  152|   src_to_reg(struct ir2_context *ctx, struct ir2_src *src)
#  153|   {
#  154|->    return get_reg_src(ctx, src)->idx;
#  155|   }
#  156|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1287]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:188:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
#  186|         /* must all be in same block */
#  187|         for (int i = 0; i < ncomp; i++)
#  188|->          redirect &= (c[i]->block_idx == instr->block_idx);
#  189|   
#  190|         /* no other instr using the value */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1288]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:163:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/fd2_program.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_private.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1144:11: note: in expansion of macro ‘OPT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1146:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6884:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
#  161|         for (i = 0; i < ncomp; i++) {
#  162|            for (j = 0; j < imm_ncomp; j++) {
#  163|->             if (value[i] == so->immediates[idx].val[j])
#  164|                  break;
#  165|            }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1289]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:169:57: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1144:11: note: in expansion of macro ‘OPT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1146:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6884:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
#  167|               if (j == 4)
#  168|                  break;
#  169|->             so->immediates[idx].val[imm_ncomp++] = value[i];
#  170|            }
#  171|            swiz |= swiz_set(j, i);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1290]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:188:57: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1144:11: note: in expansion of macro ‘OPT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1146:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6884:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
#  186|            }
#  187|            if (j == imm_ncomp) {
#  188|->             so->immediates[idx].val[imm_ncomp++] = value[i];
#  189|            }
#  190|            swiz |= swiz_set(j, i);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1291]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:194:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘imm_ncomp’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1144:11: note: in expansion of macro ‘OPT’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1146:4: note: in expansion of macro ‘OPT_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:6884:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
#  192|         so->num_immediates++;
#  193|      }
#  194|->    so->immediates[idx].ncomp = imm_ncomp;
#  195|   
#  196|      if (ncomp == 1)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1292]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_ra.c: scope_hint: In function ‘ra_src_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:211:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:202:4: note: in expansion of macro ‘ir2_foreach_src’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a2xx/ir2_ra.c: scope_hint: In function ‘ra_src_free’
#  209|         for (int i = 0; i < src_ncomp(instr); i++) {
#  210|            comp = &reg->comp[swiz_get(src->swizzle, i)];
#  211|->          if (!--comp->ref_count && reg->block_idx_free < 0) {
#  212|               reg_freemask(ctx, reg->idx, comp->c);
#  213|               comp->alloc = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1293]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:131:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:127:25: note: in expansion of macro ‘COND’
#  129|            OUT_RING(ring, A3XX_RB_MRT_BUF_BASE_COLOR_BUF_BASE(base));
#  130|         } else {
#  131|->          OUT_RELOC(ring, rsc->bo, offset, 0, -1);
#  132|         }
#  133|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1294]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c: scope_hint: In function ‘fd3_program_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c:466:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c:462:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  464|      tc_assert_driver_thread(ctx->tc);
#  465|   
#  466|->    state->bs = bs;
#  467|      state->vs = vs;
#  468|      state->fs = fs;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1295]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c:470:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_program.c:462:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  468|      state->fs = fs;
#  469|   
#  470|->    return &state->base;
#  471|   }
#  472|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1296]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:213:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:152:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
#  211|      }
#  212|   
#  213|->    return &so->base;
#  214|   }
#  215|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1297]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:134:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_draw.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:129:25: note: in expansion of macro ‘COND’
#  132|            OUT_RING(ring, A4XX_RB_MRT_CONTROL3_STRIDE(stride));
#  133|         } else {
#  134|->          OUT_RELOC(ring, rsc->bo, offset, 0, 0);
#  135|            /* RB_MRT[i].CONTROL3.STRIDE not emitted by c2d..
#  136|             * not sure if we need to skip it for bypass or

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1298]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c: scope_hint: In function ‘setup_stages’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:129:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘s[1].instrlen’
#  127|       * is run from external memory.
#  128|       */
#  129|->    if ((s[VS].instrlen + s[FS].instrlen) > 64) {
#  130|         /* prioritize FS for internal memory: */
#  131|         if (s[FS].instrlen < 64) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1299]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c: scope_hint: In function ‘fd4_program_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:594:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:590:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  592|      tc_assert_driver_thread(ctx->tc);
#  593|   
#  594|->    state->bs = bs;
#  595|      state->vs = vs;
#  596|      state->fs = fs;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1300]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:598:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_program.c:590:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  596|      state->fs = fs;
#  597|   
#  598|->    return &state->base;
#  599|   }
#  600|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1301]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_texture.c: scope_hint: In function ‘fd4_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:230:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:139:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd4_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a4xx/fd4_texture.c: scope_hint: In function ‘fd4_sampler_view_create’
#  228|      }
#  229|   
#  230|->    return &so->base;
#  231|   }
#  232|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1302]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:113:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_draw.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:104:13: note: in expansion of macro ‘COND’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:106:13: note: in expansion of macro ‘COND’
#  111|            OUT_RING(ring, 0x00000000); /* RB_MRT[i].BASE_HI */
#  112|         } else {
#  113|->          OUT_RELOC(ring, rsc->bo, offset, 0, 0); /* BASE_LO/HI */
#  114|         }
#  115|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1303]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c: scope_hint: In function ‘setup_stages’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:226:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘s[1].instrlen’
#  224|       * is run from external memory.
#  225|       */
#  226|->    if ((s[VS].instrlen + s[FS].instrlen) > 64) {
#  227|         /* prioritize FS for internal memory: */
#  228|         if (s[FS].instrlen < 64) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1304]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c: scope_hint: In function ‘fd5_program_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:764:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:760:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  762|      tc_assert_driver_thread(ctx->tc);
#  763|   
#  764|->    state->bs = bs;
#  765|      state->vs = vs;
#  766|      state->fs = fs;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1305]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:768:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_program.c:760:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  766|      state->fs = fs;
#  767|   
#  768|->    return &state->base;
#  769|   }
#  770|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1306]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_query.c: scope_hint: In function ‘fd5_create_batch_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_query.c:385:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_query.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_query.c:382:11: note: in expansion of macro ‘CALLOC_VARIANT_LENGTH_STRUCT’
#  383|         fd_batch_query_data, num_queries * sizeof(data->query_entries[0]));
#  384|   
#  385|->    data->screen = screen;
#  386|      data->num_query_entries = num_queries;
#  387|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1307]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:227:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:132:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a5xx/fd5_texture.c: scope_hint: In function ‘fd5_sampler_view_create’
#  225|      }
#  226|   
#  227|->    return &so->base;
#  228|   }
#  229|   

Error: COMPILER_WARNING (CWE-563): [#def1308]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a6xx/fd6_texture.cc: scope_hint: In function ‘fd6_texture_state* fd6_texture_state(fd_context*, pipe_shader_type)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/a6xx/fd6_texture.cc:795:19: warning[-Wunused-variable]: unused variable ‘seqno’
#  795 |          uint16_t seqno = tex->textures[i] ?
#      |                   ^~~~~
#  793|         state = (struct fd6_texture_state *)entry->data;
#  794|         for (unsigned i = 0; i < tex->num_textures; i++) {
#  795|->          uint16_t seqno = tex->textures[i] ?
#  796|                  fd_resource(tex->textures[i]->texture)->seqno : 0;
#  797|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1309]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.c: scope_hint: In function ‘__fd_batch_destroy_locked’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.c:275:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_call_once.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/simple_mtx.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
#  273|   __fd_batch_destroy_locked(struct fd_batch *batch)
#  274|   {
#  275|->    struct fd_context *ctx = batch->ctx;
#  276|   
#  277|      DBG("%p", batch);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1310]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.c: scope_hint: In function ‘__fd_batch_destroy’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.c:334:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
#  332|   __fd_batch_destroy(struct fd_batch *batch)
#  333|   {
#  334|->    struct fd_screen *screen = batch->ctx->screen;
#  335|      fd_screen_lock(screen);
#  336|      __fd_batch_destroy_locked(batch);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1311]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch_cache.c: scope_hint: In function ‘fd_batch_from_fb’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch_cache.c:581:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch_cache.c:97:31: note: in expansion of macro ‘CALLOC_VARIANT_LENGTH_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch_cache.c: scope_hint: In function ‘fd_batch_from_fb’
#  579|      struct fd_batch_key *key = key_alloc(n);
#  580|   
#  581|->    key->width = pfb->width;
#  582|      key->height = pfb->height;
#  583|      key->layers = pfb->layers;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1312]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.c: scope_hint: In function ‘fd_cs_magic_write_string’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.c:250:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘string’
#  248|   
#  249|      /* format: <magic><formatted string>\0 */
#  250|->    *(uint32_t *)string = magic;
#  251|      vsnprintf(string + 4, fmt_len + 1, fmt, args);
#  252|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1313]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_fence.c: scope_hint: In function ‘fd_pipe_fence_create_unflushed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_fence.c:323:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fence_create(pctx, 0, -1, 0)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_fence.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_fence.c:166:12: note: in expansion of macro ‘CALLOC_STRUCT’
#  321|      struct pipe_fence_handle *fence =
#  322|         fence_create(fd_context(pctx), NULL, -1, 0);
#  323|->    fence->needs_signal = true;
#  324|      util_queue_fence_reset(&fence->ready);
#  325|      tc_unflushed_batch_token_reference(&fence->tc_token, tc_token);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1314]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query.c: scope_hint: In function ‘setup_perfcntr_query_info’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query.c:256:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘info’
#  254|            const struct fd_perfcntr_countable *c = &g->countables[j];
#  255|   
#  256|->          info->name = c->name;
#  257|            info->query_type = FD_QUERY_FIRST_PERFCNTR + idx;
#  258|            info->type = query_type(c->query_type);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1315]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c: scope_hint: In function ‘fd_acc_create_query2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:285:13: warning[-Wanalyzer-malloc-leak]: leak of ‘aq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:271:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_util.h:112:26: note: in expansion of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_util.h:120:11: note: in expansion of macro ‘FD_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:275:4: note: in expansion of macro ‘DBG’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_acc.c:275:4: note: in expansion of macro ‘DBG’
#  283|      q->funcs = &acc_query_funcs;
#  284|      q->type = query_type;
#  285|->    q->index = index;
#  286|   
#  287|      return q;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1316]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_sw.c: scope_hint: In function ‘fd_sw_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_sw.c:200:12: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_sw.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_sw.c:194:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_query_sw.c:194:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  198|      q = &sq->base;
#  199|      q->funcs = &sw_query_funcs;
#  200|->    q->type = query_type;
#  201|   
#  202|      return q;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1317]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_resource.c: scope_hint: In function ‘fd_memobj_create_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_resource.c:1733:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_resource.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_resource.c:1720:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 1731|      memobj->bo = bo;
# 1732|   
# 1733|->    return &memobj->b;
# 1734|   }
# 1735|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1318]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_state.c: scope_hint: In function ‘fd_create_stream_output_target’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_state.c:656:11: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_state.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_state.c:638:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_state.c: scope_hint: In function ‘fd_create_stream_output_target’
#  654|                     buffer_offset + buffer_size);
#  655|   
#  656|->    return &target->base;
#  657|   }
#  658|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1319]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c: scope_hint: In function ‘fd_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c:51:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_batch.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_resource.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c:28: included_from: Included from here.
#   49|      psurf->context = pctx;
#   50|      psurf->format = surf_tmpl->format;
#   51|->    psurf->width = u_minify(ptex->width0, level);
#   52|      psurf->height = u_minify(ptex->height0, level);
#   53|      psurf->nr_samples = surf_tmpl->nr_samples;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1320]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c:64:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/freedreno_surface.c:38:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#   62|      }
#   63|   
#   64|->    return &surface->base;
#   65|   }
#   66|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1321]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_cache.c: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_cache.c:135:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shaders[0]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_cache.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.2.6-build/mesa-24.2.6/src/util/xxhash.h: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_cache.c: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_cache.c: scope_hint: In function ‘ir3_cache_lookup’
#  133|      }
#  134|   
#  135|->    struct ir3_compiler *compiler = shaders[MESA_SHADER_VERTEX]->compiler;
#  136|      uint32_t safe_constlens = ir3_trim_constlen(variants, compiler);
#  137|      shader_key.safe_constlen = true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1322]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_gallium.c: scope_hint: In function ‘ir3_shader_compute_state_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/freedreno/ir3/ir3_gallium.c:345:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hwcso’
#  343|   
#  344|      util_queue_fence_init(&hwcso->ready);
#  345|->    hwcso->shader = shader;
#  346|   
#  347|      /* Immediately compile a standard variant.  We have so few variants in our

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1323]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_emit.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_emit.c: scope_hint: In function ‘i915_emit_arith’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_emit.c:139:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc.h:123:31: note: in definition of macro ‘GET_UREG_NR’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_emit.c:121:8: note: in expansion of macro ‘GET_UREG_TYPE’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_emit.c:121:8: note: in expansion of macro ‘GET_UREG_TYPE’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc.h:123:31: note: in definition of macro ‘GET_UREG_NR’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc.h:123:31: note: in definition of macro ‘GET_UREG_NR’
#  137|         first = GET_UREG_NR(s[c[0]]);
#  138|         for (i = 1; i < nr_const; i++) {
#  139|->          if (GET_UREG_NR(s[c[i]]) != first) {
#  140|               uint32_t tmp = i915_get_utemp(p);
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1324]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘copy_token.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:254:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘o’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_context.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:641:7: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  252|   {
#  253|      if (i->Token.Type != TGSI_TOKEN_TYPE_INSTRUCTION)
#  254|->       memcpy(o, i, sizeof(*o));
#  255|      else
#  256|         copy_instruction(&o->FullInstruction, &i->FullInstruction);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1325]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_mark_read’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:278:31: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
#  276|   {
#  277|      int src_reg_index;
#  278|->    if (src_reg->Register.File == TGSI_FILE_TEMPORARY) {
#  279|         src_reg_index = src_reg->Register.Index;
#  280|         assert(src_reg_index < TGSI_EXEC_NUM_TEMPS);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1326]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_mark_read.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:279:40: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
#  277|      int src_reg_index;
#  278|      if (src_reg->Register.File == TGSI_FILE_TEMPORARY) {
#  279|->       src_reg_index = src_reg->Register.Index;
#  280|         assert(src_reg_index < TGSI_EXEC_NUM_TEMPS);
#  281|         /* live -> dead transition */

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1327]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_analysis’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:328:31: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
#  326|         current = &tokens->Tokens[i];
#  327|   
#  328|->       if (current->Token.Type != TGSI_TOKEN_TYPE_INSTRUCTION)
#  329|            continue;
#  330|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1328]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:331:52: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
#  329|            continue;
#  330|   
#  331|->       opcode = current->FullInstruction.Instruction.Opcode;
#  332|         num_src = op_num_src(opcode);
#  333|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1329]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘i915_fpc_optimize_useless_mov_after_inst’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:597:56: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned int*)&*next)[0]’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:641:7: note: in expansion of macro ‘MALLOC’
#  595|      // &out_tokens->Tokens[i-1], &out_tokens->Tokens[i]);
#  596|      if (current->Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION &&
#  597|->        next->Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION &&
#  598|          next->FullInstruction.Instruction.Opcode == TGSI_OPCODE_MOV &&
#  599|          op_has_dst(current->FullInstruction.Instruction.Opcode) &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1330]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘i915_optimize’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:629:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_tokens’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_optimize.c:622:41: note: in expansion of macro ‘MALLOC’
#  627|      ctx = malloc(sizeof(*ctx));
#  628|   
#  629|->    out_tokens->NumTokens = 0;
#  630|   
#  631|      /* Count the tokens */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1331]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_use_passthrough_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:92:23: warning[-Wanalyzer-malloc-leak]: leak of ‘*fs.program’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_context.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:89:30: note: in expansion of macro ‘MALLOC’
#   90|      if (fs->program) {
#   91|         memcpy(fs->program, passthrough_program, sizeof(passthrough_program));
#   92|->       fs->program_len = ARRAY_SIZE(passthrough_program);
#   93|      }
#   94|      fs->num_constants = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1332]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_init_compile’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:941:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:938:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  939|      int i;
#  940|   
#  941|->    p->shader = ifs;
#  942|      p->error = ralloc_strdup(NULL, "");
#  943|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1333]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_fini_compile’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:1039:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*ifs.program’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:1038:34: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1037|         ifs->program_len = decl_size + program_size;
# 1038|         ifs->program = (uint32_t *)MALLOC(ifs->program_len * sizeof(uint32_t));
# 1039|->       memcpy(ifs->program, p->declarations, decl_size * sizeof(uint32_t));
# 1040|         memcpy(&ifs->program[decl_size], p->program,
# 1041|                program_size * sizeof(uint32_t));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1334]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:1040:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*ifs.program’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_fpc_translate.c:1038:34: note: in expansion of macro ‘MALLOC’
# 1038|         ifs->program = (uint32_t *)MALLOC(ifs->program_len * sizeof(uint32_t));
# 1039|         memcpy(ifs->program, p->declarations, decl_size * sizeof(uint32_t));
# 1040|->       memcpy(&ifs->program[decl_size], p->program,
# 1041|                program_size * sizeof(uint32_t));
# 1042|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1335]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c: scope_hint: In function ‘i915_draw_render_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c:200:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘setup’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_private.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_pipe.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c:198:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  198|      struct setup_stage *setup = CALLOC_STRUCT(setup_stage);
#  199|   
#  200|->    setup->i915 = i915;
#  201|      setup->stage.draw = i915->draw;
#  202|      setup->stage.point = setup_point;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1336]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of ‘setup’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_emit.c:198:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  207|      setup->stage.destroy = render_destroy;
#  208|   
#  209|->    return &setup->stage;
#  210|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1337]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c: scope_hint: In function ‘i915_vbuf_render_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c:651:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘i915_render’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c:649:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  649|      struct i915_vbuf_render *i915_render = CALLOC_STRUCT(i915_vbuf_render);
#  650|   
#  651|->    i915_render->i915 = i915;
#  652|   
#  653|      i915_render->base.max_vertex_buffer_bytes = 4 * 4096;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1338]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c:679:11: warning[-Wanalyzer-malloc-leak]: leak of ‘i915_render’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_prim_vbuf.c:649:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  677|      i915_render->vbo_alloc_size = i915_render->base.max_vertex_buffer_bytes * 4;
#  678|   
#  679|->    return &i915_render->base;
#  680|   }
#  681|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1339]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c: scope_hint: In function ‘i915_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:111:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:119:16: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:119:16: note: in expansion of macro ‘align_malloc’
#  123|         goto err;
#  124|   
#  125|->    return &buf->b;
#  126|   
#  127|   err:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1340]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c: scope_hint: In function ‘i915_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:155:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c:136:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_buffer.c: scope_hint: In function ‘i915_user_buffer_create’
#  153|      buf->free_on_destroy = false;
#  154|   
#  155|->    return &buf->b;
#  156|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1341]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c: scope_hint: In function ‘i915_texture_set_level_info’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:129:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nr_images * 4)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:128:31: note: in expansion of macro ‘MALLOC’
#  127|      tex->nr_images[level] = nr_images;
#  128|      tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair));
#  129|->    tex->image_offset[level][0].nblocksx = 0;
#  130|      tex->image_offset[level][0].nblocksy = 0;
#  131|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1342]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:129:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(4)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c: scope_hint: In function ‘i915_texture_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:997:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_resource_texture.c:128:31: note: in expansion of macro ‘MALLOC’
#  127|      tex->nr_images[level] = nr_images;
#  128|      tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair));
#  129|->    tex->image_offset[level][0].nblocksx = 0;
#  130|      tex->image_offset[level][0].nblocksy = 0;
#  131|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1343]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_sampler_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:284:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:277:37: note: in expansion of macro ‘CALLOC_STRUCT’
#  282|      unsigned mipFilt;
#  283|   
#  284|->    cso->templ = *sampler;
#  285|   
#  286|      mipFilt = translate_mip_filter(sampler->min_mip_filter);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1344]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_depth_stencil_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:448:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:446:7: note: in expansion of macro ‘CALLOC_STRUCT’
#  446|         CALLOC_STRUCT(i915_depth_stencil_state);
#  447|   
#  448|->    cso->stencil_modes4_cw = i915_get_modes4_stencil(&depth_stencil->stencil[0]);
#  449|      cso->stencil_modes4_ccw =
#  450|         i915_get_modes4_stencil(&depth_stencil->stencil[1]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1345]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_rasterizer_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:907:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_state.c:905:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  905|      struct i915_rasterizer_state *cso = CALLOC_STRUCT(i915_rasterizer_state);
#  906|   
#  907|->    cso->templ = *rasterizer;
#  908|      cso->light_twoside = rasterizer->light_twoside;
#  909|      cso->ds[0].u = _3DSTATE_DEPTH_OFFSET_SCALE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1346]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_context.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_blit.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c: scope_hint: In function ‘i915_create_surface_custom’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:422:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_reg.h:100:33: note: in definition of macro ‘BUF_3D_PITCH’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_reg.h:100:33: note: in definition of macro ‘BUF_3D_PITCH’
#  420|      }
#  421|   
#  422|->    surf->buf_info |= BUF_3D_PITCH(tex->stride); /* pitch in bytes */
#  423|   
#  424|      switch (tex->tiling) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1347]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:424:4: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:398:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/i915/i915_surface.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  422|      surf->buf_info |= BUF_3D_PITCH(tex->stride); /* pitch in bytes */
#  423|   
#  424|->    switch (tex->tiling) {
#  425|      case I915_TILE_Y:
#  426|         surf->buf_info |= BUF_3D_TILED_SURFACE | BUF_3D_TILE_WALK_Y;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1348]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/i915/iris_kmd_backend.c: scope_hint: In function ‘i915_batch_submit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/i915/iris_kmd_backend.c:305:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘index_for_handle’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  303|      size_t sz = (batch->max_gem_handle + 1) * sizeof(int);
#  304|      int *index_for_handle = malloc(sz);
#  305|->    memset(index_for_handle, -1, sz);
#  306|   
#  307|      unsigned validation_count = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1349]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/i915/iris_kmd_backend.c:325:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘validation_list’
#  323|   
#  324|            index_for_handle[bo->gem_handle] = validation_count;
#  325|->          validation_list[validation_count] =
#  326|               (struct drm_i915_gem_exec_object2) {
#  327|                  .handle = bo->gem_handle,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1350]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c: scope_hint: In function ‘combine_and_pin_address’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c:99:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blorp_batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1560:4: note: in expansion of macro ‘GENX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/genxml/genX_pack.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:173: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/genxml/genX_helpers.h:49:24: note: in expansion of macro ‘__gen_combine_address’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘combine_and_pin_address’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c: scope_hint: In function ‘combine_and_pin_address’
#   97|                           struct blorp_address addr)
#   98|   {
#   99|->    struct iris_batch *batch = blorp_batch->driver_batch;
#  100|      struct iris_bo *bo = addr.buffer;
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1351]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:504:14: warning[-Wanalyzer-malloc-leak]: leak of ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:63: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:1600:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:1600:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/intel/common/intel_bind_timeline.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:67: included_from: Included from here.
#  502|       */
#  503|      if (!is_external && bo->idle)
#  504|->       return 0;
#  505|   
#  506|      simple_mtx_lock(&bufmgr->bo_deps_lock);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1352]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:517:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  515|         external_implicit_syncobj = iris_bo_export_sync_state(bo);
#  516|         if (external_implicit_syncobj)
#  517|->          handles[handle_count++] = external_implicit_syncobj->handle;
#  518|      }
#  519|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1353]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:525:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  523|            struct iris_syncobj *w = bo->deps[d].write_syncobjs[b];
#  524|            if (r)
#  525|->             handles[handle_count++] = r->handle;
#  526|            if (w)
#  527|               handles[handle_count++] = w->handle;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1354]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:527:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  525|               handles[handle_count++] = r->handle;
#  526|            if (w)
#  527|->             handles[handle_count++] = w->handle;
#  528|         }
#  529|      }

Error: GCC_ANALYZER_WARNING (CWE-590): [#def1355]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:562:7: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘handles’ which points to memory on the stack
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:1600:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c:1600:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  560|   out:
#  561|      if (handles_len > 32)
#  562|->       free(handles);
#  563|      if (external_implicit_syncobj)
#  564|         iris_syncobj_reference(bufmgr, &external_implicit_syncobj, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1356]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_disk_cache.c: scope_hint: In function ‘iris_disk_cache_retrieve’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_disk_cache.c:224:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elk’
#  222|      blob_reader_init(&blob, buffer, size);
#  223|      blob_copy_bytes(&blob, prog_data, prog_data_size);
#  224|->    assembly = blob_read_bytes(&blob, brw ? brw->program_size : elk->program_size);
#  225|      num_system_values = blob_read_uint32(&blob);
#  226|      if (num_system_values) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1357]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_disk_cache.c:252:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elk’
#  250|      } else {
#  251|         elk->relocs = NULL;
#  252|->       if (elk->num_relocs) {
#  253|            struct elk_shader_reloc *relocs =
#  254|               ralloc_array(NULL, struct elk_shader_reloc, elk->num_relocs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1358]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:118:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_batch.h:462:28: note: in definition of macro ‘iris_foreach_batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:592:4: note: in expansion of macro ‘iris_foreach_batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_batch.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
#  116|         util_dynarray_grow(&batch->exec_fences, struct iris_batch_fence, 1);
#  117|   
#  118|->    *fence = (struct iris_batch_fence) {
#  119|         .handle = syncobj->handle,
#  120|         .flags = flags,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1359]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:126:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_batch.h:462:28: note: in definition of macro ‘iris_foreach_batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:592:4: note: in expansion of macro ‘iris_foreach_batch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:124:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_fence.c:124:7: note: in expansion of macro ‘util_dynarray_grow’
#  124|         util_dynarray_grow(&batch->syncobjs, struct iris_syncobj *, 1);
#  125|   
#  126|->    *store = NULL;
#  127|      iris_syncobj_reference(batch->screen->bufmgr, store, syncobj);
#  128|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1360]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_measure.c: scope_hint: In function ‘iris_init_batch_measure’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_measure.c:117:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*batch.measure’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  115|      assert(batch->measure == NULL);
#  116|      batch->measure = malloc(batch_bytes);
#  117|->    memset(batch->measure, 0, batch_bytes);
#  118|      struct iris_measure_batch *measure = batch->measure;
#  119|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1361]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_performance_query.c: scope_hint: In function ‘iris_new_perf_query_obj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_performance_query.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
#  102|   
#  103|      q->query = obj;
#  104|->    return (struct pipe_query *)&q->base;
#  105|   }
#  106|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1362]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:57:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3400:44: note: in expansion of macro ‘KEY_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3400:44: note: in expansion of macro ‘KEY_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3400:44: note: in expansion of macro ‘KEY_INIT’
#   55|   
#   56|   #define KEY_INIT(prefix)                                                   \
#   57|->    .prefix.program_string_id = ish->program_id,                            \
#   58|      .prefix.limit_trig_input_range = screen->driconf.limit_trig_input_range
#   59|   #define BRW_KEY_INIT(gen, prog_id, limit_trig_input)       \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1363]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:739:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3751:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:759:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:760:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
#  737|         deref = nir_deref_instr_parent(deref);
#  738|         assert(glsl_type_is_array(deref->type));
#  739|->       array_size *= glsl_get_length(deref->type);
#  740|      }
#  741|   

Error: COMPILER_WARNING (CWE-563): [#def1364]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_fill_cs_push_const_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3097:25: warning[-Wunused-variable]: unused variable ‘cs_data’
# 3097 |    struct iris_cs_data *cs_data = iris_cs_data(shader);
#      |                         ^~~~~~~
# 3095|                                  uint32_t *dst)
# 3096|   {
# 3097|->    struct iris_cs_data *cs_data = iris_cs_data(shader);
# 3098|      assert(iris_cs_push_const_total_size(shader, threads) > 0);
# 3099|      assert(cs_data->push.cross_thread.size == 0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1365]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3398:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3396|         /* User clip planes */
# 3397|         if (info->clip_distance_array_size == 0)
# 3398|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3399|   
# 3400|         key.vs = (struct iris_vs_prog_key) { KEY_INIT(vue.base) };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1366]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3430:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3428|         /* User clip planes */
# 3429|         if (info->clip_distance_array_size == 0)
# 3430|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3431|   
# 3432|         key.tes = (struct iris_tes_prog_key) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1367]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3445:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3443|         /* User clip planes */
# 3444|         if (info->clip_distance_array_size == 0)
# 3445|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3446|   
# 3447|         key.gs = (struct iris_gs_prog_key) { KEY_INIT(vue.base) };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1368]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3452:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3450|   
# 3451|      case MESA_SHADER_FRAGMENT:
# 3452|->       ish->nos |= (1ull << IRIS_NOS_FRAMEBUFFER) |
# 3453|                     (1ull << IRIS_NOS_DEPTH_STENCIL_ALPHA) |
# 3454|                     (1ull << IRIS_NOS_RASTERIZER) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1369]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:3506:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘job’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_program.c:795:4: note: in expansion of macro ‘nir_foreach_function_impl’
# 3504|            struct iris_threaded_compile_job *job = calloc(1, sizeof(*job));
# 3505|   
# 3506|->          job->screen = screen;
# 3507|            job->uploader = uploader;
# 3508|            job->ish = ish;

Error: COMPILER_WARNING (CWE-563): [#def1370]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘map_aux_addresses’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_resource.c:642:18: warning[-Wunused-variable]: unused variable ‘mapped’
#  642 |       const bool mapped =
#      |                  ^~~~~~
#  640|         const uint64_t format_bits =
#  641|            intel_aux_map_format_bits(res->surf.tiling, format, plane);
#  642|->       const bool mapped =
#  643|            intel_aux_map_add_mapping(aux_map_ctx,
#  644|                                      res->bo->address + res->offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1371]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘iris_resource_create_for_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_resource.c:987:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_alloc_resource(pscreen,  templ)’
#  985|             util_format_get_blocksize(templ->format) == 1);
#  986|   
#  987|->    res->internal_format = templ->format;
#  988|      res->surf.tiling = ISL_TILING_LINEAR;
#  989|   

Error: COMPILER_WARNING (CWE-563): [#def1372]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘fill_surf_for_tex2d_from_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c:2824:15: warning[-Wunused-variable]: unused variable ‘isl_surf_created_successfully’
# 2824 |    const bool isl_surf_created_successfully =
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2822|      };
# 2823|   
# 2824|->    const bool isl_surf_created_successfully =
# 2825|         isl_surf_init_s(isl_dev, surf, &init_info);
# 2826|   

Error: COMPILER_WARNING (CWE-563): [#def1373]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘iris_store_cs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c:5281:25: warning[-Wunused-variable]: unused variable ‘cs_data’
# 5281 |    struct iris_cs_data *cs_data = iris_cs_data(shader);
#      |                         ^~~~~~~
# 5279|                       struct iris_compiled_shader *shader)
# 5280|   {
# 5281|->    struct iris_cs_data *cs_data = iris_cs_data(shader);
# 5282|      void *map = shader->derived_data;
# 5283|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1374]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘gfx12_init_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_state.c:10382:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*ice.state.genx’
#10380|   
#10381|   #if GFX_VERx10 >= 120
#10382|->    ice->state.genx->object_preemption = true;
#10383|   #endif
#10384|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1375]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/nir.c: scope_hint: In function ‘gpir_compile_nir’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/nir.c:446:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/nir.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  444|   {
#  445|      nir_function_impl *func = nir_shader_get_entrypoint(nir);
#  446|->    gpir_compiler *comp = gpir_compiler_create(prog, func->ssa_alloc);
#  447|      if (!comp)
#  448|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1376]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/gpir.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c: scope_hint: In function ‘create_move’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_ir.h:35:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
#   33|      do {                                \
#   34|         if (lima_debug & LIMA_DEBUG_GP)  \
#   35|->          printf("gpir: " __VA_ARGS__); \
#   36|      } while (0)
#   37|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1377]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:46:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
#   44|      case ppir_node_type_branch:
#   45|         /* ALU and branch can consume consts directly */
#   46|->       dest->type = ppir_target_pipeline;
#   47|         /* Reg will be updated in node_to_instr later */
#   48|         dest->pipeline = ppir_pipeline_reg_const0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1378]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:77:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:68:4: note: in expansion of macro ‘ppir_debug’
#   75|       */
#   76|      ppir_src *mov_src = ppir_node_get_src(move, 0);
#   77|->    mov_src->type = dest->type = ppir_target_pipeline;
#   78|      mov_src->pipeline = dest->pipeline = ppir_pipeline_reg_const0;
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1379]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:77:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:68:4: note: in expansion of macro ‘ppir_debug’
#   75|       */
#   76|      ppir_src *mov_src = ppir_node_get_src(move, 0);
#   77|->    mov_src->type = dest->type = ppir_target_pipeline;
#   78|      mov_src->pipeline = dest->pipeline = ppir_pipeline_reg_const0;
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1380]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_load’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:102:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  100|      ppir_dest *dest = ppir_node_get_dest(node);
#  101|      if (ppir_node_is_root(node) && !node->succ_different_block &&
#  102|->        dest->type == ppir_target_ssa) {
#  103|         ppir_node_delete(node);
#  104|         return true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1381]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:112:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  110|      if ((ppir_node_has_single_src_succ(node) || ppir_node_is_root(node)) &&
#  111|          !node->succ_different_block &&
#  112|->        dest->type != ppir_target_register) {
#  113|         ppir_node *succ = ppir_node_first_succ(node);
#  114|         switch (succ->type) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1382]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:139:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  137|   
#  138|      ppir_src *mov_src = ppir_node_get_src(move, 0);
#  139|->    mov_src->type = dest->type = ppir_target_pipeline;
#  140|      mov_src->pipeline = dest->pipeline = ppir_pipeline_reg_uniform;
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1383]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:139:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  137|   
#  138|      ppir_src *mov_src = ppir_node_get_src(move, 0);
#  139|->    mov_src->type = dest->type = ppir_target_pipeline;
#  140|      mov_src->pipeline = dest->pipeline = ppir_pipeline_reg_uniform;
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1384]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_texture’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:167:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  165|      ppir_dest *dest = ppir_node_get_dest(node);
#  166|   
#  167|->    if (ppir_node_has_single_succ(node) && dest->type == ppir_target_ssa) {
#  168|         ppir_node *succ = ppir_node_first_succ(node);
#  169|         dest->type = ppir_target_pipeline;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1385]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:191:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:187:4: note: in expansion of macro ‘ppir_debug’
#  189|   
#  190|      ppir_src *mov_src = ppir_node_get_src(move, 0);
#  191|->    mov_src->type = dest->type = ppir_target_pipeline;
#  192|      mov_src->pipeline = dest->pipeline = ppir_pipeline_reg_sampler;
#  193|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1386]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/nir.c: scope_hint: In function ‘ppir_compile_nir’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/nir.c:953:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/nir.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  951|   {
#  952|      nir_function_impl *func = nir_shader_get_entrypoint(nir);
#  953|->    ppir_compiler *comp = ppir_compiler_create(prog, func->ssa_alloc);
#  954|      if (!comp)
#  955|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1387]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c: scope_hint: In function ‘ppir_node_insert_mov_local’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c:615:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  613|      ppir_dest *dest = ppir_node_get_dest(node);
#  614|      ppir_alu_node *alu = ppir_node_to_alu(move);
#  615|->    alu->dest = *dest;
#  616|      alu->num_src = 1;
#  617|      ppir_node_target_assign(alu->src, node);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1388]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_get_dest’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:507:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c:639:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:245:15: note: in definition of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c:642:7: note: in expansion of macro ‘list_for_each_entry_safe’
#  505|   {
#  506|      assert(node);
#  507|->    switch (node->type) {
#  508|      case ppir_node_type_alu:
#  509|         return &ppir_node_to_alu(node)->dest;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1389]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/lower.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_target_assign’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:592:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  590|   {
#  591|      ppir_dest *dest = ppir_node_get_dest(node);
#  592|->    src->type = dest->type;
#  593|      switch (src->type) {
#  594|      case ppir_target_ssa:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1390]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_target_equal’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:614:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:490:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/node.c:496:4: note: in expansion of macro ‘ppir_node_foreach_succ_safe’
#  612|   static inline bool ppir_node_target_equal(ppir_src *src, ppir_dest *dest)
#  613|   {
#  614|->    if (src->type != dest->type ||
#  615|          (src->type == ppir_target_ssa && src->ssa != &dest->ssa) ||
#  616|          (src->type == ppir_target_register && src->reg != dest->reg) ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1391]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/instr.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_target_is_scalar’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/pp/ppir.h:672:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
#  670|   static inline bool ppir_target_is_scalar(ppir_dest *dest)
#  671|   {
#  672|->    switch (dest->type) {
#  673|      case ppir_target_ssa:
#  674|         return dest->ssa.num_components == 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1392]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_plbu_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:119:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:134:35: note: in expansion of macro ‘PLBU_CMD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:345:4: note: in expansion of macro ‘PLBU_CMD_VIEWPORT_LEFT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_plbu_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:343:4: note: in expansion of macro ‘PLBU_CMD_BEGIN’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:343:4: note: in expansion of macro ‘PLBU_CMD_BEGIN’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:134:35: note: in expansion of macro ‘PLBU_CMD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:345:4: note: in expansion of macro ‘PLBU_CMD_VIEWPORT_LEFT’
#  117|   #define PLBU_CMD(v1, v2) \
#  118|      do { \
#  119|->       plbu_cmd[i++] = v1; \
#  120|         plbu_cmd[i++] = v2; \
#  121|      } while (0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1393]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_vs_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:175:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:299:7: note: in expansion of macro ‘VS_CMD_ARRAYS_SEMAPHORE_BEGIN_1’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_vs_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:296:4: note: in expansion of macro ‘VS_CMD_BEGIN’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
/usr/include/dlfcn.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_screen.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:296:4: note: in expansion of macro ‘VS_CMD_BEGIN’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:299:7: note: in expansion of macro ‘VS_CMD_ARRAYS_SEMAPHORE_BEGIN_1’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_draw.c:299:7: note: in expansion of macro ‘VS_CMD_ARRAYS_SEMAPHORE_BEGIN_1’
#  173|   #define VS_CMD(v1, v2) \
#  174|      do { \
#  175|->       vs_cmd[i++] = v1; \
#  176|         vs_cmd[i++] = v2; \
#  177|      } while (0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1394]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c: scope_hint: In function ‘lima_job_add_bo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:219:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_math.h:48: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
#  217|      struct drm_lima_gem_submit_bo *job_bo =
#  218|         util_dynarray_grow(job->gem_bos + pipe, struct drm_lima_gem_submit_bo, 1);
#  219|->    job_bo->handle = bo->handle;
#  220|      job_bo->flags = flags;
#  221|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1395]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:223:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:222:27: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:222:27: note: in expansion of macro ‘util_dynarray_grow’
#  221|   
#  222|      struct lima_bo **jbo = util_dynarray_grow(job->bos + pipe, struct lima_bo *, 1);
#  223|->    *jbo = bo;
#  224|   
#  225|      /* prevent bo from being freed when job start */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1396]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c: scope_hint: In function ‘lima_finish_plbu_cmd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:728:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
#  726|      uint32_t *plbu_cmd = util_dynarray_ensure_cap(plbu_cmd_array, plbu_cmd_array->size + 2 * 4);
#  727|   
#  728|->    plbu_cmd[i++] = 0x00000000;
#  729|      plbu_cmd[i++] = 0x50000000; /* END */
#  730|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1397]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c: scope_hint: In function ‘lima_surface_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c:581:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pres’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c:26: included_from: Included from here.
#  579|      psurf->context = pctx;
#  580|      psurf->format = surf_tmpl->format;
#  581|->    psurf->width = u_minify(pres->width0, level);
#  582|      psurf->height = u_minify(pres->height0, level);
#  583|      psurf->nr_samples = surf_tmpl->nr_samples;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1398]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c:599:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/lima_resource.c:566:32: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  597|         surf->reload |= PIPE_CLEAR_COLOR0;
#  598|   
#  599|->    return &surf->base;
#  600|   }
#  601|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1399]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c: scope_hint: In function ‘llvmpipe_create_blend_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c:51:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(blend, 36)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#   49|   
#   50|      if (LP_PERF & PERF_NO_BLEND) {
#   51|->       state->independent_blend_enable = 0;
#   52|         for (unsigned i = 0; i < PIPE_MAX_COLOR_BUFS; i++)
#   53|            state->rt[i].blend_enable = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1400]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c: scope_hint: In function ‘llvmpipe_create_depth_stencil_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c:117:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  115|   
#  116|      if (LP_PERF & PERF_NO_DEPTH) {
#  117|->       state->depth_enabled = 0;
#  118|         state->depth_writemask = 0;
#  119|         state->stencil[0].enabled = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1401]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_blend.c:124:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  122|   
#  123|      if (LP_PERF & PERF_NO_ALPHATEST) {
#  124|->       state->alpha_enabled = 0;
#  125|      }
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1402]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_cs.c: scope_hint: In function ‘lp_mesh_call_draw’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_cs.c:2040:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elts’
# 2038|         uint32_t *prim_idxs = (uint32_t *)(prim_ptr + p * psize + prim_out_idx * 4 * sizeof(float));
# 2039|         for (unsigned elt = 0; elt < prim_len; elt++){
# 2040|->          elts[elts_idx++] = prim_idxs[elt];
# 2041|         }
# 2042|         prim_lengths[p] = prim_len;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1403]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_cs.c:2042:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prim_lengths’
# 2040|            elts[elts_idx++] = prim_idxs[elt];
# 2041|         }
# 2042|->       prim_lengths[p] = prim_len;
# 2043|      }
# 2044|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1404]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c: scope_hint: In function ‘generate_fragment’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:3211:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:72: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:3144:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:3144:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:62: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs.c:3210:43: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 3209|      variant->function[partial_mask] = function;
# 3210|      variant->function_name[partial_mask] = MALLOC(strlen(func_name)+1);
# 3211|->    strcpy(variant->function_name[partial_mask], func_name);
# 3212|   
# 3213|      /* XXX: need to propagate noalias down into color param now we are

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1405]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c: scope_hint: In function ‘llvmpipe_fs_variant_linear_llvm’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:293:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.linear_function_name’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:292:36: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#  291|      variant->linear_function = function;
#  292|      variant->linear_function_name = MALLOC(strlen(func_name)+1);
#  293|->    strcpy(variant->linear_function_name, func_name);
#  294|   
#  295|      /* XXX: need to propagate noalias down into color param now we are

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1406]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_so.c: scope_hint: In function ‘llvmpipe_set_so_targets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_so.c:101:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*targets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_context.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_state_so.c:28: included_from: Included from here.
#   99|         if (targets[i]) {
#  100|            void *buf = llvmpipe_resource(targets[i]->buffer)->data;
#  101|->          llvmpipe->so_targets[i]->mapping = buf;
#  102|         }
#  103|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1407]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_create_all’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:388:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:297:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_create_all’
#  386|   #endif
#  387|   
#  388|->    return &lpr->base;
#  389|   
#  390|    fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1408]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_memobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:496:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lpr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:495:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:495:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  494|      struct llvmpipe_memory_object *lpmo = llvmpipe_memory_object(memobj);
#  495|      struct llvmpipe_resource *lpr = CALLOC_STRUCT(llvmpipe_resource);
#  496|->    lpr->base = *templat;
#  497|   
#  498|      lpr->screen = screen;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1409]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:546:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:495:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:495:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_memobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘llvmpipe_resource_from_memobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_memobj’
#  544|   #endif
#  545|   
#  546|->    return &lpr->base;
#  547|   
#  548|   fail:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1410]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:798:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:721:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:721:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  796|   #endif
#  797|   
#  798|->    return &lpr->base;
#  799|   
#  800|   no_dt:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1411]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_user_memory’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:895:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:872:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_user_memory’
#  893|      simple_mtx_unlock(&resource_list_mutex);
#  894|   #endif
#  895|->    return &lpr->base;
#  896|   fail:
#  897|      FREE(lpr);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1412]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_transfer_map_ms’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1033:17: warning[-Wanalyzer-malloc-leak]: leak of ‘lpt’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:956:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_transfer_map_ms’
# 1031|         }
# 1032|   
# 1033|->       return lpt->map;
# 1034|      }
# 1035|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1413]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1240:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1222:13: note: in expansion of macro ‘CALLOC_STRUCT’
# 1238|      buffer->data = ptr;
# 1239|   
# 1240|->    return &buffer->base;
# 1241|   }
# 1242|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1414]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_allocate_memory’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1310:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1305:45: note: in expansion of macro ‘CALLOC_STRUCT’
# 1308|         alignment = 256;
# 1309|   
# 1310|->    mem->size = align64(size, alignment);
# 1311|   
# 1312|   #if DETECT_OS_LINUX

Error: COMPILER_WARNING (CWE-252): [#def1415]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_allocate_memory’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1330:7: warning[-Wunused-result]: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’
# 1330 |       ftruncate(screen->fd_mem_alloc, screen->mem_file_size);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1328|         /* expand the anonymous file */
# 1329|         screen->mem_file_size = mem->offset + mem->size;
# 1330|->       ftruncate(screen->fd_mem_alloc, screen->mem_file_size);
# 1331|      }
# 1332|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1416]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_import_memory_fd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1480:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1479:47: note: in expansion of macro ‘CALLOC_STRUCT’
# 1478|   {
# 1479|      struct llvmpipe_memory_allocation *alloc = CALLOC_STRUCT(llvmpipe_memory_allocation);
# 1480|->    alloc->mem_fd = -1;
# 1481|      alloc->dmabuf_fd = -1;
# 1482|   #if defined(HAVE_LIBDRM) && defined(HAVE_LINUX_UDMABUF_H)

Error: GCC_ANALYZER_WARNING (CWE-416): [#def1417]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1513:19: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘alloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c:1479:47: note: in expansion of macro ‘CALLOC_STRUCT’
# 1511|         }
# 1512|   
# 1513|->       alloc->type = LLVMPIPE_MEMORY_FD_TYPE_OPAQUE;
# 1514|         return ret;
# 1515|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1418]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.h:189:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_transfer_map_ms’
#  187|   llvmpipe_resource_is_texture(const struct pipe_resource *resource)
#  188|   {
#  189|->    switch (resource->target) {
#  190|      case PIPE_BUFFER:
#  191|         return false;

Error: COMPILER_WARNING (CWE-563): [#def1419]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_texture_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture_handle.c:69:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
#   69 |       bool found = false;
#      |            ^~~~~
#   67|         llvmpipe_register_texture(ctx, &state, true);
#   68|   
#   69|->       bool found = false;
#   70|         for (uint32_t i = 0; i < matrix->texture_count; i++) {
#   71|            if (!memcmp(&matrix->textures[i]->state, &state, sizeof(struct lp_static_texture_state))) {

Error: COMPILER_WARNING (CWE-563): [#def1420]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture_handle.c:86:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
#   86 |       bool found = false;
#      |            ^~~~~
#   84|         llvmpipe_register_sampler(ctx, &state);
#   85|   
#   86|->       bool found = false;
#   87|         for (uint32_t i = 0; i < matrix->sampler_count; i++) {
#   88|            if (!memcmp(matrix->samplers + i, &state, sizeof(struct lp_static_sampler_state))) {

Error: COMPILER_WARNING (CWE-563): [#def1421]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_image_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/llvmpipe/lp_texture_handle.c:133:9: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
#  133 |    bool found = false;
#      |         ^~~~~
#  131|      llvmpipe_register_texture(ctx, &state, false);
#  132|   
#  133|->    bool found = false;
#  134|      for (uint32_t i = 0; i < matrix->texture_count; i++) {
#  135|         if (!memcmp(&matrix->textures[i]->state, &state, sizeof(struct lp_static_texture_state))) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1422]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_transfer_staging’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nv’
#  157|      const unsigned size = align(tx->base.box.width, 4) + adj;
#  158|   
#  159|->    if (!nv->push_data)
#  160|         permit_pb = false;
#  161|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1423]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_user_ptr_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:659:34: warning[-Wanalyzer-malloc-leak]: leak of ‘tx’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:654:34: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_user_ptr_transfer_map’
#  657|      nouveau_buffer_transfer_init(tx, resource, box, usage);
#  658|      *ptransfer = &tx->base;
#  659|->    return nv04_resource(resource)->data;
#  660|   }
#  661|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1424]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:730:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:678:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:61:59: note: in definition of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:44:19: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:44:19: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create’
#  728|      util_range_init(&buffer->valid_buffer_range);
#  729|   
#  730|->    return &buffer->base;
#  731|   
#  732|   fail:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1425]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create_from_user’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:760:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:744:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  758|      pipe_reference_init(&buffer->base.reference, 1);
#  759|   
#  760|->    return &buffer->base;
#  761|   }
#  762|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1426]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_scratch_runout’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:983:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_buffer.c:980:25: note: in expansion of macro ‘REALLOC’
#  981|                                   (sizeof(*nv->scratch.runout) + (n + 0) * sizeof(void *)),
#  982|                                    sizeof(*nv->scratch.runout) + (n + 1) * sizeof(void *));
#  983|->    nv->scratch.runout->nr = n + 1;
#  984|      nv->scratch.runout->bo[n] = NULL;
#  985|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1427]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_fence.c: scope_hint: In function ‘nouveau_fence_del’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_fence.c:117:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_screen.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_fence.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:46:51: note: in definition of macro ‘p_atomic_dec_zero’
#  115|         } else {
#  116|            for (it = fence_list->head; it && it->next != fence; it = it->next);
#  117|->          it->next = fence->next;
#  118|            if (fence_list->tail == fence)
#  119|               fence_list->tail = it;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1428]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.c: scope_hint: In function ‘nouveau_pushbuf_create.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.c:253:23: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.c:245:37: note: in expansion of macro ‘MALLOC_STRUCT’
#  251|      p->context = context;
#  252|      (*push)->kick_notify = nouveau_pushbuf_cb;
#  253|->    (*push)->user_priv = p;
#  254|      return 0;
#  255|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1429]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_video.c: scope_hint: In function ‘nouveau_video_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_video.c:795:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_video_state.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_video_codec.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_decoder.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_video.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_video.c:801:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  793|          (screen->device->chipset >= 0x98 && screen->device->chipset != 0xa0) ||
#  794|          screen->device->chipset < 0x40)
#  795|->       return vl_video_buffer_create(pipe, templat);
#  796|   
#  797|      assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1430]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_draw.c: scope_hint: In function ‘nv30_render_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_draw.c:496:11: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_draw.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_draw.c:477:28: note: in expansion of macro ‘CALLOC_STRUCT’
#  494|      r->base.release_vertices = nv30_render_release_vertices;
#  495|      r->base.destroy = nv30_render_destroy;
#  496|->    return &r->base;
#  497|   }
#  498|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1431]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:300:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:27: included_from: Included from here.
#  298|      tx->base.usage = usage;
#  299|      tx->base.box = *box;
#  300|->    tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) *
#  301|                              util_format_get_blocksize(pt->format), 64);
#  302|      tx->base.layer_stride = util_format_get_nblocksy(pt->format, box->height) *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1432]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:419:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  417|      switch (tmpl->nr_samples) {
#  418|      case 4:
#  419|->       mt->ms_mode = 0x00004000;
#  420|         mt->ms_x = 1;
#  421|         mt->ms_y = 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1433]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:424:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  422|         break;
#  423|      case 2:
#  424|->       mt->ms_mode = 0x00003000;
#  425|         mt->ms_x = 1;
#  426|         mt->ms_y = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1434]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:430:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  428|      default:
#  429|         mt->ms_mode = 0x00000000;
#  430|->       mt->ms_x = 0;
#  431|         mt->ms_y = 0;
#  432|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1435]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_surface_new’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:567:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
#  565|      ps->u.tex.last_layer = tmpl->u.tex.last_layer;
#  566|   
#  567|->    ns->width = u_minify(pt->width0, ps->u.tex.level);
#  568|      ns->height = u_minify(pt->height0, ps->u.tex.level);
#  569|      ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1436]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:578:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ns’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:554:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  576|      /* comment says there are going to be removed, but they're used by the st */
#  577|      ps->width = ns->width;
#  578|->    ps->height = ns->height;
#  579|      return ps;
#  580|   }

Error: GCC_ANALYZER_WARNING (CWE-416): [#def1437]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_ntfy’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:44:16: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘qo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_screen.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:77:12: note: in expansion of macro ‘list_first_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nouveau_screen.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_screen.h:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:60:7: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:77:12: note: in expansion of macro ‘list_first_entry’
#   42|      volatile void *ntfy = NULL;
#   43|   
#   44|->    if (qo && qo->hw)
#   45|         ntfy = (char *)notify->map + query->offset + qo->hw->start;
#   46|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1438]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_object_del’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:56:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:77:12: note: in expansion of macro ‘list_first_entry’
#   54|      if (qo) {
#   55|         volatile uint32_t *ntfy = nv30_ntfy(screen, qo);
#   56|->       while (ntfy[3] & 0xff000000) {
#   57|         }
#   58|         nouveau_heap_free(&qo->hw);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1439]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_object_new’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:84:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#   82|   
#   83|      ntfy = nv30_ntfy(screen, qo);
#   84|->    ntfy[0] = 0x00000000;
#   85|      ntfy[1] = 0x00000000;
#   86|      ntfy[2] = 0x00000000;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1440]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_result’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_query.c:219:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  217|            break;
#  218|         case PIPE_QUERY_TIME_ELAPSED:
#  219|->          q->result = *(uint64_t *)&ntfy1[0] - *(uint64_t *)&ntfy0[0];
#  220|            break;
#  221|         default:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1441]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_texture.c: scope_hint: In function ‘nv30_sampler_view_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_texture.c:237:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_texture.c:26: included_from: Included from here.
#  235|   
#  236|      so->fmt = NV30_3D_TEX_FORMAT_NO_BORDER;
#  237|->    switch (pt->target) {
#  238|      case PIPE_TEXTURE_1D:
#  239|         so->fmt |= NV30_3D_TEX_FORMAT_DIMS_1D;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1442]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_texture.c:307:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nv30_texture.c:227:9: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  305|      so->base_lod = so->pipe.u.tex.first_level << 8;
#  306|      so->high_lod = MIN2(pt->last_level, so->pipe.u.tex.last_level) << 8;
#  307|->    return &so->pipe;
#  308|   }
#  309|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1443]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fp_imm’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:74:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:2: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
/usr/include/time.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_time.h:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
#   72|      int idx = fpc->imm_data.size >> 4;
#   73|   
#   74|->    memcpy(util_dynarray_grow(&fpc->imm_data, float, 4), v, 4 * sizeof(float));
#   75|      return nvfx_reg(NVFXSR_IMM, idx);
#   76|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1444]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fragprog_parse_instruction’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:536:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src[1]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: note: in expansion of macro ‘util_dynarray_append’
#  534|      switch (finst->Instruction.Opcode) {
#  535|      case TGSI_OPCODE_ADD:
#  536|->       nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], src[1], none));
#  537|         break;
#  538|      case TGSI_OPCODE_CEIL:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1445]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fragprog_prepare’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1011:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*fpc.r_imm + (long unsigned int)*fpc.nr_imm * 8’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:971:17: note: in expansion of macro ‘CALLOC’
# 1009|            assert(fpc->nr_imm < fpc->fp->info.immediate_count);
# 1010|   
# 1011|->          fpc->r_imm[fpc->nr_imm++] = nvfx_fp_imm(fpc, imm->u[0].Float, imm->u[1].Float, imm->u[2].Float, imm->u[3].Float);
# 1012|            break;
# 1013|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1446]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1045:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*fpc.r_temp + (long unsigned int)i * 8’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1043:21: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1043:21: note: in expansion of macro ‘CALLOC’
# 1043|         fpc->r_temp = CALLOC(high_temp, sizeof(struct nvfx_reg));
# 1044|         for (i = 0; i < high_temp; i++)
# 1045|->          fpc->r_temp[i] = temp(fpc);
# 1046|         fpc->r_temps_discard = 0ULL;
# 1047|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1447]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c: scope_hint: In function ‘nvfx_vertprog_prepare’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:934:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*vpc.r_temp + (long unsigned int)i * 8’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:932:21: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:932:21: note: in expansion of macro ‘CALLOC’
#  932|         vpc->r_temp = CALLOC(high_temp, sizeof(struct nvfx_reg));
#  933|         for (i = 0; i < high_temp; i++)
#  934|->          vpc->r_temp[i] = temp(vpc);
#  935|      }
#  936|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1448]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:940:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)high_addr, 8)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:938:24: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:938:24: note: in expansion of macro ‘CALLOC’
#  938|         vpc->r_address = CALLOC(high_addr, sizeof(struct nvfx_reg));
#  939|         for (i = 0; i < high_addr; i++)
#  940|->          vpc->r_address[i] = nvfx_reg(NVFXSR_TEMP, i);
#  941|      }
#  942|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1449]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c: scope_hint: In function ‘_nvfx_vertprog_translate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1007:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c: scope_hint: In function ‘_nvfx_vertprog_translate’
# 1005|            assert(imm->Immediate.NrTokens == 4 + 1);
# 1006|            vpc->imm[vpc->nr_imm++] =
# 1007|->             constant(vpc, -1,
# 1008|                   imm->u[0].Float,
# 1009|                   imm->u[1].Float,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1450]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c: scope_hint: In function ‘nv50_miptree_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:342:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:331:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  340|         return NULL;
#  341|   
#  342|->    *pt = *templ;
#  343|      pipe_reference_init(&pt->reference, 1);
#  344|      pt->screen = pscreen;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1451]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_program.c: scope_hint: In function ‘nv50_program_create_strmout_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_program.c:309:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘base[3]’
#  307|      }
#  308|   
#  309|->    so->map_size = base[3] + so->num_attribs[3];
#  310|   
#  311|      for (i = 0; i < pso->num_outputs; ++i) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1452]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c: scope_hint: In function ‘nv50_hw_metric_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:76:4: note: in expansion of macro ‘FREE’
#   75|            hmq->queries[i]->funcs->destroy_query(nv50, hmq->queries[i]);
#   76|      FREE(hmq);
#   77|-> }
#   78|   
#   79|   static bool

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1453]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  170|      cfg = nv50_hw_metric_query_get_cfg(nv50, hq);
#  171|   
#  172|->    for (i = 0; i < cfg->num_queries; i++) {
#  173|         hmq->queries[i] = nv50_hw_sm_create_query(nv50, cfg->queries[i]);
#  174|         if (!hmq->queries[i]) {

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1454]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:23: note: write of 8 bytes to beyond the end of the region
#  171|   
#  172|      for (i = 0; i < cfg->num_queries; i++) {
#  173|->       hmq->queries[i] = nv50_hw_sm_create_query(nv50, cfg->queries[i]);
#  174|         if (!hmq->queries[i]) {
#  175|            nv50_hw_metric_destroy_query(nv50, hq);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1455]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c: scope_hint: In function ‘nv50_hw_sm_end_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:231:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prog’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:230:35: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:230:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  229|      if (unlikely(!screen->pm.prog)) {
#  230|         struct nv50_program *prog = CALLOC_STRUCT(nv50_program);
#  231|->       prog->type = PIPE_SHADER_COMPUTE;
#  232|         prog->translated = true;
#  233|         prog->max_gpr = 7;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1456]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_surface_from_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:73:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:3: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:48:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_surface_from_buffer’
#   71|   
#   72|      sf->base.context = pipe;
#   73|->    return &sf->base;
#   74|   }
#   75|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1457]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_memobj_create_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:110:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memobj’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:108:33: note: in expansion of macro ‘CALLOC_STRUCT’
#  108|      struct nv50_memobj *memobj = CALLOC_STRUCT(nv50_memobj);
#  109|   
#  110|->    memobj->bo = nouveau_screen_bo_from_handle(screen, handle, &memobj->stride);
#  111|      if (memobj->bo == NULL) {
#  112|         FREE(memobj);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1458]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_resource_from_memobj’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:167:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:149:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_resource.c:149:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  165|   
#  166|      /* no need to adjust bo reference count */
#  167|->    return &mt->base.base;
#  168|   }
#  169|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1459]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_state.c: scope_hint: In function ‘nv50_so_target_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_state.c:1173:11: warning[-Wanalyzer-malloc-leak]: leak of ‘targ’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_state.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_state.c:1147:34: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_state.c:26: included_from: Included from here.
# 1171|      util_range_add(&buf->base, &buf->valid_buffer_range, offset, offset + size);
# 1172|   
# 1173|->    return &targ->pipe;
# 1174|   }
# 1175|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1460]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c: scope_hint: In function ‘nvc0_miptree_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:461:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:449:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  459|         return NULL;
#  460|   
#  461|->    *pt = *templ;
#  462|      pipe_reference_init(&pt->reference, 1);
#  463|      pt->screen = pscreen;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1461]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c: scope_hint: In function ‘nvc0_hw_metric_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:475:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.h:21:73: note: in definition of macro ‘NVC0_HW_METRIC_QUERY’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:474:4: note: in expansion of macro ‘FREE’
#  473|            hmq->queries[i]->funcs->destroy_query(nvc0, hmq->queries[i]);
#  474|      FREE(hmq);
#  475|-> }
#  476|   
#  477|   static bool

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1462]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.h:21:73: note: in definition of macro ‘NVC0_HW_METRIC_QUERY’
#  735|      cfg = nvc0_hw_metric_query_get_cfg(nvc0, hq);
#  736|   
#  737|->    for (i = 0; i < cfg->num_queries; i++) {
#  738|         hmq->queries[i] = nvc0_hw_sm_create_query(nvc0, cfg->queries[i]);
#  739|         if (!hmq->queries[i]) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1463]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c: scope_hint: In function ‘nvc0_hw_metric_get_driver_query_info’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:771:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c: scope_hint: In function ‘nvc0_hw_metric_get_driver_query_info’
#  769|                  nvc0_hw_metric_get_cfg(queries[id]->type);
#  770|   
#  771|->             info->name = cfg->name;
#  772|               info->query_type = NVC0_HW_METRIC_QUERY(queries[id]->type);
#  773|               info->type = cfg->type;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1464]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gm107_create_texture_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:236:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:81:11: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  234|      tic[7] |= mt->ms_mode << GM107_TIC2_7_MULTI_SAMPLE_COUNT__SHIFT;
#  235|   
#  236|->    return &view->pipe;
#  237|   }
#  238|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1465]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gf100_create_texture_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:438:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:294:11: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  436|      tic[7] |= mt->ms_mode << 12;
#  437|   
#  438|->    return &view->pipe;
#  439|   }
#  440|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1466]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_make_texture_handle_resident.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:887:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
#  885|         assert(tic->bindless);
#  886|   
#  887|->       res->handle = handle;
#  888|         res->buf = nv04_resource(tic->pipe.texture);
#  889|         res->flags = NOUVEAU_BO_RD;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1467]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_create_image_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1363:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
# 1361|      screen->img.next = (i + 1) & (NVE4_IMG_MAX_HANDLES - 1);
# 1362|      screen->img.entries[i] = calloc(1, sizeof(struct pipe_image_view));
# 1363|->    *screen->img.entries[i] = *view;
# 1364|   
# 1365|      for (s = 0; s < 6; s++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1468]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_make_image_handle_resident’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1405:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
# 1403|             access & PIPE_IMAGE_ACCESS_WRITE)
# 1404|            nvc0_mark_image_range_valid(view);
# 1405|->       res->handle = handle;
# 1406|         res->buf = nv04_resource(view->resource);
# 1407|         res->flags = (access & 3) << 8;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1469]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gm107_make_image_handle_resident.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1491:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
# 1489|         assert(tic->bindless);
# 1490|   
# 1491|->       res->handle = handle;
# 1492|         res->buf = nv04_resource(tic->pipe.texture);
# 1493|         res->flags = (access & 3) << 8;

Error: COMPILER_WARNING (CWE-563): [#def1470]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_emit_blend’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:356:40: warning[-Wunused-variable]: unused variable ‘fs’
#  356 |       struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#      |                                        ^~
#  354|   
#  355|   #if PAN_ARCH >= 6
#  356|->       struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#  357|   
#  358|         /* Words 2 and 3: Internal blend */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1471]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_rasterizer_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3232:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blend.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3230:37: note: in expansion of macro ‘CALLOC_STRUCT’
# 3230|      struct panfrost_rasterizer *so = CALLOC_STRUCT(panfrost_rasterizer);
# 3231|   
# 3232|->    so->base = *cso;
# 3233|   
# 3234|   #if PAN_ARCH <= 7

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1472]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_vertex_elements_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3302:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3299:39: note: in expansion of macro ‘CALLOC_STRUCT’
# 3300|      UNUSED struct panfrost_device *dev = pan_device(pctx->screen);
# 3301|   
# 3302|->    so->num_elements = num_elements;
# 3303|      memcpy(so->pipe, elements, sizeof(*elements) * num_elements);
# 3304|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1473]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_depth_stencil_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3396:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3395:36: note: in expansion of macro ‘CALLOC_STRUCT’
# 3394|   {
# 3395|      struct panfrost_zsa_state *so = CALLOC_STRUCT(panfrost_zsa_state);
# 3396|->    so->base = *zsa;
# 3397|   
# 3398|      const struct pipe_stencil_state front = zsa->stencil[0];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1474]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_blend_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3522:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_cmdstream.c:3521:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 3520|   {
# 3521|      struct panfrost_blend_state *so = CALLOC_STRUCT(panfrost_blend_state);
# 3522|->    so->base = *blend;
# 3523|   
# 3524|      so->pan.logicop_enable = blend->logicop_enable;

Error: COMPILER_WARNING (CWE-563): [#def1475]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_context.c: scope_hint: In function ‘panfrost_fence_server_sync’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_context.c:883:17: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  883 |    int fd = -1, ret;
#      |                 ^~~
#  881|      struct panfrost_device *dev = pan_device(pctx->screen);
#  882|      struct panfrost_context *ctx = pan_context(pctx);
#  883|->    int fd = -1, ret;
#  884|   
#  885|      ret = drmSyncobjExportSyncFile(panfrost_device_fd(dev), f->syncobj, &fd);

Error: COMPILER_WARNING (CWE-563): [#def1476]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_submit_wait_and_dump’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c:367:11: warning[-Wunused-variable]: unused variable ‘ret’
#  367 |       int ret =
#      |           ^~~
#  365|      /* Wait so we can get errors reported back */
#  366|      if (wait) {
#  367|->       int ret =
#  368|            drmSyncobjTimelineWait(panfrost_device_fd(dev), &vm_sync_handle,
#  369|                                   &vm_sync_signal_point, 1, INT64_MAX, 0, NULL);

Error: COMPILER_WARNING (CWE-563): [#def1477]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_launch_draw_v10’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c:730:9: warning[-Wunused-variable]: unused variable ‘idvs’
#  730 |    bool idvs = vs->info.vs.idvs;
#      |         ^~~~
#  728|      struct panfrost_compiled_shader *vs = ctx->prog[PIPE_SHADER_VERTEX];
#  729|      struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#  730|->    bool idvs = vs->info.vs.idvs;
#  731|      bool fs_required = panfrost_fs_required(
#  732|         fs, ctx->blend, &ctx->pipe_framebuffer, ctx->depth_stencil);

Error: COMPILER_WARNING (CWE-563): [#def1478]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_cleanup_context_v10’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c:1099:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
# 1099 |    int ret;
#      |        ^~~
# 1097|         .handle = ctx->csf.heap.handle,
# 1098|      };
# 1099|->    int ret;
# 1100|   
# 1101|      /* Make sure all jobs are done before destroying the heap. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1479]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_jm.c: scope_hint: In function ‘jm_submit_jc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_jm.c:126:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_mempool.h:103:11: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_jm.c: scope_hint: In function ‘jm_submit_jc’
#  124|   
#  125|         assert(submit.bo_handle_count < batch->num_bos);
#  126|->       bo_handles[submit.bo_handle_count++] = i;
#  127|   
#  128|         /* Update the BO access flags so that panfrost_bo_wait() knows

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1480]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_job.c:294:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  292|         unsigned grow = handle + 1 - size;
#  293|   
#  294|->       memset(util_dynarray_grow(&batch->bos, pan_bo_access, grow), 0,
#  295|                grow * sizeof(pan_bo_access));
#  296|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1481]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_new_variant_locked’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:295:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘panfrost_new_variant_locked’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_new_variant_locked’
#  293|      struct panfrost_compiled_shader *prog = panfrost_alloc_variant(uncompiled);
#  294|   
#  295|->    *prog = (struct panfrost_compiled_shader){
#  296|         .key = *key,
#  297|         .stream_output = uncompiled->stream_output,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1482]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_create_compute_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:505:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘panfrost_create_compute_state’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_create_compute_state’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  503|      struct panfrost_uncompiled_shader *so = panfrost_alloc_shader(cso->prog);
#  504|      struct panfrost_compiled_shader *v = panfrost_alloc_variant(so);
#  505|->    memset(v, 0, sizeof *v);
#  506|   
#  507|      assert(cso->ir_type == PIPE_SHADER_IR_NIR && "TGSI kernels unsupported");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1483]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.c: scope_hint: In function ‘refill_pool’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.c:45:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newblock’
#   43|   
#   44|   	newblock = malloc(blocksize);
#   45|-> 	newblock->next = pool->blocks;
#   46|   	pool->blocks = newblock;
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1484]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.c: scope_hint: In function ‘memory_pool_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.c:73:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block’
#   71|   		struct memory_block * block = malloc(bytes + sizeof(struct memory_block));
#   72|   
#   73|-> 		block->next = pool->blocks;
#   74|   		pool->blocks = block;
#   75|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1485]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_compiler.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c: scope_hint: In function ‘emit_flowcontrol’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.h:57:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:17: note: in expansion of macro ‘memory_pool_array_reserve’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:17: note: in expansion of macro ‘memory_pool_array_reserve’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/memory_pool.h:57:35: note: in definition of macro ‘memory_pool_array_reserve’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:17: note: in expansion of macro ‘memory_pool_array_reserve’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#   55|   			newreserve = 4 * _num; /* arbitrary heuristic */ \
#   56|   		newarray = memory_pool_malloc((pool), newreserve * sizeof(type)); \
#   57|-> 		memcpy(newarray, (array), (size) * sizeof(type)); \
#   58|   		(array) = newarray; \
#   59|   		(reserved) = newreserve; \

Error: COMPILER_WARNING (CWE-563): [#def1486]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r300_nir.c: scope_hint: In function ‘have_too_many_ubos’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r300_nir.c:100:11: warning[-Wunused-variable]: unused variable ‘ubo’
#  100 |       int ubo = var->data.driver_location;
#      |           ^~~
#   98|   
#   99|      nir_foreach_variable_with_modes(var, s, nir_var_mem_ubo) {
#  100|->       int ubo = var->data.driver_location;
#  101|         assert (ubo == 0);
#  102|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1487]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r3xx_vertprog.c: scope_hint: In function ‘translate_vertex_program’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r3xx_vertprog.c:479:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r3xx_vertprog.c:479:34: note: read of 4 bytes from after the end of ‘loops’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r3xx_vertprog.c:479:34: note: valid subscripts for ‘loops’ are ‘[0]’ to ‘[7]’
#  477|   			}
#  478|   
#  479|-> 			ret_addr = loops[--loop_depth];
#  480|   			act_addr = ret_addr - 1;
#  481|   			last_addr = (compiler->code->length / 4) - 1;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1488]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c: scope_hint: In function ‘has_three_different_tmp_sources’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:60:44: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src_def_index[1]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r300_nir.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘has_three_different_tmp_sources’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘has_three_different_tmp_sources’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
#   58|   	 src_def_index[i] = index;
#   59|      }
#   60|->    return src_def_index[0] != src_def_index[1] &&
#   61|             src_def_index[0] != src_def_index[2] &&
#   62|             src_def_index[1] != src_def_index[2];

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1489]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_copy’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c:26:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*dst.Constants’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   24|   {
#   25|   	dst->Constants = malloc(sizeof(struct rc_constant) * src->Count);
#   26|-> 	memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count);
#   27|   	dst->Count = src->Count;
#   28|   	dst->_Reserved = src->Count;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1490]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_add’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c:49:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘newlist’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   47|   
#   48|   		newlist = malloc(sizeof(struct rc_constant) * c->_Reserved);
#   49|-> 		memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count);
#   50|   
#   51|   		free(c->Constants);

Error: COMPILER_WARNING (CWE-457): [#def1491]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_program.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_add_immediate_scalar’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_program_constants.h:101:66: warning[-Wmaybe-uninitialized]: ‘free_comp’ may be used uninitialized
#  101 | #define RC_MAKE_SWIZZLE(a,b,c,d) (((a)<<0) | ((b)<<3) | ((c)<<6) | ((d)<<9))
#      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_program_constants.h:102:34: note: in expansion of macro ‘RC_MAKE_SWIZZLE’
#  102 | #define RC_MAKE_SWIZZLE_SMEAR(a) RC_MAKE_SWIZZLE((a),(a),(a),(a))
#      |                                  ^~~~~~~~~~~~~~~
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c:145:28: note: in expansion of macro ‘RC_MAKE_SWIZZLE_SMEAR’
#  145 |                 *swizzle = RC_MAKE_SWIZZLE_SMEAR(free_comp);
#      |                            ^~~~~~~~~~~~~~~~~~~~~
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_code.c:119:25: note: ‘free_comp’ was declared here
#  119 |         unsigned index, free_comp;
#      |                         ^~~~~~~~~
#   99|   }
#  100|   
#  101|-> #define RC_MAKE_SWIZZLE(a,b,c,d) (((a)<<0) | ((b)<<3) | ((c)<<6) | ((d)<<9))
#  102|   #define RC_MAKE_SWIZZLE_SMEAR(a) RC_MAKE_SWIZZLE((a),(a),(a),(a))
#  103|   #define GET_SWZ(swz, idx)      (((swz) >> ((idx)*3)) & 0x7)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1492]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c: scope_hint: In function ‘rc_init_regalloc_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ra_q_values’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:417:23: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
#  418|   
#  419|   	for (i = 0; i < class_count; i++) {
#  420|-> 		ra_q_values[i] = MALLOC(class_count * sizeof(unsigned));
#  421|   		for (j = 0; j < class_count; j++) {
#  422|   			if (prog == RC_FRAGMENT_PROGRAM)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1493]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:423:51: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)class_count * 4)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
#  421|   		for (j = 0; j < class_count; j++) {
#  422|   			if (prog == RC_FRAGMENT_PROGRAM)
#  423|-> 				ra_q_values[i][j] = q_values_fp[i][j];
#  424|   			else
#  425|   				ra_q_values[i][j] = q_values_vp[i][j];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1494]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:425:51: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)class_count * 4)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
#  423|   				ra_q_values[i][j] = q_values_fp[i][j];
#  424|   			else
#  425|-> 				ra_q_values[i][j] = q_values_vp[i][j];
#  426|   		}
#  427|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1495]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c: scope_hint: In function ‘place_constant_in_free_slot’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:83:43: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘remap_state.new_constants.Constants’
#   81|   		}
#   82|   	}
#   83|-> 	s->new_constants.Constants[count] = s->constants[i];
#   84|   
#   85|   	if (count != i) {

Error: CPPCHECK_WARNING (CWE-823): [#def1496]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:127: error[arrayIndexOutOfBounds]: Array 's->inv_remap_table[i].index[4]' accessed at index 4, which is out of bounds.
#  125|   				s->remap_table[j].index[chan] = i;
#  126|   				s->remap_table[j].swizzle[chan] = swizzle;
#  127|-> 				s->inv_remap_table[i].index[swizzle] = j;
#  128|   				s->inv_remap_table[i].swizzle[swizzle] = chan;
#  129|   				s->are_externals_remapped = true;

Error: CPPCHECK_WARNING (CWE-823): [#def1497]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:128: error[arrayIndexOutOfBounds]: Array 's->inv_remap_table[i].swizzle[4]' accessed at index 4, which is out of bounds.
#  126|   				s->remap_table[j].swizzle[chan] = swizzle;
#  127|   				s->inv_remap_table[i].index[swizzle] = j;
#  128|-> 				s->inv_remap_table[i].swizzle[swizzle] = chan;
#  129|   				s->are_externals_remapped = true;
#  130|   				s->is_identity = false;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1498]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c: scope_hint: In function ‘init_constant_remap_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:146:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘remap_state.is_used_as_vector’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  144|   	s->new_constants._Reserved = c->Program.Constants.Count;
#  145|   	s->constants = c->Program.Constants.Constants;
#  146|-> 	memset(s->is_used_as_vector, 0, c->Program.Constants.Count);
#  147|   
#  148|   	s->remap_table = malloc(c->Program.Constants.Count * sizeof(struct const_remap));

Error: COMPILER_WARNING (CWE-563): [#def1499]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_variable.c: scope_hint: In function ‘rc_get_variables’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_variable.c:388:62: warning[-Wunused-variable]: unused variable ‘opcode’
#  388 |                                 const struct rc_opcode_info *opcode =
#      |                                                              ^~~~~~
#  386|   				 * the DCE.
#  387|   				 */
#  388|-> 				const struct rc_opcode_info *opcode =
#  389|   					rc_get_opcode_info(inst->U.I.Opcode);
#  390|   				assert(c->type == RC_FRAGMENT_PROGRAM ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1500]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_variable.c: scope_hint: In function ‘rc_variable_list_get_writers_one_reader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/radeon_variable.c:564:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  562|   		rc_variable_list_get_writers(var_list, src_type, src);
#  563|   	struct rc_list * reader_list =
#  564|-> 		rc_variable_readers_union(writer_list->Item);
#  565|   	if (rc_list_count(reader_list) > 1) {
#  566|   		return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1501]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c: scope_hint: In function ‘r300_emit_fs_code_to_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:99:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)((unsigned int)((*(struct r500_fragment_program_code *)shader.inst_end + 1) * 6) + imm_count * 7 + *(struct r500_fragment_program_code *)shader.int_constant_count * 2 + 19) * 4)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:258:9: note: in expansion of macro ‘OUT_CB_REG’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:573:34: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:257:9: note: in expansion of macro ‘NEW_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:258:9: note: in expansion of macro ‘OUT_CB_REG’
#   97|   
#   98|   #define OUT_CB(value) do { \
#   99|->     *cs_ptr = (value); \
#  100|       cs_ptr++; \
#  101|       CB_USED_DW(1); \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1502]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:99:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)(<unknown> + <unknown> + <unknown> + <unknown> + alu_length * 4 + <unknown> + imm_count * 5) * 4)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:324:9: note: in expansion of macro ‘OUT_CB_REG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:573:34: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:322:9: note: in expansion of macro ‘NEW_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_fs.c:324:9: note: in expansion of macro ‘OUT_CB_REG’
#   97|   
#   98|   #define OUT_CB(value) do { \
#   99|->     *cs_ptr = (value); \
#  100|       cs_ptr++; \
#  101|       CB_USED_DW(1); \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1503]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_hyperz_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:106:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*(struct r300_hyperz_state *)state.cb_flush_begin’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:487:9: note: in expansion of macro ‘WRITE_CS_TABLE’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:487:9: note: in expansion of macro ‘WRITE_CS_TABLE’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:487:9: note: in expansion of macro ‘WRITE_CS_TABLE’
#  104|   #define WRITE_CS_TABLE(values, count) do { \
#  105|       assert(cs_count == 0); \
#  106|->     memcpy(cs_copy->current.buf + cs_copy->current.cdw, (values), (count) * 4); \
#  107|       cs_copy->current.cdw += (count); \
#  108|   } while (0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1504]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:421:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:421:9: note: in expansion of macro ‘OUT_CS_REG’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_context.h: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:421:9: note: in expansion of macro ‘OUT_CS_REG’
#  419|           surf = r300_surface(r300_get_nonnull_cb(fb, i));
#  420|   
#  421|->         OUT_CS_REG(R300_RB3D_COLOROFFSET0 + (4 * i), surf->offset);
#  422|           OUT_CS_RELOC(surf);
#  423|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1505]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state_pipelined’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:600:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_emit.c:591:21: note: in expansion of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
#  598|       OUT_CS_REG_SEQ(R300_US_OUT_FMT_0, 4);
#  599|       for (i = 0; i < num_cbufs; i++) {
#  600|->         OUT_CS(r300_surface(r300_get_nonnull_cb(fb, i))->format);
#  601|       }
#  602|       for (; i < 1; i++) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1506]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:21: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_emit_draw_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:446:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘imm_indices3[1]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:19: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_prim.h: scope_hint: In function ‘r300_emit_draw_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:432:5: note: in expansion of macro ‘DBG’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:79:5: note: in expansion of macro ‘OUT_CS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:443:9: note: in expansion of macro ‘OUT_CS_PKT3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
#  444|           OUT_CS(R300_VAP_VF_CNTL__PRIM_WALK_INDICES | (3 << 16) |
#  445|                  R300_VAP_VF_CNTL__PRIM_TRIANGLES);
#  446|->         OUT_CS(imm_indices3[1] << 16 | imm_indices3[0]);
#  447|           OUT_CS(imm_indices3[2]);
#  448|           END_CS;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1507]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_draw_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:600:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_prim.h: scope_hint: In function ‘r300_draw_elements’
#  598|       if (indexSize == 2 && (start & 1) && indexBuffer) {
#  599|           /* If we got here, then orgIndexBuffer == indexBuffer. */
#  600|->         uint16_t *ptr = r300->rws->buffer_map(r300->rws, r300_resource(orgIndexBuffer)->buf,
#  601|                                                 &r300->cs,
#  602|                                                 PIPE_MAP_READ |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1508]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_render_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:1101:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r300render’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:1099:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 1099|       struct r300_render* r300render = CALLOC_STRUCT(r300_render);
# 1100|   
# 1101|->     r300render->r300 = r300;
# 1102|   
# 1103|       r300render->base.max_vertex_buffer_bytes = R300_MAX_DRAW_VBO_SIZE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1509]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:1116:12: warning[-Wanalyzer-malloc-leak]: leak of ‘r300render’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render.c:1099:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 1114|       r300render->base.destroy = r300_render_destroy;
# 1115|   
# 1116|->     return &r300render->base;
# 1117|   }
# 1118|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1510]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render_stencilref.c: scope_hint: In function ‘r300_plug_in_stencil_ref_fallback’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render_stencilref.c:111:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*r300.stencilref_fallback’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render_stencilref.c:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_render_stencilref.c:108:33: note: in expansion of macro ‘CALLOC_STRUCT’
#  109|   
#  110|       /* Save original draw function. */
#  111|->     r300->stencilref_fallback->draw_vbo = r300->context.draw_vbo;
#  112|   
#  113|       /* Override the draw function. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1511]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c: scope_hint: In function ‘r300_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:154:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:152:12: note: in expansion of macro ‘MALLOC_STRUCT’
#  152|       rbuf = MALLOC_STRUCT(r300_resource);
#  153|   
#  154|->     rbuf->b = *templ;
#  155|       pipe_reference_init(&rbuf->b.reference, 1);
#  156|       rbuf->b.screen = screen;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1512]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:168:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:152:12: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:167:33: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:167:33: note: in expansion of macro ‘align_malloc’
#  166|           (!r300screen->caps.has_tcl && !(templ->bind & PIPE_BIND_CUSTOM))) {
#  167|           rbuf->malloced_buffer = align_malloc(templ->width0, 64);
#  168|->         return &rbuf->b;
#  169|       }
#  170|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1513]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:180:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_screen_buffer.c:152:12: note: in expansion of macro ‘MALLOC_STRUCT’
#  178|           return NULL;
#  179|       }
#  180|->     return &rbuf->b;
#  181|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1514]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_fs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1029:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1026:40: note: in expansion of macro ‘CALLOC_STRUCT’
# 1027|   
# 1028|       /* Copy state directly into shader. */
# 1029|->     fs->state = *shader;
# 1030|   
# 1031|       if (fs->state.type == PIPE_SHADER_IR_NIR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1515]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_rs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1155:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1132:32: note: in expansion of macro ‘CALLOC_STRUCT’
# 1153|   
# 1154|       /* Copy rasterizer state. */
# 1155|->     rs->rs = *state;
# 1156|       rs->rs_draw = *state;
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1516]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_sampler_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1414:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sampler’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1410:42: note: in expansion of macro ‘CALLOC_STRUCT’
# 1412|       int lod_bias;
# 1413|   
# 1414|->     sampler->state = *state;
# 1415|   
# 1416|       /* r300 doesn't handle CLAMP and MIRROR_CLAMP correctly when either MAG

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1517]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_set_sampler_views’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1589:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*views’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_context.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:23: included_from: Included from here.
# 1587|           }
# 1588|   
# 1589|->         state->sampler_views[i]->texcache_region =
# 1590|                   r300_assign_texture_cache_region(view_index, real_num_views);
# 1591|           view_index++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1518]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_vs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1922:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_state.c:1919:37: note: in expansion of macro ‘CALLOC_STRUCT’
# 1920|   
# 1921|       /* Copy state directly into shader. */
# 1922|->     vs->state = *shader;
# 1923|   
# 1924|       if (vs->state.type == PIPE_SHADER_IR_NIR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1519]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c: scope_hint: In function ‘r300_create_surface_custom’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c:1189:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c: scope_hint: In function ‘r300_create_surface_custom’
# 1187|           surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer;
# 1188|   
# 1189|->         surface->buf = tex->buf;
# 1190|   
# 1191|           /* Prefer VRAM if there are multiple domains to choose from. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1520]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c:1237:12: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c:1171:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c: scope_hint: In function ‘r300_create_surface_custom’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_screen.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_reg.h:2664:51: note: in definition of macro ‘R300_DEPTHMACROTILE’
# 1235|       }
# 1236|   
# 1237|->     return &surface->base;
# 1238|   }
# 1239|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1521]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c: scope_hint: In function ‘r300_texture_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:198:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trans’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_texture_desc.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:106:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  196|       }
#  197|   
#  198|->     if (trans->linear_texture) {
#  199|           /* The detiled texture is of the same size as the region being mapped
#  200|            * (no offset needed). */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1522]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:209:19: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:106:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  207|               return NULL;
#  208|           }
#  209|-> 	*transfer = &trans->transfer;
#  210|           return map;
#  211|       } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1523]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:221:83: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/r300_transfer.c:106:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  219|   	*transfer = &trans->transfer;
#  220|           return map + trans->transfer.offset +
#  221|->             box->y / util_format_get_blockheight(format) * trans->transfer.stride +
#  222|               box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format);
#  223|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1524]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘parse_symbol_table’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:200:39: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_shader.h:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:200:41: note: in expansion of macro ‘CALLOC’
#  198|   	 * of global symbols.
#  199|   	 */
#  200|-> 	binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
#  201|   
#  202|   	while (gelf_getsym(symbol_table_data, i++, &symbol)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1525]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:209:76: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*binary.global_symbol_offsets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:200:41: note: in expansion of macro ‘CALLOC’
#  207|   		}
#  208|   
#  209|-> 		binary->global_symbol_offsets[binary->global_symbol_count] =
#  210|   					symbol.st_value;
#  211|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1526]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_elf_read’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:271:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘elf_buffer’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:270:22: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  269|   	elf_version(EV_CURRENT);
#  270|   	elf_buffer = MALLOC(elf_size);
#  271|-> 	memcpy(elf_buffer, elf_data, elf_size);
#  272|   
#  273|   	elf = elf_memory(elf_buffer, elf_size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1527]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:289:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:289:40: note: in expansion of macro ‘MALLOC’
#  287|   			section_data = elf_getdata(section, section_data);
#  288|   			binary->code_size = section_data->d_size;
#  289|-> 			binary->code = MALLOC(binary->code_size * sizeof(unsigned char));
#  290|   			memcpy(binary->code, section_data->d_buf, binary->code_size);
#  291|   		} else if (!strcmp(name, ".AMDGPU.config")) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1528]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:290:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*binary.code’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:289:40: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  288|   			binary->code_size = section_data->d_size;
#  289|   			binary->code = MALLOC(binary->code_size * sizeof(unsigned char));
#  290|-> 			memcpy(binary->code, section_data->d_buf, binary->code_size);
#  291|   		} else if (!strcmp(name, ".AMDGPU.config")) {
#  292|   			section_data = elf_getdata(section, section_data);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1529]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:290:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(*<unknown>.d_size & 4294967295)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:289:40: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  288|   			binary->code_size = section_data->d_size;
#  289|   			binary->code = MALLOC(binary->code_size * sizeof(unsigned char));
#  290|-> 			memcpy(binary->code, section_data->d_buf, binary->code_size);
#  291|   		} else if (!strcmp(name, ".AMDGPU.config")) {
#  292|   			section_data = elf_getdata(section, section_data);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1530]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:294:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:294:42: note: in expansion of macro ‘MALLOC’
#  292|   			section_data = elf_getdata(section, section_data);
#  293|   			binary->config_size = section_data->d_size;
#  294|-> 			binary->config = MALLOC(binary->config_size * sizeof(unsigned char));
#  295|   			memcpy(binary->config, section_data->d_buf, binary->config_size);
#  296|   		} else if (!strcmp(name, ".AMDGPU.disasm")) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1531]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:295:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*binary.config’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:294:42: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  293|   			binary->config_size = section_data->d_size;
#  294|   			binary->config = MALLOC(binary->config_size * sizeof(unsigned char));
#  295|-> 			memcpy(binary->config, section_data->d_buf, binary->config_size);
#  296|   		} else if (!strcmp(name, ".AMDGPU.disasm")) {
#  297|   			/* Always read disassembly if it's available. */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1532]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:295:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(*<unknown>.d_size & 4294967295)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:294:42: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  293|   			binary->config_size = section_data->d_size;
#  294|   			binary->config = MALLOC(binary->config_size * sizeof(unsigned char));
#  295|-> 			memcpy(binary->config, section_data->d_buf, binary->config_size);
#  296|   		} else if (!strcmp(name, ".AMDGPU.disasm")) {
#  297|   			/* Always read disassembly if it's available. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1533]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:299:47: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
#  297|   			/* Always read disassembly if it's available. */
#  298|   			section_data = elf_getdata(section, section_data);
#  299|-> 			binary->disasm_string = strndup(section_data->d_buf,
#  300|   							section_data->d_size);
#  301|   		} else if (!strncmp(name, ".rodata", 7)) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1534]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:305:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*binary.rodata’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:304:42: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  303|   			binary->rodata_size = section_data->d_size;
#  304|   			binary->rodata = MALLOC(binary->rodata_size * sizeof(unsigned char));
#  305|-> 			memcpy(binary->rodata, section_data->d_buf, binary->rodata_size);
#  306|   		} else if (!strncmp(name, ".symtab", 7)) {
#  307|   			symbols = elf_getdata(section, section_data);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1535]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:305:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(*<unknown>.d_size & 4294967295)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:304:42: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  303|   			binary->rodata_size = section_data->d_size;
#  304|   			binary->rodata = MALLOC(binary->rodata_size * sizeof(unsigned char));
#  305|-> 			memcpy(binary->rodata, section_data->d_buf, binary->rodata_size);
#  306|   		} else if (!strncmp(name, ".symtab", 7)) {
#  307|   			symbols = elf_getdata(section, section_data);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1536]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_shader_binary_config_start’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:340:50: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*binary.global_symbol_offsets + (long unsigned int)i * 8’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:200:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:322:9: note: in expansion of macro ‘FREE’
#  338|   	unsigned i;
#  339|   	for (i = 0; i < binary->global_symbol_count; ++i) {
#  340|-> 		if (binary->global_symbol_offsets[i] == symbol_offset) {
#  341|   			unsigned offset = i * binary->config_size_per_symbol;
#  342|   			return binary->config + offset;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def1537]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_create_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:389:22: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:389:24: note: in expansion of macro ‘CALLOC’
#  387|   {
#  388|   	assert(binary->code_size % 4 == 0);
#  389|-> 	bc->bytecode = CALLOC(1, binary->code_size);
#  390|   	memcpy(bc->bytecode, binary->code, binary->code_size);
#  391|   	bc->ndw = binary->code_size / 4;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1538]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:390:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  388|   	assert(binary->code_size % 4 == 0);
#  389|   	bc->bytecode = CALLOC(1, binary->code_size);
#  390|-> 	memcpy(bc->bytecode, binary->code, binary->code_size);
#  391|   	bc->ndw = binary->code_size / 4;
#  392|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1539]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:390:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*bc.bytecode’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:389:24: note: in expansion of macro ‘CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  388|   	assert(binary->code_size % 4 == 0);
#  389|   	bc->bytecode = CALLOC(1, binary->code_size);
#  390|-> 	memcpy(bc->bytecode, binary->code, binary->code_size);
#  391|   	bc->ndw = binary->code_size / 4;
#  392|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1540]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:390:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc(1, (long unsigned int)*binary.code_size)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:389:24: note: in expansion of macro ‘CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  388|   	assert(binary->code_size % 4 == 0);
#  389|   	bc->bytecode = CALLOC(1, binary->code_size);
#  390|-> 	memcpy(bc->bytecode, binary->code, binary->code_size);
#  391|   	bc->ndw = binary->code_size / 4;
#  392|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1541]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘evergreen_create_compute_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:415:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:408:44: note: in expansion of macro ‘CALLOC_STRUCT’
#  413|   #endif
#  414|   
#  415|-> 	shader->ctx = rctx;
#  416|   	shader->local_size = cso->static_shared_mem;
#  417|   	shader->input_size = cso->req_input_mem;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1542]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_compute_global_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:1357:16: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c:1335:9: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_compute_global_buffer_create’
# 1355|   	}
# 1356|   
# 1357|-> 	return &result->base.b.b;
# 1358|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1543]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c:1018:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘kcache + (long unsigned int)i * 16’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
# 1016|   				}
# 1017|   
# 1018|-> 				memmove(&kcache[i+1],&kcache[i], (kcache_banks-i-1)*sizeof(struct r600_bytecode_kcache));
# 1019|   				kcache[i].mode = V_SQ_CF_KCACHE_LOCK_1;
# 1020|   				kcache[i].bank = bank;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1544]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c: scope_hint: In function ‘r600_create_batch_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:385:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:296:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:226:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:371:27: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:226:17: note: in expansion of macro ‘CALLOC_STRUCT’
#  383|   		assert(group != NULL);
#  384|   
#  385|-> 		for (j = 0; j < group->num_counters; ++j) {
#  386|   			if (group->selectors[j] == sub_index)
#  387|   				break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1545]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:390:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘counter’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:296:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:226:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:371:27: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_perfcounter.c:371:27: note: in expansion of macro ‘CALLOC’
#  388|   		}
#  389|   
#  390|-> 		counter->base = group->result_base + j;
#  391|   		counter->stride = group->num_counters;
#  392|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1546]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.c: scope_hint: In function ‘r600_query_hw_emit_start.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.c:772:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_threaded_context.h:202: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.c:771:50: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_query.c:771:50: note: in expansion of macro ‘MALLOC_STRUCT’
#  770|   	if (query->buffer.results_end + query->result_size > query->buffer.buf->b.b.width0) {
#  771|   		struct r600_query_buffer *qbuf = MALLOC_STRUCT(r600_query_buffer);
#  772|-> 		*qbuf = query->buffer;
#  773|   		query->buffer.results_end = 0;
#  774|   		query->buffer.previous = qbuf;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1547]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_shader.c: scope_hint: In function ‘r600_pipe_shader_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_shader.c:309:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*sel.nir_blob’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  307|   		nir_serialize(&blob, sel->nir, false);
#  308|   		sel->nir_blob = malloc(blob.size);
#  309|-> 		memcpy(sel->nir_blob, blob.data, blob.size);
#  310|   		sel->nir_blob_size = blob.size;
#  311|   		blob_finish(&blob);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1548]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c: scope_hint: In function ‘r600_shader_select’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c:931:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_formats.h:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c:1860:9: note: in expansion of macro ‘SELECT_SHADER_OR_FAIL’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_shader.h:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_state_common.c:930:26: note: in expansion of macro ‘CALLOC’
#  929|   	if (unlikely(!shader)) {
#  930|   		shader = CALLOC(1, sizeof(struct r600_pipe_shader));
#  931|-> 		shader->selector = sel;
#  932|   
#  933|   		r = r600_pipe_shader_create(ctx, shader, key);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1549]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_test_dma.c: scope_hint: In function ‘set_random_pixels’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_test_dma.c:60:53: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr_cpu’
#   58|   
#   59|   			for (x = 0; x < size; x++) {
#   60|-> 				*ptr++ = *ptr_cpu++ =
#   61|   					rand_xorshift128plus(seed_xorshift128plus);
#   62|   			}

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1550]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_test_dma.c: scope_hint: In function ‘r600_test_dma’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_test_dma.c:276:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst_cpu.ptr’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  274|   		/* clear dst pixels */
#  275|   		rctx->clear_buffer(ctx, dst, 0, rdst->surface.surf_size, 0, true);
#  276|-> 		memset(dst_cpu.ptr, 0, dst_cpu.layer_stride * tdst.array_size);
#  277|   
#  278|   		/* preparation */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1551]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_texture.c: scope_hint: In function ‘r600_create_surface_custom’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_texture.c:1529:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_pipe_common.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_texture.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_texture.c:1510:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_texture.c: scope_hint: In function ‘r600_create_surface_custom’
# 1527|   	surface->height0 = height0;
# 1528|   
# 1529|-> 	return &surface->base;
# 1530|   }
# 1531|   

Error: COMPILER_WARNING (CWE-563): [#def1552]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_assembler.cpp: scope_hint: In member function ‘r600::VirtualValue* r600::AssamblerVisitor::copy_src(r600_bytecode_alu_src&, const r600::VirtualValue&)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_assembler.cpp:1249:11: warning[-Wunused-variable]: unused variable ‘clidx’
# 1249 |       int clidx = 4 * (s.sel() - g_clause_local_start) + s.chan();
#      |           ^~~~~
# 1247|      if (s.sel() >= g_clause_local_start && s.sel() < g_clause_local_end ) {
# 1248|         assert(m_bc->cf_last);
# 1249|->       int clidx = 4 * (s.sel() - g_clause_local_start) + s.chan();
# 1250|         /* Ensure that the clause local register was already written */
# 1251|         assert(m_bc->cf_last->clause_local_written & (1 << clidx));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1553]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c: scope_hint: In function ‘r600_variable_can_rewrite’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:44:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c: scope_hint: In function ‘r600_variable_can_rewrite’
#   42|   
#   43|      /* Skip complex types we don't split in the first place */
#   44|->    if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type)))
#   45|         return false;
#   46|   

Error: COMPILER_WARNING (CWE-563): [#def1554]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_shader.cpp: scope_hint: In member function ‘virtual void r600::RegisterWriteHandler::visit(r600::Register&)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_shader.cpp:1052:8: warning[-Wunused-variable]: unused variable ‘writemask’
# 1052 |    int writemask = nir_intrinsic_write_mask(ir);
#      |        ^~~~~~~~~
# 1050|   void RegisterWriteHandler::visit(Register& dest)
# 1051|   {
# 1052|->    int writemask = nir_intrinsic_write_mask(ir);
# 1053|      assert(writemask == 1);
# 1054|      auto src = sh.value_factory().src(ir->src[0], 0);

Error: COMPILER_WARNING (CWE-563): [#def1555]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp: scope_hint: In member function ‘r600::Register* r600::ValueFactory::dest_from_string(const std::string&)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp:635:9: warning[-Wunused-variable]: unused variable ‘is_ssa’
#  635 |    bool is_ssa = s[0] == 'S';
#      |         ^~~~~~
#  633|      }
#  634|   
#  635|->    bool is_ssa = s[0] == 'S';
#  636|   
#  637|      RegisterKey key(sel, chan, pool);

Error: GCC_ANALYZER_WARNING (CWE-835): [#def1556]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/gfx11_query.c: scope_hint: In function ‘gfx11_sh_query_get_result_resource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/gfx11_query.c:355:37: warning[-Wanalyzer-infinite-loop]: infinite loop
#  353|      struct gfx11_sh_query_buffer *qbuf = query->first;
#  354|      for (;;) {
#  355|->       unsigned begin = qbuf == query->first ? query->first_begin : 0;
#  356|         unsigned end = qbuf == query->last ? query->last_end : qbuf->buf->b.b.width0;
#  357|         if (!end)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1557]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘get_h265_reflist’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:695:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hevc_reflist’
#  693|                                struct pipe_h265_picture_desc *pic)
#  694|   {
#  695|->    hevc_reflist->num_direct_reflist = pic->slice_parameter.slice_count;
#  696|      for (int i = 0; i <hevc_reflist->num_direct_reflist; i++) {
#  697|         for (int j = 0; j < 2; j++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1558]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘rvcn_dec_dynamic_dpb_t2_message’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1396:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb_t2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1376:4: note: in expansion of macro ‘list_for_each_entry_safe’
# 1394|               dynamic_dpb_t2->dpbAddrLo[i] = addr;
# 1395|               dynamic_dpb_t2->dpbAddrHi[i] = addr >> 32;
# 1396|->             ++dynamic_dpb_t2->dpbArraySize;
# 1397|               found = true;
# 1398|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1559]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1653:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
# 1651|   
# 1652|      if (dec->dpb_type >= DPB_DYNAMIC_TIER_1) {
# 1653|->       index_dynamic_dpb->message_id = RDECODE_MESSAGE_DYNAMIC_DPB;
# 1654|         index_dynamic_dpb->offset = offset_dynamic_dpb;
# 1655|         index_dynamic_dpb->filled = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1560]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1664:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_hevc_direct_reflist’
# 1662|   
# 1663|      if (u_reduce_video_profile(picture->profile) == PIPE_VIDEO_FORMAT_HEVC) {
# 1664|->       index_hevc_direct_reflist->message_id = RDECODE_MESSAGE_HEVC_DIRECT_REF_LIST;
# 1665|         index_hevc_direct_reflist->offset = offset_hevc_direct_reflist;
# 1666|         index_hevc_direct_reflist->size = align((4 + 2 * 15 * ((struct pipe_h265_picture_desc *)picture)->slice_parameter.slice_count), 4);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1561]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1865:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb’
# 1863|           decode->decode_flags |= RDECODE_FLAGS_DPB_RESIZE_MASK;
# 1864|   
# 1865|->       dynamic_dpb->dpbArraySize = NUM_VP9_REFS + 1;
# 1866|         dynamic_dpb->dpbLumaPitch = align(dec->max_width, dec->db_alignment);
# 1867|         dynamic_dpb->dpbLumaAlignedHeight = align(dec->max_height, dec->db_alignment);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1562]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘radeon_create_decoder’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2783:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2781|      dec->sq.ib_checksum = NULL;
# 2782|   
# 2783|->    if (!ws->cs_create(&dec->cs,
# 2784|                         (sctx->vcn_has_ctx) ? ((struct si_context *)dec->ectx)->ctx : sctx->ctx,
# 2785|                         ring, NULL, NULL)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1563]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c: scope_hint: In function ‘code_object_to_config’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c:76:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘code_object’
#   74|   {
#   75|   
#   76|->    uint32_t rsrc1 = code_object->compute_pgm_resource_registers;
#   77|      uint32_t rsrc2 = code_object->compute_pgm_resource_registers >> 32;
#   78|      out_config->num_sgprs = code_object->wavefront_sgpr_count;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1564]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c: scope_hint: In function ‘si_setup_user_sgprs_co_v2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c:654:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘code_object’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/amd_kernel_code_t.h:20:39: note: in definition of macro ‘AMD_HSA_BITS_GET’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/ac_rtld.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_compute.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/amd/common/amd_kernel_code_t.h:20:39: note: in definition of macro ‘AMD_HSA_BITS_GET’
#  652|   
#  653|      unsigned i, user_sgpr = 0;
#  654|->    if (AMD_HSA_BITS_GET(code_object->code_properties,
#  655|                           AMD_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER)) {
#  656|         if (code_object->workitem_private_segment_byte_size > 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1565]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_gfx_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:157:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:156:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:156:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  155|   
#  156|      struct si_log_chunk_shader *chunk = CALLOC_STRUCT(si_log_chunk_shader);
#  157|->    chunk->ctx = ctx;
#  158|      chunk->shader = current;
#  159|      si_shader_selector_reference(ctx, &chunk->sel, current->selector);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1566]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_compute_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:171:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:170:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:170:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  169|   
#  170|      struct si_log_chunk_shader *chunk = CALLOC_STRUCT(si_log_chunk_shader);
#  171|->    chunk->ctx = ctx;
#  172|      chunk->shader = &state->program->shader;
#  173|      si_compute_reference(&chunk->program, state->program);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1567]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_descriptor_list’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:743:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_debug.c:742:7: note: in expansion of macro ‘CALLOC_VARIANT_LENGTH_STRUCT’
#  741|      struct si_log_chunk_desc_list *chunk =
#  742|         CALLOC_VARIANT_LENGTH_STRUCT(si_log_chunk_desc_list, 4 * element_dw_size * num_elements);
#  743|->    chunk->shader_name = shader_name;
#  744|      chunk->elem_name = elem_name;
#  745|      chunk->element_dw_size = element_dw_size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1568]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_descriptors.c:2752:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*view.resource’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_descriptors.c:2728:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
# 2750|      util_copy_image_view(&img_handle->view, view);
# 2751|   
# 2752|->    si_resource(view->resource)->image_handle_allocated = true;
# 2753|   
# 2754|      if (view->access & PIPE_IMAGE_ACCESS_WRITE && view->resource)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1569]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_fence.c: scope_hint: In function ‘si_create_fence_fd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_fence.c:375:4: warning[-Wanalyzer-malloc-leak]: leak of ‘si_alloc_fence()’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_fence.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_fence.c:199:29: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_fence.c: scope_hint: In function ‘si_create_fence_fd’
#  373|         return;
#  374|   
#  375|->    switch (type) {
#  376|      case PIPE_FD_TYPE_NATIVE_SYNC:
#  377|         if (!sscreen->info.has_fence_to_handle)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1570]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘deref_to_index’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c:171:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘deref_to_index’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘deref_to_index’
#  169|      unsigned const_index = 0;
#  170|      nir_def *dynamic_index = NULL;
#  171|->    while (deref->deref_type != nir_deref_type_var) {
#  172|         assert(deref->deref_type == nir_deref_type_array);
#  173|         unsigned array_size = MAX2(glsl_get_aoa_size(deref->type), 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1571]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘lower_resource_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c:332:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_resource_intrinsic’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘lower_resource_intrinsic’
#  330|            desc_type = AC_DESC_FMASK;
#  331|         } else {
#  332|->          enum glsl_sampler_dim dim = glsl_get_sampler_dim(deref->type);
#  333|            desc_type = dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE;
#  334|         }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1572]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c:259:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘loads[src]’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘opencoded_load_format’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘opencoded_load_format’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
#  257|            nir_def *accum = NULL;
#  258|            for (unsigned i = 0; i < (1 << log_recombine); ++i, ++src) {
#  259|->             nir_def *tmp = nir_u2uN(b, loads[src], dst_bitsize);
#  260|               if (i == 0) {
#  261|                  accum = tmp;

Error: COMPILER_WARNING (CWE-563): [#def1573]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_draw.cpp:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h: scope_hint: In function ‘bool vi_tc_compat_htile_enabled(si_texture*, unsigned int, unsigned int)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:1964:22: warning[-Wunused-variable]: unused variable ‘sscreen’
# 1964 |    struct si_screen *sscreen = (struct si_screen *)tex->buffer.b.b.screen;
#      |                      ^~~~~~~
# 1962|                                                 unsigned zs_mask)
# 1963|   {
# 1964|->    struct si_screen *sscreen = (struct si_screen *)tex->buffer.b.b.screen;
# 1965|   
# 1966|      /* Gfx12 should never call this. */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1574]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.c: scope_hint: In function ‘si_query_buffer_alloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.c:533:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qbuf’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_threaded_context.h:202: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.c:532:41: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_query.c:532:41: note: in expansion of macro ‘MALLOC_STRUCT’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  531|         if (buffer->buf) {
#  532|            struct si_query_buffer *qbuf = MALLOC_STRUCT(si_query_buffer);
#  533|->          memcpy(qbuf, buffer, sizeof(*qbuf));
#  534|            buffer->previous = qbuf;
#  535|         }

Error: COMPILER_WARNING (CWE-563): [#def1575]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_nir_assign_param_offsets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.c:1981:31: warning[-Wunused-variable]: unused variable ‘sel’
# 1981 |    struct si_shader_selector *sel = shader->selector;
#      |                               ^~~
# 1979|                                           int8_t slot_remap[NUM_TOTAL_VARYING_SLOTS])
# 1980|   {
# 1981|->    struct si_shader_selector *sel = shader->selector;
# 1982|      struct si_shader_binary_info *info = &shader->info;
# 1983|   

Error: COMPILER_WARNING (CWE-563): [#def1576]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.c:3320:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_ena’
# 3320 |    unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
#      |             ^~~~~~~~~~~~~~~~
# 3318|   
# 3319|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3320|->    unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3321|      unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3322|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);

Error: COMPILER_WARNING (CWE-563): [#def1577]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_shader_select_ps_parts’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.c:3321:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_addr’
# 3321 |    unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
#      |             ^~~~~~~~~~~~~~~~~
# 3319|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3320|      unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3321|->    unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3322|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);
# 3323|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1578]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_build_shader_binary’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:121:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buffer’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_internal.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:120:19: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  119|      unsigned code_size = code_dw * 4;
#  120|      char *buffer = MALLOC(code_size + disasm_size);
#  121|->    memcpy(buffer, code, code_size);
#  122|   
#  123|      shader->binary.type = SI_SHADER_BINARY_RAW;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1579]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:136:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)llvm_ir_size)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:135:39: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:135:39: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  134|      if (llvm_ir_size) {
#  135|         shader->binary.llvm_ir_string = MALLOC(llvm_ir_size);
#  136|->       memcpy(shader->binary.llvm_ir_string, llvm_ir_str, llvm_ir_size);
#  137|      }
#  138|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1580]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:142:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:141:20: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  140|         unsigned symbol_size = num_symbols * sizeof(*symbols);
#  141|         void *data = MALLOC(symbol_size);
#  142|->       memcpy(data, symbols, symbol_size);
#  143|         shader->binary.symbols = data;
#  144|         shader->binary.num_symbols = num_symbols;

Error: COMPILER_WARNING (CWE-563): [#def1581]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_resolve_symbols’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:198:31: warning[-Wunused-variable]: unused variable ‘key’
#  198 |    const union si_shader_key *key = &shader->key;
#      |                               ^~~
#  196|      const struct aco_symbol *symbols = (struct aco_symbol *)shader->binary.symbols;
#  197|      const struct si_shader_selector *sel = shader->selector;
#  198|->    const union si_shader_key *key = &shader->key;
#  199|   
#  200|      for (int i = 0; i < shader->binary.num_symbols; i++) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1582]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_build_shader_part_binary’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:249:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buffer’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader_aco.c:248:19: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  247|   
#  248|      char *buffer = MALLOC(code_size + disasm_size);
#  249|->    memcpy(buffer, code, code_size);
#  250|   
#  251|      result->binary.type = SI_SHADER_BINARY_RAW;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1583]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_sqtt.c: scope_hint: In function ‘si_sqtt_add_code_object’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_sqtt.c:769:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
#  767|         uint8_t *code = malloc(shader->binary.uploaded_code_size);
#  768|         if (!code) {
#  769|->          free(record);
#  770|            return false;
#  771|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1584]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘si_create_blend_state_mode’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:464:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blend’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:453:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  462|      si_pm4_clear_state(pm4, sctx->screen, false);
#  463|   
#  464|->    blend->alpha_to_coverage = state->alpha_to_coverage;
#  465|      blend->alpha_to_one = state->alpha_to_one;
#  466|      blend->dual_src_blend = util_blend_state_is_dual(state, 0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1585]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:536:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blend_cntl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:14: included_from: Included from here.
#  534|            }
#  535|   
#  536|->          ac_pm4_set_reg(&pm4->base, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl);
#  537|            continue;
#  538|         }

Error: COMPILER_WARNING (CWE-563): [#def1586]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘gfx11_dgpu_emit_framebuffer_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:3205:9: warning[-Wunused-variable]: unused variable ‘is_msaa_resolve’
# 3205 |    bool is_msaa_resolve = state->nr_cbufs == 2 &&
#      |         ^~~~~~~~~~~~~~~
# 3203|      struct si_texture *tex = NULL;
# 3204|      struct si_surface *cb = NULL;
# 3205|->    bool is_msaa_resolve = state->nr_cbufs == 2 &&
# 3206|                             state->cbufs[0] && state->cbufs[0]->texture->nr_samples > 1 &&
# 3207|                             state->cbufs[1] && state->cbufs[1]->texture->nr_samples <= 1;

Error: COMPILER_WARNING (CWE-563): [#def1587]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘gfx12_emit_framebuffer_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:3355:9: warning[-Wunused-variable]: unused variable ‘is_msaa_resolve’
# 3355 |    bool is_msaa_resolve = state->nr_cbufs == 2 &&
#      |         ^~~~~~~~~~~~~~~
# 3353|      struct si_texture *tex = NULL;
# 3354|      struct si_surface *cb = NULL;
# 3355|->    bool is_msaa_resolve = state->nr_cbufs == 2 &&
# 3356|                             state->cbufs[0] && state->cbufs[0]->texture->nr_samples > 1 &&
# 3357|                             state->cbufs[1] && state->cbufs[1]->texture->nr_samples <= 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1588]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘si_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4161:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4137:35: note: in expansion of macro ‘CALLOC_STRUCT_CL’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:68:16: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:68:16: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4137:35: note: in expansion of macro ‘CALLOC_STRUCT_CL’
# 4159|   
# 4160|      /* Buffer resource. */
# 4161|->    if (texture->target == PIPE_BUFFER) {
# 4162|         uint32_t elements = si_clamp_texture_texel_count(sctx->screen->max_texel_buffer_elements,
# 4163|                                                          state->format, state->u.buf.size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1589]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘si_create_vertex_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4856:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 4854|      ctx.b.screen = screen;
# 4855|      struct si_vertex_elements *velems = si_create_vertex_elements(&ctx.b, num_elements, elements);
# 4856|->    state->velems = *velems;
# 4857|      si_delete_vertex_element(&ctx.b, velems);
# 4858|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1590]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4856:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state.c:4845:36: note: in expansion of macro ‘CALLOC_STRUCT’
# 4854|      ctx.b.screen = screen;
# 4855|      struct si_vertex_elements *velems = si_create_vertex_elements(&ctx.b, num_elements, elements);
# 4856|->    state->velems = *velems;
# 4857|      si_delete_vertex_element(&ctx.b, velems);
# 4858|   

Error: COMPILER_WARNING (CWE-563): [#def1591]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_shaders.cpp: scope_hint: In function ‘void si_shader_ps(si_screen*, si_shader*)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_shaders.cpp:1987:19: warning[-Wunused-variable]: unused variable ‘input_ena’
# 1987 |    const unsigned input_ena = shader->config.spi_ps_input_ena;
#      |                   ^~~~~~~~~
# 1985|   {
# 1986|      struct si_shader_info *info = &shader->selector->info;
# 1987|->    const unsigned input_ena = shader->config.spi_ps_input_ena;
# 1988|   
# 1989|      /* we need to enable at least one of them, otherwise we hang the GPU */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1592]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_streamout.c: scope_hint: In function ‘si_create_so_target’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_streamout.c:39:11: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_streamout.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_state_streamout.c:27:8: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
#   37|   
#   38|      util_range_add(&buf->b.b, &buf->valid_buffer_range, buffer_offset, buffer_offset + buffer_size);
#   39|->    return &t->b;
#   40|   }
#   41|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1593]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_test_dma_perf.c: scope_hint: In function ‘si_test_mem_perf’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_test_dma_perf.c:308:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cpu’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  306|   
#  307|               int *cpu = calloc(1, buffer_size);
#  308|->             memset(cpu, 'c', buffer_size);
#  309|               fflush(stdout);
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1594]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_test_dma_perf.c:318:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ptr’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  316|                  switch (i) {
#  317|                  case 0:
#  318|->                   memcpy(ptr, cpu, buffer_size);
#  319|                     break;
#  320|                  case 1:

Error: COMPILER_WARNING (CWE-563): [#def1595]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_copy_multi_plane_texture’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:77:23: warning[-Wunused-variable]: unused variable ‘dst_tex’
#   77 |    struct si_texture *dst_tex = (struct si_texture *)dst;
#      |                       ^~~~~~~
#   75|      unsigned i, dx, dy;
#   76|      struct si_texture *src_tex = (struct si_texture *)src;
#   77|->    struct si_texture *dst_tex = (struct si_texture *)dst;
#   78|      struct pipe_box sbox;
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1596]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_texture_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:2086:15: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:2027:12: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_shader.h:114: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
# 2084|   
# 2085|      *ptransfer = &trans->b.b;
# 2086|->    return map + offset;
# 2087|   
# 2088|   fail_trans:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1597]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:2274:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c:2252:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
# 2272|         tex->target != PIPE_BUFFER &&
# 2273|         vi_dcc_formats_are_incompatible(tex, templ->u.tex.level, templ->format);
# 2274|->    return &surface->base;
# 2275|   }
# 2276|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1598]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_fs_exec.c: scope_hint: In function ‘softpipe_create_fs_variant_exec’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_fs_exec.c:202:11: warning[-Wanalyzer-malloc-leak]: leak of ‘shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_fs_exec.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_fs_exec.c:194:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  200|      shader->base.delete = exec_delete;
#  201|   
#  202|->    return &shader->base;
#  203|   }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1599]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c: scope_hint: In function ‘handle_op_uint’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:378:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:378:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:378:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  376|      case TGSI_OPCODE_ATOMUADD:
#  377|         for (c = 0; c < nc; c++) {
#  378|->          unsigned temp = sdata[c];
#  379|            sdata[c] += ((uint32_t *)rgba[c])[qi];
#  380|            ((uint32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1600]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:379:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:379:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:379:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  377|         for (c = 0; c < nc; c++) {
#  378|            unsigned temp = sdata[c];
#  379|->          sdata[c] += ((uint32_t *)rgba[c])[qi];
#  380|            ((uint32_t *)rgba[c])[qi] = temp;
#  381|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1601]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:385:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:385:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:385:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  383|      case TGSI_OPCODE_ATOMXCHG:
#  384|         for (c = 0; c < nc; c++) {
#  385|->          unsigned temp = sdata[c];
#  386|            sdata[c] = ((uint32_t *)rgba[c])[qi];
#  387|            ((uint32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1602]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:386:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:386:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:386:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  384|         for (c = 0; c < nc; c++) {
#  385|            unsigned temp = sdata[c];
#  386|->          sdata[c] = ((uint32_t *)rgba[c])[qi];
#  387|            ((uint32_t *)rgba[c])[qi] = temp;
#  388|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1603]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:392:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:392:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:392:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  390|      case TGSI_OPCODE_ATOMCAS:
#  391|         for (c = 0; c < nc; c++) {
#  392|->          unsigned dst_x = sdata[c];
#  393|            unsigned cmp_x = ((uint32_t *)rgba[c])[qi];
#  394|            unsigned src_x = ((uint32_t *)rgba2[c])[qi];

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1604]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:396:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:396:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:396:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  394|            unsigned src_x = ((uint32_t *)rgba2[c])[qi];
#  395|            unsigned temp = sdata[c];
#  396|->          sdata[c] = (dst_x == cmp_x) ? src_x : dst_x;
#  397|            ((uint32_t *)rgba[c])[qi] = temp;
#  398|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1605]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:402:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:402:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:402:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  400|      case TGSI_OPCODE_ATOMAND:
#  401|         for (c = 0; c < nc; c++) {
#  402|->          unsigned temp = sdata[c];
#  403|            sdata[c] &= ((uint32_t *)rgba[c])[qi];
#  404|            ((uint32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1606]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:403:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:403:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:403:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  401|         for (c = 0; c < nc; c++) {
#  402|            unsigned temp = sdata[c];
#  403|->          sdata[c] &= ((uint32_t *)rgba[c])[qi];
#  404|            ((uint32_t *)rgba[c])[qi] = temp;
#  405|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1607]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:409:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:409:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:409:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  407|      case TGSI_OPCODE_ATOMOR:
#  408|         for (c = 0; c < nc; c++) {
#  409|->          unsigned temp = sdata[c];
#  410|            sdata[c] |= ((uint32_t *)rgba[c])[qi];
#  411|            ((uint32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1608]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:410:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:410:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:410:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  408|         for (c = 0; c < nc; c++) {
#  409|            unsigned temp = sdata[c];
#  410|->          sdata[c] |= ((uint32_t *)rgba[c])[qi];
#  411|            ((uint32_t *)rgba[c])[qi] = temp;
#  412|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1609]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:416:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:416:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:416:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  414|      case TGSI_OPCODE_ATOMXOR:
#  415|         for (c = 0; c < nc; c++) {
#  416|->          unsigned temp = sdata[c];
#  417|            sdata[c] ^= ((uint32_t *)rgba[c])[qi];
#  418|            ((uint32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1610]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:417:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:417:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:417:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  415|         for (c = 0; c < nc; c++) {
#  416|            unsigned temp = sdata[c];
#  417|->          sdata[c] ^= ((uint32_t *)rgba[c])[qi];
#  418|            ((uint32_t *)rgba[c])[qi] = temp;
#  419|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1611]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:423:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:423:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:423:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  421|      case TGSI_OPCODE_ATOMUMIN:
#  422|         for (c = 0; c < nc; c++) {
#  423|->          unsigned dst_x = sdata[c];
#  424|            unsigned src_x = ((uint32_t *)rgba[c])[qi];
#  425|            sdata[c] = MIN2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1612]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:425:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:425:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:425:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  423|            unsigned dst_x = sdata[c];
#  424|            unsigned src_x = ((uint32_t *)rgba[c])[qi];
#  425|->          sdata[c] = MIN2(dst_x, src_x);
#  426|            ((uint32_t *)rgba[c])[qi] = dst_x;
#  427|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1613]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:431:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:431:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:431:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  429|      case TGSI_OPCODE_ATOMUMAX:
#  430|         for (c = 0; c < nc; c++) {
#  431|->          unsigned dst_x = sdata[c];
#  432|            unsigned src_x = ((uint32_t *)rgba[c])[qi];
#  433|            sdata[c] = MAX2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1614]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:433:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:433:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:433:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  431|            unsigned dst_x = sdata[c];
#  432|            unsigned src_x = ((uint32_t *)rgba[c])[qi];
#  433|->          sdata[c] = MAX2(dst_x, src_x);
#  434|            ((uint32_t *)rgba[c])[qi] = dst_x;
#  435|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1615]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:439:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:439:27: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:439:27: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  437|      case TGSI_OPCODE_ATOMIMIN:
#  438|         for (c = 0; c < nc; c++) {
#  439|->          int dst_x = sdata[c];
#  440|            int src_x = ((uint32_t *)rgba[c])[qi];
#  441|            sdata[c] = MIN2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1616]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:441:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:441:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:441:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  439|            int dst_x = sdata[c];
#  440|            int src_x = ((uint32_t *)rgba[c])[qi];
#  441|->          sdata[c] = MIN2(dst_x, src_x);
#  442|            ((uint32_t *)rgba[c])[qi] = dst_x;
#  443|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1617]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:447:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:447:27: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:447:27: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  445|      case TGSI_OPCODE_ATOMIMAX:
#  446|         for (c = 0; c < nc; c++) {
#  447|->          int dst_x = sdata[c];
#  448|            int src_x = ((uint32_t *)rgba[c])[qi];
#  449|            sdata[c] = MAX2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1618]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:449:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:449:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:449:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  447|            int dst_x = sdata[c];
#  448|            int src_x = ((uint32_t *)rgba[c])[qi];
#  449|->          sdata[c] = MAX2(dst_x, src_x);
#  450|            ((uint32_t *)rgba[c])[qi] = dst_x;
#  451|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1619]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c: scope_hint: In function ‘handle_op_int’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:494:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:494:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:494:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  492|      case TGSI_OPCODE_ATOMUADD:
#  493|         for (c = 0; c < nc; c++) {
#  494|->          int temp = sdata[c];
#  495|            sdata[c] += ((int32_t *)rgba[c])[qi];
#  496|            ((int32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1620]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:495:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:495:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:495:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  493|         for (c = 0; c < nc; c++) {
#  494|            int temp = sdata[c];
#  495|->          sdata[c] += ((int32_t *)rgba[c])[qi];
#  496|            ((int32_t *)rgba[c])[qi] = temp;
#  497|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1621]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:501:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:501:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:501:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  499|      case TGSI_OPCODE_ATOMXCHG:
#  500|         for (c = 0; c < nc; c++) {
#  501|->          int temp = sdata[c];
#  502|            sdata[c] = ((int32_t *)rgba[c])[qi];
#  503|            ((int32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1622]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:502:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:502:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:502:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  500|         for (c = 0; c < nc; c++) {
#  501|            int temp = sdata[c];
#  502|->          sdata[c] = ((int32_t *)rgba[c])[qi];
#  503|            ((int32_t *)rgba[c])[qi] = temp;
#  504|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1623]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:508:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:508:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:508:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  506|      case TGSI_OPCODE_ATOMCAS:
#  507|         for (c = 0; c < nc; c++) {
#  508|->          int dst_x = sdata[c];
#  509|            int cmp_x = ((int32_t *)rgba[c])[qi];
#  510|            int src_x = ((int32_t *)rgba2[c])[qi];

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1624]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:512:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:512:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:512:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  510|            int src_x = ((int32_t *)rgba2[c])[qi];
#  511|            int temp = sdata[c];
#  512|->          sdata[c] = (dst_x == cmp_x) ? src_x : dst_x;
#  513|            ((int32_t *)rgba[c])[qi] = temp;
#  514|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1625]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:518:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:518:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:518:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  516|      case TGSI_OPCODE_ATOMAND:
#  517|         for (c = 0; c < nc; c++) {
#  518|->          int temp = sdata[c];
#  519|            sdata[c] &= ((int32_t *)rgba[c])[qi];
#  520|            ((int32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1626]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:519:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:519:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:519:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  517|         for (c = 0; c < nc; c++) {
#  518|            int temp = sdata[c];
#  519|->          sdata[c] &= ((int32_t *)rgba[c])[qi];
#  520|            ((int32_t *)rgba[c])[qi] = temp;
#  521|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1627]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:525:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:525:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:525:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  523|      case TGSI_OPCODE_ATOMOR:
#  524|         for (c = 0; c < nc; c++) {
#  525|->          int temp = sdata[c];
#  526|            sdata[c] |= ((int32_t *)rgba[c])[qi];
#  527|            ((int32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1628]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:526:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:526:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:526:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  524|         for (c = 0; c < nc; c++) {
#  525|            int temp = sdata[c];
#  526|->          sdata[c] |= ((int32_t *)rgba[c])[qi];
#  527|            ((int32_t *)rgba[c])[qi] = temp;
#  528|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1629]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:532:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:532:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:532:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  530|      case TGSI_OPCODE_ATOMXOR:
#  531|         for (c = 0; c < nc; c++) {
#  532|->          int temp = sdata[c];
#  533|            sdata[c] ^= ((int32_t *)rgba[c])[qi];
#  534|            ((int32_t *)rgba[c])[qi] = temp;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1630]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:533:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:533:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:533:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  531|         for (c = 0; c < nc; c++) {
#  532|            int temp = sdata[c];
#  533|->          sdata[c] ^= ((int32_t *)rgba[c])[qi];
#  534|            ((int32_t *)rgba[c])[qi] = temp;
#  535|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1631]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:539:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:539:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:539:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  537|      case TGSI_OPCODE_ATOMUMIN:
#  538|         for (c = 0; c < nc; c++) {
#  539|->          int dst_x = sdata[c];
#  540|            int src_x = ((int32_t *)rgba[c])[qi];
#  541|            sdata[c] = MIN2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1632]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:541:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:541:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:541:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  539|            int dst_x = sdata[c];
#  540|            int src_x = ((int32_t *)rgba[c])[qi];
#  541|->          sdata[c] = MIN2(dst_x, src_x);
#  542|            ((int32_t *)rgba[c])[qi] = dst_x;
#  543|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1633]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:547:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:547:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:547:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  545|      case TGSI_OPCODE_ATOMUMAX:
#  546|         for (c = 0; c < nc; c++) {
#  547|->          int dst_x = sdata[c];
#  548|            int src_x = ((int32_t *)rgba[c])[qi];
#  549|            sdata[c] = MAX2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1634]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:549:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:549:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:549:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  547|            int dst_x = sdata[c];
#  548|            int src_x = ((int32_t *)rgba[c])[qi];
#  549|->          sdata[c] = MAX2(dst_x, src_x);
#  550|            ((int32_t *)rgba[c])[qi] = dst_x;
#  551|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1635]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:555:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:555:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:555:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  553|      case TGSI_OPCODE_ATOMIMIN:
#  554|         for (c = 0; c < nc; c++) {
#  555|->          int dst_x = sdata[c];
#  556|            int src_x = ((int32_t *)rgba[c])[qi];
#  557|            sdata[c] = MIN2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1636]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:557:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:557:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:557:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  555|            int dst_x = sdata[c];
#  556|            int src_x = ((int32_t *)rgba[c])[qi];
#  557|->          sdata[c] = MIN2(dst_x, src_x);
#  558|            ((int32_t *)rgba[c])[qi] = dst_x;
#  559|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1637]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:563:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:563:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:563:14: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  561|      case TGSI_OPCODE_ATOMIMAX:
#  562|         for (c = 0; c < nc; c++) {
#  563|->          int dst_x = sdata[c];
#  564|            int src_x = ((int32_t *)rgba[c])[qi];
#  565|            sdata[c] = MAX2(dst_x, src_x);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1638]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:565:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:565:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_image.c:565:19: note: valid subscripts for ‘sdata’ are ‘[0]’ to ‘[3]’
#  563|            int dst_x = sdata[c];
#  564|            int src_x = ((int32_t *)rgba[c])[qi];
#  565|->          sdata[c] = MAX2(dst_x, src_x);
#  566|            ((int32_t *)rgba[c])[qi] = dst_x;
#  567|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1639]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c: scope_hint: In function ‘sp_create_vbuf_backend’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c:668:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cvbr’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c:649:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  666|      cvbr->base.destroy = sp_vbuf_destroy;
#  667|   
#  668|->    cvbr->softpipe = sp;
#  669|   
#  670|      cvbr->setup = sp_setup_create_context(cvbr->softpipe);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1640]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c:672:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cvbr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_prim_vbuf.c:649:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  670|      cvbr->setup = sp_setup_create_context(cvbr->softpipe);
#  671|   
#  672|->    return &cvbr->base;
#  673|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1641]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_blend.c: scope_hint: In function ‘sp_quad_blend_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_blend.c:1312:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stage’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_blend.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_blend.c:1302:37: note: in expansion of macro ‘CALLOC_STRUCT’
# 1310|      stage->base.destroy = blend_destroy;
# 1311|   
# 1312|->    return &stage->base;
# 1313|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1642]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_depth_test.c: scope_hint: In function ‘sp_quad_depth_test_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_depth_test.c:1092:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stage’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_depth_test.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_depth_test.c:1090:31: note: in expansion of macro ‘CALLOC_STRUCT’
# 1090|      struct quad_stage *stage = CALLOC_STRUCT(quad_stage);
# 1091|   
# 1092|->    stage->softpipe = softpipe;
# 1093|      stage->begin = depth_test_begin;
# 1094|      stage->run = choose_depth_test;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1643]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_fs.c: scope_hint: In function ‘sp_quad_shade_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_fs.c:170:11: warning[-Wanalyzer-malloc-leak]: leak of ‘qss’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_fs.c:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_quad_fs.c:161:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  168|      qss->stage.destroy = shade_destroy;
#  169|   
#  170|->    return &qss->stage;
#  171|   
#  172|   fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1644]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_query.c: scope_hint: In function ‘softpipe_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_query.c:76:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sq’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_query.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_query.c:75:9: note: in expansion of macro ‘CALLOC_STRUCT’
#   74|             type == PIPE_QUERY_TIMESTAMP_DISJOINT);
#   75|      sq = CALLOC_STRUCT( softpipe_query );
#   76|->    sq->type = type;
#   77|      sq->index = index;
#   78|      return (struct pipe_query *)sq;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1645]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_setup.c: scope_hint: In function ‘sp_setup_create_context’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_setup.c:1435:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘setup’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_setup.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_setup.c:1432:34: note: in expansion of macro ‘CALLOC_STRUCT’
# 1433|      unsigned i;
# 1434|   
# 1435|->    setup->softpipe = softpipe;
# 1436|   
# 1437|      for (i = 0; i < MAX_QUADS; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1646]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c: scope_hint: In function ‘softpipe_create_fs_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c:161:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c:155:39: note: in expansion of macro ‘CALLOC_STRUCT’
#  159|   
#  160|      /* draw's fs state */
#  161|->    state->draw_shader = draw_create_fragment_shader(softpipe->draw,
#  162|                                                       &state->shader);
#  163|      if (!state->draw_shader) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1647]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c: scope_hint: In function ‘softpipe_create_compute_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c:412:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_shader.c:410:38: note: in expansion of macro ‘CALLOC_STRUCT’
#  410|      struct sp_compute_shader *state = CALLOC_STRUCT(sp_compute_shader);
#  411|   
#  412|->    state->shader = *templ;
#  413|   
#  414|      if (templ->ir_type == PIPE_SHADER_IR_NIR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1648]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_so.c: scope_hint: In function ‘softpipe_set_so_targets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_so.c:76:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*targets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_state_so.c:28: included_from: Included from here.
#   74|         if (targets[i]) {
#   75|            void *buf = softpipe_resource(targets[i]->buffer)->data;
#   76|->          softpipe->so_targets[i]->mapping = buf;
#   77|         }
#   78|      }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1649]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘mip_filter_nearest’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:2191:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:364:34: note: in definition of macro ‘CLAMP’
# 2189|   
# 2190|      for (j = 0; j < TGSI_QUAD_SIZE; j++) {
# 2191|->       args.s = s[j];
# 2192|         args.t = t[j];
# 2193|         args.p = p[j];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1650]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘create_filter_table’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:2324:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lut’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:2318:30: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:2318:30: note: in expansion of macro ‘MALLOC’
# 2322|            const float r2 = (float) i / (float) (WEIGHT_LUT_SIZE - 1);
# 2323|            const float weight = (float) expf(-alpha * r2);
# 2324|->          lut[i] = weight;
# 2325|         }
# 2326|         weightLut = lut;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1651]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘softpipe_create_sampler_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:3476:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samp’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:3474:30: note: in expansion of macro ‘CALLOC_STRUCT’
# 3474|      struct sp_sampler *samp = CALLOC_STRUCT(sp_sampler);
# 3475|   
# 3476|->    samp->base = *sampler;
# 3477|   
# 3478|      /* Note that (for instance) linear_texcoord_s and

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1652]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘softpipe_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:3635:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_tex_sample.c:43: included_from: Included from here.
# 3633|         sview->need_cube_convert = (view->target == PIPE_TEXTURE_CUBE ||
# 3634|                                     view->target == PIPE_TEXTURE_CUBE_ARRAY);
# 3635|->       sview->pot2d = spr->pot &&
# 3636|                        (view->target == PIPE_TEXTURE_2D ||
# 3637|                         view->target == PIPE_TEXTURE_RECT);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1653]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:303:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_create_surface’
#  301|         ps->context = pipe;
#  302|         ps->format = surf_tmpl->format;
#  303|->       if (pt->target != PIPE_BUFFER) {
#  304|            assert(surf_tmpl->u.tex.level <= pt->last_level);
#  305|            ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1654]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_transfer_map’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:449:15: warning[-Wanalyzer-malloc-leak]: leak of ‘spt’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:414:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  447|   
#  448|      *transfer = pt;
#  449|->    return map + spt->offset;
#  450|   }
#  451|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1655]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:508:11: warning[-Wanalyzer-malloc-leak]: leak of ‘spr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c:491:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_user_buffer_create’
#  506|      spr->data = ptr;
#  507|   
#  508|->    return &spr->base;
#  509|   }
#  510|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1656]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘allocate_query_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:267:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:266:21: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:266:21: note: in expansion of macro ‘CALLOC_STRUCT’
#  265|         assert(index != -1);
#  266|         alloc_entry = CALLOC_STRUCT(svga_qmem_alloc_entry);
#  267|->       alloc_entry->block_index = index;
#  268|      }
#  269|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1657]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:736:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:614:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1122:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:477:7: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1122:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:477:7: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1063:26: note: in definition of macro ‘SVGA_TRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:499:4: note: in expansion of macro ‘SVGA_RETRY_OOM’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1063:26: note: in definition of macro ‘SVGA_TRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1122:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:505:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1122:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:506:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_context.h:1122:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:506:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
#  734|      sq->type = query_type;
#  735|   
#  736|->    return &sq->base;
#  737|   
#  738|   fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1658]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_begin_query’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_query.c:838:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
#  836|      svga_hwtnl_flush_retry(svga);
#  837|   
#  838|->    switch (sq->type) {
#  839|      case PIPE_QUERY_OCCLUSION_COUNTER:
#  840|      case PIPE_QUERY_OCCLUSION_PREDICATE:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1659]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_sampler.c: scope_hint: In function ‘svga_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_sampler.c:365:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sv’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_sampler.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_sampler.c:347:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  363|                           SVGA_STATS_COUNT_SAMPLERVIEW);
#  364|   
#  365|->    return &sv->base;
#  366|   }
#  367|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1660]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_streamout.c: scope_hint: In function ‘svga_create_stream_output_target’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_streamout.c:382:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sot’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_streamout.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_streamout.c:371:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_pipe_streamout.c: scope_hint: In function ‘svga_create_stream_output_target’
#  380|      sot->base.buffer_size = buffer_size;
#  381|   
#  382|->    return &sot->base;
#  383|   }
#  384|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1661]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_resource_buffer.c: scope_hint: In function ‘svga_user_buffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_resource_buffer.c:592:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_resource_buffer.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_resource_buffer.c:569:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_resource_buffer.c: scope_hint: In function ‘svga_user_buffer_create’
#  590|      ss->hud.num_resources++;
#  591|   
#  592|->    return &sbuf->b;
#  593|   
#  594|   no_sbuf:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1662]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_sampler_view.c: scope_hint: In function ‘svga_destroy_sampler_view_priv’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_sampler_view.c:203:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_sampler_view.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_sampler_view.c:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_winsys.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_cmd.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_sampler_view.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
#  201|   svga_destroy_sampler_view_priv(struct svga_sampler_view *v)
#  202|   {
#  203|->    struct svga_texture *tex = svga_texture(v->texture);
#  204|   
#  205|      if (v->handle != tex->handle) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1663]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_framebuffer.c: scope_hint: In function ‘emit_viewport’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_framebuffer.c:722:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&viewports’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_framebuffer.c: scope_hint: In function ‘emit_viewport’
#  720|               return ret;
#  721|         }
#  722|->       memcpy(svga->state.hw_clear.viewports, viewports,
#  723|                max_viewports * sizeof viewports[0]);
#  724|      }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1664]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_framebuffer.c:729:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&prescale’
#  727|                 max_viewports * sizeof prescale[0]) != 0) {
#  728|         svga->dirty |= SVGA_NEW_PRESCALE;
#  729|->       memcpy(svga->state.hw_clear.prescale, prescale,
#  730|                max_viewports * sizeof prescale[0]);
#  731|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1665]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_tgsi_transform.c:38:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_tgsi_transform.c: scope_hint: In function ‘write_vpos’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_state_tgsi_transform.c: scope_hint: In function ‘write_vpos’
#   36|   insert_at_head(struct svga_shader *head, struct svga_shader *shader)
#   37|   {
#   38|->    shader->parent = head;
#   39|      shader->next = head->next;
#   40|      head->next = shader;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1666]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c: scope_hint: In function ‘svga_create_surface_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c:405:11: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c:282:8: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_winsys.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_cmd.h:20: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_surface.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  403|   
#  404|      svga->hud.num_surface_views++;
#  405|->    retVal = &s->base;
#  406|   
#  407|   done:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1667]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c: scope_hint: In function ‘svga_vbuf_render_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c:373:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘svga_render’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c:371:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  371|      struct svga_vbuf_render *svga_render = CALLOC_STRUCT(svga_vbuf_render);
#  372|   
#  373|->    svga_render->svga = svga;
#  374|      svga_render->ibuf_size = 0;
#  375|      svga_render->vbuf_size = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1668]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c:391:11: warning[-Wanalyzer-malloc-leak]: leak of ‘svga_render’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/svga/svga_swtnl_backend.c:371:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  389|      svga_render->base.destroy = svga_vbuf_render_destroy;
#  390|   
#  391|->    return &svga_render->base;
#  392|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1669]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c: scope_hint: In function ‘tegra_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c:855:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘presource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c:29: included_from: Included from here.
#  853|      pipe_resource_reference(&view->base.texture, presource);
#  854|   
#  855|->    view->gpu = context->gpu->create_sampler_view(context->gpu, resource->gpu,
#  856|                                                    template);
#  857|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1670]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c:862:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  860|      view->refcount = 100000000;
#  861|   
#  862|->    return &view->base;
#  863|   }
#  864|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1671]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c: scope_hint: In function ‘tegra_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_context.c:904:26: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  902|      pipe_reference_init(&surface->base.reference, 1);
#  903|      pipe_resource_reference(&surface->base.texture, presource);
#  904|->    surface->base.context = &context->base;
#  905|   
#  906|      return &surface->base;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1672]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_screen.c: scope_hint: In function ‘tegra_screen_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/tegra/tegra_screen.c:300:26: warning[-Wanalyzer-malloc-leak]: leak of ‘resource’
#  298|      memcpy(&resource->base, resource->gpu, sizeof(*resource->gpu));
#  299|      pipe_reference_init(&resource->base.reference, 1);
#  300|->    resource->base.screen = &screen->base;
#  301|   
#  302|      return &resource->base;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1673]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_disk_cache.c: scope_hint: In function ‘v3d_disk_cache_compute_key’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_disk_cache.c:83:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ckey’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   81|           uint32_t ckey_size = v3d_key_size(nir->info.stage);
#   82|           struct v3d_key *ckey = malloc(ckey_size);
#   83|->         memcpy(ckey, key, ckey_size);
#   84|   
#   85|           struct blob blob;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1674]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_query_pipe.c: scope_hint: In function ‘v3d_create_query_pipe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_query_pipe.c:198:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pquery’
#  196|           struct v3d_query *query = &pquery->base;
#  197|   
#  198|->         pquery->type = query_type;
#  199|           query->funcs = &pipe_query_funcs;
#  200|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1675]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_query_pipe.c:199:22: warning[-Wanalyzer-malloc-leak]: leak of ‘pquery’
#  197|   
#  198|           pquery->type = query_type;
#  199|->         query->funcs = &pipe_query_funcs;
#  200|   
#  201|           /* Note that struct pipe_query isn't actually defined anywhere. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1676]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:772:20: warning[-Wanalyzer-malloc-leak]: leak of ‘v3d_resource_setup(pscreen,  tmpl)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:761:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  770|           prsc->screen = pscreen;
#  771|   
#  772|->         rsc->cpp = util_format_get_blocksize(prsc->format);
#  773|           rsc->serial_id++;
#  774|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1677]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_resource_create_with_modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:828:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v3d_resource_setup(pscreen,  tmpl)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:761:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  826|           if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
#  827|                   linear_ok = true;
#  828|->                 rsc->tiled = should_tile;
#  829|           } else if (should_tile &&
#  830|                      drm_find_modifier(DRM_FORMAT_MOD_BROADCOM_UIF,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1678]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:1092:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:28: included_from: Included from here.
# 1090|           psurf->context = pctx;
# 1091|           psurf->format = surf_tmpl->format;
# 1092|->         psurf->width = u_minify(ptex->width0, level);
# 1093|           psurf->height = u_minify(ptex->height0, level);
# 1094|           psurf->u.tex.level = level;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1679]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:1143:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:1077:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_resource.c:1124:17: note: in expansion of macro ‘v3d_X’
# 1141|           }
# 1142|   
# 1143|->         return &surface->base;
# 1144|   }
# 1145|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1680]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_query_perfcnt.c: scope_hint: In function ‘v3d42_create_batch_query_perfcnt’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_query_perfcnt.c:299:22: warning[-Wanalyzer-malloc-leak]: leak of ‘pquery’
#  297|   
#  298|           query = &pquery->base;
#  299|->         query->funcs = &perfcnt_query_funcs;
#  300|   
#  301|           /* Note that struct pipe_query isn't actually defined anywhere. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1681]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c: scope_hint: In function ‘v3d_create_stream_output_target’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:1232:16: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:1221:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c: scope_hint: In function ‘v3d_create_stream_output_target’
# 1230|           target->base.buffer_size = buffer_size;
# 1231|   
# 1232|->         return &target->base;
# 1233|   }
# 1234|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1682]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_get_vattr_channel_vpm’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:117:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*vpm_reads’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:347:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_get_vattr_channel_vpm’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
#  115|                      (chan->type == UTIL_FORMAT_TYPE_UNSIGNED ||
#  116|                       chan->type == UTIL_FORMAT_TYPE_SIGNED)) {
#  117|->                 nir_def *vpm = vpm_reads[0];
#  118|                   if (chan->type == UTIL_FORMAT_TYPE_SIGNED) {
#  119|                           nir_def *temp = nir_ixor(b, vpm, nir_imm_int(b, 0x80808080));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1683]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:255:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:360:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:347:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c:348:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
#  253|   
#  254|                   if (result != &intr->def) {
#  255|->                         nir_def_rewrite_uses_after(&intr->def,
#  256|                                                          result,
#  257|                                                          result->parent_instr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1684]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.c: scope_hint: In function ‘qir_inst’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.c:592:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.c:590:30: note: in expansion of macro ‘CALLOC_STRUCT’
#  590|           struct qinst *inst = CALLOC_STRUCT(qinst);
#  591|   
#  592|->         inst->op = op;
#  593|           inst->dst = dst;
#  594|           inst->src[0] = src0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1685]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:451:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  449|                           }
#  450|   
#  451|->                         handle_r4_qpu_write(block, qinst, dst);
#  452|                           handled_qinst_cond = true;
#  453|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1686]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:458:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  456|                   case QOP_LOAD_IMM:
#  457|                           assert(qinst->src[0].file == QFILE_LOAD_IMM);
#  458|->                         queue(block, qpu_load_imm_ui(dst, qinst->src[0].index));
#  459|                           break;
#  460|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1687]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:462:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  460|   
#  461|                   case QOP_LOAD_IMM_U2:
#  462|->                         queue(block, qpu_load_imm_u2(dst, qinst->src[0].index));
#  463|                           break;
#  464|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1688]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:466:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  464|   
#  465|                   case QOP_LOAD_IMM_I2:
#  466|->                         queue(block, qpu_load_imm_i2(dst, qinst->src[0].index));
#  467|                           break;
#  468|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1689]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:477:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  475|   
#  476|                           queue(block,
#  477|->                               qpu_m_rot(dst, src[0], qinst->src[1].index -
#  478|                                           QPU_SMALL_IMM_MUL_ROT) | unpack);
#  479|                           set_last_cond_mul(block, qinst->cond);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1690]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:486:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  484|                   case QOP_MS_MASK:
#  485|                           src[1] = qpu_ra(QPU_R_MS_REV_FLAGS);
#  486|->                         fixup_raddr_conflict(block, dst, &src[0], &src[1],
#  487|                                                qinst, &unpack);
#  488|                           queue(block, qpu_a_AND(qpu_ra(QPU_W_MS_FLAGS),

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1691]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:503:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  501|                           *last_inst(block) = qpu_set_sig(*last_inst(block),
#  502|                                                           QPU_SIG_COLOR_LOAD);
#  503|->                         handle_r4_qpu_write(block, qinst, dst);
#  504|                           handled_qinst_cond = true;
#  505|                           break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1692]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:516:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  514|                           *last_inst(block) = qpu_set_sig(*last_inst(block),
#  515|                                                           QPU_SIG_LOAD_TMU0);
#  516|->                         handle_r4_qpu_write(block, qinst, dst);
#  517|                           handled_qinst_cond = true;
#  518|                           break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1693]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:537:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  535|   
#  536|                   case QOP_UNIFORMS_RESET:
#  537|->                         fixup_raddr_conflict(block, dst, &src[0], &src[1],
#  538|                                                qinst, &unpack);
#  539|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1694]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:549:51: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  547|   
#  548|                           /* Skip emitting the MOV if it's a no-op. */
#  549|->                         if (qir_is_raw_mov(qinst) &&
#  550|                               dst.mux == src[0].mux && dst.addr == src[0].addr) {
#  551|                                   break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1695]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:561:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_emit.c:247:9: note: in expansion of macro ‘qir_for_each_inst’
#  559|                                   src[1] = src[0];
#  560|   
#  561|->                         fixup_raddr_conflict(block, dst, &src[0], &src[1],
#  562|                                                qinst, &unpack);
#  563|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1696]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c: scope_hint: In function ‘process_waddr_deps’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:229:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:428:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:229:26: note: read of 8 bytes from after the end of ‘setup_list’
#  227|                      uint32_t waddr, bool is_add)
#  228|   {
#  229|->         uint64_t inst = n->inst->inst;
#  230|           bool is_a = is_add ^ ((inst & QPU_WS) != 0);
#  231|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1697]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c: scope_hint: In function ‘calculate_deps’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:325:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:428:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qpu_schedule.c:325:26: note: read of 8 bytes from after the end of ‘setup_list’
#  323|   calculate_deps(struct schedule_state *state, struct schedule_node *n)
#  324|   {
#  325|->         uint64_t inst = n->inst->inst;
#  326|           uint32_t add_op = QPU_GET_FIELD(inst, QPU_OP_ADD);
#  327|           uint32_t mul_op = QPU_GET_FIELD(inst, QPU_OP_MUL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1698]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_register_allocate.c: scope_hint: In function ‘vc4_register_allocate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_register_allocate.c:266:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘temp_registers’
#  264|            */
#  265|           for (uint32_t i = 0; i < c->num_temps; i++)
#  266|->                 temp_registers[i] = qpu_rn(0);
#  267|   
#  268|           vc4_alloc_reg_set(vc4);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1699]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_reorder_uniforms.c: scope_hint: In function ‘qir_reorder_uniforms’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:71:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform_index’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_qir.h:852:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:46:9: note: in expansion of macro ‘qir_for_each_inst_inorder’
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:27: note: in definition of macro ‘MAX2’
#   69|                           }
#   70|   
#   71|->                         uniform_index[new] = inst->src[i].index;
#   72|                           inst->src[i].index = new;
#   73|                   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1700]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_create_with_modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:553:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:478:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_create_with_modifiers’
#  551|            */
#  552|           if ((tmpl->bind & (PIPE_BIND_SHARED | PIPE_BIND_SCANOUT)) &&
#  553|->             vc4_size_is_lt(prsc->width0, prsc->height0, rsc->cpp))
#  554|                   should_tile = false;
#  555|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1701]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:566:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:478:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_create_with_modifiers’
#  564|           if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
#  565|                   linear_ok = true;
#  566|->                 rsc->tiled = should_tile;
#  567|           } else if (should_tile &&
#  568|                      drm_find_modifier(DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1702]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:649:24: warning[-Wanalyzer-malloc-leak]: leak of ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:478:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  647|                   return NULL;
#  648|   
#  649|->         switch (whandle->type) {
#  650|           case WINSYS_HANDLE_TYPE_SHARED:
#  651|                   rsc->bo = vc4_bo_open_name(screen, whandle->handle);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1703]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_create_surface’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:776:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:28: included_from: Included from here.
#  774|           psurf->context = pctx;
#  775|           psurf->format = surf_tmpl->format;
#  776|->         psurf->width = u_minify(ptex->width0, level);
#  777|           psurf->height = u_minify(ptex->height0, level);
#  778|           psurf->u.tex.level = level;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1704]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:785:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:760:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_resource.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  783|           surface->tiling = rsc->slices[level].tiling;
#  784|   
#  785|->         return &surface->base;
#  786|   }
#  787|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1705]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c: scope_hint: In function ‘vc4_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:573:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:27: included_from: Included from here.
#  571|           if ((cso->u.tex.first_level &&
#  572|                (cso->u.tex.first_level != cso->u.tex.last_level)) ||
#  573|->             rsc->vc4_format == VC4_TEXTURE_TYPE_RGBA32R ||
#  574|               rsc->vc4_format == ~0) {
#  575|                   struct vc4_resource *shadow_parent = rsc;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1706]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:579:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
#  577|                           .target = prsc->target,
#  578|                           .format = prsc->format,
#  579|->                         .width0 = u_minify(prsc->width0,
#  580|                                              cso->u.tex.first_level),
#  581|                           .height0 = u_minify(prsc->height0,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1707]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:633:16: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/vc4/vc4_state.c:551:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  631|                   so->texture_p1 |= VC4_TEX_P1_ETCFLIP_MASK;
#  632|   
#  633|->         return &so->base;
#  634|   }
#  635|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1708]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:1138:11: warning[-Wanalyzer-malloc-leak]: leak of ‘grview’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:1123:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:1123:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:61:11: note: in expansion of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_create_sampler_view’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:40: included_from: Included from here.
# 1136|      pipe_resource_reference(&grview->base.texture, texture);
# 1137|      grview->handle = handle;
# 1138|->    return &grview->base;
# 1139|   }
# 1140|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1709]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_context_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:1695:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vctx’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_context.c:1692:11: note: in expansion of macro ‘CALLOC_STRUCT’
# 1693|      const char *host_debug_flagstring;
# 1694|   
# 1695|->    vctx->cbuf = rs->vws->cmd_buf_create(rs->vws, VIRGL_MAX_CMDBUF_DWORDS);
# 1696|      if (!vctx->cbuf) {
# 1697|         FREE(vctx);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1710]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c: scope_hint: In function ‘virgl_encode_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c:747:7: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c:741:16: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c:741:16: note: in expansion of macro ‘REALLOC’
#  745|      } while (bret == false && retry_size < 1024);
#  746|   
#  747|->    if (bret == false)
#  748|         return -1;
#  749|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1711]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.h:63:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stride’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_encode.c: scope_hint: In function ‘virgl_encoder_transfer3d_common’
#   61|                                               uint32_t dword)
#   62|   {
#   63|->    state->buf[state->cdw++] = dword;
#   64|   }
#   65|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1712]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_create_front’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:649:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:646:33: note: in expansion of macro ‘CALLOC_STRUCT’
#  647|      uint32_t alloc_size;
#  648|   
#  649|->    res->b = *templ;
#  650|      res->b.screen = &vs->base;
#  651|      pipe_reference_init(&res->b.reference, 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1713]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:725:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:723:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_resource.c:723:33: note: in expansion of macro ‘CALLOC_STRUCT’
#  723|      struct virgl_resource *res = CALLOC_STRUCT(virgl_resource);
#  724|      if (templ)
#  725|->       res->b = *templ;
#  726|      res->b.screen = &vs->base;
#  727|      pipe_reference_init(&res->b.reference, 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1714]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_streamout.c: scope_hint: In function ‘virgl_set_so_targets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_streamout.c:86:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘**targets.buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_streamout.c:23: included_from: Included from here.
#   84|            pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer);
#   85|   
#   86|->          vws->emit_res(vws, vctx->cbuf, res->hw_res, false);
#   87|         } else {
#   88|            pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1715]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_video.c: scope_hint: In function ‘virgl_video_destroy_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_video.c:1277:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/virgl/virgl_video.c: scope_hint: In function ‘virgl_video_destroy_buffer’
# 1275|       struct virgl_video_buffer *vbuf = virgl_video_buffer(buffer);
# 1276|   
# 1277|->     virgl_encode_destroy_video_buffer(vbuf->vctx, vbuf);
# 1278|   
# 1279|       vl_video_buffer_destroy(buffer);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1716]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c: scope_hint: In function ‘nir_to_spirv’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4784:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c: scope_hint: In function ‘nir_to_spirv’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4520:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c: scope_hint: In function ‘nir_to_spirv’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4523:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4527:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4527:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4527:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4540:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4540:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4542:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4546:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4546:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4546:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4548:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4551:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4551:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4551:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4553:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4562:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4562:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4562:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4749:8: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:66:61: note: in expansion of macro ‘BITSET_BIT’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:67:30: note: in expansion of macro ‘BITSET_MASK’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:212:31: note: in expansion of macro ‘BITSET_RANGE’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4749:8: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
# 4782|      nir_metadata_require(entry, nir_metadata_block_index);
# 4783|   
# 4784|->    ctx.defs = rzalloc_array_size(ctx.mem_ctx,
# 4785|                                    sizeof(SpvId), entry->ssa_alloc);
# 4786|      ctx.def_types = ralloc_array_size(ctx.mem_ctx,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1717]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c: scope_hint: In function ‘get_type_def’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c:1281:4: warning[-Wanalyzer-null-argument]: use of NULL ‘args’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c: scope_hint: In function ‘get_type_def’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
# 1279|      assert(num_args <= ARRAY_SIZE(key.args));
# 1280|      key.op = op;
# 1281|->    memcpy(&key.args, args, sizeof(uint32_t) * num_args);
# 1282|      key.num_args = num_args;
# 1283|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1718]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c:257:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pcolor’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.h:87:22: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.h:81:11: note: in expansion of macro ‘util_dynarray_element’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.h:87:22: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
#  255|               clear->conditional = ctx->render_condition_active;
#  256|               clear->has_scissor = needs_rp;
#  257|->             memcpy(&clear->color, pcolor, sizeof(union pipe_color_union));
#  258|               zink_convert_color(screen, psurf->format, &clear->color, pcolor);
#  259|               if (scissor_state && needs_rp)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1719]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘create_push_pool’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:977:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pool’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:967:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:839:4: note: in expansion of macro ‘VRAM_ALLOC_LOOP’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_screen.h:127:7: note: in definition of macro ‘VRAM_ALLOC_LOOP’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:842:10: note: in expansion of macro ‘mesa_loge’
#  975|         sizes[1].descriptorCount = MAX_LAZY_DESCRIPTORS;
#  976|      }
#  977|->    pool->pool = create_pool(screen, !is_compute && has_fbfetch ? 2 : 1, sizes, 0);
#  978|      return pool;
#  979|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1720]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_pipeline.c: scope_hint: In function ‘zink_create_gfx_pipeline_input’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_pipeline.c:640:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binding_map’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_pipeline.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_pipeline.c:905:41: note: in expansion of macro ‘rzalloc’
#  638|         if (!state->uses_dynamic_stride) {
#  639|            for (int i = 0; i < state->element_state->num_bindings; ++i) {
#  640|->             const unsigned buffer_id = binding_map[i];
#  641|               VkVertexInputBindingDescription *binding = &state->element_state->b.bindings[i];
#  642|               binding->stride = state->vertex_strides[buffer_id];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1721]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘generate_gfx_program_modules_optimal’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:468:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  466|   
#  467|         struct zink_shader_module *zm = create_shader_module_for_stage_optimal(ctx, screen, prog->shaders[i], prog, i, state);
#  468|->       prog->objs[i] = zm->obj;
#  469|         prog->objects[i] = zm->obj.obj;
#  470|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1722]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘create_lib_cache’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:1035:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘libs’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:1034:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 1033|   {
# 1034|      struct zink_gfx_lib_cache *libs = CALLOC_STRUCT(zink_gfx_lib_cache);
# 1035|->    libs->stages_present = prog->stages_present;
# 1036|      if (generated_tcs)
# 1037|         libs->stages_present &= ~BITFIELD_BIT(MESA_SHADER_TESS_CTRL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1723]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘gfx_program_init’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:1167:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nir[2]’
# 1165|            /* this may have already been precompiled for separate shader */
# 1166|            if (i == MESA_SHADER_TESS_CTRL && prog->shaders[i]->non_fs.is_generated && prog->shaders[MESA_SHADER_TESS_CTRL]->nir)
# 1167|->             zink_shader_tcs_init(screen, prog->shaders[MESA_SHADER_TESS_CTRL], nir[MESA_SHADER_TESS_EVAL], &nir[i]);
# 1168|            else
# 1169|               nir[i] = zink_shader_deserialize(screen, prog->shaders[i]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1724]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘zink_create_pipeline_lib’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:2142:4: warning[-Wanalyzer-malloc-leak]: leak of ‘gkey’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:2131:40: note: in expansion of macro ‘CALLOC_STRUCT’
# 2140|         gkey->modules[i] = prog->objs[i].mod;
# 2141|      gkey->pipeline = zink_create_gfx_pipeline_library(screen, prog);
# 2142|->    _mesa_set_add(&prog->libs->libs, gkey);
# 2143|      return gkey;
# 2144|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1725]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_render_pass.c: scope_hint: In function ‘get_render_pass’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_render_pass.c:528:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  526|         }
#  527|         ppstate = (void*)cache_entry->key;
#  528|->       rp->pipeline_state = ppstate->id;
#  529|      }
#  530|      return rp;

Error: GCC_ANALYZER_WARNING: [#def1726]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_screen.c: scope_hint: In function ‘zink_internal_create_screen’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_screen.c:3389:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_screen.c:3268:33: note: in expansion of macro ‘rzalloc’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:28: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
# 3387|               screen->heap_count[i] = screen->heap_count[ZINK_HEAP_HOST_VISIBLE_COHERENT];
# 3388|            } else {
# 3389|->             memcpy(screen->heap_map[i], screen->heap_map[ZINK_HEAP_DEVICE_LOCAL], screen->heap_count[ZINK_HEAP_DEVICE_LOCAL]);
# 3390|               screen->heap_count[i] = screen->heap_count[ZINK_HEAP_DEVICE_LOCAL];
# 3391|            }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1727]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c: scope_hint: In function ‘zink_create_vertex_elements_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c:160:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strides[j]’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:108:29: note: in definition of macro ‘u_foreach_bit’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c:130:4: note: in expansion of macro ‘u_foreach_bit’
#  158|            ves->hw_state.dynbindings[j].binding = ves->bindings[j].binding;
#  159|            ves->hw_state.dynbindings[j].inputRate = ves->bindings[j].inputRate;
#  160|->          ves->hw_state.dynbindings[j].stride = strides[j];
#  161|            if (ves->divisor[j])
#  162|               ves->hw_state.dynbindings[j].divisor = ves->divisor[j];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1728]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c: scope_hint: In function ‘zink_create_vertex_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c:806:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘zink_create_vertex_elements_state(&ctx.base,  num_elements,  elements)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_state.c:46:45: note: in expansion of macro ‘CALLOC_STRUCT’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/xcb/xcb.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/vulkan/util/vk_struct_type_cast.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:59: included_from: Included from here.
#  804|      ctx.base.screen = pscreen;
#  805|      struct zink_vertex_elements_state *elems = zink_create_vertex_elements_state(&ctx.base, num_elements, elements);
#  806|->    zstate->velems = *elems;
#  807|      zink_delete_vertex_elements_state(&ctx.base, elems);
#  808|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1729]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘zink_descriptor_util_init_fbfetch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:98:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:1712:7: note: in expansion of macro ‘VKSCR’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘zink_descriptor_util_init_fbfetch’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:1712:7: note: in expansion of macro ‘VKSCR’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_descriptors.c:1712:7: note: in expansion of macro ‘VKSCR’
#   96|   /* convenience macros for accessing dispatch table functions */
#   97|   #define VKCTX(fn) zink_screen(ctx->base.screen)->vk.fn
#   98|-> #define VKSCR(fn) screen->vk.fn
#   99|   
#  100|   #ifdef __cplusplus

Error: COMPILER_WARNING (CWE-563): [#def1730]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/clover/llvm/codegen/common.cpp: scope_hint: In function ‘llvm::Type* {anonymous}::ptr_arg_to_llvm_type(const llvm::Module&, std::string)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/clover/llvm/codegen/common.cpp:159:11: warning[-Wunused-variable]: unused variable ‘len’
#  159 |       int len = type_name.length();
#      |           ^~~
#  157|      ::llvm::Type *
#  158|      ptr_arg_to_llvm_type(const Module &mod, std::string type_name) {
#  159|->       int len = type_name.length();
#  160|         assert (type_name[len-1] == '*');
#  161|         ::llvm::Type *base_type = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1731]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_helpers.c: scope_hint: In function ‘dri2_create_fence_fd’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_helpers.c:137:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_helpers.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_helpers.c:123:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  135|         ctx->create_fence_fd(ctx, &fence->pipe_fence, fd, PIPE_FD_TYPE_NATIVE_SYNC);
#  136|      }
#  137|->    if (!fence->pipe_fence) {
#  138|         FREE(fence);
#  139|         return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1732]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_screen.c: scope_hint: In function ‘driConcatConfigs.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_screen.c:287:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
#  285|       index = 0;
#  286|       for (i = 0; a[i] != NULL; i++)
#  287|->         all[index++] = a[i];
#  288|       for (j = 0; b[j] != NULL; j++)
#  289|           all[index++] = b[j];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1733]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_screen.c:289:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
#  287|           all[index++] = a[i];
#  288|       for (j = 0; b[j] != NULL; j++)
#  289|->         all[index++] = b[j];
#  290|       all[index++] = NULL;
#  291|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1734]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_screen.c:290:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
#  288|       for (j = 0; b[j] != NULL; j++)
#  289|           all[index++] = b[j];
#  290|->     all[index++] = NULL;
#  291|   
#  292|       free(a);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1735]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_util.c: scope_hint: In function ‘driCreateNewScreen3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri_util.c:140:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mesa’
#  138|                           "dri2", NULL, NULL, NULL, 0, NULL, 0);
#  139|   
#  140|->     *driver_configs = mesa->initScreen(screen, driver_name_is_inferred);
#  141|       if (*driver_configs == NULL) {
#  142|           dri_destroy_screen(screen);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1736]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:464:132: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:73: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:462:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:462:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
#  462|               vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK);
#  463|            assert(uniform_data);
#  464|->          memcpy((uint8_t *)set->map + bind_layout->uniform_block_offset + write->dstArrayElement, uniform_data->pData, uniform_data->dataSize);
#  465|            continue;
#  466|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1737]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:64: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:634:82: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:633:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:633:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  632|               const VkWriteDescriptorSetAccelerationStructureKHR *accel_structs =
#  633|                  vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR);
#  634|->             VK_FROM_HANDLE(vk_acceleration_structure, accel_struct, accel_structs->pAccelerationStructures[j]);
#  635|   
#  636|               desc[j].accel_struct = accel_struct ? vk_acceleration_structure_get_va(accel_struct) : 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1738]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c:2262:73: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c:2230:7: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c:2230:7: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c:2261:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c:2261:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
# 2260|               const VkBindImagePlaneMemoryInfo *plane_info =
# 2261|                  vk_find_struct_const(pBindInfos[i].pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 2262|->             uint8_t plane = lvp_image_aspects_to_plane(image, plane_info->planeAspect);
# 2263|               result = lvp_image_plane_bind(device, &image->planes[plane],
# 2264|                                             mem, bind_info->memoryOffset, &offset_B);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1739]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘update_inline_shader_state’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:313:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  311|         base_nir = shader->tess_ccw->nir;
#  312|      nir_function_impl *impl = nir_shader_get_entrypoint(base_nir);
#  313|->    unsigned ssa_alloc = impl->ssa_alloc;
#  314|      unsigned count = shader->inlines.count[0];
#  315|      if (count && pcbuf_dirty) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1740]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:337:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  335|         lvp_shader_optimize(nir);
#  336|         impl = nir_shader_get_entrypoint(nir);
#  337|->       if (ssa_alloc - impl->ssa_alloc < ssa_alloc / 2 &&
#  338|            !shader->inlines.must_inline) {
#  339|            /* not enough change; don't inline further */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1741]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:348:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(&v, 528)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  346|            shader_state = lvp_shader_compile(state->device, shader, nir, true);
#  347|            struct lvp_inline_variant *variant = mem_dup(&v, sizeof(v));
#  348|->          variant->cso = shader_state;
#  349|            entry->key = variant;
#  350|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1742]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_vertex_buffers2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:1169:122: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/xcb/xcb.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:60: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
# 1167|               state->pctx->buffer_unmap(state->pctx, xfer);
# 1168|               state->vb[idx].buffer.resource = get_buffer_resource(state->pctx, mem);
# 1169|->             state->vb[idx].buffer.resource->width0 = MIN2(vcb->offsets[i] + vcb->sizes[i], state->vb[idx].buffer.resource->width0);
# 1170|               state->vb_sizes[idx] = vcb->sizes[i];
# 1171|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1743]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_multi’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:2011:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
# 2009|   
# 2010|      for (unsigned i = 0; i < cmd->u.draw_multi_ext.draw_count; i++) {
# 2011|->       draws[i].start = cmd->u.draw_multi_ext.vertex_info[i].firstVertex;
# 2012|         draws[i].count = cmd->u.draw_multi_ext.vertex_info[i].vertexCount;
# 2013|         draws[i].index_bias = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1744]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_multi_indexed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:2664:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘draws’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 2662|   
# 2663|      unsigned size = cmd->u.draw_multi_indexed_ext.draw_count * sizeof(struct pipe_draw_start_count_bias);
# 2664|->    memcpy(draws, cmd->u.draw_multi_indexed_ext.index_info, size);
# 2665|      if (state->index_buffer_size != UINT32_MAX) {
# 2666|         for (unsigned i = 0; i < cmd->u.draw_multi_indexed_ext.draw_count; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1745]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_indirect’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:2705:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_execute.c:4823:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
# 2703|            state->pctx->buffer_unmap(state->pctx, xfer);
# 2704|            index = get_buffer_resource(state->pctx, mem + state->index_offset);
# 2705|->          index->width0 = MIN2(state->index_buffer->width0 - state->index_offset, state->index_buffer_size);
# 2706|            state->info.index.resource = index;
# 2707|         }

Error: COMPILER_WARNING (CWE-563): [#def1746]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_image.c: scope_hint: In function ‘lvp_image_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_image.c:45:21: warning[-Wunused-variable]: unused variable ‘pipe_format’
#   45 |    enum pipe_format pipe_format = lvp_vk_format_to_pipe_format(pCreateInfo->format);
#      |                     ^~~~~~~~~~~
#   43|      unsigned num_layouts = 1;
#   44|      const VkSubresourceLayout *layouts = NULL;
#   45|->    enum pipe_format pipe_format = lvp_vk_format_to_pipe_format(pCreateInfo->format);
#   46|      const VkImageDrmFormatModifierExplicitCreateInfoEXT *modinfo = (void*)vk_find_struct_const(pCreateInfo->pNext,
#   47|                                                                     IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1747]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:57:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:86:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:86:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
#   55|      assert(glsl_type_is_image(deref->type));
#   56|   
#   57|->    enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type);
#   58|      if (image_dim != GLSL_SAMPLER_DIM_SUBPASS &&
#   59|          image_dim != GLSL_SAMPLER_DIM_SUBPASS_MS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1748]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c:95:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c: scope_hint: In function ‘vulkan_resource_from_deref’
#   93|      nir_def *index = nir_imm_int(b, 0);
#   94|   
#   95|->    while (deref->deref_type != nir_deref_type_var) {
#   96|         assert(deref->deref_type == nir_deref_type_array);
#   97|         unsigned array_size = MAX2(glsl_get_aoa_size(deref->type), 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1749]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_pipeline.c: scope_hint: In function ‘lvp_shader_init’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_pipeline.c:486:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_private.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/lavapipe/lvp_pipeline.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#  484|   {
#  485|      nir_function_impl *impl = nir_shader_get_entrypoint(nir);
#  486|->    if (impl->ssa_alloc > 100) //skip for small shaders
#  487|         shader->inlines.must_inline = lvp_find_inlinable_uniforms(shader, nir);
#  488|      shader->pipeline_nir = lvp_create_pipeline_nir(nir);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1750]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_buffer_upload.c: scope_hint: In function ‘nine_upload_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_buffer_upload.c:235:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘group’
#  233|       buf->parent = group;
#  234|       buf->resource = NULL;
#  235|->     pipe_resource_reference(&buf->resource, group->resource);
#  236|       buf->offset = group->free_offset;
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1751]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.c: scope_hint: In function ‘nine_range_pool_more’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.c:28:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/iunknown.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.h:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.c:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.c:11:28: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_helpers.c:20:23: note: in expansion of macro ‘REALLOC’
#   26|   
#   27|       for (i = 0; i < 63; ++i, r = r->next)
#   28|->         r->next = (struct nine_range *)
#   29|               ((uint8_t *)r + sizeof(struct nine_range));
#   30|       r->next = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1752]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_memory_helper.c: scope_hint: In function ‘nine_allocate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_memory_helper.c:1063:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_memory_helper.c:80: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:68:16: note: in expansion of macro ‘align_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:68:16: note: in expansion of macro ‘align_malloc’
# 1061|       assert(sizeof(struct nine_allocation) <= NINE_ALLOCATION_ALIGNMENT);
# 1062|       allocation = align_calloc(size + NINE_ALLOCATION_ALIGNMENT, NINE_ALLOCATION_ALIGNMENT);
# 1063|->     allocation->is_external = false;
# 1064|       return allocation;
# 1065|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1753]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/vertexshader9.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_shader.h: scope_hint: In function ‘nine_shader_constant_combination_key’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_shader.h:277:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(328)’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/iunknown.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/device9.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_shader.h:274:26: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_shader.h:274:26: note: in expansion of macro ‘MALLOC_STRUCT’
#  275|           current = *next_allocate;
#  276|           index++;
#  277|->         current->next = NULL;
#  278|           memcpy(current->const_i, const_i, sizeof(current->const_i));
#  279|           memcpy(current->const_b, const_b, sizeof(current->const_b));

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1754]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:905:64: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[b]’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_math.h:48: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/box.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.h:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/device9.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:897:5: note: in expansion of macro ‘u_foreach_bit’
#  903|               ve.velems[n] = vdecl->elems[index];
#  904|               b = ve.velems[n].vertex_buffer_index;
#  905|->             ve.velems[n].vertex_buffer_index = vtxbuf_holes_map[b];
#  906|               ve.velems[n].src_stride = context->vtxstride[b];
#  907|               context->stream_usage_mask |= 1 << b;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1755]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements_sw’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:3176:64: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[b]’
# 3174|               ve.velems[n] = vdecl->elems[index];
# 3175|               b = ve.velems[n].vertex_buffer_index;
# 3176|->             ve.velems[n].vertex_buffer_index = vtxbuf_holes_map[b];
# 3177|               /* XXX wine just uses 1 here: */
# 3178|               if (state->stream_freq[b] & D3DSTREAMSOURCE_INSTANCEDATA)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1756]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_state.c:3185:64: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[dummy_vbo_stream]’
# 3183|                * This is not precised by the spec, but is the behaviour
# 3184|                * tested on win */
# 3185|->             ve.velems[n].vertex_buffer_index = vtxbuf_holes_map[dummy_vbo_stream];
# 3186|               ve.velems[n].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT;
# 3187|               ve.velems[n].src_offset = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1757]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c: scope_hint: In function ‘NineQuery9_GetData’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:269:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&nresult’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/iunknown.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/device9.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:202:5: note: in expansion of macro ‘user_assert’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/nine_debug.h:96:26: note: in definition of macro ‘user_error’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:203:5: note: in expansion of macro ‘user_assert’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:203:5: note: in expansion of macro ‘user_assert’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:204:5: note: in expansion of macro ‘user_assert’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/query9.c:204:5: note: in expansion of macro ‘user_assert’
#  267|           break;
#  268|       }
#  269|->     memcpy(pData, &nresult, MIN2(sizeof(nresult), dwSize));
#  270|   
#  271|       return S_OK;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1758]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/surface9.c: scope_hint: In function ‘NineSurface9_SetResourceResize’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/surface9.c:836:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/surface9.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/nine/surface9.c:7: included_from: Included from here.
#  834|       pipe_resource_reference(&This->base.resource, resource);
#  835|   
#  836|->     This->desc.Width = This->base.info.width0 = resource->width0;
#  837|       This->desc.Height = This->base.info.height0 = resource->height0;
#  838|       This->base.info.nr_samples = resource->nr_samples;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1759]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘osmesa_st_framebuffer_flush_front’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:364:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  362|         return false;
#  363|   
#  364|->    if (osmesa->pp) {
#  365|         struct pipe_resource *zsbuf = NULL;
#  366|         unsigned i;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1760]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaMakeCurrent’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:777:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘osbuffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_context.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:64: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:481:37: note: in expansion of macro ‘CALLOC_STRUCT’
#  775|      struct osmesa_buffer *osbuffer = osmesa->current_buffer;
#  776|   
#  777|->    osbuffer->width = width;
#  778|      osbuffer->height = height;
#  779|      osbuffer->map = buffer;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1761]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaPixelStore’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:836:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  834|      switch (pname) {
#  835|      case OSMESA_ROW_LENGTH:
#  836|->       osmesa->user_row_length = value;
#  837|         break;
#  838|      case OSMESA_Y_UP:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1762]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:839:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  837|         break;
#  838|      case OSMESA_Y_UP:
#  839|->       osmesa->y_up = value ? GL_TRUE : GL_FALSE;
#  840|         break;
#  841|      default:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1763]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaGetIntegerv’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:862:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  860|         return;
#  861|      case OSMESA_FORMAT:
#  862|->       *value = osmesa->format;
#  863|         return;
#  864|      case OSMESA_TYPE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1764]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:862:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘OSMesaGetCurrentContext()’
#  860|         return;
#  861|      case OSMESA_FORMAT:
#  862|->       *value = osmesa->format;
#  863|         return;
#  864|      case OSMESA_TYPE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1765]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:866:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  864|      case OSMESA_TYPE:
#  865|         /* current color buffer's data type */
#  866|->       *value = osmesa->type;
#  867|         return;
#  868|      case OSMESA_ROW_LENGTH:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1766]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:866:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘OSMesaGetCurrentContext()’
#  864|      case OSMESA_TYPE:
#  865|         /* current color buffer's data type */
#  866|->       *value = osmesa->type;
#  867|         return;
#  868|      case OSMESA_ROW_LENGTH:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1767]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:869:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  867|         return;
#  868|      case OSMESA_ROW_LENGTH:
#  869|->       *value = osmesa->user_row_length;
#  870|         return;
#  871|      case OSMESA_Y_UP:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1768]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:869:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘OSMesaGetCurrentContext()’
#  867|         return;
#  868|      case OSMESA_ROW_LENGTH:
#  869|->       *value = osmesa->user_row_length;
#  870|         return;
#  871|      case OSMESA_Y_UP:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1769]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:872:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  870|         return;
#  871|      case OSMESA_Y_UP:
#  872|->       *value = osmesa->y_up;
#  873|         return;
#  874|      case OSMESA_MAX_WIDTH:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1770]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/osmesa/osmesa.c:872:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘OSMesaGetCurrentContext()’
#  870|         return;
#  871|      case OSMESA_Y_UP:
#  872|->       *value = osmesa->y_up;
#  873|         return;
#  874|      case OSMESA_MAX_WIDTH:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1771]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘partition_invoke’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:335:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffers’
#  333|      void **buffers = malloc(tsubgraph->output_count * sizeof(*buffers));
#  334|      for (unsigned i = 0; i < tsubgraph->output_count; i++)
#  335|->       buffers[i] = tf_context->tensors[tsubgraph->output_tensors[i]].data.data;
#  336|      context->ml_subgraph_read_output(context, subgraph, tsubgraph->output_count, tsubgraph->output_tensors, buffers);
#  337|      free(buffers);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1772]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:360:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘supported_nodes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
#  358|      // Get a list of supported nodes.
#  359|      TfLiteIntArray *supported_nodes = malloc(plan->size * sizeof(int) + sizeof(*supported_nodes));
#  360|->    supported_nodes->size = plan->size;
#  361|      unsigned node_count = 0;
#  362|      for (int i = 0; i < plan->size; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1773]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘tflite_plugin_create_delegate’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:450:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘delegate’
#  448|      for (int i = 0; i < n; i++) {
#  449|         if (strstr("etnaviv", devs[i]->driver_name))
#  450|->          delegate->dev = devs[i];
#  451|         else
#  452|            pipe_loader_release(&devs[i], 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1774]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:456:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘delegate’
#  454|      free(devs);
#  455|   
#  456|->    if (delegate->dev == NULL) {
#  457|         fprintf(stderr, "Couldn't open kernel device\n");
#  458|         return NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1775]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:457:7: warning[-Wanalyzer-malloc-leak]: leak of ‘delegate’
#  455|   
#  456|      if (delegate->dev == NULL) {
#  457|->       fprintf(stderr, "Couldn't open kernel device\n");
#  458|         return NULL;
#  459|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1776]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/teflon/tfl_device.c:466:11: warning[-Wanalyzer-malloc-leak]: leak of ‘delegate’
#  464|      delegate->context = screen->context_create(screen, NULL, PIPE_CONTEXT_COMPUTE_ONLY);
#  465|   
#  466|->    return &delegate->base;
#  467|   }
#  468|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1777]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/buffer.c: scope_hint: In function ‘vlVaMapBuffer2’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/buffer.c:220:38: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/buffer.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/buffer.c:220:40: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/buffer.c:220:40: note: in expansion of macro ‘CALLOC’
#  218|               for (size_t i = 0; i < buf->extended_metadata.codec_unit_metadata_count - 1; i++) {
#  219|                  if (!curr_buf_ptr->next)
#  220|->                   curr_buf_ptr->next = CALLOC(1, sizeof(VACodedBufferSegment));
#  221|                  if (!curr_buf_ptr->next)
#  222|                     return VA_STATUS_ERROR_ALLOCATION_FAILED;

Error: COMPILER_WARNING (CWE-563): [#def1778]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/picture_av1_enc.c: scope_hint: In function ‘av1_sequence_header’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/va/picture_av1_enc.c:435:13: warning[-Wunused-but-set-variable]: variable ‘still_pic’ set but not used
#  435 |    unsigned still_pic = 0;
#      |             ^~~~~~~~~
#  433|      unsigned layer_minus1 = 0, value = 0;
#  434|      unsigned buffer_delay_length_minus1 = 0;
#  435|->    unsigned still_pic = 0;
#  436|      struct pipe_av1_enc_seq_param *seq = &context->desc.av1enc.seq;
#  437|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1779]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/decode.c: scope_hint: In function ‘vlVdpDecoderFixVC1Startcode’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/decode.c:981:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/decode.c:33: included_from: Included from here.
#  979|      VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Manually adding VC-1 startcode\n");
#  980|      for (i = *num_buffers; i > 0; --i) {
#  981|->       buffers[i] = buffers[i - 1];
#  982|         sizes[i] = sizes[i - 1];
#  983|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1780]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/decode.c:982:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
#  980|      for (i = *num_buffers; i > 0; --i) {
#  981|         buffers[i] = buffers[i - 1];
#  982|->       sizes[i] = sizes[i - 1];
#  983|      }
#  984|      ++(*num_buffers);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1781]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/device.c: scope_hint: In function ‘vlVdpDeviceFree’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/device.c:245:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/device.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/device.c:181:10: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/device.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘vlVdpDeviceFree’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/vdpau_private.h: scope_hint: In function ‘vlVdpDeviceFree’
#  243|      vl_compositor_cleanup(&dev->compositor);
#  244|      pipe_sampler_view_reference(&dev->dummy_sv, NULL);
#  245|->    dev->context->destroy(dev->context);
#  246|      dev->vscreen->destroy(dev->vscreen);
#  247|      FREE(dev);

Error: GCC_ANALYZER_WARNING (CWE-787): [#def1782]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/ftab.c: scope_hint: In function ‘vlGetFuncFTAB’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/ftab.c:135:29: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/ftab.c:135:29: note: valid subscripts for ‘ftab_driver’ are ‘[0]’ to ‘[3]’
#  133|         function_id -= VDP_FUNC_ID_BASE_DRIVER;
#  134|         if (function_id < ARRAY_SIZE(ftab_driver))
#  135|->          *func = ftab_driver[function_id];
#  136|      }
#  137|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1783]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/mixer.c: scope_hint: In function ‘vlVdpVideoMixerRender’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/mixer.c:411:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe’
#  409|                                    sampler_view, dst->surface);
#  410|         } else {
#  411|->          res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
#  412|            struct pipe_sampler_view *sampler_view_temp = pipe->create_sampler_view(pipe, res, &sv_templ);
#  413|            struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1784]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/vdpau/mixer.c:432:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe’
#  430|                                    sampler_view, dst->surface);
#  431|         } else {
#  432|->          res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
#  433|            struct pipe_sampler_view *sampler_view_temp = pipe->create_sampler_view(pipe, res, &sv_templ);
#  434|            struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1785]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/xa/xa_context.c: scope_hint: In function ‘xa_context_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/xa/xa_context.c:58:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
#   56|       struct xa_context *ctx = calloc(1, sizeof(*ctx));
#   57|   
#   58|->     ctx->xa = xa;
#   59|       ctx->pipe = xa->screen->context_create(xa->screen, NULL, 0);
#   60|       ctx->cso = cso_create_context(ctx->pipe, 0);

Error: GCC_ANALYZER_WARNING (CWE-131): [#def1786]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c: scope_hint: In function ‘init_dri2_configs’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c:370:14: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  368|      eglconfigs = malloc(sizeof(EGLConfig) * num_configs);
#  369|      /* overestimate: num_configs * doubleBuffer * sRGB + NULL */
#  370|->    configs = calloc(num_configs * 2 * 2 + 1, sizeof(struct gl_config));
#  371|      if (!peglGetConfigs(dpy, eglconfigs, num_configs, &num_configs))
#  372|         goto out_egl;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1787]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c: scope_hint: In function ‘drilCreateNewScreen’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c:444:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘configs’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c:23: included_from: Included from here.
#  442|         for (int i = 0; i < ARRAY_SIZE(drilConfigs); i++) {
#  443|            /* create normal config */
#  444|->          configs[c++] = mem_dup(&drilConfigs[i], sizeof(drilConfigs[i]));
#  445|   
#  446|            /* create double-buffered config */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1788]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/targets/dril/dril_target.c:449:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(&drilConfigs[i], 108)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  447|            configs[c] = mem_dup(&drilConfigs[i], sizeof(drilConfigs[i]));
#  448|            struct gl_config *cfg = (void*)configs[c++];
#  449|->          cfg->doubleBufferMode = 1;
#  450|         }
#  451|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1789]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:119:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aws’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:424:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:48: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
#  117|      destroy = pipe_reference(&aws->reference, NULL);
#  118|      if (destroy && dev_tab) {
#  119|->       _mesa_hash_table_remove_key(dev_tab, aws->dev);
#  120|         if (_mesa_hash_table_num_entries(dev_tab) == 0) {
#  121|            _mesa_hash_table_destroy(dev_tab, NULL);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1790]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c: scope_hint: In function ‘i915_drm_batchbuffer_reset’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:47:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*batch.base.map’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:3: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:61:22: note: in expansion of macro ‘MALLOC’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   45|                                     4096);
#   46|   
#   47|->    memset(batch->base.map, 0, batch->actual_size);
#   48|      batch->base.ptr = batch->base.map;
#   49|      batch->base.size = batch->actual_size - BATCH_RESERVED;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1791]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c: scope_hint: In function ‘i915_drm_batchbuffer_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:59:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘batch’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:57:41: note: in expansion of macro ‘CALLOC_STRUCT’
#   57|      struct i915_drm_batchbuffer *batch = CALLOC_STRUCT(i915_drm_batchbuffer);
#   58|   
#   59|->    batch->actual_size = idws->max_batch_size;
#   60|   
#   61|      batch->base.map = MALLOC(batch->actual_size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1792]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘batch’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:57:41: note: in expansion of macro ‘CALLOC_STRUCT’
#   69|      i915_drm_batchbuffer_reset(batch);
#   70|   
#   71|->    return &batch->base;
#   72|   }
#   73|   

Error: COMPILER_WARNING (CWE-563): [#def1793]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_object_channel_del’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/nouveau/drm/nouveau.c:223:8: warning[-Wunused-variable]: unused variable ‘ret’
#  223 |    int ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#      |        ^~~
#  221|      };
#  222|   
#  223|->    int ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#  224|      assert(!ret);
#  225|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1794]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_bo_new’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/nouveau/drm/nouveau.c:679:14: warning[-Wanalyzer-malloc-leak]: leak of ‘nvbo’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_bo_new’
#  677|      struct nouveau_bo_priv *nvbo = calloc(1, sizeof(*nvbo));
#  678|      if (!nvbo)
#  679|->       return -ENOMEM;
#  680|   
#  681|      struct nouveau_bo *bo = &nvbo->base;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1795]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c: scope_hint: In function ‘radeon_bomgr_find_va’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:210:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘n’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_cache.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_cs.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:192:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:209:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:209:17: note: in expansion of macro ‘CALLOC_STRUCT’
#  208|            if (waste) {
#  209|               n = CALLOC_STRUCT(radeon_bo_va_hole);
#  210|->             n->size = waste;
#  211|               n->offset = hole->offset;
#  212|               list_add(&n->list, &hole->list);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1796]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c:219:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c:201:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create_buffer’
#  217|      }
#  218|   	 
#  219|->    return &buf->base;
#  220|   error2:
#  221|      FREE(buf);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1797]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c:257:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_buffer.c:247:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  255|      mgr->vws = vws;
#  256|      
#  257|->    return &mgr->base;
#  258|   }
#  259|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1798]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_context.c: scope_hint: In function ‘vmw_svga_winsys_context_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_context.c:819:11: warning[-Wanalyzer-malloc-leak]: leak of ‘vswc’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_context.c:12: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/svga/drm/vmw_context.c:763:11: note: in expansion of macro ‘CALLOC_STRUCT’
#  817|   
#  818|      vswc->base.force_coherent = vws->force_coherent;
#  819|->    return &vswc->base;
#  820|   
#  821|   out_no_hash:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1799]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c: scope_hint: In function ‘dri_sw_displaytarget_from_handle’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c:324:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  322|      struct sw_displaytarget *sw = dri_sw_displaytarget_create(winsys, templ->usage, templ->format, templ->width0, templ->height0, 64, NULL, stride);
#  323|      struct dri_sw_displaytarget *dri_sw_dt = dri_sw_displaytarget(sw);
#  324|->    dri_sw_dt->fd = fd;
#  325|      dri_sw_dt->offset = whandle->offset;
#  326|      return sw;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1800]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c: scope_hint: In function ‘dri_create_sw_winsys’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c:410:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/dri/dri_sw_winsys.c:388:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  408|      ws->base.displaytarget_display = dri_sw_displaytarget_display;
#  409|   
#  410|->    return &ws->base;
#  411|   }
#  412|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1801]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c: scope_hint: In function ‘kms_dri_create_winsys’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:539:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:514:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  537|      ws->base.displaytarget_display = kms_sw_displaytarget_display;
#  538|   
#  539|->    return &ws->base;
#  540|   }
#  541|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1802]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c: scope_hint: In function ‘wrapper_sw_winsys_wrap_pipe_screen’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:314:11: warning[-Wanalyzer-malloc-leak]: leak of ‘wsw’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:290:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  312|         wsw->target = PIPE_TEXTURE_RECT;
#  313|   
#  314|->    return &wsw->base;
#  315|   
#  316|   err_free:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1803]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_resource_reference’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:157:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:791:23: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:800:17: note: in expansion of macro ‘REALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘virgl_drm_resource_reference’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_call_once.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/simple_mtx.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_resource_reference’
#  155|      if (pipe_reference(&(*dres)->reference, &sres->reference)) {
#  156|   
#  157|->       if (!can_cache_resource(old->bind) ||
#  158|             p_atomic_read(&old->external)) {
#  159|            virgl_hw_res_destroy(qdws, old);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1804]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_cmd_buf_create’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:890:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:869:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:741:22: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:880:16: note: in expansion of macro ‘CALLOC’
#  888|      cbuf->in_fence_fd = -1;
#  889|      cbuf->base.buf = cbuf->buf;
#  890|->    return &cbuf->base;
#  891|   }
#  892|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1805]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c: scope_hint: In function ‘virgl_vtest_recv_transfer_get_data’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c:518:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘line’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  516|      while (hblocks) {
#  517|         virgl_block_read(vws->sock_fd, line, stride);
#  518|->       memcpy(ptr, line, util_format_get_stride(format, box->width));
#  519|         ptr += stride;
#  520|         hblocks--;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1806]
mesa-24.2.6-build/mesa-24.2.6/src/gbm/backends/dri/gbm_dri.c: scope_hint: In function ‘gbm_dri_surface_create’
mesa-24.2.6-build/mesa-24.2.6/src/gbm/backends/dri/gbm_dri.c:1173:14: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
# 1171|      if (!modifiers) {
# 1172|         assert(!count);
# 1173|->       return &surf->base;
# 1174|      }
# 1175|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1807]
mesa-24.2.6-build/mesa-24.2.6/src/gbm/backends/dri/gbm_dri.c:1188:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)count, 8)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1186|       */
# 1187|      surf->base.v0.count = count;
# 1188|->    memcpy(surf->base.v0.modifiers, modifiers, count * sizeof(*modifiers));
# 1189|   
# 1190|      return &surf->base;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1808]
mesa-24.2.6-build/mesa-24.2.6/src/gbm/backends/dri/gbm_dri.c:1190:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
# 1188|      memcpy(surf->base.v0.modifiers, modifiers, count * sizeof(*modifiers));
# 1189|   
# 1190|->    return &surf->base;
# 1191|   }
# 1192|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1809]
mesa-24.2.6-build/mesa-24.2.6/src/glx/dri_common.c: scope_hint: In function ‘createDriMode’
mesa-24.2.6-build/mesa-24.2.6/src/glx/dri_common.c:254:11: warning[-Wanalyzer-malloc-leak]: leak of ‘driConfig’
#  252|      driConfig->driConfig = driConfigs[i];
#  253|   
#  254|->    return &driConfig->base;
#  255|   }
#  256|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1810]
mesa-24.2.6-build/mesa-24.2.6/src/glx/drisw_glx.c: scope_hint: In function ‘driswCreateDisplay’
mesa-24.2.6-build/mesa-24.2.6/src/glx/drisw_glx.c:1098:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pdpyp’
# 1096|      pdpyp->zink = zink;
# 1097|   
# 1098|->    return &pdpyp->base;
# 1099|   }
# 1100|   

Error: CPPCHECK_WARNING (CWE-571): [#def1811]
mesa-24.2.6-build/mesa-24.2.6/src/glx/eval.c:22: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
#   20|      if (stride == k) {
#   21|         /* Just copy the data */
#   22|->       __GLX_PUT_FLOAT_ARRAY(0, points, order * k);
#   23|      }
#   24|      else {

Error: CPPCHECK_WARNING (CWE-571): [#def1812]
mesa-24.2.6-build/mesa-24.2.6/src/glx/eval.c:28: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
#   26|   
#   27|         for (i = 0; i < order; i++) {
#   28|->          __GLX_PUT_FLOAT_ARRAY(0, points, k);
#   29|            points += stride;
#   30|            pc += k * __GLX_SIZE_FLOAT32;

Error: CPPCHECK_WARNING (CWE-571): [#def1813]
mesa-24.2.6-build/mesa-24.2.6/src/glx/eval.c:41: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
#   39|      if (stride == k) {
#   40|         /* Just copy the data */
#   41|->       __GLX_PUT_DOUBLE_ARRAY(0, points, order * k);
#   42|      }
#   43|      else {

Error: CPPCHECK_WARNING (CWE-571): [#def1814]
mesa-24.2.6-build/mesa-24.2.6/src/glx/eval.c:46: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
#   44|         GLint i;
#   45|         for (i = 0; i < order; i++) {
#   46|->          __GLX_PUT_DOUBLE_ARRAY(0, points, k);
#   47|            points += stride;
#   48|            pc += k * __GLX_SIZE_FLOAT64;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1815]
mesa-24.2.6-build/mesa-24.2.6/src/glx/glx_query.c: scope_hint: In function ‘__glXQueryServerString’
mesa-24.2.6-build/mesa-24.2.6/src/glx/glx_query.c:60:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   58|      uint32_t len = xcb_glx_query_server_string_string_length(reply);
#   59|      char *buf = malloc(len);
#   60|->    memcpy(buf, xcb_glx_query_server_string_string(reply), len);
#   61|      free(reply);
#   62|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1816]
mesa-24.2.6-build/mesa-24.2.6/src/glx/glx_query.c: scope_hint: In function ‘__glXGetString’
mesa-24.2.6-build/mesa-24.2.6/src/glx/glx_query.c:87:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   85|      uint32_t len = xcb_glx_get_string_string_length(reply);
#   86|      char *buf = malloc(len);
#   87|->    memcpy(buf, xcb_glx_get_string_string(reply), len);
#   88|      free(reply);
#   89|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1817]
mesa-24.2.6-build/mesa-24.2.6/src/glx/glxcmds.c: scope_hint: In function ‘glXGetFBConfigFromVisualSGIX’
mesa-24.2.6-build/mesa-24.2.6/src/glx/glxcmds.c:1473:21: warning[-Wanalyzer-malloc-leak]: leak of ‘glXChooseFBConfig(dpy, *vis.screen, & attrib_list, & nconfigs)’
# 1471|   
# 1472|      *nelements = 0;
# 1473|->    if (priv && (priv->screens != NULL)
# 1474|          && (screen >= 0) && (screen < ScreenCount(dpy))
# 1475|          && (priv->screens[screen]->configs != NULL)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1818]
mesa-24.2.6-build/mesa-24.2.6/src/glx/glxext.c: scope_hint: In function ‘__glXInitialize’
mesa-24.2.6-build/mesa-24.2.6/src/glx/glxext.c:957:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
#  955|   #endif
#  956|         if (fail) {
#  957|->          free(dpyPriv);
#  958|            return NULL;
#  959|         }

Error: CPPCHECK_WARNING (CWE-457): [#def1819]
mesa-24.2.6-build/mesa-24.2.6/src/glx/glxglvnddispatchfuncs.h:33: warning[uninitvar]: Uninitialized variable: r
#   31|           }
#   32|       }
#   33|->     return r;
#   34|   }
#   35|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1820]
mesa-24.2.6-build/mesa-24.2.6/src/glx/indirect_vertex_array.c: scope_hint: In function ‘__indirect_glVertexPointer’
mesa-24.2.6-build/mesa-24.2.6/src/glx/indirect_vertex_array.c:1130:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/glx/indirect_vertex_array.c:1193:4: note: in expansion of macro ‘COMMON_ARRAY_DATA_INIT’
mesa-24.2.6-build/mesa-24.2.6/src/glx/indirect_vertex_array.c:1193:4: note: in expansion of macro ‘COMMON_ARRAY_DATA_INIT’
# 1128|   #define COMMON_ARRAY_DATA_INIT(a, PTR, TYPE, STRIDE, COUNT, NORMALIZED, HDR_SIZE, OPCODE) \
# 1129|     do {                                                                  \
# 1130|->     (a)->data = PTR;                                                    \
# 1131|       (a)->data_type = TYPE;                                              \
# 1132|       (a)->user_stride = STRIDE;                                          \

Error: CPPCHECK_WARNING (CWE-562): [#def1821]
mesa-24.2.6-build/mesa-24.2.6/src/gtest/include/gtest/gtest-matchers.h:754: error[returnReference]: Reference to local variable returned.
#  752|     template <typename T>
#  753|     static const T& Unwrap(std::reference_wrapper<T> v) {
#  754|->     return v;
#  755|     }
#  756|   

Error: CPPCHECK_WARNING (CWE-664): [#def1822]
mesa-24.2.6-build/mesa-24.2.6/src/gtest/include/gtest/internal/gtest-param-util.h:155: error[mismatchingContainers]: Iterators of different containers 'impl_' and 'other.impl_' are used together.
#  153|     }
#  154|     bool operator==(const ParamIterator& other) const {
#  155|->     return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
#  156|     }
#  157|     bool operator!=(const ParamIterator& other) const {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1823]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c: scope_hint: In function ‘rogue_nir_pfo’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:89:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:65:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c: scope_hint: In function ‘rogue_nir_pfo’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/nir/rogue_nir_pfo.c: scope_hint: In function ‘rogue_nir_pfo’
#   87|   
#   88|               deref->type = glsl_uintN_t_type(32);
#   89|->             out->type = glsl_uintN_t_type(32);
#   90|            }
#   91|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1824]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/rogue.h:1488:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘emitpix’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/usc/pvr_uscgen.c: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/rogue_builder.h: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/rogue_builder.h: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/usc/pvr_uscgen.c: scope_hint: In function ‘pvr_uscgen_eot’
# 1486|                                               enum rogue_backend_op_mod mod)
# 1487|   {
# 1488|->    backend->mod |= BITFIELD64_BIT(mod);
# 1489|   }
# 1490|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1825]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:87:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
#   85|      assert(op);
#   86|   
#   87|->    op->type = UNRESOLVED;
#   88|      instruction &= PVR_ROGUE_PDSINST_REGS32_MASK;
#   89|      switch (pvr_pds_inst_decode_field_range_regs32(instruction)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1826]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32tp’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:125:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32tp’
#  123|      case PVR_ROGUE_PDSINST_REGS32TP_TEMP32:
#  124|         op->type = TEMP32;
#  125|->       op->address = instruction - PVR_ROGUE_PDSINST_REGS32TP_TEMP32_LOWER;
#  126|         op->absolute_address = op->address;
#  127|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1827]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:129:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32tp’
#  127|         break;
#  128|      case PVR_ROGUE_PDSINST_REGS32TP_PTEMP32:
#  129|->       op->type = PTEMP32;
#  130|         op->address = instruction - PVR_ROGUE_PDSINST_REGS32TP_PTEMP32_LOWER;
#  131|         op->absolute_address = op->address;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1828]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:153:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sftlp32’
#  151|      case PVR_ROGUE_PDSINST_REGS32T_TEMP32:
#  152|         op->type = TEMP32;
#  153|->       op->address = instruction - PVR_ROGUE_PDSINST_REGS32T_TEMP32_LOWER;
#  154|         op->absolute_address = op->address;
#  155|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1829]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:172:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
#  170|      assert(op);
#  171|   
#  172|->    op->type = UNRESOLVED;
#  173|      instruction &= PVR_ROGUE_PDSINST_REGS64_MASK;
#  174|      switch (pvr_pds_inst_decode_field_range_regs64(instruction)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1830]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:234:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_ddmad’
#  232|      switch (pvr_rogue_pds_inst_decode_field_range_regs64c(instruction)) {
#  233|      case PVR_ROGUE_PDSINST_REGS64C_CONST64:
#  234|->       op->type = CONST64;
#  235|         op->address = instruction - PVR_ROGUE_PDSINST_REGS64C_CONST64_LOWER;
#  236|         op->absolute_address = op->address * 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1831]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64tp’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:258:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64tp’
#  256|      switch (pvr_pds_inst_decode_field_range_regs64tp(instruction)) {
#  257|      case PVR_ROGUE_PDSINST_REGS64TP_TEMP64:
#  258|->       op->type = TEMP64;
#  259|         op->address = instruction - PVR_ROGUE_PDSINST_REGS64TP_TEMP64_LOWER;
#  260|         op->absolute_address = op->address * 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1832]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:263:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64tp’
#  261|         break;
#  262|      case PVR_ROGUE_PDSINST_REGS64TP_PTEMP64:
#  263|->       op->type = PTEMP64;
#  264|         op->address = instruction - PVR_ROGUE_PDSINST_REGS64TP_PTEMP64_LOWER;
#  265|         op->absolute_address = op->address * 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1833]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_add64’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:293:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘add’
#  291|      add->instruction.next = NULL;
#  292|   
#  293|->    add->cc = instruction & PVR_ROGUE_PDSINST_ADD64_CC_ENABLE;
#  294|      add->alum = instruction & PVR_ROGUE_PDSINST_ADD64_ALUM_SIGNED;
#  295|      add->sna = instruction & PVR_ROGUE_PDSINST_ADD64_SNA_SUB;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1834]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:319:11: warning[-Wanalyzer-malloc-leak]: leak of ‘add’
#  317|      add->dst->instruction = &add->instruction;
#  318|   
#  319|->    return &add->instruction;
#  320|   }
#  321|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1835]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_add32’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:334:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘add’
#  332|      add->instruction.next = NULL;
#  333|   
#  334|->    add->cc = instruction & PVR_ROGUE_PDSINST_ADD32_CC_ENABLE;
#  335|      add->alum = instruction & PVR_ROGUE_PDSINST_ADD32_ALUM_SIGNED;
#  336|      add->sna = instruction & PVR_ROGUE_PDSINST_ADD32_SNA_SUB;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1836]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:360:11: warning[-Wanalyzer-malloc-leak]: leak of ‘add’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_add32’
#  358|      add->dst->instruction = &add->instruction;
#  359|   
#  360|->    return &add->instruction;
#  361|   }
#  362|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1837]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_stm’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:375:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stm’
#  373|      stm->instruction.type = INS_STM;
#  374|   
#  375|->    stm->cc = instruction & (1 << PVR_ROGUE_PDSINST_STM_CCS_CCS_CC_SHIFT);
#  376|      stm->ccs_global = instruction &
#  377|                        (1 << PVR_ROGUE_PDSINST_STM_CCS_CCS_GLOBAL_SHIFT);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1838]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:416:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stm’
#  414|      stm->src3->instruction = &stm->instruction;
#  415|   
#  416|->    return &stm->instruction;
#  417|   }
#  418|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1839]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sftlp32’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:431:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
#  429|      ins->instruction.type = INS_SFTLP32;
#  430|   
#  431|->    ins->cc = instruction & PVR_ROGUE_PDSINST_SFTLP32_CC_ENABLE;
#  432|      ins->IM = instruction & PVR_ROGUE_PDSINST_SFTLP32_IM_ENABLE;
#  433|      ins->lop = (instruction >> PVR_ROGUE_PDSINST_SFTLP32_LOP_SHIFT) &

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1840]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:465:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
#  463|         assert(ins->src2);
#  464|   
#  465|->       ins->src2->literal = abs((cImmediate / 4));
#  466|         ins->src2->negate = cImmediate < 0;
#  467|         ins->src2->instruction = &ins->instruction;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1841]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:478:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
#  476|      }
#  477|   
#  478|->    return &ins->instruction;
#  479|   }
#  480|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1842]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sftlp64’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:493:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
#  491|      ins->instruction.type = INS_SFTLP64;
#  492|   
#  493|->    ins->cc = instruction & PVR_ROGUE_PDSINST_SFTLP64_CC_ENABLE;
#  494|      ins->IM = instruction & PVR_ROGUE_PDSINST_SFTLP64_IM_ENABLE;
#  495|      ins->lop = (instruction >> PVR_ROGUE_PDSINST_SFTLP64_LOP_SHIFT) &

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1843]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:526:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
#  524|         assert(ins->src2);
#  525|   
#  526|->       ins->src2->literal = (abs(cImmediate) > 63) ? 63 : abs(cImmediate);
#  527|         ins->src2->negate = (cImmediate < 0);
#  528|         ins->src2->instruction = &ins->instruction;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1844]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:539:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
#  537|      }
#  538|   
#  539|->    return &ins->instruction;
#  540|   }
#  541|   static struct pvr_instruction *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1845]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_cmp’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:552:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmp’
#  550|      cmp->instruction.next = NULL;
#  551|      cmp->instruction.type = INS_CMP;
#  552|->    cmp->cc = instruction & PVR_ROGUE_PDSINST_CMP_CC_ENABLE;
#  553|      cmp->IM = instruction & PVR_ROGUE_PDSINST_CMP_IM_ENABLE;
#  554|      cmp->cop = instruction >> PVR_ROGUE_PDSINST_CMP_COP_SHIFT &

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1846]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:570:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
#  568|         assert(cmp->src1);
#  569|   
#  570|->       cmp->src1->type = LITERAL_NUM;
#  571|         cmp->src1->literal = immediate;
#  572|      } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1847]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:582:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cmp’
#  580|      cmp->src1->instruction = &cmp->instruction;
#  581|   
#  582|->    return &cmp->instruction;
#  583|   }
#  584|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1848]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sp_ld_st’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:599:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
#  597|      ins->instruction.type = ld ? INS_LD : INS_ST;
#  598|   
#  599|->    ins->cc = cc;
#  600|      ins->src0 =
#  601|         pvr_pds_disassemble_regs64(context,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1849]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:609:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
#  607|      ins->st = !ld;
#  608|   
#  609|->    return &ins->instruction;
#  610|   }
#  611|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1850]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sp_stmc’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:621:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stmc’
#  619|      stmc->instruction.type = INS_STMC;
#  620|   
#  621|->    stmc->cc = cc;
#  622|      stmc->src0 = calloc(1, sizeof(*stmc->src0));
#  623|      assert(stmc->src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1851]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:625:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
#  623|      assert(stmc->src0);
#  624|   
#  625|->    stmc->src0->type = LITERAL_NUM;
#  626|      stmc->src0->literal = (instruction >> PVR_ROGUE_PDSINST_STMC_SOMASK_SHIFT) &
#  627|                            PVR_ROGUE_PDSINST_SOMASK_MASK;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1852]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:630:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stmc’
#  628|      stmc->src0->instruction = &stmc->instruction;
#  629|   
#  630|->    return &stmc->instruction;
#  631|   }
#  632|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1853]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sp_limm’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:645:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘limm’
#  643|      limm->instruction.type = INS_LIMM;
#  644|   
#  645|->    limm->cc = cc;
#  646|      limm->GR = (instruction & PVR_ROGUE_PDSINST_LIMM_GR_ENABLE) != 0;
#  647|      limm->src0 = calloc(1, sizeof(*limm->src0));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1854]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:650:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
#  648|      assert(limm->src0);
#  649|   
#  650|->    limm->src0->type = LITERAL_NUM;
#  651|      limm->src0->literal = (instruction >> PVR_ROGUE_PDSINST_LIMM_SRC0_SHIFT) &
#  652|                            PVR_ROGUE_PDSINST_IMM16_MASK;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1855]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:662:11: warning[-Wanalyzer-malloc-leak]: leak of ‘limm’
#  660|      limm->dst->instruction = &limm->instruction;
#  661|   
#  662|->    return &limm->instruction;
#  663|   }
#  664|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1856]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:673:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sp’
#  671|      ins->instruction.next = NULL;
#  672|      ins->instruction.type = type;
#  673|->    ins->cc = cc;
#  674|   
#  675|      return &ins->instruction;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1857]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_bra’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:690:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bra’
#  688|      branch_addr = (instruction >> PVR_ROGUE_PDSINST_BRA_ADDR_SHIFT) &
#  689|                    PVR_ROGUE_PDSINST_BRAADDR_MASK;
#  690|->    bra->address = (branch_addr & 0x40000U) ? ((int)branch_addr) - 0x80000
#  691|                                              : (int)branch_addr;
#  692|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1858]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:696:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
#  694|      assert(bra->srcc);
#  695|   
#  696|->    bra->srcc->predicate = (instruction >> PVR_ROGUE_PDSINST_BRA_SRCC_SHIFT) &
#  697|                             PVR_ROGUE_PDSINST_PREDICATE_MASK;
#  698|      bra->srcc->negate = instruction & PVR_ROGUE_PDSINST_BRA_NEG_ENABLE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1859]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:703:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
#  701|      assert(bra->setc);
#  702|   
#  703|->    bra->setc->predicate = (instruction >> PVR_ROGUE_PDSINST_BRA_SETC_SHIFT) &
#  704|                             PVR_ROGUE_PDSINST_PREDICATE_MASK;
#  705|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1860]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:708:11: warning[-Wanalyzer-malloc-leak]: leak of ‘bra’
#  706|      bra->target = NULL;
#  707|   
#  708|->    return &bra->instruction;
#  709|   }
#  710|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1861]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_ddmad’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:785:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ddmad’
#  783|      ddmad->instruction.type = INS_DDMAD;
#  784|   
#  785|->    ddmad->cc = instruction & PVR_ROGUE_PDSINST_DDMAD_CC_ENABLE;
#  786|      ddmad->END = instruction & PVR_ROGUE_PDSINST_DDMAD_END_ENABLE;
#  787|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1862]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:820:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ddmad’
#  818|      ddmad->src3->instruction = &ddmad->instruction;
#  819|   
#  820|->    return &ddmad->instruction;
#  821|   }
#  822|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1863]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_mad’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:835:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mad’
#  833|      mad->instruction.type = INS_MAD;
#  834|   
#  835|->    mad->cc = instruction & PVR_ROGUE_PDSINST_MAD_CC_ENABLE;
#  836|      mad->sna = instruction & PVR_ROGUE_PDSINST_MAD_SNA_SUB;
#  837|      mad->alum = (instruction & PVR_ROGUE_PDSINST_MAD_ALUM_SIGNED);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1864]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_dout’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:886:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dout’
#  884|      dout->instruction.type = INS_DOUT;
#  885|   
#  886|->    dout->END = instruction & PVR_ROGUE_PDSINST_DOUT_END_ENABLE;
#  887|      dout->cc = instruction & PVR_ROGUE_PDSINST_DOUT_CC_ENABLE;
#  888|      dout->dst = (instruction >> PVR_ROGUE_PDSINST_DOUT_DST_SHIFT) &

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1865]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pds_disasm.c:907:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dout’
#  905|      dout->src1->instruction = &dout->instruction;
#  906|   
#  907|->    return &dout->instruction;
#  908|   }
#  909|   

Error: COMPILER_WARNING (CWE-563): [#def1866]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1584:28: warning[-Wunused-variable]: unused variable ‘current_addr_literal_destination’
# 1584 |             const uint32_t current_addr_literal_destination =
#      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1582|             */
# 1583|            if (i > 0) {
# 1584|->             const uint32_t current_addr_literal_destination =
# 1585|                  input_program->addr_literals[i].destination;
# 1586|               const uint32_t previous_addr_literal_destination =

Error: COMPILER_WARNING (CWE-563): [#def1867]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pipeline_pds.c: scope_hint: In function ‘pvr_pds_generate_descriptor_upload_program’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1586:28: warning[-Wunused-variable]: unused variable ‘previous_addr_literal_destination’
# 1586 |             const uint32_t previous_addr_literal_destination =
#      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1584|               const uint32_t current_addr_literal_destination =
# 1585|                  input_program->addr_literals[i].destination;
# 1586|->             const uint32_t previous_addr_literal_destination =
# 1587|                  input_program->addr_literals[i - 1].destination;
# 1588|   

Error: COMPILER_WARNING (CWE-563): [#def1868]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_CmdSetViewport’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_cmd_buffer.c:2568:19: warning[-Wunused-variable]: unused variable ‘total_count’
# 2568 |    const uint32_t total_count = firstViewport + viewportCount;
#      |                   ^~~~~~~~~~~
# 2566|   {
# 2567|      PVR_FROM_HANDLE(pvr_cmd_buffer, cmd_buffer, commandBuffer);
# 2568|->    const uint32_t total_count = firstViewport + viewportCount;
# 2569|   
# 2570|      assert(firstViewport < PVR_MAX_VIEWPORTS && viewportCount > 0);

Error: COMPILER_WARNING (CWE-563): [#def1869]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_compute_flat_pad_workgroup_size’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_cmd_buffer.c:4406:34: warning[-Wunused-variable]: unused variable ‘dev_info’
# 4406 |    const struct pvr_device_info *dev_info = &pdevice->dev_info;
#      |                                  ^~~~~~~~
# 4404|      const struct pvr_device_runtime_info *dev_runtime_info =
# 4405|         &pdevice->dev_runtime_info;
# 4406|->    const struct pvr_device_info *dev_info = &pdevice->dev_info;
# 4407|      uint32_t max_avail_coeff_regs =
# 4408|         dev_runtime_info->cdm_max_local_mem_size_regs;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1870]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c: scope_hint: In function ‘pvr_write_descriptor_set’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c:1830:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1828|       * can skip this update.
# 1829|       */
# 1830|->    if (binding->shader_stage_mask == 0)
# 1831|         return;
# 1832|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1871]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c: scope_hint: In function ‘pvr_copy_descriptor_set’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c:1922:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1920|      uint32_t *dst_mem_ptr;
# 1921|   
# 1922|->    switch (src_binding->type) {
# 1923|      case VK_DESCRIPTOR_TYPE_SAMPLER:
# 1924|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1872]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c:1939:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_private.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_descriptor_set.c: scope_hint: In function ‘pvr_copy_descriptor_set’
# 1937|            src_binding->descriptor_index + copy_set->srcArrayElement;
# 1938|         const uint32_t dst_idx =
# 1939|->          dst_binding->descriptor_index + copy_set->dstArrayElement;
# 1940|   
# 1941|         for (uint32_t j = 0; j < copy_set->descriptorCount; j++) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1873]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c: scope_hint: In function ‘pvr_hard_code_graphics_shader’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:52:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:230:7: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:230:7: note: in expansion of macro ‘util_dynarray_append_mem’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   50|   
#   51|   #define util_dynarray_append_mem(buf, size, mem) \
#   52|->    memcpy(util_dynarray_grow_bytes((buf), 1, size), mem, size)
#   53|   
#   54|   enum pvr_hard_code_shader_type {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1874]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c: scope_hint: In function ‘pvr_hard_code_get_idfwdf_program’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:52:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/rogue/rogue.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
#   50|   
#   51|   #define util_dynarray_append_mem(buf, size, mem) \
#   52|->    memcpy(util_dynarray_grow_bytes((buf), 1, size), mem, size)
#   53|   
#   54|   enum pvr_hard_code_shader_type {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1875]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hw_pass.c: scope_hint: In function ‘pvr_surface_alloc_color_storage’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hw_pass.c:707:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
#  705|   
#  706|         /* Mark the attachment as using a tile buffer. */
#  707|->       resource->type = USC_MRT_RESOURCE_TYPE_MEMORY;
#  708|   
#  709|         /* Try allocating from an existing tile buffer. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1876]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hw_pass.c: scope_hint: In function ‘pvr_is_subpass_space_available.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_hw_pass.c:1810:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1808|            }
# 1809|         } else {
# 1810|->          sp_dsts->color[i].type = USC_MRT_RESOURCE_TYPE_INVALID;
# 1811|         }
# 1812|      }

Error: COMPILER_WARNING (CWE-563): [#def1877]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_context.c: scope_hint: In function ‘pvr_pds_sr_fence_terminate_program_create_and_upload’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_context.c:932:42: warning[-Wunused-variable]: unused variable ‘dev_runtime_info’
#  932 |    const struct pvr_device_runtime_info *dev_runtime_info =
#      |                                          ^~~~~~~~~~~~~~~~
#  930|      const uint32_t pds_data_alignment =
#  931|         PVRX(VDMCTRL_PDS_STATE0_PDS_DATA_SIZE_UNIT_SIZE) / 4U;
#  932|->    const struct pvr_device_runtime_info *dev_runtime_info =
#  933|         &device->pdevice->dev_runtime_info;
#  934|      ASSERTED const struct pvr_device_info *dev_info = &device->pdevice->dev_info;

Error: COMPILER_WARNING (CWE-563): [#def1878]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_isp_primitive_block’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_transfer.c:3737:13: warning[-Wunused-but-set-variable]: variable ‘stream_size_in_bytes’ set but not used
# 3737 |    uint32_t stream_size_in_bytes;
#      |             ^~~~~~~~~~~~~~~~~~~~
# 3735|      uint32_t tsp_comp_format_in_dw;
# 3736|      bool color_fill = src == NULL;
# 3737|->    uint32_t stream_size_in_bytes;
# 3738|      uint32_t *cs_ptr_start;
# 3739|      VkResult result;

Error: COMPILER_WARNING (CWE-563): [#def1879]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_get_custom_mapping’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_job_transfer.c:5156:13: warning[-Wunused-variable]: unused variable ‘rect’
# 5156 |    VkRect2D rect = transfer_cmd->scissor;
#      |             ^~~~
# 5154|      }
# 5155|   
# 5156|->    VkRect2D rect = transfer_cmd->scissor;
# 5157|      assert(
# 5158|         (rect.offset.x + rect.extent.width) <= custom_mapping->max_clip_size &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1880]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_pipeline.c: scope_hint: In function ‘pvr_pds_vertex_attrib_init_dma_descriptions’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_pipeline.c:326:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binding_desc’
#  324|   
#  325|         dma_desc->offset = attrib_desc->offset;
#  326|->       dma_desc->stride = binding_desc->stride;
#  327|   
#  328|         dma_desc->flags = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1881]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_query_compute.c: scope_hint: In function ‘pvr_init_tex_info’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_query_compute.c:454:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*tex_info.format’
#  452|                                 pvr_dev_addr_t addr)
#  453|   {
#  454|->    const uint8_t *swizzle_arr = pvr_get_format_swizzle(tex_info->format);
#  455|      bool is_view_1d = !PVR_HAS_FEATURE(dev_info, tpu_extended_integer_lookup) &&
#  456|                        !PVR_HAS_FEATURE(dev_info, tpu_image_state_v2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1882]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_transfer_frag_store.c: scope_hint: In function ‘pvr_transfer_frag_store_entry_data_destroy_no_ralloc_free’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_transfer_frag_store.c:301:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry_data’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_transfer_frag_store.c:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_transfer_frag_store.c:242:14: note: in expansion of macro ‘vk_error’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/pvr_transfer_frag_store.c: scope_hint: In function ‘pvr_transfer_frag_store_entry_data_destroy_no_ralloc_free’
#  299|      const struct pvr_transfer_frag_store_entry_data *entry_data)
#  300|   {
#  301|->    pvr_bo_free(device, entry_data->kick_usc_pds_upload);
#  302|      pvr_bo_suballoc_free(entry_data->usc_upload);
#  303|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1883]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c: scope_hint: In function ‘pvr_drm_winsys_compute_submit’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:197:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c: scope_hint: In function ‘pvr_drm_winsys_compute_submit’
#  195|         assert(!(sync->flags & VK_SYNC_IS_TIMELINE));
#  196|         sync_ops[job_args.sync_ops.count++] = (struct drm_pvr_sync_op){
#  197|->          .handle = vk_sync_as_drm_syncobj(sync)->syncobj,
#  198|            .flags = DRM_PVR_SYNC_OP_FLAG_WAIT |
#  199|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1884]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:207:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c: scope_hint: In function ‘pvr_drm_winsys_compute_submit’
#  205|         assert(!(signal_sync->flags & VK_SYNC_IS_TIMELINE));
#  206|         sync_ops[job_args.sync_ops.count++] = (struct drm_pvr_sync_op){
#  207|->          .handle = vk_sync_as_drm_syncobj(signal_sync)->syncobj,
#  208|            .flags = DRM_PVR_SYNC_OP_FLAG_SIGNAL |
#  209|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1885]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c: scope_hint: In function ‘pvr_drm_winsys_null_job_submit’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:55:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/alloca.h:24: included_from: Included from here.
/usr/include/stdlib.h:706: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/c11/threads.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_timeline.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c: scope_hint: In function ‘pvr_drm_winsys_null_job_submit’
#   53|         struct vk_sync *dst_sync = signal_sync->sync;
#   54|   
#   55|->       ret = drmSyncobjTransfer(drm_ws->base.render_fd,
#   56|                                  vk_sync_as_drm_syncobj(dst_sync)->syncobj,
#   57|                                  signal_sync->signal_value,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1886]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:89:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c: scope_hint: In function ‘pvr_drm_winsys_null_job_submit’
#   87|            continue;
#   88|   
#   89|->       ret = drmSyncobjTransfer(drm_ws->base.render_fd,
#   90|                                  tmp_syncobj,
#   91|                                  i + 1,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1887]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:106:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c: scope_hint: In function ‘pvr_drm_winsys_null_job_submit’
#  104|      }
#  105|   
#  106|->    ret = drmSyncobjTransfer(drm_ws->base.render_fd,
#  107|                               vk_sync_as_drm_syncobj(signal_sync->sync)->syncobj,
#  108|                               signal_sync->signal_value,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1888]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:523:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
#  521|         assert(!(sync->flags & VK_SYNC_IS_TIMELINE));
#  522|         geom_sync_ops[num_geom_syncs++] = (struct drm_pvr_sync_op){
#  523|->          .handle = vk_sync_as_drm_syncobj(sync)->syncobj,
#  524|            .flags = DRM_PVR_SYNC_OP_FLAG_WAIT |
#  525|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1889]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:533:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
#  531|         assert(!(signal_sync_geom->flags & VK_SYNC_IS_TIMELINE));
#  532|         geom_sync_ops[num_geom_syncs++] = (struct drm_pvr_sync_op){
#  533|->          .handle = vk_sync_as_drm_syncobj(signal_sync_geom)->syncobj,
#  534|            .flags = DRM_PVR_SYNC_OP_FLAG_SIGNAL |
#  535|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1890]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:594:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
#  592|            assert(!(sync->flags & VK_SYNC_IS_TIMELINE));
#  593|            frag_sync_ops[num_frag_syncs++] = (struct drm_pvr_sync_op){
#  594|->             .handle = vk_sync_as_drm_syncobj(sync)->syncobj,
#  595|               .flags = DRM_PVR_SYNC_OP_FLAG_WAIT |
#  596|                        DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1891]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:604:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
#  602|            assert(!(signal_sync_frag->flags & VK_SYNC_IS_TIMELINE));
#  603|            frag_sync_ops[num_frag_syncs++] = (struct drm_pvr_sync_op){
#  604|->             .handle = vk_sync_as_drm_syncobj(signal_sync_frag)->syncobj,
#  605|               .flags = DRM_PVR_SYNC_OP_FLAG_SIGNAL |
#  606|                        DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1892]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c: scope_hint: In function ‘pvr_drm_winsys_transfer_submit’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:158:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c: scope_hint: In function ‘pvr_drm_winsys_transfer_submit’
#  156|         assert(!(sync->flags & VK_SYNC_IS_TIMELINE));
#  157|         sync_ops[job_args.sync_ops.count++] = (struct drm_pvr_sync_op){
#  158|->          .handle = vk_sync_as_drm_syncobj(sync)->syncobj,
#  159|            .flags = DRM_PVR_SYNC_OP_FLAG_WAIT |
#  160|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1893]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:168:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c: scope_hint: In function ‘pvr_drm_winsys_transfer_submit’
#  166|         assert(!(signal_sync->flags & VK_SYNC_IS_TIMELINE));
#  167|         sync_ops[job_args.sync_ops.count++] = (struct drm_pvr_sync_op){
#  168|->          .handle = vk_sync_as_drm_syncobj(signal_sync)->syncobj,
#  169|            .flags = DRM_PVR_SYNC_OP_FLAG_SIGNAL |
#  170|                     DRM_PVR_SYNC_OP_FLAG_HANDLE_TYPE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1894]
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys.c: scope_hint: In function ‘pvr_winsys_create’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘display_fd’
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/imagination/vulkan/winsys/pvr_winsys.c:99:16: note: in expansion of macro ‘vk_errorf’
#  105|      drmFreeVersion(version);
#  106|   
#  107|->    if (result != VK_SUCCESS)
#  108|         goto err_close_display_fd;
#  109|   

Error: COMPILER_WARNING (CWE-563): [#def1895]
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_blit.c: scope_hint: In function ‘blorp_copy’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_blit.c:2990:39: warning[-Wunused-variable]: unused variable ‘src_view_fmtl’
# 2990 |       const struct isl_format_layout *src_view_fmtl =
#      |                                       ^~~~~~~~~~~~~
# 2988|          * surfaces (and vice-versa).
# 2989|          */
# 2990|->       const struct isl_format_layout *src_view_fmtl =
# 2991|            isl_format_get_layout(params.src.view.format);
# 2992|         assert((src_fmtl->channels.r.bits == 32) ==

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1896]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1269:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:462:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1267|   
# 1268|         if (params->dst.enabled) {
# 1269|->          blorp_emit_surface_state(batch, &params->dst,
# 1270|                                     params->fast_clear_op,
# 1271|                                     surface_maps[BLORP_RENDERBUFFER_BT_INDEX],

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1897]
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1279:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:462:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1277|               params->depth.enabled ? &params->depth : &params->stencil;
# 1278|            blorp_emit_null_surface_state(batch, surface,
# 1279|->                                        surface_maps[BLORP_RENDERBUFFER_BT_INDEX]);
# 1280|         }
# 1281|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1898]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/iris/iris_blorp.c:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1517:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1511:19: note: in expansion of macro ‘blorp_emitn’
# 1515|                                 .MemoryAddress = clear_addr);
# 1516|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1517|->    dw[2] = info->clear_color.u32[0];
# 1518|      dw[3] = 0;
# 1519|      dw[4] = info->clear_color.u32[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1899]
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1531:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1511:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:177:30: note: in definition of macro ‘_blorp_cmd_pack’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1511:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1511:38: note: in expansion of macro ‘GENX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h:1523:9: note: in expansion of macro ‘blorp_emitn’
# 1529|                       .MemoryAddress = clear_addr);
# 1530|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1531|->    dw[2] = info->clear_color.u32[2];
# 1532|      dw[3] = 0;
# 1533|      dw[4] = info->clear_color.u32[3];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1900]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_blorp.c:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1398:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_deref_block_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1186:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1186:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
# 1396|      }
# 1397|   
# 1398|->    blorp_emit_sf_config(batch, params, urb_deref_block_size);
# 1399|      blorp_emit_ps_config(batch, params);
# 1400|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1901]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_setup_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1583:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:26: included_from: Included from here.
# 1581|   
# 1582|         if (params->dst.enabled) {
# 1583|->          blorp_emit_surface_state(batch, &params->dst,
# 1584|                                     params->fast_clear_op,
# 1585|                                     surface_maps[BLORP_RENDERBUFFER_BT_INDEX],

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1902]
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_elk.h:1593:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
# 1591|               params->depth.enabled ? &params->depth : &params->stencil;
# 1592|            blorp_emit_null_surface_state(batch, surface,
# 1593|->                                        surface_maps[BLORP_RENDERBUFFER_BT_INDEX]);
# 1594|         }
# 1595|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1903]
mesa-24.2.6-build/mesa-24.2.6/src/intel/common/intel_uuid.c: scope_hint: In function ‘intel_uuid_compute_device_id’
mesa-24.2.6-build/mesa-24.2.6/src/intel/common/intel_uuid.c:69:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&shared_uuid’
#   67|      assert(sizeof(shared_uuid) == 16);
#   68|   
#   69|->    memcpy(uuid, &shared_uuid, size);
#   70|   }
#   71|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1904]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu.c: scope_hint: In function ‘brw_num_sources_from_inst’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu.c:718:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu.c: scope_hint: In function ‘brw_num_sources_from_inst’
#  716|      } else {
#  717|         assert(desc->nsrc < 4);
#  718|->       return desc->nsrc;
#  719|      }
#  720|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1905]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_compact.c: scope_hint: In function ‘brw_compact_instructions’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_compact.c:2358:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
# 2356|         void *dst = store + offset;
# 2357|   
# 2358|->       old_ip[offset / sizeof(brw_compact_inst)] = src_offset / sizeof(brw_inst);
# 2359|         compacted_counts[src_offset / sizeof(brw_inst)] = compacted_count;
# 2360|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1906]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_compact.c:2359:55: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compacted_counts’
# 2357|   
# 2358|         old_ip[offset / sizeof(brw_compact_inst)] = src_offset / sizeof(brw_inst);
# 2359|->       compacted_counts[src_offset / sizeof(brw_inst)] = compacted_count;
# 2360|   
# 2361|         brw_inst inst = precompact(p->isa, *src);

Error: COMPILER_WARNING (CWE-563): [#def1907]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_emit.c: scope_hint: In function ‘brw_send_indirect_split_message’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_emit.c:1564:28: warning[-Wunused-variable]: unused variable ‘ex_mlen’
# 1564 |             const unsigned ex_mlen = brw_message_ex_desc_ex_mlen(devinfo, ex_desc_imm);
#      |                            ^~~~~~~
# 1562|   
# 1563|            if (devinfo->ver >= 20 && sfid == GFX12_SFID_UGM) {
# 1564|->             const unsigned ex_mlen = brw_message_ex_desc_ex_mlen(devinfo, ex_desc_imm);
# 1565|               assert(ex_desc_imm == brw_message_ex_desc(devinfo, ex_mlen));
# 1566|               brw_SHR(p, addr, addr, brw_imm_ud(4));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1908]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:55:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_eu_validate.c:2407:7: note: in expansion of macro ‘ERROR’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   53|   {
#   54|      dest->str = realloc(dest->str, dest->len + src.len + 1);
#   55|->    memcpy(dest->str + dest->len, src.str, src.len);
#   56|      dest->str[dest->len + src.len] = '\0';
#   57|      dest->len = dest->len + src.len;

Error: COMPILER_WARNING (CWE-563): [#def1909]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_cse.cpp: scope_hint: In function ‘bool brw_fs_opt_cse_defs(fs_visitor&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_cse.cpp:473:21: warning[-Wunused-variable]: unused variable ‘ops_must_match’
#  473 |                bool ops_must_match = operands_match(inst, match, &negate);
#      |                     ^~~~~~~~~~~~~~
#  471|                   inst->dst.type == BRW_TYPE_F) {
#  472|                  /* Determine whether inst is actually negate(match) */
#  473|->                bool ops_must_match = operands_match(inst, match, &negate);
#  474|                  assert(ops_must_match);
#  475|               }

Error: COMPILER_WARNING (CWE-563): [#def1910]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘brw_reg emit_work_group_id_setup(nir_to_brw_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:208:16: warning[-Wunused-variable]: unused variable ‘s’
#  208 |    fs_visitor &s = ntb.s;
#      |                ^
#  206|   emit_work_group_id_setup(nir_to_brw_state &ntb)
#  207|   {
#  208|->    fs_visitor &s = ntb.s;
#  209|      const fs_builder &bld = ntb.bld;
#  210|   

Error: COMPILER_WARNING (CWE-563): [#def1911]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘void emit_pixel_interpolater_alu_at_offset(const brw::fs_builder&, const brw_reg&, const brw_reg&, glsl_interp_mode)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:2049:35: warning[-Wunused-variable]: unused variable ‘wm_prog_data’
# 2049 |    const struct brw_wm_prog_data *wm_prog_data =
#      |                                   ^~~~~~~~~~~~
# 2047|   
# 2048|      const fs_thread_payload &payload = shader->fs_payload();
# 2049|->    const struct brw_wm_prog_data *wm_prog_data =
# 2050|         brw_wm_prog_data(shader->prog_data);
# 2051|   

Error: COMPILER_WARNING (CWE-563): [#def1912]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘void emit_pixel_interpolater_alu_at_sample(const brw::fs_builder&, const brw_reg&, const brw_reg&, glsl_interp_mode)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:2179:35: warning[-Wunused-variable]: unused variable ‘wm_prog_data’
# 2179 |    const struct brw_wm_prog_data *wm_prog_data =
#      |                                   ^~~~~~~~~~~~
# 2177|   {
# 2178|      const fs_thread_payload &payload = bld.shader->fs_payload();
# 2179|->    const struct brw_wm_prog_data *wm_prog_data =
# 2180|         brw_wm_prog_data(bld.shader->prog_data);
# 2181|      const fs_builder ubld = bld.exec_all().group(16, 0);

Error: COMPILER_WARNING (CWE-563): [#def1913]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_vs_intrinsic(nir_to_brw_state&, nir_intrinsic_instr*)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:2768:16: warning[-Wunused-variable]: unused variable ‘s’
# 2768 |    fs_visitor &s = ntb.s;
#      |                ^
# 2766|   {
# 2767|      const fs_builder &bld = ntb.bld;
# 2768|->    fs_visitor &s = ntb.s;
# 2769|      assert(s.stage == MESA_SHADER_VERTEX);
# 2770|   

Error: COMPILER_WARNING (CWE-563): [#def1914]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘void emit_barrier(nir_to_brw_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:2935:16: warning[-Wunused-variable]: unused variable ‘s’
# 2935 |    fs_visitor &s = ntb.s;
#      |                ^
# 2933|      const fs_builder ubld = bld.exec_all();
# 2934|      const fs_builder hbld = ubld.group(8 * reg_unit(devinfo), 0);
# 2935|->    fs_visitor &s = ntb.s;
# 2936|   
# 2937|      /* We are getting the barrier ID from the compute shader header */

Error: COMPILER_WARNING (CWE-563): [#def1915]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘brw_reg emit_shading_rate_setup(nir_to_brw_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:3997:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3997 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3995|   emit_shading_rate_setup(nir_to_brw_state &ntb)
# 3996|   {
# 3997|->    const intel_device_info *devinfo = ntb.devinfo;
# 3998|      const fs_builder &bld = ntb.bld;
# 3999|   

Error: COMPILER_WARNING (CWE-563): [#def1916]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_surface_atomic(nir_to_brw_state&, const brw::fs_builder&, nir_intrinsic_instr*, brw_reg, bool)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_nir.cpp:8119:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 8119 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 8117|                              bool bindless)
# 8118|   {
# 8119|->    const intel_device_info *devinfo = ntb.devinfo;
# 8120|   
# 8121|      enum lsc_opcode op = lsc_aop_for_nir_intrinsic(instr);

Error: COMPILER_WARNING (CWE-563): [#def1917]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_reg_allocate.cpp: scope_hint: In function ‘void brw_fs_alloc_reg_sets(brw_compiler*)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_reg_allocate.cpp:82:36: warning[-Wunused-variable]: unused variable ‘devinfo’
#   82 |    const struct intel_device_info *devinfo = compiler->devinfo;
#      |                                    ^~~~~~~
#   80|   brw_fs_alloc_reg_sets(struct brw_compiler *compiler)
#   81|   {
#   82|->    const struct intel_device_info *devinfo = compiler->devinfo;
#   83|      int base_reg_count = BRW_MAX_GRF;
#   84|   

Error: COMPILER_WARNING (CWE-563): [#def1918]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_workaround.cpp: scope_hint: In function ‘bool brw_fs_workaround_source_arf_before_eot(fs_visitor&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_fs_workaround.cpp:334:11: warning[-Wunused-variable]: unused variable ‘eot_count’
#  334 |       int eot_count = 0;
#      |           ^~~~~~~~~
#  332|   
#  333|      if (flags_unread) {
#  334|->       int eot_count = 0;
#  335|   
#  336|         foreach_block_and_inst_safe(block, fs_inst, inst, s.cfg)

Error: COMPILER_WARNING (CWE-563): [#def1919]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_mesh.cpp: scope_hint: In function ‘void brw_compute_mue_layout(const brw_compiler*, std::__cxx11::list<attr_desc>*, uint64_t, nir_shader*, bool*, bool*)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_mesh.cpp:638:12: warning[-Wunused-but-set-variable]: variable ‘inserted_back’ set but not used
#  638 |       bool inserted_back = false;
#      |            ^~~~~~~~~~~~~
#  636|         holes[found].pop_back();
#  637|   
#  638|->       bool inserted_back = false;
#  639|   
#  640|         for (auto it = order->begin(); it != order->end(); ++it) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1920]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:246:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
#  244|   
#  245|      nir_deref_instr *pointer = nir_src_as_deref(intrin->src[ptr_src]);
#  246|->    const unsigned ptr_comp_width = glsl_get_bit_size(pointer->type);
#  247|      const unsigned ptr_num_comps = glsl_get_vector_elements(pointer->type);
#  248|   

Error: COMPILER_WARNING (CWE-563): [#def1921]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_unary_op’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:418:19: warning[-Wunused-variable]: unused variable ‘src_packing_factor’
#  418 |    const unsigned src_packing_factor =
#      |                   ^~~~~~~~~~~~~~~~~~
#  416|         get_packing_factor(dst_desc, dst_slice->type);
#  417|   
#  418|->    const unsigned src_packing_factor =
#  419|         get_packing_factor(src_desc, src_slice->type);
#  420|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1922]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘lower_any_hit_for_intersection’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c:53:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
#   51|         },
#   52|      };
#   53|->    impl->function->num_params = ARRAY_SIZE(params);
#   54|      impl->function->params =
#   55|         ralloc_array(any_hit, nir_parameter, ARRAY_SIZE(params));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1923]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c:175:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
#  173|   
#  174|      assert(impl->end_block->predecessors->entries == 1);
#  175|->    set_foreach(impl->end_block->predecessors, block_entry) {
#  176|         struct nir_block *block = (void *)block_entry->key;
#  177|         b->cursor = nir_after_block_before_jump(block);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1924]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c:175:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘any_hit_impl’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
#  173|   
#  174|      assert(impl->end_block->predecessors->entries == 1);
#  175|->    set_foreach(impl->end_block->predecessors, block_entry) {
#  176|         struct nir_block *block = (void *)block_entry->key;
#  177|         b->cursor = nir_after_block_before_jump(block);

Error: COMPILER_WARNING (CWE-563): [#def1925]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_ray_queries.c: scope_hint: In function ‘register_opaque_var’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_ray_queries.c:67:23: warning[-Wunused-variable]: unused variable ‘entry’
#   67 |    struct hash_entry *entry = _mesa_hash_table_search(state->queries, opaque_var);
#      |                       ^~~~~
#   65|   register_opaque_var(nir_variable *opaque_var, struct lowering_state *state)
#   66|   {
#   67|->    struct hash_entry *entry = _mesa_hash_table_search(state->queries, opaque_var);
#   68|      assert(entry == NULL);
#   69|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1926]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_storage_image.c: scope_hint: In function ‘lower_image_load_instr’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_storage_image.c:385:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir_lower_storage_image.c: scope_hint: In function ‘lower_image_load_instr’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_nir.h:30: included_from: Included from here.
#  383|   
#  384|         nir_def_rewrite_uses(placeholder, color);
#  385|->       nir_instr_remove(placeholder->parent_instr);
#  386|      } else {
#  387|         /* This code part is only useful prior to Gfx9, we do not have plans to

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1927]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c:807:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
#  805|      } else {
#  806|         assert(desc->nsrc < 4);
#  807|->       return desc->nsrc;
#  808|      }
#  809|   

Error: COMPILER_WARNING: [#def1928]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:647:23: warning[-Wunused-const-variable=]: ‘gfx11_datatype_table’ defined but not used
#  647 | static const uint32_t gfx11_datatype_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~
#  645|   };
#  646|   
#  647|-> static const uint32_t gfx11_datatype_table[32] = {
#  648|      0b001000000000000000001,
#  649|      0b001000000000001000000,

Error: COMPILER_WARNING: [#def1929]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:682:23: warning[-Wunused-const-variable=]: ‘gfx12_control_index_table’ defined but not used
#  682 | static const uint32_t gfx12_control_index_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
#  680|   };
#  681|   
#  682|-> static const uint32_t gfx12_control_index_table[32] = {
#  683|      0b000000000000000000100, /* 	       (16|M0)                            */
#  684|      0b000000000000000000011, /* 	       (8|M0)                             */

Error: COMPILER_WARNING: [#def1930]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:717:23: warning[-Wunused-const-variable=]: ‘gfx12_datatype_table’ defined but not used
#  717 | static const uint32_t gfx12_datatype_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~
#  715|   };
#  716|   
#  717|-> static const uint32_t gfx12_datatype_table[32] = {
#  718|      0b11010110100101010100, /* grf<1>:f  grf:f  grf:f  */
#  719|      0b00000110100101010100, /* grf<1>:f  grf:f  arf:ub */

Error: COMPILER_WARNING: [#def1931]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:752:23: warning[-Wunused-const-variable=]: ‘gfx12_subreg_table’ defined but not used
#  752 | static const uint16_t gfx12_subreg_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~
#  750|   };
#  751|   
#  752|-> static const uint16_t gfx12_subreg_table[32] = {
#  753|      0b000000000000000, /* .0  .0  .0  */
#  754|      0b100000000000000, /* .0  .0  .16 */

Error: COMPILER_WARNING: [#def1932]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:787:23: warning[-Wunused-const-variable=]: ‘gfx12_src0_index_table’ defined but not used
#  787 | static const uint16_t gfx12_src0_index_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~~
#  785|   };
#  786|   
#  787|-> static const uint16_t gfx12_src0_index_table[16] = {
#  788|      0b010001100100, /*       r<8;8,1>  */
#  789|      0b000000000000, /*       r<0;1,0>  */

Error: COMPILER_WARNING: [#def1933]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:806:23: warning[-Wunused-const-variable=]: ‘gfx12_src1_index_table’ defined but not used
#  806 | static const uint16_t gfx12_src1_index_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~~
#  804|   };
#  805|   
#  806|-> static const uint16_t gfx12_src1_index_table[16] = {
#  807|      0b000100011001, /*       r<8;8,1> */
#  808|      0b000000000000, /*       r<0;1,0> */

Error: COMPILER_WARNING: [#def1934]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:825:23: warning[-Wunused-const-variable=]: ‘xehp_src0_index_table’ defined but not used
#  825 | static const uint16_t xehp_src0_index_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~
#  823|   };
#  824|   
#  825|-> static const uint16_t xehp_src0_index_table[16] = {
#  826|      0b000100000000, /*       r<1;1,0>  */
#  827|      0b000000000000, /*       r<0;1,0>  */

Error: COMPILER_WARNING: [#def1935]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:844:23: warning[-Wunused-const-variable=]: ‘xehp_src1_index_table’ defined but not used
#  844 | static const uint16_t xehp_src1_index_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~
#  842|   };
#  843|   
#  844|-> static const uint16_t xehp_src1_index_table[16] = {
#  845|      0b000001000000, /*       r<1;1,0>    */
#  846|      0b000000000000, /*       r<0;1,0>    */

Error: COMPILER_WARNING: [#def1936]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:863:23: warning[-Wunused-const-variable=]: ‘xe2_control_index_table’ defined but not used
#  863 | static const uint32_t xe2_control_index_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~~~~
#  861|   };
#  862|   
#  863|-> static const uint32_t xe2_control_index_table[32] = {
#  864|      0b000000000000000100, /* (16|M0)               */
#  865|      0b000000100000000000, /* (W) (1|M0)            */

Error: COMPILER_WARNING: [#def1937]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:898:23: warning[-Wunused-const-variable=]: ‘xe2_datatype_table’ defined but not used
#  898 | static const uint32_t xe2_datatype_table[32] = {
#      |                       ^~~~~~~~~~~~~~~~~~
#  896|   };
#  897|   
#  898|-> static const uint32_t xe2_datatype_table[32] = {
#  899|      0b11010110100101010100, /* grf<1>:f grf:f grf:f    */
#  900|      0b11010100100101010100, /* arf<1>:f grf:f grf:f    */

Error: COMPILER_WARNING: [#def1938]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:933:23: warning[-Wunused-const-variable=]: ‘xe2_subreg_table’ defined but not used
#  933 | static const uint16_t xe2_subreg_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~
#  931|   };
#  932|   
#  933|-> static const uint16_t xe2_subreg_table[16] = {
#  934|      0b000000000000, /* .0 .0  */
#  935|      0b000010000000, /* .0 .4  */

Error: COMPILER_WARNING: [#def1939]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:952:23: warning[-Wunused-const-variable=]: ‘xe2_src0_index_table’ defined but not used
#  952 | static const uint16_t xe2_src0_index_table[8] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~
#  950|   };
#  951|   
#  952|-> static const uint16_t xe2_src0_index_table[8] = {
#  953|      0b00100000000, /* r<1;1,0>      */
#  954|      0b00000000000, /* r<0;1,0>      */

Error: COMPILER_WARNING: [#def1940]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:963:23: warning[-Wunused-const-variable=]: ‘xe2_src1_index_table’ defined but not used
#  963 | static const uint16_t xe2_src1_index_table[16] = {
#      |                       ^~~~~~~~~~~~~~~~~~~~
#  961|   };
#  962|   
#  963|-> static const uint16_t xe2_src1_index_table[16] = {
#  964|      0b0000100000000000, /* r<1;1,0>.0  */
#  965|      0b0000000000000000, /* r<0;1,0>.0  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1941]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c: scope_hint: In function ‘elk_compact_instructions’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:1950:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
# 1948|         void *dst = store + offset;
# 1949|   
# 1950|->       old_ip[offset / sizeof(elk_compact_inst)] = src_offset / sizeof(elk_inst);
# 1951|         compacted_counts[src_offset / sizeof(elk_inst)] = compacted_count;
# 1952|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1942]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_compact.c:1951:55: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compacted_counts’
# 1949|   
# 1950|         old_ip[offset / sizeof(elk_compact_inst)] = src_offset / sizeof(elk_inst);
# 1951|->       compacted_counts[src_offset / sizeof(elk_inst)] = compacted_count;
# 1952|   
# 1953|         elk_inst inst = precompact(p->isa, *src);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1943]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:54:14: warning[-Wanalyzer-malloc-leak]: leak of ‘error_msg.str’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2281:7: note: in expansion of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2284:10: note: in expansion of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:74:27: note: in expansion of macro ‘FC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:149:1: note: in expansion of macro ‘F’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_defines.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:869:4: note: in expansion of macro ‘assume’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:870:4: note: in expansion of macro ‘assume’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:870:4: note: in expansion of macro ‘assume’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
#   52|   cat(struct string *dest, const struct string src)
#   53|   {
#   54|->    dest->str = realloc(dest->str, dest->len + src.len + 1);
#   55|      memcpy(dest->str + dest->len, src.str, src.len);
#   56|      dest->str[dest->len + src.len] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1944]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:55:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   53|   {
#   54|      dest->str = realloc(dest->str, dest->len + src.len + 1);
#   55|->    memcpy(dest->str + dest->len, src.str, src.len);
#   56|      dest->str[dest->len + src.len] = '\0';
#   57|      dest->len = dest->len + src.len;

Error: COMPILER_WARNING (CWE-563): [#def1945]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_work_group_id_setup(nir_to_elk_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:163:20: warning[-Wunused-variable]: unused variable ‘s’
#  163 |    elk_fs_visitor &s = ntb.s;
#      |                    ^
#  161|   emit_work_group_id_setup(nir_to_elk_state &ntb)
#  162|   {
#  163|->    elk_fs_visitor &s = ntb.s;
#  164|      const fs_builder &bld = ntb.bld;
#  165|   

Error: COMPILER_WARNING (CWE-563): [#def1946]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_vs_intrinsic(nir_to_elk_state&, nir_intrinsic_instr*)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:2560:20: warning[-Wunused-variable]: unused variable ‘s’
# 2560 |    elk_fs_visitor &s = ntb.s;
#      |                    ^
# 2558|   {
# 2559|      const fs_builder &bld = ntb.bld;
# 2560|->    elk_fs_visitor &s = ntb.s;
# 2561|      assert(s.stage == MESA_SHADER_VERTEX);
# 2562|   

Error: COMPILER_WARNING (CWE-563): [#def1947]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplepos_setup(nir_to_elk_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:3439:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3439 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3437|   emit_samplepos_setup(nir_to_elk_state &ntb)
# 3438|   {
# 3439|->    const intel_device_info *devinfo = ntb.devinfo;
# 3440|      const fs_builder &bld = ntb.bld;
# 3441|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def1948]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplemaskin_setup(nir_to_elk_state&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:3619:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3619 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3617|   emit_samplemaskin_setup(nir_to_elk_state &ntb)
# 3618|   {
# 3619|->    const intel_device_info *devinfo = ntb.devinfo;
# 3620|      const fs_builder &bld = ntb.bld;
# 3621|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def1949]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_cs_intrinsic(nir_to_elk_state&, nir_intrinsic_instr*)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:4033:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 4033 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 4031|                            nir_intrinsic_instr *instr)
# 4032|   {
# 4033|->    const intel_device_info *devinfo = ntb.devinfo;
# 4034|      const fs_builder &bld = ntb.bld;
# 4035|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def1950]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg get_timestamp(const elk::fs_builder&)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:4598:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 4598 |    const intel_device_info *devinfo = s.devinfo;
#      |                             ^~~~~~~
# 4596|   {
# 4597|      elk_fs_visitor &s = *bld.shader;
# 4598|->    const intel_device_info *devinfo = s.devinfo;
# 4599|   
# 4600|      assert(devinfo->ver >= 7);

Error: COMPILER_WARNING (CWE-563): [#def1951]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_surface_atomic(nir_to_elk_state&, const elk::fs_builder&, nir_intrinsic_instr*, elk_fs_reg, bool)’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_fs_nir.cpp:6291:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 6291 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 6289|                              bool bindless)
# 6290|   {
# 6291|->    const intel_device_info *devinfo = ntb.devinfo;
# 6292|      elk_fs_visitor &s = ntb.s;
# 6293|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1952]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_nir_lower_storage_image.c: scope_hint: In function ‘lower_image_load_instr’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_nir_lower_storage_image.c:416:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_nir_lower_storage_image.c: scope_hint: In function ‘lower_image_load_instr’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_nir.h:29: included_from: Included from here.
#  414|   
#  415|         nir_def_rewrite_uses(placeholder, color);
#  416|->       nir_instr_remove(placeholder->parent_instr);
#  417|      } else {
#  418|         /* This code part is only useful prior to Gfx9, we do not have plans to

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1953]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_reg_type.c: scope_hint: In function ‘elk_a16_hw_3src_type_to_reg_type’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_reg_type.c:330:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘table’
#  328|   
#  329|      for (enum elk_reg_type i = 0; i <= ELK_REGISTER_TYPE_LAST; i++) {
#  330|->       if (table[i].reg_type == hw_type) {
#  331|            return i;
#  332|         }

Error: GCC_ANALYZER_WARNING (CWE-787): [#def1954]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_vue_map.c: scope_hint: In function ‘varying_name’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_vue_map.c:297:20: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/dev/intel_device_info.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_compiler.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_vue_map.c:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_vue_map.c:286:4: note: in expansion of macro ‘assume’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/elk/elk_vue_map.c:297:20: note: valid subscripts for ‘elk_names’ are ‘[0]’ to ‘[2]’
#  295|      };
#  296|   
#  297|->    return elk_names[slot - VARYING_SLOT_MAX];
#  298|   }
#  299|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1955]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c: scope_hint: In function ‘print_kernel’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:213:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fp’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:573:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:586:4: note: in expansion of macro ‘util_dynarray_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c: scope_hint: In function ‘print_kernel’
<built-in>: note: argument 4 of ‘__builtin_fwrite’ must be non-null
#  211|      _mesa_sha1_update(&sha1_ctx, &val, sizeof(val))
#  212|   
#  213|->    fprintf(fp, "#include \"intel/compiler/brw_kernel.h\"\n");
#  214|      fprintf(fp, "\n");
#  215|   

Error: COMPILER_WARNING (CWE-252): [#def1956]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c: scope_hint: In function ‘main’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:601:7: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
#  601 |       read(fd, all_inputs + total_size, len);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  599|         }
#  600|         lseek(fd, 0, SEEK_SET);
#  601|->       read(fd, all_inputs + total_size, len);
#  602|         close(fd);
#  603|         total_size = new_size;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1957]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:609:7: warning[-Wanalyzer-null-argument]: use of NULL ‘all_inputs’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:573:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:586:4: note: in expansion of macro ‘util_dynarray_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/brw_compiler.h:27: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 1 of ‘fwrite’ must be non-null
#  607|      if (params.txt_outfile) {
#  608|         FILE *fp = fopen(params.txt_outfile, "w");
#  609|->       fwrite(all_inputs, total_size, 1, fp);
#  610|         fclose(fp);
#  611|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1958]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:609:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(params.txt_outfile, "w")’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:573:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:586:4: note: in expansion of macro ‘util_dynarray_foreach’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  607|      if (params.txt_outfile) {
#  608|         FILE *fp = fopen(params.txt_outfile, "w");
#  609|->       fwrite(all_inputs, total_size, 1, fp);
#  610|         fclose(fp);
#  611|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1959]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:643:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(params.spv_outfile, "w")’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:570:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:573:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_clc.c:586:4: note: in expansion of macro ‘util_dynarray_foreach’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  641|      if (params.spv_outfile) {
#  642|         FILE *fp = fopen(params.spv_outfile, "w");
#  643|->       fwrite(spirv_obj.data, spirv_obj.size, 1, fp);
#  644|         fclose(fp);
#  645|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1960]
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c: scope_hint: In function ‘intel_nir_clamp_image_1d_2d_array_sizes_instr’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:64:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘intel_nir_clamp_image_1d_2d_array_sizes_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c: scope_hint: In function ‘intel_nir_clamp_image_1d_2d_array_sizes_instr’
#   62|            assert(glsl_type_is_image(deref->type));
#   63|   
#   64|->          if (!glsl_sampler_type_is_array(deref->type))
#   65|               break;
#   66|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1961]
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1560:4: warning[-Wanalyzer-null-argument]: use of NULL ‘arr.mem_ctx’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c: scope_hint: In function ‘intel_print_accumulated_instrs’
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1553:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1561:10: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:42: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
# 1558|         util_dynarray_append(&arr, struct inst_ptr, inst);
# 1559|      }
# 1560|->    qsort(util_dynarray_begin(&arr),
# 1561|            util_dynarray_num_elements(&arr, struct inst_ptr),
# 1562|            sizeof(struct inst_ptr),

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1962]
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1843:4: warning[-Wanalyzer-null-argument]: use of NULL ‘arr.mem_ctx’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c: scope_hint: In function ‘intel_batch_print_stats’
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1836:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_batch_decoder.c:1844:10: note: in expansion of macro ‘util_dynarray_num_elements’
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
# 1841|         util_dynarray_append(&arr, struct inst_stat, inst);
# 1842|      }
# 1843|->    qsort(util_dynarray_begin(&arr),
# 1844|            util_dynarray_num_elements(&arr, struct inst_stat),
# 1845|            sizeof(struct inst_stat),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1963]
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_decoder.c: scope_hint: In function ‘iter_decode_field’
mesa-24.2.6-build/mesa-24.2.6/src/intel/decoder/intel_decoder.c:1255:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1253|      } v;
# 1254|   
# 1255|->    if (iter->field->name)
# 1256|         snprintf(iter->name, sizeof(iter->name), "%s", iter->field->name);
# 1257|      else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1964]
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl.c: scope_hint: In function ‘isl_tiling_get_info’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl.c:942:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘logical_el.<Uac78>.w’
#  940|   #undef tile_extent3d
#  941|   
#  942|->       phys_B.w = logical_el.w * bs;
#  943|         phys_B.h = 64 * 1024 / phys_B.w;
#  944|         break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1965]
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:298:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:181:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:181:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
#  296|   
#  297|      if (devinfo->has_flat_ccs) {
#  298|->       if (isl_drm_modifier_get_info(modifier)->supports_clear_color)
#  299|            return 2 * fmt_planes;
#  300|         else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1966]
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:303:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:181:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c:181:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
#  301|            return 1 * fmt_planes;
#  302|      } else {
#  303|->       if (isl_drm_modifier_get_info(modifier)->supports_clear_color)
#  304|            return 3 * fmt_planes;
#  305|         else if (isl_drm_modifier_has_aux(modifier))

Error: COMPILER_WARNING (CWE-563): [#def1967]
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_tiled_memcpy_sse41.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘linear_to_tile4’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_tiled_memcpy.c:474:19: warning[-Wunused-variable]: unused variable ‘tile4_blkh’
#  474 |    const uint32_t tile4_blkh = 4;
#      |                   ^~~~~~~~~~
#  472|       */
#  473|      const uint32_t column_width = ytile_span;
#  474|->    const uint32_t tile4_blkh = 4;
#  475|   
#  476|      assert(ytile_span * tile4_blkh == 64);

Error: COMPILER_WARNING (CWE-563): [#def1968]
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘tile4_to_linear’
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl_tiled_memcpy.c:821:19: warning[-Wunused-variable]: unused variable ‘tile4_blkh’
#  821 |    const uint32_t tile4_blkh = 4;
#      |                   ^~~~~~~~~~
#  819|   
#  820|      const uint32_t column_width = ytile_span;
#  821|->    const uint32_t tile4_blkh = 4;
#  822|   
#  823|      assert(ytile_span * tile4_blkh == 64);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1969]
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf.c: scope_hint: In function ‘load_oa_metrics’
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf.c:730:4: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  728|       * the kernel is advertising.
#  729|       */
#  730|->    oa_register(perf);
#  731|   
#  732|      if (!INTEL_DEBUG(DEBUG_NO_OACONFIG)) {

Error: COMPILER_WARNING (CWE-563): [#def1970]
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf.c: scope_hint: In function ‘get_passes_mask’
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf.c:870:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
#  870 |       bool found = false;
#      |            ^~~~~
#  868|          * counter.
#  869|          */
#  870|->       bool found = false;
#  871|         for (uint32_t w = 0; w < BITSET_WORDS(INTEL_PERF_MAX_METRIC_SETS); w++) {
#  872|            if (!counter_info->query_mask[w])

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1971]
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf_query.c: scope_hint: In function ‘read_oa_samples_until’
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf_query.c:968:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/intel_perf_query.c: scope_hint: In function ‘read_oa_samples_until’
#  966|         exec_node_data(struct oa_sample_buf, tail_node, link);
#  967|      uint32_t last_timestamp =
#  968|->       tail_buf->len == 0 ? start_timestamp : tail_buf->last_timestamp;
#  969|      bool sample_read = false;
#  970|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1972]
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/xe/intel_perf.c: scope_hint: In function ‘xe_add_config’
mesa-24.2.6-build/mesa-24.2.6/src/intel/perf/xe/intel_perf.c:99:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘regs’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   97|      xe_config.regs_ptr = (uintptr_t)regs;
#   98|   
#   99|->    memcpy(regs, config->mux_regs, config->n_mux_regs * sizeof(uint64_t));
#  100|      regs += 2 * config->n_mux_regs;
#  101|      memcpy(regs, config->b_counter_regs, config->n_b_counter_regs * sizeof(uint64_t));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1973]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:482:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:471:4: note: in expansion of macro ‘anv_block_pool_foreach_bo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:471:4: note: in expansion of macro ‘anv_block_pool_foreach_bo’
#  480|      assert((offset - bo_offset) + size <= bo->size);
#  481|   
#  482|->    return bo->map + (offset - bo_offset);
#  483|   }
#  484|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1974]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:770:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
#  768|      for (int i = 0; i < count; i++) {
#  769|         /* update states that were added back to the state table */
#  770|->       struct anv_state *state_i = anv_state_table_get(&pool->table,
#  771|                                                         st_idx + i);
#  772|         state_i->alloc_size = block_size;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1975]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c:784:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
#  782|         return;
#  783|   
#  784|->    anv_free_list_push(&pool->buckets[block_bucket].free_list,
#  785|                         &pool->table, st_idx, count);
#  786|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1976]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘anv_batch_bo_destroy’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c:377:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
#  375|   {
#  376|      anv_reloc_list_finish(&bbo->relocs);
#  377|->    anv_bo_pool_free(&cmd_buffer->device->batch_bo_pool, bbo->bo);
#  378|      vk_free(&cmd_buffer->vk.pool->alloc, bbo);
#  379|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1977]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘cmd_buffer_chain_to_batch_bo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c:496:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
#  494|      assert(batch->end == current_bbo->bo->map + current_bbo->bo->size);
#  495|   
#  496|->    emit_batch_buffer_start(batch, bbo->bo, 0);
#  497|   
#  498|      anv_batch_bo_finish(current_bbo, batch);

Error: COMPILER_WARNING (CWE-563): [#def1978]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_blorp.c: scope_hint: In function ‘exec_ccs_op’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_blorp.c:1544:8: warning[-Wunused-variable]: unused variable ‘ret’
# 1544 |    int ret =
#      |        ^~~
# 1542|   
# 1543|      char flush_reason[64];
# 1544|->    int ret =
# 1545|         snprintf(flush_reason, sizeof(flush_reason),
# 1546|                  "ccs op start: %s", isl_aux_op_to_name(ccs_op));

Error: COMPILER_WARNING (CWE-563): [#def1979]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_push_descriptor_set_init’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c:2045:35: warning[-Wunused-variable]: unused variable ‘pdevice’
# 2045 |       struct anv_physical_device *pdevice = cmd_buffer->device->physical;
#      |                                   ^~~~~~~
# 2043|          (push_set->set_used_on_gpu ||
# 2044|           set->desc_sampler_mem.alloc_size < layout->descriptor_buffer_sampler_size)) {
# 2045|->       struct anv_physical_device *pdevice = cmd_buffer->device->physical;
# 2046|         assert(!pdevice->indirect_descriptors);
# 2047|         struct anv_state_stream *push_stream = &cmd_buffer->dynamic_state_stream;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1980]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_descriptor_set_write_image_view’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c:2218:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c:2218:34: note: write of 4 bytes to beyond the end of ‘desc_data’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_descriptor_set.c:2218:34: note: valid subscripts for ‘desc_data’ are ‘[0]’ to ‘[2]’
# 2216|         if (sampler) {
# 2217|            for (unsigned p = 0; p < sampler->n_planes; p++)
# 2218|->             desc_data[p].sampler = sampler->bindless_state.offset + p * 32;
# 2219|         }
# 2220|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1981]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c: scope_hint: In function ‘intel_aux_map_buffer_alloc’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c:3237:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
# 3235|      buf->base.map = buf->state.map;
# 3236|      buf->base.driver_bo = &buf->state;
# 3237|->    return &buf->base;
# 3238|   }
# 3239|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1982]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c: scope_hint: In function ‘anv_MapMemory2KHR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c:4805:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c:4803:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c:4803:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_device.c: scope_hint: In function ‘anv_MapMemory2KHR’
# 4803|            vk_find_struct_const(pMemoryMapInfo->pNext, MEMORY_MAP_PLACED_INFO_EXT);
# 4804|         assert(placed_info != NULL);
# 4805|->       placed_addr = placed_info->pPlacedAddress;
# 4806|      }
# 4807|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1983]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1356:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘modifier_info’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1299:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1299:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1329:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1329:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_formats.c:1329:4: note: in expansion of macro ‘vk_foreach_struct’
# 1354|   
# 1355|      if (info->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
# 1356|->       isl_mod_info = isl_drm_modifier_get_info(modifier_info->drmFormatModifier);
# 1357|         if (isl_mod_info == NULL)
# 1358|            goto unsupported;

Error: COMPILER_WARNING (CWE-563): [#def1984]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘add_all_surfaces_explicit_layout’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1332:16: warning[-Wunused-variable]: unused variable ‘n_mod_planes’
# 1332 |       uint32_t n_mod_planes =
#      |                ^~~~~~~~~~~~
# 1330|          * Most validation of plane layout occurs in add_surface().
# 1331|          */
# 1332|->       uint32_t n_mod_planes =
# 1333|            isl_drm_modifier_get_plane_count(devinfo,
# 1334|                                             drm_info->drmFormatModifier,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1985]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1591:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1883:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1883:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1581:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1581:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1587:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:1587:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
# 1589|            isl_mod_info = choose_drm_format_mod(device->physical,
# 1590|                                                 mod_list_info->drmFormatModifierCount,
# 1591|->                                               mod_list_info->pDrmFormatModifiers);
# 1592|         }
# 1593|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1986]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_map_aux_tt’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:2356:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:2423:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:2423:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:2431:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_image.c:2431:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:5441:14: note: in expansion of macro ‘ANV_NULL_ADDRESS’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:5441:14: note: in expansion of macro ‘ANV_NULL_ADDRESS’
# 2354|       */
# 2355|      if (device->physical->alloc_aux_tt_mem &&
# 2356|->        (bo->alloc_flags & ANV_BO_ALLOC_AUX_CCS)) {
# 2357|         uint64_t main_aux_alignment =
# 2358|            intel_aux_map_get_alignment(device->aux_map_ctx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1987]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1286:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
# 1284|                             struct apply_pipeline_layout_state *state)
# 1285|   {
# 1286|->    if (intrin->intrinsic == nir_intrinsic_vulkan_resource_index) {
# 1287|         b->cursor = nir_before_instr(&intrin->instr);
# 1288|         *set = nir_intrinsic_desc_set(intrin);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1988]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_add_executable’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline.c:1650:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
<built-in>: note: argument 4 of ‘__builtin_fwrite’ must be non-null
# 1648|            push_size += stage->bind_map.push_ranges[i].length;
# 1649|         if (push_size > 0) {
# 1650|->          fprintf(stream, "Push constant ranges:\n");
# 1651|            for (unsigned i = 0; i < 4; i++) {
# 1652|               if (stage->bind_map.push_ranges[i].length == 0)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1989]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:294:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:76: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:257:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:258:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:259:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:261:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:263:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:265:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:216:37: note: in definition of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:265:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:269:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:271:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:273:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:276:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:278:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:280:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:283:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c:286:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:253:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  292|         return NULL;
#  293|   
#  294|->    memcpy(obj_key_data, key_data, key_size);
#  295|      vk_pipeline_cache_object_init(&device->vk, &shader->base,
#  296|                                    &anv_shader_bin_ops, obj_key_data, key_size);

Error: COMPILER_WARNING (CWE-563): [#def1990]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_queue.c: scope_hint: In function ‘anv_queue_init’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_queue.c:70:32: warning[-Wunused-variable]: unused variable ‘pdevice’
#   70 |    struct anv_physical_device *pdevice = device->physical;
#      |                                ^~~~~~~
#   68|                  uint32_t index_in_family)
#   69|   {
#   70|->    struct anv_physical_device *pdevice = device->physical;
#   71|      assert(queue->vk.queue_family_index < pdevice->queue.family_count);
#   72|      struct anv_queue_family *queue_family =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1991]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:453:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l1_binds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c: scope_hint: In function ‘anv_trtt_bind_add’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:673:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:673:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:674:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:674:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_sparse.c:674:4: note: in expansion of macro ‘STACK_ARRAY’
#  451|                                uint64_t pte_addr, uint64_t entry_addr)
#  452|   {
#  453|->    binds[*binds_len] = (struct anv_trtt_bind) {
#  454|         .pte_addr = pte_addr,
#  455|         .entry_addr = entry_addr,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1992]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:152:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:138:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:138:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
#  150|         ext->fieldOffsetGranularity.x = 0;
#  151|         ext->fieldOffsetGranularity.y = 0;
#  152|->       ext->maxLevelIdc = STD_VIDEO_H264_LEVEL_IDC_5_1;
#  153|         strcpy(pCapabilities->stdHeaderVersion.extensionName, VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_EXTENSION_NAME);
#  154|         pCapabilities->stdHeaderVersion.specVersion = VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_SPEC_VERSION;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1993]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:166:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
#  164|   
#  165|         /* No hardware supports the scc extension profile */
#  166|->       if (h265_profile->stdProfileIdc != STD_VIDEO_H265_PROFILE_IDC_MAIN &&
#  167|             h265_profile->stdProfileIdc != STD_VIDEO_H265_PROFILE_IDC_MAIN_10 &&
#  168|             h265_profile->stdProfileIdc != STD_VIDEO_H265_PROFILE_IDC_MAIN_STILL_PICTURE &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1994]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:196:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
#  194|         pCapabilities->maxActiveReferencePictures = ANV_VIDEO_H265_HCP_NUM_REF_FRAME;
#  195|   
#  196|->       ext->maxLevelIdc = STD_VIDEO_H265_LEVEL_IDC_6_2;
#  197|   
#  198|         strcpy(pCapabilities->stdHeaderVersion.extensionName, VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_EXTENSION_NAME);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1995]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:184:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:462:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:184:26: note: write of 4 bytes to beyond the end of ‘surface_offsets’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:184:26: note: valid subscripts for ‘surface_offsets’ are ‘[0]’ to ‘[1]’
#  182|   
#  183|         bt_map[i] = surface_state.offset + state_offset;
#  184|->       surface_offsets[i] = surface_state.offset;
#  185|         surface_maps[i] = surface_state.map;
#  186|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def1996]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:185:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:462:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:185:23: note: write of 8 bytes to beyond the end of ‘surface_maps’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:185:23: note: valid subscripts for ‘surface_maps’ are ‘[0]’ to ‘[1]’
#  183|         bt_map[i] = surface_state.offset + state_offset;
#  184|         surface_offsets[i] = surface_state.offset;
#  185|->       surface_maps[i] = surface_state.map;
#  186|      }
#  187|   

Error: COMPILER_WARNING (CWE-563): [#def1997]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c: scope_hint: In function ‘blorp_exec_on_blitter’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_blorp_exec.c:455:27: warning[-Wunused-variable]: unused variable ‘cmd_buffer’
#  455 |    struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
#      |                           ^~~~~~~~~~
#  453|      assert(batch->flags & BLORP_BATCH_USE_BLITTER);
#  454|   
#  455|->    struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
#  456|      assert(anv_cmd_buffer_is_blitter_queue(cmd_buffer));
#  457|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1998]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:974: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:90:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2168:6: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/isl/isl.h:46: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/common/intel_aux_map.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2184:4: note: in expansion of macro ‘anv_measure_snapshot’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:624:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:356:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:368:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:185:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:368:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:501:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:45:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_generate_draws’
#   88|                                   (cmd_buffer->state.conditional_render_enabled ?
#   89|                                    ANV_GENERATED_FLAG_PREDICATED : 0) |
#   90|->                                 ((vs_prog_data->uses_firstvertex ||
#   91|                                     vs_prog_data->uses_baseinstance) ?
#   92|                                    ANV_GENERATED_FLAG_BASE : 0) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1999]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_get_generated_draw_stride’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:200:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2168:6: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2184:4: note: in expansion of macro ‘anv_measure_snapshot’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx9_cmd_buffer_get_generated_draw_stride’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:624:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:356:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:368:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:185:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_get_generated_draw_stride’
#  198|      uint32_t len = 0;
#  199|   
#  200|->    if (vs_prog_data->uses_firstvertex ||
#  201|          vs_prog_data->uses_baseinstance ||
#  202|          vs_prog_data->uses_drawid) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2000]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_indirect_generated_draws_inring’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:446:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2168:6: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2184:4: note: in expansion of macro ‘anv_measure_snapshot’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx9_cmd_buffer_emit_indirect_generated_draws_inring’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw.c:2205:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:624:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:646:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:356:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:368:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:185:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_indirect_generated_draws_inring’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:368:7: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx9_cmd_buffer_emit_indirect_generated_draws_inring’
#  444|      const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
#  445|   
#  446|->    if (vs_prog_data->uses_baseinstance ||
#  447|          vs_prog_data->uses_firstvertex) {
#  448|         /* We're using the indirect buffer directly to source base instance &

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2001]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c: scope_hint: In function ‘anv_h264_decode_video’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:867:107: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1172:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
#  865|      const struct VkVideoDecodeH264PictureInfoKHR *h264_pic_info =
#  866|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
#  867|->    const StdVideoH264SequenceParameterSet *sps = vk_video_find_h264_dec_std_sps(&params->vk, h264_pic_info->pStdPictureInfo->seq_parameter_set_id);
#  868|      const StdVideoH264PictureParameterSet *pps = vk_video_find_h264_dec_std_pps(&params->vk, h264_pic_info->pStdPictureInfo->pic_parameter_set_id);
#  869|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2002]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1018:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1172:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1014:4: note: in expansion of macro ‘anv_batch_emit’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1017:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_cmd_video.c:1017:13: note: in expansion of macro ‘vk_find_struct_const’
# 1016|            const struct VkVideoDecodeH264DpbSlotInfoKHR *dpb_slot =
# 1017|               vk_find_struct_const(frame_info->pReferenceSlots[i].pNext, VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR);
# 1018|->          const StdVideoDecodeH264ReferenceInfo *ref_info = dpb_slot->pStdReferenceInfo;
# 1019|            int idx = frame_info->pReferenceSlots[i].slotIndex;
# 1020|            avc_dpb.NonExistingFrame[idx] = ref_info->flags.is_non_existing;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2003]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘gfx9_emit_vertex_input’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:178:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:170:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘gfx9_emit_vertex_input’
#  176|      const struct anv_device *device = pipeline->base.base.device;
#  177|      const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
#  178|->    const uint64_t inputs_read = vs_prog_data->inputs_read;
#  179|      const uint64_t double_inputs_read =
#  180|         vs_prog_data->double_inputs_read & inputs_read;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2004]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:294:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  292|      const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
#  293|      const bool needs_svgs_elem = pipeline->svgs_count > 1 ||
#  294|->                                 !vs_prog_data->uses_drawid;
#  295|      const uint32_t id_slot = pipeline->vs_input_elements;
#  296|      const uint32_t drawid_slot = id_slot + needs_svgs_elem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2005]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:313:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  311|             * well.  Just do all or nothing.
#  312|             */
#  313|->          uint32_t base_ctrl = (vs_prog_data->uses_firstvertex ||
#  314|                                  vs_prog_data->uses_baseinstance) ?
#  315|                                 VFCOMP_STORE_SRC : VFCOMP_STORE_0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2006]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:344:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  342|         }
#  343|   
#  344|->       if (vs_prog_data->uses_drawid) {
#  345|            struct GENX(VERTEX_ELEMENT_STATE) element = {
#  346|               .VertexBufferIndex = ANV_DRAWID_VB_INDEX,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2007]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:681:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4968:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4968:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:67:20: note: in definition of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:577:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:67:20: note: in definition of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:578:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4969:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4969:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:676:10: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:676:10: note: in expansion of macro ‘anv_pipeline_emit’
#  679|   
#  680|               assert(mue->per_vertex_header_size_dw % 8 == 0);
#  681|->             sbe_mesh.PerVertexURBEntryOutputReadOffset = mue->per_vertex_header_size_dw / 8;
#  682|               sbe_mesh.PerVertexURBEntryOutputReadLength = DIV_ROUND_UP(mue->per_vertex_data_size_dw, 8);
#  683|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2008]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1348:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4965:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4966:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
# 1346|         hs.MaximumNumberofThreads = devinfo->max_tcs_threads - 1;
# 1347|         hs.IncludeVertexHandles = true;
# 1348|->       hs.InstanceCount = tcs_prog_data->instances - 1;
# 1349|   
# 1350|         hs.VertexURBEntryReadLength = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2009]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1619:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4968:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1612:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1612:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
# 1617|   
# 1618|         if (anv_pipeline_has_stage(pipeline, MESA_SHADER_FRAGMENT)) {
# 1619|->          if (wm_prog_data->early_fragment_tests) {
# 1620|               wm.EarlyDepthStencilControl         = EDSC_PREPS;
# 1621|            } else if (wm_prog_data->has_side_effects) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2010]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1927:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4970:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1901:4: note: in expansion of macro ‘anv_pipeline_emit’
# 1925|         task.EmitInlineParameter = true;
# 1926|   
# 1927|->       task.XP0Required = task_prog_data->uses_drawid;
# 1928|      }
# 1929|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2011]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1955:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4969:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
# 1953|         mc.MaximumNumberofThreadGroups = 511;
# 1954|   #if GFX_VER >= 20
# 1955|->       mc.VPandRTAIndexAutostripEnable = mesh_prog_data->autostrip_enable;
# 1956|   #endif
# 1957|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2012]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1977:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:4969:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:2378:29: note: in definition of macro ‘__anv_cmd_pack’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1950:4: note: in expansion of macro ‘anv_pipeline_emit_tmp’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c:1950:57: note: in expansion of macro ‘GENX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
# 1975|   
# 1976|      const unsigned output_topology =
# 1977|->       mesh_prog_data->primitive_type == MESA_PRIM_POINTS ? OUTPUT_POINT :
# 1978|         mesh_prog_data->primitive_type == MESA_PRIM_LINES  ? OUTPUT_LINE :
# 1979|                                                                OUTPUT_TRI;

Error: COMPILER_WARNING (CWE-563): [#def2013]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_simple_shader.c: scope_hint: In function ‘gfx125_emit_simpler_shader_init_compute’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/genX_simple_shader.c:374:35: warning[-Wunused-variable]: unused variable ‘prog_data’
#  374 |    const struct brw_cs_prog_data *prog_data =
#      |                                   ^~~~~~~~~
#  372|   #if GFX_VERx10 >= 125
#  373|      struct anv_shader_bin *cs_bin = state->kernel;
#  374|->    const struct brw_cs_prog_data *prog_data =
#  375|         (const struct brw_cs_prog_data *) cs_bin->prog_data;
#  376|      /* Currently our simple shaders are simple enough that they never spill. */

Error: COMPILER_WARNING (CWE-563): [#def2014]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/i915/anv_batch_chain.c: scope_hint: In function ‘i915_queue_exec_locked’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/i915/anv_batch_chain.c:978:30: warning[-Wunused-variable]: unused variable ‘companion_rcs_cmd_buffer’
#  978 |       struct anv_cmd_buffer *companion_rcs_cmd_buffer =
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
#  976|   
#  977|      if (cmd_buffer_count != 0 && cmd_buffers[0]->companion_rcs_cmd_buffer) {
#  978|->       struct anv_cmd_buffer *companion_rcs_cmd_buffer =
#  979|            cmd_buffers[0]->companion_rcs_cmd_buffer;
#  980|         assert(companion_rcs_cmd_buffer->is_companion_rcs_cmd_buffer);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2015]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/xe/anv_batch_chain.c: scope_hint: In function ‘vk_sync_to_drm_xe_sync’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/xe/anv_batch_chain.c:46:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/xcb/xcb.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/include/vulkan/vk_icd.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_private.h:75: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/xe/anv_batch_chain.c: scope_hint: In function ‘vk_sync_to_drm_xe_sync’
#   44|                         DRM_XE_SYNC_TYPE_SYNCOBJ,
#   45|         .flags = signal ? DRM_XE_SYNC_FLAG_SIGNAL : 0,
#   46|->       .handle = syncobj->syncobj,
#   47|         .timeline_value = value,
#   48|      };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2016]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:588:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:577:7: note: in expansion of macro ‘anv_block_pool_foreach_bo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:577:7: note: in expansion of macro ‘anv_block_pool_foreach_bo’
#  586|         assert((offset - bo_offset) + size <= bo->size);
#  587|   
#  588|->       return bo->map + (offset - bo_offset);
#  589|      } else {
#  590|         return pool->map + offset;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2017]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:955:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
#  953|      for (int i = 0; i < count; i++) {
#  954|         /* update states that were added back to the state table */
#  955|->       struct anv_state *state_i = anv_state_table_get(&pool->table,
#  956|                                                         st_idx + i);
#  957|         state_i->alloc_size = block_size;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2018]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c:965:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
#  963|   
#  964|      uint32_t block_bucket = anv_state_pool_get_bucket(block_size);
#  965|->    anv_free_list_push(&pool->buckets[block_bucket].free_list,
#  966|                         &pool->table, st_idx, count);
#  967|   }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2019]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_descriptor_set_write_image_view’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:34: note: write of 4 bytes to beyond the end of ‘desc_data’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:34: note: valid subscripts for ‘desc_data’ are ‘[0]’ to ‘[2]’
# 1427|         if (sampler) {
# 1428|            for (unsigned p = 0; p < sampler->n_planes; p++)
# 1429|->             desc_data[p].sampler = sampler->bindless_state.offset + p * 32;
# 1430|         }
# 1431|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2020]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_UpdateDescriptorSets’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1728:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_UpdateDescriptorSets’
# 1726|                                                         inline_write->pData,
# 1727|                                                         write->dstArrayElement,
# 1728|->                                                       inline_write->dataSize);
# 1729|            break;
# 1730|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2021]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:975:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:83: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:1344:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:1344:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
#  973|            vk_find_struct_const(info->pNext, PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT);
#  974|   
#  975|->       isl_mod_info = isl_drm_modifier_get_info(vk_mod_info->drmFormatModifier);
#  976|         if (isl_mod_info == NULL)
#  977|            goto unsupported;

Error: COMPILER_WARNING (CWE-563): [#def2022]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘check_drm_format_mod’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_image.c:923:40: warning[-Wunused-variable]: unused variable ‘isl_mod_info’
#  923 |    const struct isl_drm_modifier_info *isl_mod_info =
#      |                                        ^~~~~~~~~~~~
#  921|         return VK_SUCCESS;
#  922|   
#  923|->    const struct isl_drm_modifier_info *isl_mod_info =
#  924|         isl_drm_modifier_get_info(image->vk.drm_format_mod);
#  925|   

Error: COMPILER_WARNING (CWE-563): [#def2023]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘anv_layout_to_aux_state’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_image.c:1909:9: warning[-Wunused-but-set-variable]: variable ‘aux_supported’ set but not used
# 1909 |    bool aux_supported = true;
#      |         ^~~~~~~~~~~~~
# 1907|         vk_image_layout_to_usage_flags(layout, aspect) & image_aspect_usage;
# 1908|   
# 1909|->    bool aux_supported = true;
# 1910|      bool clear_supported = isl_aux_usage_has_fast_clears(aux_usage);
# 1911|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2024]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:554:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4856:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
#  552|                             struct apply_pipeline_layout_state *state)
#  553|   {
#  554|->    if (intrin->intrinsic == nir_intrinsic_vulkan_resource_index) {
#  555|         b->cursor = nir_before_instr(&intrin->instr);
#  556|         *set = nir_intrinsic_desc_set(intrin);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2025]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_add_executable’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline.c:926:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
<built-in>: note: argument 4 of ‘__builtin_fwrite’ must be non-null
#  924|            push_size += stage->bind_map.push_ranges[i].length;
#  925|         if (push_size > 0) {
#  926|->          fprintf(stream, "Push constant ranges:\n");
#  927|            for (unsigned i = 0; i < 4; i++) {
#  928|               if (stage->bind_map.push_ranges[i].length == 0)

Error: COMPILER_WARNING (CWE-563): [#def2026]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_compile_cs’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline.c:1430:43: warning[-Wunused-variable]: unused variable ‘sinfo’
# 1430 |    const VkPipelineShaderStageCreateInfo *sinfo = &info->stage;
#      |                                           ^~~~~
# 1428|                           const VkComputePipelineCreateInfo *info)
# 1429|   {
# 1430|->    const VkPipelineShaderStageCreateInfo *sinfo = &info->stage;
# 1431|      assert(sinfo->stage == VK_SHADER_STAGE_COMPUTE_BIT);
# 1432|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2027]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:101:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:69: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:80:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:81:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:82:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:84:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:86:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:88:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:216:37: note: in definition of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:88:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:92:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c:94:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:253:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   99|         return NULL;
#  100|   
#  101|->    memcpy(obj_key_data, key_data, key_size);
#  102|      vk_pipeline_cache_object_init(&device->vk, &shader->base,
#  103|                                    &anv_shader_bin_ops, obj_key_data, key_size);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2028]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:176:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:176:26: note: write of 4 bytes to beyond the end of ‘surface_offsets’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:176:26: note: valid subscripts for ‘surface_offsets’ are ‘[0]’ to ‘[1]’
#  174|            anv_cmd_buffer_alloc_surface_state(cmd_buffer);
#  175|         bt_map[i] = surface_state.offset + state_offset;
#  176|->       surface_offsets[i] = surface_state.offset;
#  177|         surface_maps[i] = surface_state.map;
#  178|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2029]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:177:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:177:23: note: write of 8 bytes to beyond the end of ‘surface_maps’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_blorp_exec.c:177:23: note: valid subscripts for ‘surface_maps’ are ‘[0]’ to ‘[1]’
#  175|         bt_map[i] = surface_state.offset + state_offset;
#  176|         surface_offsets[i] = surface_state.offset;
#  177|->       surface_maps[i] = surface_state.map;
#  178|      }
#  179|   

Error: COMPILER_WARNING (CWE-563): [#def2030]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_cmd_buffer.c:896:40: warning[-Wunused-variable]: unused variable ‘isl_mod_info’
#  896 |    const struct isl_drm_modifier_info *isl_mod_info =
#      |                                        ^~~~~~~~~~~~
#  894|             (final_layout != VK_IMAGE_LAYOUT_UNDEFINED &&
#  895|              final_layout != VK_IMAGE_LAYOUT_PREINITIALIZED));
#  896|->    const struct isl_drm_modifier_info *isl_mod_info =
#  897|         image->vk.tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT
#  898|         ? isl_drm_modifier_get_info(image->vk.drm_format_mod)

Error: COMPILER_WARNING (CWE-563): [#def2031]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_cmd_buffer.c: scope_hint: In function ‘transition_color_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_cmd_buffer.c:1090:23: warning[-Wunused-but-set-variable]: variable ‘final_aux_usage’ set but not used
# 1090 |    enum isl_aux_usage final_aux_usage =
#      |                       ^~~~~~~~~~~~~~~
# 1088|      enum isl_aux_usage initial_aux_usage =
# 1089|         anv_layout_to_aux_usage(devinfo, image, aspect, 0, initial_layout);
# 1090|->    enum isl_aux_usage final_aux_usage =
# 1091|         anv_layout_to_aux_usage(devinfo, image, aspect, 0, final_layout);
# 1092|      enum anv_fast_clear_type initial_fast_clear =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2032]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c:99:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:2963:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#   97|   
#   98|      /* Pull inputs_read out of the VS prog data */
#   99|->    const uint64_t inputs_read = vs_prog_data->inputs_read;
#  100|      const uint64_t double_inputs_read =
#  101|         vs_prog_data->double_inputs_read & inputs_read;

Error: COMPILER_WARNING (CWE-563): [#def2033]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c:159:16: warning[-Wunused-variable]: unused variable ‘binding’
#  159 |       uint32_t binding = vi->attributes[a].binding;
#      |                ^~~~~~~
#  157|         assume(format < ISL_NUM_FORMATS);
#  158|   
#  159|->       uint32_t binding = vi->attributes[a].binding;
#  160|         assert(binding < MAX_VBS);
#  161|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2034]
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c:1398:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:2964:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/anv_private.h:2965:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan_hasvk/genX_pipeline.c:1389:4: note: in expansion of macro ‘anv_batch_emit’
# 1396|         hs.MaximumNumberofThreads = devinfo->max_tcs_threads - 1;
# 1397|         hs.IncludeVertexHandles = true;
# 1398|->       hs.InstanceCount = tcs_prog_data->instances - 1;
# 1399|   
# 1400|         hs.VertexURBEntryReadLength = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2035]
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c: scope_hint: In function ‘drm_construct_id_path_tag’
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c:344:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  342|            name = strdup(name + 1);
#  343|   
#  344|->       address = strchr(name, '@');
#  345|         if (address) {
#  346|            *address++ = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2036]
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c: scope_hint: In function ‘loader_get_user_preferred_fd’
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c:560:44: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c:36: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  558|      }
#  559|   
#  560|->    bool is_render_and_display_gpu_diff = !!strcmp(default_tag, prime.str);
#  561|      if (original_fd) {
#  562|         if (is_render_and_display_gpu_diff) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def2037]
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader.c:576:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
#  574|      free(default_tag);
#  575|      free(prime.str);
#  576|->    return is_render_and_display_gpu_diff;
#  577|    err:
#  578|      log_(debug ? _LOADER_WARNING : _LOADER_INFO,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2038]
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader_dri_helper.c: scope_hint: In function ‘loader_update_screen_resources’
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader_dri_helper.c:248:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
#  246|      for (unsigned c = 0; c < res->num_crtcs; c++) {
#  247|         crtc_cookies[c] =
#  248|->          xcb_randr_get_crtc_info_unchecked(res->conn, res->crtcs[c].id,
#  249|                                              res->config_timestamp);
#  250|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2039]
mesa-24.2.6-build/mesa-24.2.6/src/loader/loader_dri_helper.c:304:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
#  302|      for (unsigned c = 0; c < reply->num_crtcs; c++) {
#  303|         crtc_cookies[c] =
#  304|->          xcb_randr_get_crtc_info_unchecked(res->conn, new_crtcs[c],
#  305|                                              res->config_timestamp);
#  306|      }

Error: GCC_ANALYZER_WARNING (CWE-131): [#def2040]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/accum.c: scope_hint: In function ‘accum_or_load’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/accum.c:235:14: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  233|         GLfloat (*rgba)[4];
#  234|   
#  235|->       rgba = malloc(width * 4 * sizeof(GLfloat));
#  236|         if (rgba) {
#  237|            for (j = 0; j < height; j++) {

Error: GCC_ANALYZER_WARNING (CWE-131): [#def2041]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/accum.c: scope_hint: In function ‘accum_return’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/accum.c:328:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  326|            GLfloat (*rgba)[4], (*dest)[4];
#  327|   
#  328|->          rgba = malloc(width * 4 * sizeof(GLfloat));
#  329|            dest = malloc(width * 4 * sizeof(GLfloat));
#  330|   

Error: GCC_ANALYZER_WARNING (CWE-131): [#def2042]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/accum.c:329:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  327|   
#  328|            rgba = malloc(width * 4 * sizeof(GLfloat));
#  329|->          dest = malloc(width * 4 * sizeof(GLfloat));
#  330|   
#  331|            if (rgba && dest) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2043]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c: scope_hint: In function ‘_mesa_BeginFragmentShaderATI’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c:345:41: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(12, 6)’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c:331:4: note: in expansion of macro ‘FLUSH_VERTICES’
#  343|      /* malloc the instructions here - not sure if the best place but its
#  344|         a start */
#  345|->    for (i = 0; i < MAX_NUM_PASSES_ATI; i++) {
#  346|         ctx->ATIFragmentShader.Current->Instructions[i] =
#  347|   	 calloc(sizeof(struct atifs_instruction),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2044]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c:350:10: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(112, 8)’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/atifragshader.c:331:4: note: in expansion of macro ‘FLUSH_VERTICES’
#  348|                   MAX_NUM_INSTRUCTIONS_PER_PASS_ATI);
#  349|         ctx->ATIFragmentShader.Current->SetupInst[i] =
#  350|-> 	 calloc(sizeof(struct atifs_setupinst),
#  351|                   MAX_NUM_FRAGMENT_REGISTERS_ATI);
#  352|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2045]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘new_gl_buffer_object’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c:1271:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_mesa_bufferobj_alloc(ctx,  id)’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c:1246:35: note: in expansion of macro ‘CALLOC_STRUCT’
# 1269|      struct gl_buffer_object *buf = _mesa_bufferobj_alloc(ctx, id);
# 1270|   
# 1271|->    buf->Ctx = ctx;
# 1272|      buf->RefCount++; /* global buffer reference held by the context */
# 1273|      return buf;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2046]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘bufferobj_invalidate’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c:5105:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘bufferobj_invalidate’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘bufferobj_invalidate’
# 5103|   
# 5104|      /* We ignore partial invalidates. */
# 5105|->    if (offset != 0 || size != obj->Size)
# 5106|         return;
# 5107|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2047]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘_mesa_InvalidateBufferData_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c:5192:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.c: scope_hint: In function ‘_mesa_InvalidateBufferData_no_error’
# 5190|   
# 5191|      struct gl_buffer_object *bufObj =_mesa_lookup_bufferobj(ctx, buffer);
# 5192|->    invalidate_buffer_subdata(ctx, bufObj, 0, bufObj->Size);
# 5193|   }
# 5194|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2048]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c:1135:4: note: in expansion of macro ‘ASSERT_OUTSIDE_BEGIN_END’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
#  223|                                 struct gl_buffer_object *bufObj)
#  224|   {
#  225|->    if (*ptr != bufObj)
#  226|         _mesa_reference_buffer_object_(ctx, ptr, bufObj, false);
#  227|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2049]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c:1135:4: note: in expansion of macro ‘ASSERT_OUTSIDE_BEGIN_END’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
#  223|                                 struct gl_buffer_object *bufObj)
#  224|   {
#  225|->    if (*ptr != bufObj)
#  226|         _mesa_reference_buffer_object_(ctx, ptr, bufObj, false);
#  227|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2050]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/condrender.c:88:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/condrender.c: scope_hint: In function ‘BeginConditionalRender’
#   86|      }
#   87|   
#   88|->    cso_set_render_condition(st->cso_context, q->pq, inverted, m);
#   89|   }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2051]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c: scope_hint: In function ‘_mesa_new_nop_table’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.c:850:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘table’
#  848|         _glapi_proc *entry = (_glapi_proc *) table;
#  849|         for (unsigned i = 0; i < numEntries; i++)
#  850|->          entry[i] = (_glapi_proc)glthread_nop;
#  851|      }
#  852|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2052]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c: scope_hint: In function ‘write_ppm’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:249:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  247|               int yy = invert ? (height - 1 - y) : y;
#  248|               int i = (yy * width + x) * comps;
#  249|->             fputc(ptr[i+rcomp], f); /* write red */
#  250|               fputc(ptr[i+gcomp], f); /* write green */
#  251|               fputc(ptr[i+bcomp], f); /* write blue */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2053]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_depth_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:504:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
#  502|      /* spread 24 bits of Z across R, G, B */
#  503|      for (i = 0; i < w * h; i++) {
#  504|->       buf2[i*3+0] = (buf[i] >> 24) & 0xff;
#  505|         buf2[i*3+1] = (buf[i] >> 16) & 0xff;
#  506|         buf2[i*3+2] = (buf[i] >>  8) & 0xff;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2054]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_stencil_buffer’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:539:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
#  537|   
#  538|      for (i = 0; i < w * h; i++) {
#  539|->       buf2[i*3+0] = buf[i];
#  540|         buf2[i*3+1] = (buf[i] & 127) * 2;
#  541|         buf2[i*3+2] = (buf[i] - 128) * 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2055]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapdvARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:519:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  517|            }
#  518|            else {
#  519|->             data = map2d->Points;
#  520|               n = map2d->Uorder * map2d->Vorder * comps;
#  521|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2056]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:542:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  540|               if (bufSize < numBytes)
#  541|                  goto overflow;
#  542|->             v[0] = (GLdouble) map2d->Uorder;
#  543|               v[1] = (GLdouble) map2d->Vorder;
#  544|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2057]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:558:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  556|               if (bufSize < numBytes)
#  557|                  goto overflow;
#  558|->             v[0] = (GLdouble) map2d->u1;
#  559|               v[1] = (GLdouble) map2d->u2;
#  560|               v[2] = (GLdouble) map2d->v1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2058]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapfvARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:609:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  607|            }
#  608|            else {
#  609|->             data = map2d->Points;
#  610|               n = map2d->Uorder * map2d->Vorder * comps;
#  611|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2059]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:632:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  630|               if (bufSize < numBytes)
#  631|                  goto overflow;
#  632|->             v[0] = (GLfloat) map2d->Uorder;
#  633|               v[1] = (GLfloat) map2d->Vorder;
#  634|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2060]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:648:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  646|               if (bufSize < numBytes)
#  647|                  goto overflow;
#  648|->             v[0] = map2d->u1;
#  649|               v[1] = map2d->u2;
#  650|               v[2] = map2d->v1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2061]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapivARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:701:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  699|            }
#  700|            else {
#  701|->             data = map2d->Points;
#  702|               n = map2d->Uorder * map2d->Vorder * comps;
#  703|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2062]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:724:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  722|               if (bufSize < numBytes)
#  723|                  goto overflow;
#  724|->             v[0] = map2d->Uorder;
#  725|               v[1] = map2d->Vorder;
#  726|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2063]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/eval.c:740:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  738|               if (bufSize < numBytes)
#  739|                  goto overflow;
#  740|->             v[0] = lroundf(map2d->u1);
#  741|               v[1] = lroundf(map2d->u2);
#  742|               v[2] = lroundf(map2d->v1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2064]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c:225:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘_mesa_FramebufferRenderbuffer_sw’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘_mesa_FramebufferRenderbuffer_sw’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘_mesa_FramebufferRenderbuffer_sw’
#  223|   invalidate_framebuffer(struct gl_framebuffer *fb)
#  224|   {
#  225|->    fb->_Status = 0; /* "indeterminate" */
#  226|   }
#  227|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2065]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘remove_attachment’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c:485:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘att’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c:37: included_from: Included from here.
#  483|                     struct gl_renderbuffer_attachment *att)
#  484|   {
#  485|->    struct gl_renderbuffer *rb = att->Renderbuffer;
#  486|   
#  487|      /* tell driver that we're done rendering to this texture. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2066]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c:5679:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/fbobject.c: scope_hint: In function ‘sample_locations’
# 5677|      }
# 5678|   
# 5679|->    if (!fb->SampleLocationTable) {
# 5680|         size_t size = MAX_SAMPLE_LOCATION_TABLE_SIZE * 2 * sizeof(GLfloat);
# 5681|         fb->SampleLocationTable = malloc(size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2067]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/feedback.c: scope_hint: In function ‘update_hit_record’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/feedback.c:365:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
#  363|            bool gpu_hit = false;
#  364|            if (metadata[1]) {
#  365|->             gpu_hit = !!result[index];
#  366|   
#  367|               if (gpu_hit) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2068]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:131:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bytes’
#  129|      assert(info->BytesPerBlock <= MAX_PIXEL_BYTES ||
#  130|             _mesa_is_format_compressed(format));
#  131|->    return info->BytesPerBlock;
#  132|   }
#  133|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2069]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:151:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  149|      case GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE:
#  150|      case GL_INTERNALFORMAT_RED_SIZE:
#  151|->       return info->RedBits;
#  152|      case GL_GREEN_BITS:
#  153|      case GL_TEXTURE_GREEN_SIZE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2070]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:157:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  155|      case GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:
#  156|      case GL_INTERNALFORMAT_GREEN_SIZE:
#  157|->       return info->GreenBits;
#  158|      case GL_BLUE_BITS:
#  159|      case GL_TEXTURE_BLUE_SIZE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2071]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:163:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  161|      case GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:
#  162|      case GL_INTERNALFORMAT_BLUE_SIZE:
#  163|->       return info->BlueBits;
#  164|      case GL_ALPHA_BITS:
#  165|      case GL_TEXTURE_ALPHA_SIZE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2072]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:169:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  167|      case GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:
#  168|      case GL_INTERNALFORMAT_ALPHA_SIZE:
#  169|->       return info->AlphaBits;
#  170|      case GL_TEXTURE_INTENSITY_SIZE:
#  171|         return info->IntensityBits;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2073]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:171:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  169|         return info->AlphaBits;
#  170|      case GL_TEXTURE_INTENSITY_SIZE:
#  171|->       return info->IntensityBits;
#  172|      case GL_TEXTURE_LUMINANCE_SIZE:
#  173|         return info->LuminanceBits;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2074]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:173:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  171|         return info->IntensityBits;
#  172|      case GL_TEXTURE_LUMINANCE_SIZE:
#  173|->       return info->LuminanceBits;
#  174|      case GL_INDEX_BITS:
#  175|         return 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2075]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:181:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  179|      case GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:
#  180|      case GL_INTERNALFORMAT_DEPTH_SIZE:
#  181|->       return info->DepthBits;
#  182|      case GL_STENCIL_BITS:
#  183|      case GL_TEXTURE_STENCIL_SIZE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2076]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:187:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
#  185|      case GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:
#  186|      case GL_INTERNALFORMAT_STENCIL_SIZE:
#  187|->       return info->StencilBits;
#  188|      default:
#  189|         _mesa_problem(NULL, "bad pname in _mesa_get_format_bits()");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2077]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/menums.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/errors.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_max_bits’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:199:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_max_bits’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:31: note: in definition of macro ‘MAX2’
#  197|   {
#  198|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  199|->    unsigned int max = MAX2(info->RedBits, info->GreenBits);
#  200|      max = MAX2(max, info->BlueBits);
#  201|      max = MAX2(max, info->AlphaBits);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2078]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:217:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_latc’
#  215|   {
#  216|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  217|->    return info->Layout;
#  218|   }
#  219|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2079]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_datatype’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:235:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_datatype’
#  233|   {
#  234|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  235|->    return info->DataType;
#  236|   }
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2080]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_base_format’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:324:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_base_format’
#  322|      if (!_mesa_format_is_mesa_array_format(format)) {
#  323|         const struct mesa_format_info *info = _mesa_get_format_info(format);
#  324|->       return info->BaseFormat;
#  325|      } else {
#  326|         return get_base_format_for_array_format(format);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2081]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:346:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size’
#  344|      assert(info->BlockDepth == 1);
#  345|   
#  346|->    *bw = info->BlockWidth;
#  347|      *bh = info->BlockHeight;
#  348|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2082]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size_3d’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:366:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size_3d’
#  364|   {
#  365|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  366|->    *bw = info->BlockWidth;
#  367|      *bh = info->BlockHeight;
#  368|      *bd = info->BlockDepth;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2083]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_swizzle’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:395:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_swizzle’
#  393|   {
#  394|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  395|->    memcpy(swizzle_out, info->Swizzle, sizeof(info->Swizzle));
#  396|   }
#  397|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2084]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:441:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_to_array_format’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_to_array_format’
#  439|      else
#  440|   #endif
#  441|->       return info->ArrayFormat;
#  442|   }
#  443|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2085]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_compressed’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:531:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_compressed’
#  529|   {
#  530|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  531|->    return info->BlockWidth > 1 || info->BlockHeight > 1;
#  532|   }
#  533|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2086]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_packed_depth_stencil’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:543:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_packed_depth_stencil’
#  541|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  542|   
#  543|->    return info->BaseFormat == GL_DEPTH_STENCIL;
#  544|   }
#  545|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2087]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer_color’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:554:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer_color’
#  552|   {
#  553|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  554|->    return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) &&
#  555|         info->BaseFormat != GL_DEPTH_COMPONENT &&
#  556|         info->BaseFormat != GL_DEPTH_STENCIL &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2088]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_unsigned’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:568:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_unsigned’
#  566|   {
#  567|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  568|->    return _mesa_is_type_unsigned(info->DataType);
#  569|   }
#  570|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2089]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_signed’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:585:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_signed’
#  583|      else {
#  584|         const struct mesa_format_info *info = _mesa_get_format_info(format);
#  585|->       return (info->DataType == GL_SIGNED_NORMALIZED ||
#  586|                 info->DataType == GL_INT ||
#  587|                 info->DataType == GL_FLOAT);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2090]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:598:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer’
#  596|   {
#  597|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  598|->    return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT);
#  599|   }
#  600|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2091]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_color_format’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:609:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_color_format’
#  607|   {
#  608|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  609|->    switch (info->BaseFormat) {
#  610|      case GL_DEPTH_COMPONENT:
#  611|      case GL_STENCIL_INDEX:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2092]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_srgb’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:623:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_srgb’
#  621|   {
#  622|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  623|->    return info->IsSRGBFormat;
#  624|   }
#  625|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2093]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_astc_2d’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:644:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_astc_2d’
#  642|   {
#  643|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  644|->    return info->Layout == MESA_FORMAT_LAYOUT_ASTC && info->BlockDepth == 1;
#  645|   }
#  646|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2094]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_num_components’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:763:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_num_components’
#  761|   {
#  762|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  763|->    return ((info->RedBits > 0) +
#  764|              (info->GreenBits > 0) +
#  765|              (info->BlueBits > 0) +

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2095]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:789:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
#  787|      switch (component) {
#  788|      case 0:
#  789|->       return (info->RedBits + info->IntensityBits + info->LuminanceBits) > 0;
#  790|      case 1:
#  791|         return (info->GreenBits + info->IntensityBits + info->LuminanceBits) > 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2096]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:791:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
#  789|         return (info->RedBits + info->IntensityBits + info->LuminanceBits) > 0;
#  790|      case 1:
#  791|->       return (info->GreenBits + info->IntensityBits + info->LuminanceBits) > 0;
#  792|      case 2:
#  793|         return (info->BlueBits + info->IntensityBits + info->LuminanceBits) > 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2097]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:793:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
#  791|         return (info->GreenBits + info->IntensityBits + info->LuminanceBits) > 0;
#  792|      case 2:
#  793|->       return (info->BlueBits + info->IntensityBits + info->LuminanceBits) > 0;
#  794|      case 3:
#  795|         return (info->AlphaBits + info->IntensityBits) > 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2098]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:795:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
#  793|         return (info->BlueBits + info->IntensityBits + info->LuminanceBits) > 0;
#  794|      case 3:
#  795|->       return (info->AlphaBits + info->IntensityBits) > 0;
#  796|      default:
#  797|         assert(!"Invalid color component: must be 0..3");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2099]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:814:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size’
#  812|      uint32_t sz;
#  813|      /* Strictly speaking, a conditional isn't needed here */
#  814|->    if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) {
#  815|         /* compressed format (2D only for now) */
#  816|         const uint32_t bw = info->BlockWidth;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2100]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size64’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:842:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size64’
#  840|      uint64_t sz;
#  841|      /* Strictly speaking, a conditional isn't needed here */
#  842|->    if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) {
#  843|         /* compressed format (2D only for now) */
#  844|         const uint64_t bw = info->BlockWidth;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2101]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_row_stride’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c:866:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_row_stride’
#  864|      const struct mesa_format_info *info = _mesa_get_format_info(format);
#  865|      /* Strictly speaking, a conditional isn't needed here */
#  866|->    if (info->BlockWidth > 1 || info->BlockHeight > 1) {
#  867|         /* compressed format */
#  868|         const uint32_t bw = info->BlockWidth;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2102]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_spirv_shader_binary’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c:108:22: warning[-Wanalyzer-malloc-leak]: leak of ‘module’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_atomic.h:43:48: note: in definition of macro ‘p_atomic_set’
#  106|      memcpy(&module->Binary[0], binary, length);
#  107|   
#  108|->    for (int i = 0; i < n; ++i) {
#  109|         struct gl_shader *sh = shaders[i];
#  110|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2103]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_spirv_to_nir’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c:260:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
#  258|   
#  259|      for (unsigned i = 0; i < spirv_data->NumSpecializationConstants; ++i) {
#  260|->       spec_entries[i].id = spirv_data->SpecializationConstantsIndex[i];
#  261|         spec_entries[i].value.u32 = spirv_data->SpecializationConstantsValue[i];
#  262|         spec_entries[i].defined_on_module = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2104]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_SpecializeShaderARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glspirv.c:408:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
#  406|   
#  407|      for (unsigned i = 0; i < numSpecializationConstants; ++i) {
#  408|->       spec_entries[i].id = pConstantIndex[i];
#  409|         spec_entries[i].value.u32 = pConstantValue[i];
#  410|         spec_entries[i].defined_on_module = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2105]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c: scope_hint: In function ‘_mesa_glthread_upload’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:143:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*ctx.GLThread.upload_buffer’
#  141|          * This can increase performance by 20%.
#  142|          */
#  143|->       glthread->upload_buffer->RefCount += default_size;
#  144|         glthread->upload_buffer_private_refcount = default_size;
#  145|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2106]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:143:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  141|          * This can increase performance by 20%.
#  142|          */
#  143|->       glthread->upload_buffer->RefCount += default_size;
#  144|         glthread->upload_buffer_private_refcount = default_size;
#  145|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2107]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread_bufferobj.c:143:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘upload_buffer’
#  141|          * This can increase performance by 20%.
#  142|          */
#  143|->       glthread->upload_buffer->RefCount += default_size;
#  144|         glthread->upload_buffer_private_refcount = default_size;
#  145|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2108]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/vbo/vbo.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:58: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_image’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:157:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:157:15: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
#  155|              __tmp.f = (FLT);						\
#  156|              if (__tmp.i < 0)						\
#  157|->               UB = (GLubyte) 0;						\
#  158|              else if (__tmp.i >= IEEE_ONE)				\
#  159|                 UB = (GLubyte) 255;					\

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2109]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:159:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:159:15: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
#  157|                 UB = (GLubyte) 0;						\
#  158|              else if (__tmp.i >= IEEE_ONE)				\
#  159|->               UB = (GLubyte) 255;					\
#  160|              else {							\
#  161|                 __tmp.f = __tmp.f * (255.0F/256.0F) + 32768.0F;		\

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2110]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:162:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
#  160|              else {							\
#  161|                 __tmp.f = __tmp.f * (255.0F/256.0F) + 32768.0F;		\
#  162|->               UB = (GLubyte) __tmp.i;					\
#  163|              }								\
#  164|           } while (0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2111]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:169:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c:1625:7: note: in expansion of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c:1625:7: note: in expansion of macro ‘CLAMPED_FLOAT_TO_UBYTE’
#  167|              fi_type __tmp;						\
#  168|              __tmp.f = (FLT) * (255.0F/256.0F) + 32768.0F;		\
#  169|->            UB = (GLubyte) __tmp.i;					\
#  170|           } while (0)
#  171|   #else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2112]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c: scope_hint: In function ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c:1625:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
# 1623|      dst = malloc(count * 4 * sizeof(GLubyte));
# 1624|      for (i = 0; i < count; i++) {
# 1625|->       CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 0], rgba[i * 4 + 0]);
# 1626|         CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 1], rgba[i * 4 + 1]);
# 1627|         CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 2], rgba[i * 4 + 2]);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2113]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/pack.c:1625:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
# 1623|      dst = malloc(count * 4 * sizeof(GLubyte));
# 1624|      for (i = 0; i < count; i++) {
# 1625|->       CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 0], rgba[i * 4 + 0]);
# 1626|         CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 1], rgba[i * 4 + 1]);
# 1627|         CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 2], rgba[i * 4 + 2]);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2114]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:2151:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*source’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_ShaderSource’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:40: included_from: Included from here.
/usr/include/string.h: scope_hint: In function ‘_mesa_ShaderSource’
/usr/include/string.h:407:15: note: argument 1 of ‘strlen’ must be a pointer to a null-terminated string
# 2149|      /* Compute the original source blake3 before shader replacement. */
# 2150|      blake3_hash original_blake3;
# 2151|->    _mesa_blake3_compute(source, strlen(source), original_blake3);
# 2152|   
# 2153|   #ifdef ENABLE_SHADER_CACHE

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2115]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘valid_path_format’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3288:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘str’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘valid_path_format’
# 3286|      int i = 0;
# 3287|   
# 3288|->    if (!str[i] || (!relative_path && str[i] != '/'))
# 3289|         return false;
# 3290|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2116]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3493:41: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx,  string,  stringlen, "glNamedStringARB")’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:38: included_from: Included from here.
# 3491|         cp = strdup(str);
# 3492|      else {
# 3493|->       cp = calloc(sizeof(char), str_len + 1);
# 3494|         memcpy(cp, str, str_len);
# 3495|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2117]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘copy_string’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3494:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cp’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3492|      else {
# 3493|         cp = calloc(sizeof(char), str_len + 1);
# 3494|->       memcpy(cp, str, str_len);
# 3495|      }
# 3496|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2118]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_NamedStringARB’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3514:8: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx,  string,  stringlen, "glNamedStringARB")’
# 3512|      char *name_cp = copy_string(ctx, name, namelen, caller);
# 3513|      char *string_cp = copy_string(ctx, string, stringlen, caller);
# 3514|->    if (!name_cp || !string_cp) {
# 3515|         free(string_cp);
# 3516|         free(name_cp);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2119]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3544:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sh_incl_ht_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3537:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
# 3542|         if (!ht_entry) {
# 3543|            sh_incl_ht_entry = calloc(1, sizeof(struct sh_incl_path_ht_entry));
# 3544|->          sh_incl_ht_entry->path =
# 3545|               _mesa_hash_table_create(NULL, _mesa_hash_string,
# 3546|                                       _mesa_key_string_equal);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2120]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3547:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*entry.path)’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shaderapi.c:3537:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
# 3545|               _mesa_hash_table_create(NULL, _mesa_hash_string,
# 3546|                                       _mesa_key_string_equal);
# 3547|->          _mesa_hash_table_insert(path_ht, strdup(entry->path),
# 3548|                                    sh_incl_ht_entry);
# 3549|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2121]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/syncobj.c: scope_hint: In function ‘_mesa_unref_sync_object’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/syncobj.c:202:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syncObj’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/syncobj.c:61: included_from: Included from here.
#  200|   
#  201|      simple_mtx_lock(&ctx->Shared->Mutex);
#  202|->    syncObj->RefCount -= amount;
#  203|      if (syncObj->RefCount == 0) {
#  204|         entry = _mesa_set_search(ctx->Shared->SyncObjects, syncObj);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2122]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/syncobj.c: scope_hint: In function ‘wait_sync’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/syncobj.c:422:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syncObj’
#  420|      /* If the fence doesn't exist, assume it's signalled. */
#  421|      simple_mtx_lock(&syncObj->mutex);
#  422|->    if (!syncObj->fence) {
#  423|         simple_mtx_unlock(&syncObj->mutex);
#  424|         syncObj->StatusFlag = GL_TRUE;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2123]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_cpal.c:71:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘pix’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_cpal.c: scope_hint: In function ‘paletted_to_color’
<built-in>: scope_hint: In function ‘paletted_to_color’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   69|                     GLuint index, GLubyte *pixel)
#   70|   {
#   71|->    memcpy(pixel, palette + info->size * index, info->size);
#   72|      return info->size;
#   73|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2124]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_rgtc.c: scope_hint: In function ‘extractsrc_u’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_rgtc.c:57:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
#   55|         curaddr = srcaddr + j * srcRowStride * comps;
#   56|         for (i = 0; i < numxpixels; i++) {
#   57|->          srcpixels[j][i] = *curaddr;
#   58|            curaddr += comps;
#   59|         }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2125]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_rgtc.c: scope_hint: In function ‘extractsrc_s’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_rgtc.c:71:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
#   69|         curaddr = srcaddr + j * srcRowStride * comps;
#   70|         for (i = 0; i < numxpixels; i++) {
#   71|->          srcpixels[j][i] = *curaddr;
#   72|            curaddr += comps;
#   73|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2126]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texobj.c: scope_hint: In function ‘_mesa_InvalidateTexSubImage’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texobj.c:2262:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2260|          *     equal to one."
# 2261|          */
# 2262|->       switch (t->Target) {
# 2263|         case GL_TEXTURE_BUFFER:
# 2264|            xBorder = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2127]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c: scope_hint: In function ‘rehash’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c:94:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘items’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   92|      size = cache->size * 3;
#   93|      items = malloc(size * sizeof(*items));
#   94|->    memset(items, 0, size * sizeof(*items));
#   95|   
#   96|      for (i = 0; i < cache->size; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2128]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c: scope_hint: In function ‘_mesa_program_cache_insert’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c:203:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘c’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c:201:27: note: in expansion of macro ‘CALLOC_STRUCT’
#  201|      struct cache_item *c = CALLOC_STRUCT(cache_item);
#  202|   
#  203|->    c->hash = hash;
#  204|   
#  205|      c->key = malloc(keysize);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2129]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_cache.c:206:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)keysize)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  204|   
#  205|      c->key = malloc(keysize);
#  206|->    memcpy(c->key, key, keysize);
#  207|      c->keysize = keysize;
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2130]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c: scope_hint: In function ‘ptn_get_src’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:192:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘chans[3]’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_instruction.h:60:35: note: in definition of macro ‘GET_SWZ’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘ptn_get_src’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/prog_to_nir.c: scope_hint: In function ‘ptn_get_src’
#  190|               chans[i] = nir_fneg(b, chans[i]);
#  191|         }
#  192|->       def = nir_vec4(b, chans[0], chans[1], chans[2], chans[3]);
#  193|      }
#  194|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2131]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l: scope_hint: In function ‘handle_ident’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:131:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*lval.inst’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:1486:21: note: in expansion of macro ‘yylex’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/mesa/program/lex.yy.c:1507:1: note: in expansion of macro ‘YY_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:188:3: note: in expansion of macro ‘return_opcode’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:188:3: note: in expansion of macro ‘return_opcode’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/program/program_lexer.l:188:3: note: in expansion of macro ‘return_opcode’
#  129|      lval->string = strdup(text);
#  130|   
#  131|->    return (_mesa_symbol_table_find_symbol(state->st, text) == NULL)
#  132|         ? IDENTIFIER : USED_IDENTIFIER;
#  133|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2132]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atifs_to_nir.c: scope_hint: In function ‘st_nir_lower_atifs_samplers_instr’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atifs_to_nir.c:486:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  484|         nir_deref_instr *deref = nir_instr_as_deref(instr);
#  485|         nir_variable *var = nir_deref_instr_get_variable(deref);
#  486|->       if (glsl_type_is_sampler(var->type))
#  487|            deref->type = var->type;
#  488|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2133]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atom_sampler.c: scope_hint: In function ‘st_convert_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atom_sampler.c:73:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texobj’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_atom_sampler.c: scope_hint: In function ‘st_convert_sampler’
#   71|      sampler->seamless_cube_map |= seamless_cube_map;
#   72|   
#   73|->    if (texobj->_IsIntegerFormat ||
#   74|          (texobj->_IsFloat && st->ctx->Const.ForceFloat32TexNearest)) {
#   75|         sampler->min_img_filter = PIPE_TEX_FILTER_NEAREST;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2134]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c: scope_hint: In function ‘draw_glfeedback_stage’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:201:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:191:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  199|      fs->stage.reset_stipple_counter = feedback_reset_stipple_counter;
#  200|      fs->stage.destroy = feedback_destroy;
#  201|->    fs->ctx = ctx;
#  202|   
#  203|      return &fs->stage;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2135]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:203:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:191:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  201|      fs->ctx = ctx;
#  202|   
#  203|->    return &fs->stage;
#  204|   }
#  205|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2136]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c: scope_hint: In function ‘draw_glselect_stage’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:274:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:264:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  272|      fs->stage.reset_stipple_counter = select_reset_stipple_counter;
#  273|      fs->stage.destroy = select_destroy;
#  274|->    fs->ctx = ctx;
#  275|   
#  276|      return &fs->stage;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2137]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:276:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_feedback.c:264:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  274|      fs->ctx = ctx;
#  275|   
#  276|->    return &fs->stage;
#  277|   }
#  278|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2138]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_rasterpos.c: scope_hint: In function ‘new_draw_rastpos_stage’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_rasterpos.c:205:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/arrayobj.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_rasterpos.c:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_rasterpos.c:194:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  203|      rs->stage.reset_stipple_counter = rastpos_reset_stipple_counter;
#  204|      rs->stage.destroy = rastpos_destroy;
#  205|->    rs->ctx = ctx;
#  206|   
#  207|      rs->VAO = _mesa_new_vao(ctx, ~((GLuint)0));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2139]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_texture.c: scope_hint: In function ‘compressed_tex_fallback_allocate.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_texture.c:538:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*texImage.compressed_data’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/bufferobj.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_texture.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_cb_texture.c:537:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  536|   
#  537|      texImage->compressed_data = CALLOC_STRUCT(st_compressed_data);
#  538|->    texImage->compressed_data->ptr =
#  539|         malloc(data_size * _mesa_num_tex_faces(texImage->TexObject->Target));
#  540|      pipe_reference_init(&texImage->compressed_data->reference, 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2140]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_context.c: scope_hint: In function ‘st_create_context_priv’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_context.c:439:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘st’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_context.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_context.c:437:28: note: in expansion of macro ‘CALLOC_STRUCT’
#  437|      struct st_context *st = CALLOC_STRUCT( st_context);
#  438|   
#  439|->    st->options = *options;
#  440|   
#  441|      ctx->st_opts = &st->options;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2141]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:99:12: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builtin_builder.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:99:12: note: write of 8 bytes to beyond the end of ‘v’
#   97|      nir_def *is_nan_or_inf = NULL;
#   98|      for (int i = 0; i < num_in_vert; i++) {
#   99|->       v[i] = nir_load_array_var_imm(b, in_pos, i);
#  100|         nir_def *r = has_nan_or_inf(b, v[i]);
#  101|         is_nan_or_inf = i ? nir_ior(b, is_nan_or_inf, r) : r;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2142]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:173:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:173:23: note: read of 8 bytes from after the end of ‘v’
#  171|   
#  172|         for (int j = 0; j < b->shader->info.gs.vertices_in; j++) {
#  173|->          nir_def *c = nir_channel(b, v[j], i >> 1);
#  174|            if (i & 1)
#  175|               c = nir_fneg(b, c);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2143]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:177:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_draw_hw_select.c:177:23: note: read of 8 bytes from after the end of ‘v’
#  175|               c = nir_fneg(b, c);
#  176|   
#  177|->          nir_def *r = nir_flt(b, nir_channel(b, v[j], 3), c);
#  178|            outside = j ? nir_iand(b, outside, r) : r;
#  179|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2144]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_builtin.c: scope_hint: In function ‘lower_builtin_instr’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_builtin.c:169:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_builtin.c: scope_hint: In function ‘lower_builtin_instr’
#  167|      /* built-in's will always start with "gl_" */
#  168|      nir_variable *var = nir_deref_instr_get_variable(deref);
#  169|->    if (strncmp(var->name, "gl_", 3) != 0)
#  170|         return false;
#  171|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2145]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:69:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:934:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:53:4: note: in expansion of macro ‘nir_foreach_uniform_variable’
#   67|      char *name;
#   68|   
#   69|->    UNUSED int r = asprintf(&name, "%s:%s", orig_sampler->name, ext);
#   70|      new_sampler = nir_variable_create(state->shader, nir_var_uniform,
#   71|                                samplerExternalOES, name);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2146]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_create_common_variant’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:717:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘v’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/shader_types.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:710:34: note: in expansion of macro ‘CALLOC_STRUCT’
#  715|      struct gl_program_parameter_list *params = prog->Parameters;
#  716|   
#  717|->    v->key = *key;
#  718|   
#  719|      state.stream_output = prog->state.stream_output;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2147]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_fp_variant’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:1188:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpv’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:923:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/menums.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/errors.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c:1100:8: note: in expansion of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_fp_variant’
# 1186|      }
# 1187|   
# 1188|->    return fpv;
# 1189|   }
# 1190|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2148]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:237:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:484:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:484:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c:258:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
#  235|   {
#  236|      /* If it's unreachable, there is no merge */
#  237|->    if (block->imm_dom == NULL)
#  238|         return false;
#  239|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2149]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:93:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nus.pred’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:407:4: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘try_hoist_ldcx_handles_block’
#   91|   def_needs_hoist(nir_def *def, nir_block *target)
#   92|   {
#   93|->    return def->parent_instr->block->index > target->index;
#   94|   }
#   95|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2150]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:93:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘target’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:426:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:407:4: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:179:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c: scope_hint: In function ‘can_hoist_def’
#   91|   def_needs_hoist(nir_def *def, nir_block *target)
#   92|   {
#   93|->    return def->parent_instr->block->index > target->index;
#   94|   }
#   95|   

Error: COMPILER_WARNING: [#def2151]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104_sim.c:247:32: warning[-Warray-bounds=]: array subscript 4294967295 is above array bounds of ‘const uint16_t[2]’ {aka ‘const short unsigned int[2]’}
#  247 |       return (int16_t)inst->imm[imm_idx];
#      |                       ~~~~~~~~~^~~~~~~~~
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104.h:162:13: note: while referencing ‘imm’
#  162 |    uint16_t imm[2];
#      |             ^~~
#  245|         assert(imm_idx < 2);
#  246|         /* Immediates are treated as signed for ALU ops */
#  247|->       return (int16_t)inst->imm[imm_idx];
#  248|      case MME_TU104_REG_IMMPAIR:
#  249|         assert(imm_idx < 2);

Error: COMPILER_WARNING: [#def2152]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104_sim.c:251:32: warning[-Warray-bounds=]: array subscript 2 is above array bounds of ‘const uint16_t[2]’ {aka ‘const short unsigned int[2]’}
#  251 |       return (int16_t)inst->imm[1 - imm_idx];
#      |                       ~~~~~~~~~^~~~~~~~~~~~~
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104_sim.c:9: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/mme/mme_tu104.h:162:13: note: while referencing ‘imm’
#  162 |    uint16_t imm[2];
#      |             ^~~
#  249|         assert(imm_idx < 2);
#  250|         /* Immediates are treated as signed for ALU ops */
#  251|->       return (int16_t)inst->imm[1 - imm_idx];
#  252|      case MME_TU104_REG_IMM32:
#  253|         return ((uint32_t)inst->imm[0] << 16) | inst->imm[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2153]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c: scope_hint: In function ‘nvk_queue_buffer_bind’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:311:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘binds’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:305:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:305:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:305:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_buffer.c:305:4: note: in expansion of macro ‘STACK_ARRAY’
#  309|         VK_FROM_HANDLE(nvk_device_memory, mem, bind->memory);
#  310|   
#  311|->       binds[i] = (struct nvkmd_ctx_bind) {
#  312|            .op = mem ? NVKMD_BIND_OP_BIND : NVKMD_BIND_OP_UNBIND,
#  313|            .va = buffer->va,

Error: COMPILER_WARNING (CWE-563): [#def2154]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_comp_size’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_cmd_copy.c:143:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
#  143 |    static const uint8_t to_90b5[] = {
#      |                         ^~~~~~~
#  141|   to_90b5_remap_comp_size(uint8_t comp_size)
#  142|   {
#  143|->    static const uint8_t to_90b5[] = {
#  144|         [1] = NV90B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_ONE,
#  145|         [2] = NV90B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_TWO,

Error: COMPILER_WARNING (CWE-563): [#def2155]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_num_comps’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_cmd_copy.c:159:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
#  159 |    static const uint8_t to_90b5[] = {
#      |                         ^~~~~~~
#  157|   to_90b5_remap_num_comps(uint8_t num_comps)
#  158|   {
#  159|->    static const uint8_t to_90b5[] = {
#  160|         [1] = NV90B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_ONE,
#  161|         [2] = NV90B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_TWO,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2156]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_codegen.c: scope_hint: In function ‘lower_image_size_to_txs.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_codegen.c:193:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_codegen.c: scope_hint: In function ‘lower_image_size_to_txs.part.0’
#  191|   
#  192|      nir_deref_instr *img = nir_src_as_deref(intrin->src[0]);
#  193|->    nir_def *lod = nir_tex_type_has_lod(img->type) ?
#  194|                         intrin->src[1].ssa : NULL;
#  195|      nir_def *size = nir_txs_deref(b, img, lod);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2157]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c: scope_hint: In function ‘write_sampled_image_view_desc’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:80:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:680:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:680:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c: scope_hint: In function ‘write_sampled_image_view_desc’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
#   78|            sampler = binding_layout->immutable_samplers[elem];
#   79|         } else {
#   80|->          sampler = nvk_sampler_from_handle(info->sampler);
#   81|         }
#   82|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2158]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:92:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:92:36: note: write of 12 bits to beyond the end of ‘desc’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set.c:92:36: note: valid subscripts for ‘desc’ are ‘[0]’ to ‘[2]’
#   90|            uint8_t sampler_plane = MIN2(plane, sampler->plane_count - 1);
#   91|            assert(sampler->planes[sampler_plane].desc_index < (1 << 12));
#   92|->          desc[plane].sampler_index = sampler->planes[sampler_plane].desc_index;
#   93|         }
#   94|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2159]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:101:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_GetDescriptorSetLayoutSupport’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:316:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:316:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:319:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:319:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_GetDescriptorSetLayoutSupport’
#   99|         assert(info != NULL);
#  100|         assert(info_idx < info->mutableDescriptorTypeListCount);
#  101|->       type_list = &info->pMutableDescriptorTypeLists[info_idx];
#  102|      }
#  103|      return type_list;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2160]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:146:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:137:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:138:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c:140:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:388:36: note: in definition of macro ‘ALIGN_POT’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
#  144|         return vk_error(dev, VK_ERROR_OUT_OF_HOST_MEMORY);
#  145|   
#  146|->    layout->binding_count = num_bindings;
#  147|   
#  148|      for (uint32_t j = 0; j < pCreateInfo->bindingCount; j++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2161]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c: scope_hint: In function ‘nvk_MapMemory2KHR’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c:289:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c:287:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c:287:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_device_memory.c: scope_hint: In function ‘nvk_MapMemory2KHR’
#  287|            vk_find_struct_const(pMemoryMapInfo->pNext, MEMORY_MAP_PLACED_INFO_EXT);
#  288|         map_flags |= NVKMD_MEM_MAP_FIXED;
#  289|->       fixed_addr = placed_info->pPlacedAddress;
#  290|      }
#  291|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2162]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:754:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:734:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:734:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:746:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:746:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
#  752|               nil_select_best_drm_format_mod(&pdev->info, nil_format(p_format),
#  753|                                              mod_list_info->drmFormatModifierCount,
#  754|->                                            mod_list_info->pDrmFormatModifiers);
#  755|            assert(image->vk.drm_format_mod != DRM_FORMAT_MOD_INVALID);
#  756|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2163]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_GetImageMemoryRequirements2’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1084:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1083:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1083:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_GetImageMemoryRequirements2’
# 1082|      const VkImagePlaneMemoryRequirementsInfo *plane_info =
# 1083|         vk_find_struct_const(pInfo->pNext, IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO);
# 1084|->    const VkImageAspectFlags aspects =
# 1085|         image->disjoint ? plane_info->planeAspect : image->vk.aspects;
# 1086|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2164]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_bind_image_memory’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1348:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1323:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1323:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_bind_image_memory’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1346:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1346:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_bind_image_memory’
# 1346|            vk_find_struct_const(info->pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 1347|         const uint8_t plane =
# 1348|->          nvk_image_memory_aspects_to_plane(image, plane_info->planeAspect);
# 1349|         result = nvk_image_plane_bind(dev, image, &image->planes[plane],
# 1350|                                       mem, &offset_B);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2165]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘queue_image_plane_bind’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1483:40: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nvkmd_binds’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1457:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1457:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1457:4: note: in expansion of macro ‘STACK_ARRAY’
# 1481|               image_z_tl * level_extent_tl.width * level_extent_tl.height;
# 1482|   
# 1483|->          nvkmd_binds[nvkmd_bind_idx++] = (struct nvkmd_ctx_bind) {
# 1484|               .op = mem ? NVKMD_BIND_OP_BIND : NVKMD_BIND_OP_UNBIND,
# 1485|               .va = plane->va,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2166]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘queue_image_plane_bind_mip_tail’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1666:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nvkmd_binds’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1644:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1644:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_image.c:1644:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:373:27: note: in definition of macro ‘MAX2’
# 1664|            mip_tail_offset_B + (a * mip_tail_stride_B) + a_offset_B;
# 1665|   
# 1666|->       nvkmd_binds[nvkmd_bind_idx++] = (struct nvkmd_ctx_bind) {
# 1667|            .op = mem ? NVKMD_BIND_OP_BIND : NVKMD_BIND_OP_UNBIND,
# 1668|            .va = plane->va,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2167]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘record_deref_descriptor_cbuf_use’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:174:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘record_deref_descriptor_cbuf_use’
#  172|   {
#  173|      nir_src *index_src = NULL;
#  174|->    if (deref->deref_type == nir_deref_type_array) {
#  175|         index_src = &deref->arr.index;
#  176|         deref = nir_deref_instr_parent(deref);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2168]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:229:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2807:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
#  227|      uint64_t range = glsl_get_explicit_size(deref->type, false);
#  228|      bool offset_valid = true;
#  229|->    while (deref->deref_type != nir_deref_type_cast) {
#  230|         nir_deref_instr *parent = nir_deref_instr_parent(deref);
#  231|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2169]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:243:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
#  241|               offset += nir_src_as_uint(deref->arr.index) * stride;
#  242|            } else {
#  243|->             range = glsl_get_length(parent->type) * stride;
#  244|            }
#  245|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2170]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:257:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
#  255|   
#  256|         case nir_deref_type_struct: {
#  257|->          offset += glsl_get_struct_field_offset(parent->type,
#  258|                                                   deref->strct.index);
#  259|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2171]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c: scope_hint: In function ‘nvk_queue_submit_exec’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:332:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘execs’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.h:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:5: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:325:7: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:325:7: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:325:7: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/rmv/vk_rmv_common.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.h:10: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:328:7: note: in expansion of macro ‘util_dynarray_foreach’
#  330|               continue;
#  331|   
#  332|->          execs[exec_count++] = (struct nvkmd_ctx_exec) {
#  333|               .addr = push->addr,
#  334|               .size_B = push->range,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2172]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c: scope_hint: In function ‘nvk_queue_submit_simple’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c:427:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dw’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvk_queue.c: scope_hint: In function ‘nvk_queue_submit_simple’
#  425|         return result;
#  426|   
#  427|->    memcpy(push_mem->map, dw, dw_count * 4);
#  428|   
#  429|      const struct nvkmd_ctx_exec exec = {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2173]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:36:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c: scope_hint: In function ‘nvkmd_nouveau_bind_ctx_wait’
/usr/include/sys/types.h:144: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nvkmd.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau.h:8: included_from: Included from here.
#   34|         .flags = sync_value ? DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ :
#   35|                               DRM_NOUVEAU_SYNC_SYNCOBJ,
#   36|->       .handle = syncobj->syncobj,
#   37|         .timeline_value = sync_value,
#   38|      };

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2174]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c: scope_hint: In function ‘nvkmd_nouveau_create_bind_ctx’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:292:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:274:41: note: in expansion of macro ‘CALLOC_STRUCT’
#  290|      };
#  291|   
#  292|->    *ctx_out = &ctx->base;
#  293|   
#  294|      return VK_SUCCESS;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2175]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c: scope_hint: In function ‘nvkmd_nouveau_try_create_pdev’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:45:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pdev’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:93:38: note: in expansion of macro ‘CALLOC_STRUCT’
#   43|   {
#   44|      if (!(drm_device->available_nodes & (1 << DRM_NODE_RENDER)))
#   45|->       return VK_ERROR_INCOMPATIBLE_DRIVER;
#   46|   
#   47|      switch (drm_device->bustype) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2176]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c: scope_hint: In function ‘nvkmd_nouveau_alloc_va’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:159:12: warning[-Wanalyzer-malloc-leak]: leak of ‘va’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:124:34: note: in expansion of macro ‘CALLOC_STRUCT’
#  157|      va->base.size_B = size_B;
#  158|   
#  159|->    *va_out = &va->base;
#  160|   
#  161|      return VK_SUCCESS;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2177]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c: scope_hint: In function ‘nouveau_ws_bo_new_tiled_locked’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:128:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:1: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:127:31: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:127:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  126|   
#  127|      struct nouveau_ws_bo *bo = CALLOC_STRUCT(nouveau_ws_bo);
#  128|->    bo->size = size;
#  129|      bo->handle = req.info.handle;
#  130|      bo->map_handle = req.info.map_handle;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2178]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c: scope_hint: In function ‘nouveau_ws_bo_from_dma_buf_locked’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:202:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:201:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  200|   
#  201|      struct nouveau_ws_bo *bo = CALLOC_STRUCT(nouveau_ws_bo);
#  202|->    bo->size = info.size;
#  203|      bo->handle = info.handle;
#  204|      bo->map_handle = info.map_handle;

Error: COMPILER_WARNING (CWE-563): [#def2179]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c: scope_hint: In function ‘nouveau_ws_bo_from_dma_buf_locked’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_bo.c:209:13: warning[-Wunused-but-set-variable]: variable ‘align’ set but not used
#  209 |    uint64_t align = (1ULL << 12);
#      |             ^~~~~
#  207|      bo->refcnt = 1;
#  208|   
#  209|->    uint64_t align = (1ULL << 12);
#  210|      if (info.domain & NOUVEAU_GEM_DOMAIN_VRAM)
#  211|         align = (1ULL << 16);

Error: COMPILER_WARNING (CWE-563): [#def2180]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_context.c: scope_hint: In function ‘nouveau_ws_channel_dealloc’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_context.c:119:8: warning[-Wunused-variable]: unused variable ‘ret’
#  119 |    int ret = drmCommandWrite(fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#      |        ^~~
#  117|      };
#  118|   
#  119|->    int ret = drmCommandWrite(fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#  120|      assert(!ret);
#  121|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2181]
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.c: scope_hint: In function ‘nouveau_ws_device_new’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.c:296:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘device’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.h:4: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.c:1: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/nouveau/winsys/nouveau_device.c:262:39: note: in expansion of macro ‘CALLOC_STRUCT’
#  294|      int ret = drmCommandWrite(fd, DRM_NOUVEAU_VM_INIT, &vminit, sizeof(vminit));
#  295|      if (ret == 0)
#  296|->       device->has_vm_bind = true;
#  297|   
#  298|      if (nouveau_ws_device_alloc(fd, device))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2182]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c: scope_hint: In function ‘bi_flatten_block’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c:446:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘instructions’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/compiler.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/compiler/bi_builder.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/compiler.h:973:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c:2131:4: note: in expansion of macro ‘bi_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c: scope_hint: In function ‘bi_flatten_block’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/compiler.h:985:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost/bi_schedule.c:445:4: note: in expansion of macro ‘bi_foreach_instr_in_block’
#  444|   
#  445|      bi_foreach_instr_in_block(block, ins)
#  446|->       instructions[i++] = ins;
#  447|   
#  448|      return instructions;

Error: COMPILER_WARNING (CWE-563): [#def2183]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_image_load’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c:1421:26: warning[-Wunused-variable]: unused variable ‘dim’
# 1421 |    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
#      |                          ^~~
# 1419|   bi_emit_image_load(bi_builder *b, nir_intrinsic_instr *instr)
# 1420|   {
# 1421|->    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
# 1422|      unsigned coord_comps = nir_image_intrinsic_coord_components(instr);
# 1423|      bool array = nir_intrinsic_image_array(instr);

Error: COMPILER_WARNING (CWE-563): [#def2184]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_lea_image_to’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c:1462:26: warning[-Wunused-variable]: unused variable ‘dim’
# 1462 |    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
#      |                          ^~~
# 1460|   bi_emit_lea_image_to(bi_builder *b, bi_index dest, nir_intrinsic_instr *instr)
# 1461|   {
# 1462|->    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
# 1463|      bool array = nir_intrinsic_image_array(instr);
# 1464|      unsigned coord_comps = nir_image_intrinsic_coord_components(instr);

Error: COMPILER_WARNING (CWE-563): [#def2185]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_image_store’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bifrost_compile.c:1523:17: warning[-Wunused-variable]: unused variable ‘T’
# 1523 |    nir_alu_type T = nir_intrinsic_src_type(instr);
#      |                 ^
# 1521|       * not work for 16-bit stores, but those are not available in OpenCL.
# 1522|       */
# 1523|->    nir_alu_type T = nir_intrinsic_src_type(instr);
# 1524|      assert(nir_alu_type_get_type_size(T) == 32);
# 1525|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2186]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bi_ra.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:207:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*a.<U6260>.sparse’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/bi_ra.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:27: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:201:21: note: in expansion of macro ‘MAX2’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  205|   
#  206|               if (left)
#  207|->                memcpy(a->sparse, data, left * sizeof(nodearray_sparse));
#  208|            }
#  209|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2187]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:207:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)min(max >> 2, max(*a.sparse_capacity * 2, 64)) * 8)’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:27: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:201:21: note: in expansion of macro ‘MAX2’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  205|   
#  206|               if (left)
#  207|->                memcpy(a->sparse, data, left * sizeof(nodearray_sparse));
#  208|            }
#  209|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2188]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:216:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elem’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:27: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h:201:21: note: in expansion of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
#  214|                       (size - left) * sizeof(nodearray_sparse));
#  215|   
#  216|->          *elem = nodearray_encode(key, value);
#  217|   
#  218|            if (realloc)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2189]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/cs_builder.h: scope_hint: In function ‘cs_alloc_ins’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/cs_builder.h:288:33: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/panfrost/pan_csf.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/gen_macros.h:97:17: note: in definition of macro ‘GENX’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v10_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/cs_builder.h:382:4: note: in expansion of macro ‘cs_emit’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/cs_builder.h: scope_hint: In function ‘cs_alloc_ins’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitpack_helpers.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v10_pack.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  286|                   b->cur_chunk.buffer.capacity)) {
#  287|         /* Now, allocate a new chunk */
#  288|->       struct cs_buffer newbuf = b->conf.alloc_buffer(b->conf.cookie);
#  289|   
#  290|         /* Allocation failure, from now on, all new instructions will be

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2190]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h: scope_hint: In function ‘__pandecode_fetch_gpu_mem’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h:88:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:439:13: note: in expansion of macro ‘PANDECODE_PTR_VAR’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/rb_tree.h: scope_hint: In function ‘__pandecode_fetch_gpu_mem’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘__pandecode_fetch_gpu_mem’
#   86|      assert(size + (gpu_va - mem->gpu_va) <= mem->length);
#   87|   
#   88|->    return mem->addr + gpu_va - mem->gpu_va;
#   89|   }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2191]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_inject_mmap’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:192:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mapped_mem’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/rb_tree.h: scope_hint: In function ‘pandecode_inject_mmap’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_inject_mmap’
#  190|   
#  191|         mapped_mem = calloc(1, sizeof(*mapped_mem));
#  192|->       mapped_mem->gpu_va = gpu_va;
#  193|         mapped_mem->length = sz;
#  194|         mapped_mem->addr = cpu;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2192]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_create_context’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:293:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
#  291|       * worst that could happen is having the files dumped with their filenames
#  292|       * in a different order. */
#  293|->    ctx->id = num_ctxs++;
#  294|   
#  295|      /* This will be initialized later and can be changed at run time through

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2193]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:444:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:439:13: note: in expansion of macro ‘PANDECODE_PTR_VAR’
mesa-24.2.6-build/mesa-24.2.6/src/util/rb_tree.h: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode.h: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/decode_common.c:439:13: note: in expansion of macro ‘PANDECODE_PTR_VAR’
#  442|      struct pandecode_mapped_memory *mem =
#  443|         pandecode_find_mapped_gpu_mem_containing(ctx, shader_ptr);
#  444|->    size_t sz = mem->length - (shader_ptr - mem->gpu_va);
#  445|   
#  446|      /* Print some boilerplate to clearly denote the assembly (which doesn't

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2194]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/kmod/panthor_kmod.c: scope_hint: In function ‘panthor_kmod_vm_bind’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/kmod/panthor_kmod.c:917:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sync_ops’
#  915|   
#  916|         for (uint32_t j = 0; j < ops[i].syncs.count; j++) {
#  917|->          sync_ops[syncop_ptr++] = (struct drm_panthor_sync_op){
#  918|               .flags = (ops[i].syncs.array[j].type == PAN_KMOD_SYNC_TYPE_WAIT
#  919|                            ? DRM_PANTHOR_SYNC_OP_WAIT

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2195]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/disassemble.c: scope_hint: In function ‘disassemble_midgard’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/disassemble.c:1846:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx.midg_tags’
# 1844|         unsigned num_quad_words = midgard_tag_props[tag].size;
# 1845|   
# 1846|->       if (ctx.midg_tags[i] && ctx.midg_tags[i] != tag) {
# 1847|            fprintf(fp, "\t/* XXX: TAG ERROR branch, got %s expected %s */\n",
# 1848|                    midgard_tag_props[tag].name,

Error: COMPILER_WARNING (CWE-252): [#def2196]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_compile.c: scope_hint: In function ‘midgard_compile_shader_nir’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_compile.c:3089:7: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
# 3089 |       asprintf(&shaderdb,
#      |       ^~~~~~~~~~~~~~~~~~~
# 3090 |                "%s shader: "
#      |                ~~~~~~~~~~~~~
# 3091 |                "%u inst, %u bundles, %u quadwords, "
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3092 |                "%u registers, %u threads, %u loops, "
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3093 |                "%u:%u spills:fills",
#      |                ~~~~~~~~~~~~~~~~~~~~~
# 3094 |                ctx->inputs->is_blend ? "PAN_SHADER_BLEND"
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3095 |                                      : gl_shader_stage_name(ctx->stage),
#      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3096 |                nr_ins, nr_bundles, ctx->quadword_count, nr_registers,
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3097 |                nr_threads, ctx->loop_count, ctx->spills, ctx->fills);
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3087|         /* Dump stats */
# 3088|   
# 3089|->       asprintf(&shaderdb,
# 3090|                  "%s shader: "
# 3091|                  "%u inst, %u bundles, %u quadwords, "

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2197]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c: scope_hint: In function ‘emit_branch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:794:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/pan_ir.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_compile.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/compiler.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/helpers.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/compiler.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  792|               .cond = cond,
#  793|            };
#  794|->          memcpy(util_dynarray_grow_bytes(emission, size, 1), &branch, size);
#  795|         } else {
#  796|            assert(op == midgard_jmp_writeout_op_branch_uncond);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2198]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:812:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  810|            midgard_create_branch_extended(cond, op, dest_tag, quadword_offset);
#  811|   
#  812|->       memcpy(util_dynarray_grow_bytes(emission, size, 1), &branch, size);
#  813|      }
#  814|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2199]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:868:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  866|            mir_pack_vector_srcs(ins, &source);
#  867|            unsigned size = sizeof(source);
#  868|->          memcpy(util_dynarray_grow_bytes(emission, size, 1), &source, size);
#  869|         } else {
#  870|            midgard_scalar_alu source =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2200]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:873:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_emit.c: scope_hint: In function ‘emit_alu_bundle’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
#  871|               vector_to_scalar_alu(vector_alu_from_instr(ins), ins);
#  872|            unsigned size = sizeof(source);
#  873|->          memcpy(util_dynarray_grow_bytes(emission, size, 1), &source, size);
#  874|         }
#  875|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2201]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_nir_type_csel.c:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_nir_type_csel.c: scope_hint: In function ‘midgard_nir_type_csel’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/midgard/midgard_nir_type_csel.c:37:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:46:31: note: in definition of macro ‘BITSET_WORDS’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:46:31: note: in definition of macro ‘BITSET_WORDS’
#   35|   
#   36|      BITSET_WORD *float_types =
#   37|->       calloc(BITSET_WORDS(impl->ssa_alloc), sizeof(BITSET_WORD));
#   38|      nir_gather_types(impl, float_types, NULL);
#   39|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2202]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/lcra.c: scope_hint: In function ‘lcra_alloc_equations’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/lcra.c:47:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
#   45|      struct lcra_state *l = calloc(1, sizeof(*l));
#   46|   
#   47|->    l->node_count = node_count;
#   48|      l->class_count = class_count;
#   49|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2203]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/util/lcra.c:61:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc(4, (long unsigned int)node_count)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   59|      l->solutions = calloc(sizeof(l->solutions[0]), node_count);
#   60|   
#   61|->    memset(l->solutions, ~0, sizeof(l->solutions[0]) * node_count);
#   62|   
#   63|      return l;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2204]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:421:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:1029:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
#  419|      *index_ssa = NULL;
#  420|   
#  421|->    if (deref->deref_type == nir_deref_type_array) {
#  422|         if (nir_src_is_const(deref->arr.index)) {
#  423|            *index_imm = nir_src_as_uint(deref->arr.index);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2205]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:430:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:1029:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
#  428|            /* Zero means variable array. The minus one should give us UINT32_MAX,
#  429|             * which matches what we want. */
#  430|->          *max_idx = glsl_array_size(nir_deref_instr_parent(deref)->type) - 1;
#  431|         }
#  432|   

Error: COMPILER_WARNING (CWE-563): [#def2206]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘record_binding’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:771:13: warning[-Wunused-variable]: unused variable ‘desc_stride’
#  771 |    uint32_t desc_stride = panvk_get_desc_stride(binding_layout->type);
#      |             ^~~~~~~~~~~
#  769|         &set_layout->bindings[binding];
#  770|      uint32_t subdesc_idx = get_subdesc_idx(binding_layout, subdesc_type);
#  771|->    uint32_t desc_stride = panvk_get_desc_stride(binding_layout->type);
#  772|   
#  773|      assert(desc_stride == 1 || desc_stride == 2);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2207]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:108:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*batch.jobs.data’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:288:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:292:4: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:85:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:97:11: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_pool.h:118:31: note: in expansion of macro ‘PAN_DESC_AGGREGATE’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:106:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:106:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:106:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:107:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:107:10: note: in expansion of macro ‘util_dynarray_append’
#  106|               pan_pool_alloc_desc(&cmdbuf->desc_pool.base, JOB_HEADER);
#  107|            util_dynarray_append(&batch->jobs, void *, ptr.cpu);
#  108|->          pan_jc_add_job(&batch->vtc_jc, MALI_JOB_TYPE_NULL, false, false, 0, 0,
#  109|                           &ptr, false);
#  110|            list_addtail(&batch->node, &cmdbuf->batches);

Error: COMPILER_WARNING (CWE-563): [#def2208]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit_batch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:43:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#   43 |    int ret;
#      |        ^~~
#   41|         to_panvk_instance(dev->vk.physical->instance);
#   42|      unsigned debug = instance->debug_flags;
#   43|->    int ret;
#   44|   
#   45|      /* Reset the batch if it's already been issued */

Error: COMPILER_WARNING (CWE-563): [#def2209]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_transfer_sync’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:141:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  141 |    int ret;
#      |        ^~~
#  139|   {
#  140|      struct panvk_device *dev = to_panvk_device(queue->vk.base.device);
#  141|->    int ret;
#  142|   
#  143|      struct drm_syncobj_handle handle = {

Error: COMPILER_WARNING (CWE-563): [#def2210]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_signal_event_syncobjs’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:200:14: warning[-Wunused-variable]: unused variable ‘ret’
#  200 |          int ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_RESET, &objs);
#      |              ^~~
#  198|               .count_handles = 1};
#  199|   
#  200|->          int ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_RESET, &objs);
#  201|            assert(!ret);
#  202|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2211]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:228:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/os_mman.h:44: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/kmod/pan_kmod.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_instance.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_device.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:21: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
#  226|            vk_sync_as_drm_syncobj(submit->waits[i].sync);
#  227|   
#  228|->       semaphores[i + 1] = syncobj->syncobj;
#  229|      }
#  230|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2212]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:302:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
#  300|            vk_sync_as_drm_syncobj(submit->signals[i].sync);
#  301|   
#  302|->       panvk_queue_transfer_sync(queue, syncobj->syncobj);
#  303|      }
#  304|   

Error: COMPILER_WARNING (CWE-563): [#def2213]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_v6_QueueWaitIdle’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_queue.c:337:8: warning[-Wunused-variable]: unused variable ‘ret’
#  337 |    int ret = drmSyncobjWait(queue->vk.base.device->drm_fd, &queue->sync, 1,
#      |        ^~~
#  335|         return VK_ERROR_DEVICE_LOST;
#  336|   
#  337|->    int ret = drmSyncobjWait(queue->vk.base.device->drm_fd, &queue->sync, 1,
#  338|                               INT64_MAX, DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL, NULL);
#  339|      assert(!ret);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2214]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘panvk_image_select_mod’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:143:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_physical_device.h:15: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_device.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:123:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:123:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:126:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:126:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘panvk_image_select_mod’
#  141|            }
#  142|         } else {
#  143|->          modifier = drm_explicit_info->drmFormatModifier;
#  144|            assert(modifier == DRM_FORMAT_MOD_LINEAR ||
#  145|                   modifier == DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED ||

Error: COMPILER_WARNING (CWE-563): [#def2215]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘panvk_GetImageSubresourceLayout’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_image.c:251:13: warning[-Wunused-variable]: unused variable ‘plane’
#  251 |    unsigned plane =
#      |             ^~~~~
#  249|      VK_FROM_HANDLE(panvk_image, image, _image);
#  250|   
#  251|->    unsigned plane =
#  252|         panvk_plane_index(image->vk.format, pSubresource->aspectMask);
#  253|      assert(plane < PANVK_MAX_PLANES);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2216]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_blend.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_device.h:13: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_mempool.h: scope_hint: In function ‘panvk_pool_upload_aligned’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_mempool.h:179:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_blend.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:1029:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blend.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_blend.h:14: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘panvk_pool_upload_aligned’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘panvk_pool_upload_aligned’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_mempool.h: scope_hint: In function ‘panvk_pool_upload_aligned’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  177|   
#  178|      struct panvk_priv_mem mem = panvk_pool_alloc_mem(pool, info);
#  179|->    memcpy(panvk_priv_mem_host_addr(mem), data, sz);
#  180|      return mem;
#  181|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2217]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_compile_nir’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:480:7: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:375:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_compile_nir’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:428:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:428:4: note: in expansion of macro ‘NIR_PASS_V’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  478|   
#  479|         char *asm_str = malloc(disasm_size + 1);
#  480|->       memcpy(asm_str, data, disasm_size);
#  481|         asm_str[disasm_size] = '\0';
#  482|         free(data);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2218]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:480:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘asm_str’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:375:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c: scope_hint: In function ‘panvk_compile_nir’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:428:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_vX_shader.c:428:4: note: in expansion of macro ‘NIR_PASS_V’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  478|   
#  479|         char *asm_str = malloc(disasm_size + 1);
#  480|->       memcpy(asm_str, data, disasm_size);
#  481|         asm_str[disasm_size] = '\0';
#  482|         free(data);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2219]
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:2903: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_ra.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c: scope_hint: In function ‘ra_ctx_reset_block’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:63:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.available[<unknown>]’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c:241:7: note: in expansion of macro ‘BITSET_SET’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3.h:1961:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c:1416:4: note: in expansion of macro ‘foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c:241:7: note: in expansion of macro ‘BITSET_SET’
mesa-24.2.6-build/mesa-24.2.6/src/freedreno/ir3/ir3_shared_ra.c:241:7: note: in expansion of macro ‘BITSET_SET’
#   61|    */
#   62|   #define BITSET_TEST(x, b) (((x)[BITSET_BITWORD(b)] & BITSET_BIT(b)) != 0)
#   63|-> #define BITSET_SET(x, b) ((x)[BITSET_BITWORD(b)] |= BITSET_BIT(b))
#   64|   #define BITSET_CLEAR(x, b) ((x)[BITSET_BITWORD(b)] &= ~BITSET_BIT(b))
#   65|   

Error: GCC_ANALYZER_WARNING (CWE-674): [#def2220]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3d_context.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h: scope_hint: In function ‘__bitclear_clear_range’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:273:7: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:1322:17: note: in expansion of macro ‘BITSET_CLEAR_RANGE’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/v3d/v3dx_state.c:1322:17: note: in expansion of macro ‘BITSET_CLEAR_RANGE’
#  271|         const unsigned first_size = BITSET_WORDBITS - start_mod;
#  272|   
#  273|->       __bitclear_clear_range(r, start, start + first_size - 1);
#  274|         __bitclear_clear_range(r, start + first_size, end);
#  275|      }

Error: CPPCHECK_WARNING (CWE-457): [#def2221]
mesa-24.2.6-build/mesa-24.2.6/src/util/blake3/blake3.c:186: warning[uninitvar]: Uninitialized variable: chunks_array
#  184|     }
#  185|   
#  186|->   blake3_hash_many(chunks_array, chunks_array_len,
#  187|                      BLAKE3_CHUNK_LEN / BLAKE3_BLOCK_LEN, key, chunk_counter,
#  188|                      true, flags, CHUNK_START, CHUNK_END, out);

Error: CPPCHECK_WARNING (CWE-457): [#def2222]
mesa-24.2.6-build/mesa-24.2.6/src/util/blake3/blake3.c:229: warning[uninitvar]: Uninitialized variable: parents_array
#  227|     }
#  228|   
#  229|->   blake3_hash_many(parents_array, parents_array_len, 1, key,
#  230|                      0, // Parents always use counter 0.
#  231|                      false, flags | PARENT,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2223]
mesa-24.2.6-build/mesa-24.2.6/src/util/box.h:37:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘boxes’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri2.c: scope_hint: In function ‘dri2_set_damage_region’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri2.c:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri2.c:2036:15: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/frontends/dri/dri2.c:2036:15: note: in expansion of macro ‘CALLOC’
#   35|   u_box_2d(unsigned x,unsigned y, unsigned w, unsigned h, struct pipe_box *box)
#   36|   {
#   37|->    box->x = x;
#   38|      box->y = y;
#   39|      box->z = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2224]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c: scope_hint: In function ‘mkdir_with_parents_if_needed’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:156:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  154|   
#  155|      p = strdup(path);
#  156|->    end = p + strlen(p) + 1; /* end points to the \0 terminator */
#  157|      for (char *q = p; q != end; q++) {
#  158|         if (*q == '/' || q == end - 1) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2225]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:299:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry’
#  297|               processed_files++;
#  298|   
#  299|->             char *tmp = realloc(entry->lru_name, len + 1);
#  300|               if (tmp) {
#  301|                  /* Find location to insert new lru item. We want to keep the

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2226]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c: scope_hint: In function ‘choose_lru_file_matching’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:299:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
#  297|               processed_files++;
#  298|   
#  299|->             char *tmp = realloc(entry->lru_name, len + 1);
#  300|               if (tmp) {
#  301|                  /* Find location to insert new lru item. We want to keep the

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2227]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:335:7: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
#  333|      if (list_is_empty(lru_file_list)) {
#  334|         closedir(dir);
#  335|->       free(lru_file_list);
#  336|         return NULL;
#  337|      }

Error: COMPILER_WARNING (CWE-252): [#def2228]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c: scope_hint: In function ‘disk_cache_touch_cache_user_marker’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:1068:4: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
# 1068 |    asprintf(&marker_path, "%s/marker", path);
#      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1066|   {
# 1067|      char *marker_path = NULL;
# 1068|->    asprintf(&marker_path, "%s/marker", path);
# 1069|      if (!marker_path)
# 1070|         return;

Error: COMPILER_WARNING (CWE-252): [#def2229]
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c: scope_hint: In function ‘delete_dir’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:1216:7: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
# 1216 |       asprintf(&entry_path, "%s/%s", path, p->d_name);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1214|            continue;
# 1215|   
# 1216|->       asprintf(&entry_path, "%s/%s", path, p->d_name);
# 1217|         if (!entry_path)
# 1218|            continue;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2230]
mesa-24.2.6-build/mesa-24.2.6/src/util/format/u_format_bptc.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘write_rgb_indices_unorm’
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h:1446:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘endpoint_luminances[1]’
# 1444|      /* If the endpoints have the same luminance then we'll just use index 0 for
# 1445|       * all of the texels */
# 1446|->    if (endpoint_luminances[0] == endpoint_luminances[1]) {
# 1447|         write_bits(writer, BLOCK_SIZE * BLOCK_SIZE * 2 - 1, 0);
# 1448|         return;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2231]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_bptc.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘get_average_luminance_float’
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h:1604:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src’
# 1602|      for (y = 0; y < height; y++) {
# 1603|         for (x = 0; x < width; x++) {
# 1604|->          luminance_sum += src[0] + src[1] + src[2];
# 1605|            src += 3;
# 1606|         }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2232]
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘get_endpoints_float’
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_bptc_tmp.h:1700:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src’
# 1698|      midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2.0f;
# 1699|   
# 1700|->    if ((src[0] + src[1] + src[2] <= midpoint) !=
# 1701|          (endpoint_luminances[0] <= midpoint)) {
# 1702|         memcpy(temp, endpoints[0], sizeof temp);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2233]
mesa-24.2.6-build/mesa-24.2.6/src/mesa/main/texcompress_s3tc.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_s3tc_tmp.h: scope_hint: In function ‘extractsrccolors’
mesa-24.2.6-build/mesa-24.2.6/src/util/format/texcompress_s3tc_tmp.h:898:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
#  896|         for (i = 0; i < numxpixels; i++) {
#  897|            for (c = 0; c < comps; c++) {
#  898|->             srcpixels[j][i][c] = *curaddr++ / (CHAN_MAX / 255);
#  899|            }
#  900|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2234]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:55:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lru_file_list’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c: scope_hint: In function ‘choose_lru_file_matching’
#   53|   static inline void list_inithead(struct list_head *item)
#   54|   {
#   55|->     item->prev = item;
#   56|       item->next = item;
#   57|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2235]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:67:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘priv’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c: scope_hint: In function ‘get_video_buffer_private’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:132:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:132:11: note: in expansion of macro ‘CALLOC_STRUCT’
#   65|   static inline void list_add(struct list_head *item, struct list_head *list)
#   66|   {
#   67|->     item->prev = list;
#   68|       item->next = list->next;
#   69|       list->next->prev = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2236]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:81:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘anv_cmd_buffer_init_batch_bo_chain’
#   79|   static inline void list_addtail(struct list_head *item, struct list_head *list)
#   80|   {
#   81|->     item->next = list;
#   82|       item->prev = list->prev;
#   83|       list->prev->next = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2237]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:81:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_bbo’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘anv_batch_bo_list_clone’
mesa-24.2.6-build/mesa-24.2.6/src/intel/vulkan/anv_batch_chain.c:391:4: note: in expansion of macro ‘list_for_each_entry’
#   79|   static inline void list_addtail(struct list_head *item, struct list_head *list)
#   80|   {
#   81|->     item->next = list;
#   82|       item->prev = list->prev;
#   83|       list->prev->next = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2238]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace_late.c: scope_hint: In function ‘pass’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace_late.c:8: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:104:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:105:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace_late.c: scope_hint: In function ‘pass’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_texcoord_replace_late.c: scope_hint: In function ‘pass’
#   80|   {
#   81|       item->next = list;
#   82|->     item->prev = list->prev;
#   83|       list->prev->next = item;
#   84|       list->prev = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2239]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dupl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c: scope_hint: In function ‘lima_nir_duplicate_load_const’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:120:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:120:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:120:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:93:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3099:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c: scope_hint: In function ‘lima_nir_duplicate_load_const’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1114:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:1121:4: note: in expansion of macro ‘nir_foreach_use_including_if_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:34:4: note: in expansion of macro ‘nir_foreach_use_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:34:4: note: in expansion of macro ‘nir_foreach_use_safe’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c: scope_hint: In function ‘lima_nir_duplicate_load_const’
#   80|   {
#   81|       item->next = list;
#   82|->     item->prev = list->prev;
#   83|       list->prev->next = item;
#   84|       list->prev = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2240]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4858:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_deref_instr’
#   80|   {
#   81|       item->next = list;
#   82|->     item->prev = list->prev;
#   83|       list->prev->next = item;
#   84|       list->prev = item;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2241]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h: scope_hint: In function ‘lower_clip_plane_store_io’
#   80|   {
#   81|       item->next = list;
#   82|->     item->prev = list->prev;
#   83|       list->prev->next = item;
#   84|       list->prev = item;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2242]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_gds()’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_gds’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c:78:41: note: in expansion of macro ‘CALLOC_STRUCT’
#   81|       item->next = list;
#   82|       item->prev = list->prev;
#   83|->     list->prev->next = item;
#   84|       list->prev = item;
#   85|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2243]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_tex()’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_tex’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c:68:41: note: in expansion of macro ‘CALLOC_STRUCT’
#   81|       item->next = list;
#   82|       item->prev = list->prev;
#   83|->     list->prev->next = item;
#   84|       list->prev = item;
#   85|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2244]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_vtx()’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_vtx_internal’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r600/r600_asm.c:58:41: note: in expansion of macro ‘CALLOC_STRUCT’
#   81|       item->next = list;
#   82|       item->prev = list->prev;
#   83|->     list->prev->next = item;
#   84|       list->prev = item;
#   85|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2245]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:103:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_helper_writes.c: scope_hint: In function ‘lower’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_helper_writes.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:163:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:167:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:168:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2715:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2731:4: note: in expansion of macro ‘nir_foreach_phi_src’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2715:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:2731:4: note: in expansion of macro ‘nir_foreach_phi_src’
#  101|   static inline void list_del(struct list_head *item)
#  102|   {
#  103|->     item->prev->next = item->next;
#  104|       item->next->prev = item->prev;
#  105|       item->prev = item->next = NULL;

Error: GCC_ANALYZER_WARNING (CWE-416): [#def2246]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:103:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘qinst’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir.c: scope_hint: In function ‘vir_remove_instruction’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/v3d_compiler.h:1550:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/broadcom/compiler/vir.c:2167:9: note: in expansion of macro ‘vir_for_each_block’
#  101|   static inline void list_del(struct list_head *item)
#  102|   {
#  103|->     item->prev->next = item->next;
#  104|       item->next->prev = item->prev;
#  105|       item->prev = item->next = NULL;

Error: GCC_ANALYZER_WARNING (CWE-835): [#def2247]
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:211:9: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
/usr/include/bits/stat.h:25: included_from: Included from here.
/usr/include/sys/stat.h:101: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.2.6-build/mesa-24.2.6/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
#  209|   #define LIST_FOR_EACH_ENTRY(pos, head, member)				\
#  210|      for (pos = NULL, pos = list_container_of((head)->next, pos, member);	\
#  211|-> 	&pos->member != (head);						\
#  212|   	pos = list_container_of(pos->member.next, pos, member))
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2248]
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_priv.h:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_free_signals’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:215:25: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:107:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_free_signals’
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:117:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:107:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:215:25: note: read of 8 bytes from after the end of the region
mesa-24.2.6-build/mesa-24.2.6/src/etnaviv/drm/etnaviv_perfmon.c:107:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
#  213|   
#  214|   #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member)	\
#  215|->    for (pos = NULL, pos = list_container_of((head)->next, pos, member),	\
#  216|   	storage = list_container_of(pos->member.next, pos, member);	\
#  217|   	&pos->member != (head);						\

Error: GCC_ANALYZER_WARNING (CWE-835): [#def2249]
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c: scope_hint: In function ‘util_vma_heap_free’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:239:22: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
#  237|      for (type *pos = list_entry((head)->next, type, member),        \
#  238|   	     *__next = list_entry(pos->member.next, type, member); \
#  239|-> 	&pos->member != (head);                                         \
#  240|   	pos = list_entry(pos->member.next, type, member),          \
#  241|   	list_assert(pos == __next, "use _safe iterator"),               \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2250]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:245:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘old_uses.next’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2099:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2143:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2143:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2143:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.2.6-build/mesa-24.2.6/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.c:2099:10: note: in expansion of macro ‘list_for_each_entry_safe’
#  243|   
#  244|   #define list_for_each_entry_safe(type, pos, head, member)               \
#  245|->    for (type *pos = list_entry((head)->next, type, member),        \
#  246|   	     *__next = list_entry(pos->member.next, type, member); \
#  247|   	&pos->member != (head);                                         \

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2251]
mesa-24.2.6-build/mesa-24.2.6/src/util/log.c: scope_hint: In function ‘mesa_log_stream_flush’
mesa-24.2.6-build/mesa-24.2.6/src/util/log.c:461:18: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘next’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  459|      char *end;
#  460|      char *next = stream->msg;
#  461|->    while ((end = strchr(stream->msg + scan_offset, '\n'))) {
#  462|         *end = 0;
#  463|         mesa_log(stream->level, stream->tag, "%s", next);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2252]
mesa-24.2.6-build/mesa-24.2.6/src/util/simple_mtx.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h: scope_hint: In function ‘util_queue_fence_wait’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:66:42: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__atomic_load_4(&*fence.val, 0)’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:179:8: note: in expansion of macro ‘unlikely’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:179:8: note: in expansion of macro ‘unlikely’
#   64|   #  ifdef HAVE___BUILTIN_EXPECT
#   65|   #    define likely(x)   __builtin_expect(!!(x), 1)
#   66|-> #    define unlikely(x) __builtin_expect(!!(x), 0)
#   67|   #  else
#   68|   #    define likely(x)   (x)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2253]
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c: scope_hint: In function ‘gallivm_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:335:10: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:221:30: note: in expansion of macro ‘MALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/util/compiler.h:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:335:10: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/gallivm/lp_bld_init.c:335:10: note: in expansion of macro ‘FREE’
#   41|   #define os_malloc(_size)  malloc(_size)
#   42|   #define os_calloc(_count, _size )  calloc(_count, _size )
#   43|-> #define os_free(_ptr)  free(_ptr)
#   44|   
#   45|   #define os_realloc( _old_ptr, _old_size, _new_size) \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2254]
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c: scope_hint: In function ‘nv50_hw_create_query’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘hq’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: note: in expansion of macro ‘FREE’
#   41|   #define os_malloc(_size)  malloc(_size)
#   42|   #define os_calloc(_count, _size )  calloc(_count, _size )
#   43|-> #define os_free(_ptr)  free(_ptr)
#   44|   
#   45|   #define os_realloc( _old_ptr, _old_size, _new_size) \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2255]
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c: scope_hint: In function ‘draw_create_geometry_shader’
mesa-24.2.6-build/mesa-24.2.6/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘llvm_gs’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:810:10: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:810:10: note: in expansion of macro ‘FREE’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/draw/draw_gs.c:810:10: note: in expansion of macro ‘FREE’
#   41|   #define os_malloc(_size)  malloc(_size)
#   42|   #define os_calloc(_count, _size )  calloc(_count, _size )
#   43|-> #define os_free(_ptr)  free(_ptr)
#   44|   
#   45|   #define os_realloc( _old_ptr, _old_size, _new_size) \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2256]
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_payload_buf_create’
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c:261:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘payload’
#  259|      p_atomic_set(&payload->refcount, 1);
#  260|   
#  261|->    payload->buf = (uint8_t *) (payload + 1);
#  262|      payload->end = payload->buf + PAYLOAD_BUFFER_SIZE;
#  263|      payload->next = payload->buf;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2257]
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c: scope_hint: In function ‘get_chunk’
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c:348:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
#  346|      chunk = calloc(1, sizeof(*chunk));
#  347|   
#  348|->    chunk->utctx = ut->utctx;
#  349|      chunk->timestamps =
#  350|         ut->utctx->create_timestamp_buffer(ut->utctx, TIMESTAMP_BUF_SIZE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2258]
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_clone_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c:769:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘from_chunk’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
#  767|   
#  768|         unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces,
#  769|->                               from_chunk->num_traces - from_idx);
#  770|         if (from_chunk == end_it.chunk)
#  771|            to_copy = MIN2(to_copy, end_it.event_idx - from_idx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2259]
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_disable_event_range’
mesa-24.2.6-build/mesa-24.2.6/src/util/perf/u_trace.c:820:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_chunk’
#  818|      while (current_chunk != end_it.chunk) {
#  819|         memset(&current_chunk->traces[start_idx], 0,
#  820|->              (current_chunk->num_traces - start_idx) *
#  821|                   sizeof(struct u_trace_event));
#  822|         start_idx = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2260]
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.c: scope_hint: In function ‘linear_vasprintf_rewrite_tail’
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.c:1258:16: warning[-Wanalyzer-null-argument]: use of NULL ‘*str’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.c:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:65:45: note: in definition of macro ‘likely’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 1256|      if (unlikely(*str == NULL)) {
# 1257|         *str = linear_vasprintf(ctx, fmt, args);
# 1258|->       *start = strlen(*str);
# 1259|         return true;
# 1260|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2261]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c: scope_hint: In function ‘ntr_emit_impl’
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.h:175:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2098:18: note: in expansion of macro ‘rzalloc_array’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2295:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2295:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2361:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_deref.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:7: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4347:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4358:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4389:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:137:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:5164:7: note: in definition of macro ‘_PASS’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2361:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/r300/compiler/nir_to_rc.c:2098:18: note: in expansion of macro ‘rzalloc_array’
#  173|    */
#  174|   #define rzalloc_array(ctx, type, count) \
#  175|->    ((type *) rzalloc_array_size(ctx, sizeof(type), count))
#  176|   
#  177|   /**

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2262]
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c: scope_hint: In function ‘ra_compute_available_regs’
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c:861:4: warning[-Wanalyzer-null-argument]: use of NULL ‘regs’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  859|   
#  860|      /* Populate with the set of regs that are in the node's class. */
#  861|->    memcpy(regs, c->regs, BITSET_WORDS(g->regs->count) * sizeof(BITSET_WORD));
#  862|   
#  863|      /* Remove any regs that conflict with nodes that we're adjacent to and have

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2263]
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c:861:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘regs’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c:78: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:46:31: note: in definition of macro ‘BITSET_WORDS’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  859|   
#  860|      /* Populate with the set of regs that are in the node's class. */
#  861|->    memcpy(regs, c->regs, BITSET_WORDS(g->regs->count) * sizeof(BITSET_WORD));
#  862|   
#  863|      /* Remove any regs that conflict with nodes that we're adjacent to and have

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2264]
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c: scope_hint: In function ‘ra_select’
mesa-24.2.6-build/mesa-24.2.6/src/util/register_allocate.c:952:13: warning[-Wanalyzer-malloc-leak]: leak of ‘select_regs’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitset.h:46:31: note: in definition of macro ‘BITSET_WORDS’
#  950|            }
#  951|   
#  952|->          if (ri >= g->regs->count)
#  953|               return false;
#  954|         }

Error: CPPCHECK_WARNING (CWE-758): [#def2265]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:138: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  136|               e = 0x7ff;
#  137|               m = 0;
#  138|->             result.u = (s << 63) + (e << 52) + m;
#  139|               result.u -= 1;
#  140|               return result.f;

Error: CPPCHECK_WARNING (CWE-758): [#def2266]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:148: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  146|           e = 0;
#  147|   
#  148|->     result.u = (s << 63) + (e << 52) + m;
#  149|       return result.f;
#  150|   }

Error: CPPCHECK_WARNING (CWE-758): [#def2267]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:168: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  166|               e = 0xff;
#  167|               m = 0;
#  168|->             result.u = (s << 31) + (e << 23) + m;
#  169|               result.u -= !round_increment;
#  170|               return result.f;

Error: CPPCHECK_WARNING (CWE-758): [#def2268]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:181: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  179|           e = 0;
#  180|   
#  181|->     result.u = (s << 31) + (e << 23) + m;
#  182|       return result.f;
#  183|   }

Error: CPPCHECK_WARNING (CWE-758): [#def2269]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:546: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  544|       if ((10 <= shift_dist) && ((unsigned) e < 0x7fd)) {
#  545|           di_type result;
#  546|->         result.u = (s << 63) + ((m ? e : 0) << 52) + (m << (shift_dist - 10));
#  547|           return result.f;
#  548|       } else {

Error: CPPCHECK_WARNING (CWE-758): [#def2270]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:694: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  692|               di_type result;
#  693|               e = 0x7ff;
#  694|->             result.u = (s << 63) + (e << 52) + 0x1;
#  695|               return result.f;
#  696|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2271]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:722: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  720|   
#  721|           di_type result;
#  722|->         result.u = (s << 63) + (e << 52) + (m_diff << shift_dist);
#  723|           return result.f;
#  724|       } else if (exp_diff < 0) {

Error: CPPCHECK_WARNING (CWE-758): [#def2272]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:837: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  835|               di_type result;
#  836|               e = 0x7ff;
#  837|->             result.u = (s << 63) + (e << 52) + 0x1;
#  838|               return result.f;
#  839|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2273]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:843: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  841|           di_type result;
#  842|           e = 0x7ff;
#  843|->         result.u = (s << 63) + (e << 52) + 0;
#  844|           return result.f;
#  845|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2274]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:856: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  854|               di_type result;
#  855|               e = 0x7ff;
#  856|->             result.u = (s << 63) + (e << 52) + 0x1;
#  857|               return result.f;
#  858|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2275]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:862: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  860|           di_type result;
#  861|           e = 0x7ff;
#  862|->         result.u = (s << 63) + (e << 52) + 0;
#  863|           return result.f;
#  864|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2276]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:870: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  868|               /* 'a' is zero. Return zero */
#  869|               di_type result;
#  870|->             result.u = (s << 63) + 0;
#  871|               return result.f;
#  872|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2277]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:879: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  877|               /* 'b' is zero. Return zero */
#  878|               di_type result;
#  879|->             result.u = (s << 63) + 0;
#  880|               return result.f;
#  881|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2278]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:951: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  949|               di_type result;
#  950|               e = 0x7ff;
#  951|->             result.u = (s << 63) + (e << 52) + 0x1;
#  952|               return result.f;
#  953|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2279]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:959: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  957|               di_type result;
#  958|               e = 0x7ff;
#  959|->             result.u = (s << 63) + (e << 52) + 0x1;
#  960|               return result.f;
#  961|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2280]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:966: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  964|           di_type result;
#  965|           e = 0x7ff;
#  966|->         result.u = (s << 63) + (e << 52) + 0;
#  967|           return result.f;
#  968|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2281]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:983: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  981|               di_type result;
#  982|               e = 0x7ff;
#  983|->             result.u = (s << 63) + (e << 52) + 0x1;
#  984|               return result.f;
#  985|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2282]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:991: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  989|               di_type result;
#  990|               e = 0x7ff;
#  991|->             result.u = (s << 63) + (e << 52) + 0x1;
#  992|               return result.f;
#  993|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2283]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:998: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  996|           di_type result;
#  997|           e = 0x7ff;
#  998|->         result.u = (s << 63) + (e << 52) + 0;
#  999|           return result.f;
# 1000|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2284]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1123: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1121|                   /* Return zero */
# 1122|                   di_type result;
# 1123|->                 result.u = (s << 63) + 0;
# 1124|                   return result.f;
# 1125|               }

Error: CPPCHECK_WARNING (CWE-758): [#def2285]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1216: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1214|               fi_type result;
# 1215|               e = 0xff;
# 1216|->             result.u = (s << 31) + (e << 23) + 0x1;
# 1217|               return result.f;
# 1218|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2286]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1224: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1222|               fi_type result;
# 1223|               e = 0xff;
# 1224|->             result.u = (s << 31) + (e << 23) + 0x1;
# 1225|               return result.f;
# 1226|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2287]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1231: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1229|           fi_type result;
# 1230|           e = 0xff;
# 1231|->         result.u = (s << 31) + (e << 23) + 0;
# 1232|           return result.f;
# 1233|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2288]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1248: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1246|               fi_type result;
# 1247|               e = 0xff;
# 1248|->             result.u = (s << 31) + (e << 23) + 0x1;
# 1249|               return result.f;
# 1250|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2289]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1256: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1254|               fi_type result;
# 1255|               e = 0xff;
# 1256|->             result.u = (s << 31) + (e << 23) + 0x1;
# 1257|               return result.f;
# 1258|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2290]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1263: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1261|           fi_type result;
# 1262|           e = 0xff;
# 1263|->         result.u = (s << 31) + (e << 23) + 0;
# 1264|           return result.f;
# 1265|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2291]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1337: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1335|                   /* Return zero */
# 1336|                   fi_type result;
# 1337|->                 result.u = (s << 31) + 0;
# 1338|                   return result.f;
# 1339|               }

Error: CPPCHECK_WARNING (CWE-758): [#def2292]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1384: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1382|               e = 0xff;
# 1383|               m = 0x1;
# 1384|->             result.u = (s << 31) + (e << 23) + m;
# 1385|               return result.f;
# 1386|           }

Error: CPPCHECK_WARNING (CWE-758): [#def2293]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1391: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1389|           fi_type result;
# 1390|           e = 0xff;
# 1391|->         result.u = (s << 31) + (e << 23) + m;
# 1392|           return result.f;
# 1393|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2294]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1399: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1397|           fi_type result;
# 1398|           e = 0;
# 1399|->         result.u = (s << 31) + (e << 23) + m;
# 1400|           return result.f;
# 1401|       }

Error: CPPCHECK_WARNING (CWE-758): [#def2295]
mesa-24.2.6-build/mesa-24.2.6/src/util/softfloat.c:1408: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1406|           fi_type result;
# 1407|           e = 0;
# 1408|->         result.u = (s << 31) + (e << 23) + m;
# 1409|           return result.f;
# 1410|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2296]
mesa-24.2.6-build/mesa-24.2.6/src/util/sparse_array.c: scope_hint: In function ‘_util_sparse_array_node_alloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/sparse_array.c:108:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  106|   
#  107|      void *data = os_malloc_aligned(size, NODE_ALLOC_ALIGN);
#  108|->    memset(data, 0, size);
#  109|   
#  110|      return _util_sparse_array_node(data, level);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2297]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/glcpp.h:36: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/glcpp/pp.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/string_buffer.h: scope_hint: In function ‘_mesa_string_buffer_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/string_buffer.h:69:50: warning[-Wanalyzer-null-argument]: use of NULL ‘c’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   67|   _mesa_string_buffer_append(struct _mesa_string_buffer *str, const char *c)
#   68|   {
#   69|->    return _mesa_string_buffer_append_len(str, c, strlen(c));
#   70|   }
#   71|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2298]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_cpu_detect.c: scope_hint: In function ‘get_cpu_topology’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_cpu_detect.c:508:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  506|      if (!fail) {
#  507|         for (unsigned i = 0; caps && i < util_cpu_caps.max_cpus; i++) {
#  508|->          if (caps[i] >= big_cap / 2)
#  509|               num_big_cpus++;
#  510|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2299]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:59:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘subgraph’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/etnaviv/etnaviv_ml.c: scope_hint: In function ‘etna_ml_subgraph_create’
#   57|   {
#   58|      memset(buf, 0, sizeof(*buf));
#   59|->    buf->mem_ctx = mem_ctx;
#   60|   }
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2300]
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_ensure_cap’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:103:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:282:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/ralloc.h:53: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  101|            data = malloc(capacity);
#  102|            if (data) {
#  103|->             memcpy(data, buf->data, buf->size);
#  104|               buf->mem_ctx = NULL;
#  105|            }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2301]
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_pool.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_texture.h:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_desc.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_blitter.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:158:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*((struct panvk_cmd_buffer)*commandBuffer).cur_batch.jobs.data’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_descriptor_set.h:18: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/bifrost/panvk_cmd_desc_state.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:17: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:476:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/genxml/gen_macros.h:89: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_desc.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PRIMITIVE_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PRIMITIVE_SIZE_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_encoder.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PADDING_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_TILER_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_cmd_buffer.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:318:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_builder.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
#  156|      unsigned newsize = buf->size + growbytes;
#  157|      void *p = util_dynarray_ensure_cap(buf, newsize);
#  158|->    if (!p)
#  159|         return NULL;
#  160|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2302]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:50: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:158:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/pipebuffer/pb_cache.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:38: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:1071:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
#  156|      unsigned newsize = buf->size + growbytes;
#  157|      void *p = util_dynarray_ensure_cap(buf, newsize);
#  158|->    if (!p)
#  159|         return NULL;
#  160|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2303]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:161:14: warning[-Wanalyzer-malloc-leak]: leak of ‘*((struct panvk_cmd_buffer)*commandBuffer).cur_batch.jobs.data’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:476:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PRIMITIVE_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PRIMITIVE_SIZE_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_encoder.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_PADDING_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:87:29: note: in expansion of macro ‘MALI_TILER_JOB_SECTION_TILER_pack’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.2.6-build/mesa-24.2.6/src/panfrost/vulkan/jm/panvk_vX_meta_clear.c:318:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
#  159|         return NULL;
#  160|   
#  161|->    buf->size = newsize;
#  162|   
#  163|      return p;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2304]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:161:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_program.c:1071:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
#  159|         return NULL;
#  160|   
#  161|->    buf->size = newsize;
#  162|   
#  163|      return p;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2305]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_append_dynarray’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:198:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_append_dynarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  196|      if (other->size > 0) {
#  197|         void *p = util_dynarray_grow_bytes(buf, 1, other->size);
#  198|->       memcpy(p, other->data, other->size);
#  199|      }
#  200|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2306]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:64: warning[-Wanalyzer-malloc-leak]: leak of ‘*bs.acquires.data’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_resource.h:181:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_resource.h:181:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_resource.h:181:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_resource.h:181:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/zink/zink_resource.h:181:13: note: in expansion of macro ‘util_dynarray_append’
#  200|   }
#  201|   
#  202|-> #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow_bytes((buf), 1, sizeof(type)), &__v, sizeof(type));} while(0)
#  203|   /* Returns a pointer to the space of the first new element (in case of growth) or NULL on failure. */
#  204|   #define util_dynarray_resize(buf, type, nelts) util_dynarray_resize_bytes(buf, (nelts), sizeof(type))

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2307]
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:64: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1670:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4339:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:4396:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1645:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1646:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1646:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1646:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1646:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:3103:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1646:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1670:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
/usr/include/stdio.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1670:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir_lower_shader_calls.c:1670:13: note: in expansion of macro ‘util_dynarray_append’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  200|   }
#  201|   
#  202|-> #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow_bytes((buf), 1, sizeof(type)), &__v, sizeof(type));} while(0)
#  203|   /* Returns a pointer to the space of the first new element (in case of growth) or NULL on failure. */
#  204|   #define util_dynarray_resize(buf, type, nelts) util_dynarray_resize_bytes(buf, (nelts), sizeof(type))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2308]
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c: scope_hint: In function ‘dag_validate_node’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:202:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:282:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
/usr/include/stdio.h:34: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
#  200|   }
#  201|   
#  202|-> #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow_bytes((buf), 1, sizeof(type)), &__v, sizeof(type));} while(0)
#  203|   /* Returns a pointer to the space of the first new element (in case of growth) or NULL on failure. */
#  204|   #define util_dynarray_resize(buf, type, nelts) util_dynarray_resize_bytes(buf, (nelts), sizeof(type))

Error: GCC_ANALYZER_WARNING (CWE-127): [#def2309]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:207:38: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:494:11: note: in expansion of macro ‘util_dynarray_top’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:1529:4: note: in expansion of macro ‘vtn_assert’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:379:33: note: in definition of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/spirv/vtn_structured_cfg.c:494:11: note: in expansion of macro ‘util_dynarray_top’
#  205|   #define util_dynarray_grow(buf, type, ngrow) util_dynarray_grow_bytes(buf, (ngrow), sizeof(type))
#  206|   #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type))
#  207|-> #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type)
#  208|   #define util_dynarray_pop_ptr(buf, type) (type*)((char*)(buf)->data + ((buf)->size -= sizeof(type)))
#  209|   #define util_dynarray_pop(buf, type) *util_dynarray_pop_ptr(buf, type)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2310]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_idalloc.c:51:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   49|      if (new_num_elements > buf->num_elements) {
#   50|         buf->data = realloc(buf->data, new_num_elements * sizeof(*buf->data));
#   51|->       memset(&buf->data[buf->num_elements], 0,
#   52|                (new_num_elements - buf->num_elements) * sizeof(*buf->data));
#   53|         buf->num_elements = new_num_elements;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2311]
mesa-24.2.6-build/mesa-24.2.6/src/gallium/auxiliary/util/u_surface.h:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_test_blit_perf.c:11: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h: scope_hint: In function ‘util_pack_color_ub’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:99:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#   97|      case PIPE_FORMAT_B5G6R5_UNORM:
#   98|         {
#   99|->          uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3);
#  100|         }
#  101|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2312]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:104:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#  102|      case PIPE_FORMAT_B5G5R5X1_UNORM:
#  103|         {
#  104|->          uc->us = ((0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3);
#  105|         }
#  106|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2313]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:109:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#  107|      case PIPE_FORMAT_B5G5R5A1_UNORM:
#  108|         {
#  109|->          uc->us = ((a & 0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3);
#  110|         }
#  111|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2314]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:114:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#  112|      case PIPE_FORMAT_B4G4R4A4_UNORM:
#  113|         {
#  114|->          uc->us = ((a & 0xf0) << 8) | ((r & 0xf0) << 4) | ((g & 0xf0) << 0) | (b >> 4);
#  115|         }
#  116|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2315]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:119:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#  117|      case PIPE_FORMAT_A8_UNORM:
#  118|         {
#  119|->          uc->ub = a;
#  120|         }
#  121|         return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2316]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_pack_color.h:125:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
#  123|      case PIPE_FORMAT_I8_UNORM:
#  124|         {
#  125|->          uc->ub = r;
#  126|         }
#  127|         return;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2317]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_printf.c: scope_hint: In function ‘u_printf_impl’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_printf.c:188:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/u_printf.c:30: included_from: Included from here.
/usr/include/stdio.h:357:12: note: argument 2 of ‘fprintf’ must be non-null
#  186|               uint64_t idx;
#  187|               memcpy(&idx, &buffer[buf_pos], 8);
#  188|->             fprintf(out, print_str, &fmt->strings[idx]);
#  189|   
#  190|            /* Never pass a 'n' spec to the host printf */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2318]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_printf.c:192:29: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  190|            /* Never pass a 'n' spec to the host printf */
#  191|            } else if (print_str[spec_pos] != 'n') {
#  192|->             char *vec_pos = strchr(print_str, 'v');
#  193|               char *mod_pos = strpbrk(print_str, "hl");
#  194|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2319]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.c: scope_hint: In function ‘util_queue_create_thread’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.c:340:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘input’
#  338|      struct thread_input *input =
#  339|         (struct thread_input *) malloc(sizeof(struct thread_input));
#  340|->    input->queue = queue;
#  341|      input->thread_index = index;
#  342|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2320]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.c: scope_hint: In function ‘util_queue_add_job_locked.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.c:609:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘jobs’
#  607|   
#  608|            do {
#  609|->             jobs[num_jobs++] = queue->jobs[i];
#  610|               i = (i + 1) % queue->max_jobs;
#  611|            } while (i != queue->write_idx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2321]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.h:76:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fences’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_queue.c: scope_hint: In function ‘util_queue_finish’
#   74|   util_queue_fence_init(struct util_queue_fence *fence)
#   75|   {
#   76|->    fence->val = 0;
#   77|   }
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2322]
mesa-24.2.6-build/mesa-24.2.6/src/util/u_vector.h:90:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wl’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_optim.c: scope_hint: In function ‘nir_instr_worklist_destroy’
mesa-24.2.6-build/mesa-24.2.6/src/gallium/drivers/radeonsi/si_nir_optim.c:10: included_from: Included from here.
#   88|   u_vector_finish(struct u_vector *queue)
#   89|   {
#   90|->    free(queue->data);
#   91|   }
#   92|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2323]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_video.c:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/vl_bitstream.h: scope_hint: In function ‘vl_bitstream_write_byte_start_code’
mesa-24.2.6-build/mesa-24.2.6/src/util/vl_bitstream.h:85:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
mesa-24.2.6-build/mesa-24.2.6/src/util/vl_bitstream.h: scope_hint: In function ‘vl_bitstream_write_byte_start_code’
#   83|      }
#   84|   
#   85|->    *buffer = val;
#   86|      offset++;
#   87|      enc->offset = offset;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2324]
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c: scope_hint: In function ‘util_vma_hole_alloc’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:139:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘high_hole’
#  137|       */
#  138|      struct util_vma_hole *high_hole = calloc(1, sizeof(*hole));
#  139|->    high_hole->offset = offset + size;
#  140|      high_hole->size = waste;
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2325]
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:341:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hole’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
#  339|         struct util_vma_hole *hole = calloc(1, sizeof(*hole));
#  340|   
#  341|->       hole->offset = offset;
#  342|         hole->size = size;
#  343|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2326]
mesa-24.2.6-build/mesa-24.2.6/src/util/vma.c:353:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hole’
#  351|      heap->free_size += size;
#  352|      util_vma_heap_validate(heap);
#  353|-> }
#  354|   
#  355|   uint64_t

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2327]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘device_select_EnumeratePhysicalDevices’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c:553:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c:44: included_from: Included from here.
#  551|      const char* selection = getenv("MESA_VK_DEVICE_SELECT");
#  552|      bool expose_only_one_dev = false;
#  553|->    VkResult result = info->EnumeratePhysicalDevices(instance, &physical_device_count, NULL);
#  554|      VK_OUTARRAY_MAKE_TYPED(VkPhysicalDevice, out, pPhysicalDevices, pPhysicalDeviceCount);
#  555|      if (result != VK_SUCCESS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2328]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘device_select_EnumeratePhysicalDeviceGroups’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c:636:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  634|      uint32_t physical_device_group_count = 0;
#  635|      uint32_t selected_physical_device_group_count = 0;
#  636|->    VkResult result = info->EnumeratePhysicalDeviceGroups(instance, &physical_device_group_count, NULL);
#  637|      VK_OUTARRAY_MAKE_TYPED(VkPhysicalDeviceGroupProperties, out, pPhysicalDeviceGroups, pPhysicalDeviceGroupCount);
#  638|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2329]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘get_instance_proc_addr.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/device-select-layer/device_select_layer.c:709:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  707|   
#  708|      struct instance_info *info = device_select_layer_get_instance(instance);
#  709|->    return info->GetInstanceProcAddr(instance, name);
#  710|   }
#  711|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2330]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyBuffer’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:43:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:40:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:40:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:40:4: note: in expansion of macro ‘STACK_ARRAY’
#   41|   
#   42|      for (uint32_t r = 0; r < regionCount; r++) {
#   43|->       region2s[r] = (VkBufferCopy2) {
#   44|            .sType      = VK_STRUCTURE_TYPE_BUFFER_COPY_2,
#   45|            .srcOffset  = pRegions[r].srcOffset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2331]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyImage’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:81:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:78:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:78:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:78:4: note: in expansion of macro ‘STACK_ARRAY’
#   79|   
#   80|      for (uint32_t r = 0; r < regionCount; r++) {
#   81|->       region2s[r] = (VkImageCopy2) {
#   82|            .sType            = VK_STRUCTURE_TYPE_IMAGE_COPY_2,
#   83|            .srcSubresource   = pRegions[r].srcSubresource,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2332]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyBufferToImage’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:122:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:119:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:119:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:119:4: note: in expansion of macro ‘STACK_ARRAY’
#  120|   
#  121|      for (uint32_t r = 0; r < regionCount; r++) {
#  122|->       region2s[r] = (VkBufferImageCopy2) {
#  123|            .sType               = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2,
#  124|            .bufferOffset        = pRegions[r].bufferOffset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2333]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyImageToBuffer’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:163:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
#  161|   
#  162|      for (uint32_t r = 0; r < regionCount; r++) {
#  163|->       region2s[r] = (VkBufferImageCopy2) {
#  164|            .sType               = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2,
#  165|            .bufferOffset        = pRegions[r].bufferOffset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2334]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdBlitImage’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:206:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:203:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:203:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:203:4: note: in expansion of macro ‘STACK_ARRAY’
#  204|   
#  205|      for (uint32_t r = 0; r < regionCount; r++) {
#  206|->       region2s[r] = (VkImageBlit2) {
#  207|            .sType            = VK_STRUCTURE_TYPE_IMAGE_BLIT_2,
#  208|            .srcSubresource   = pRegions[r].srcSubresource,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2335]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdResolveImage’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:254:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:251:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:251:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_copy.c:251:4: note: in expansion of macro ‘STACK_ARRAY’
#  252|   
#  253|      for (uint32_t r = 0; r < regionCount; r++) {
#  254|->       region2s[r] = (VkImageResolve2) {
#  255|            .sType            = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2,
#  256|            .srcSubresource   = pRegions[r].srcSubresource,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2336]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c: scope_hint: In function ‘vk_cmd_enqueue_CmdPushDescriptorSet2KHR’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:819:16: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:816:77: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:816:77: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/util/u_dynarray.h:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_command_buffer.h:30: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c: scope_hint: In function ‘vk_cmd_enqueue_CmdPushDescriptorSet2KHR’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:818:62: note: in expansion of macro ‘rzalloc’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  817|                  assert(uniform_data);
#  818|                  VkWriteDescriptorSetInlineUniformBlock *dst = rzalloc(ctx, VkWriteDescriptorSetInlineUniformBlock);
#  819|->                memcpy((void*)dst, uniform_data, sizeof(*uniform_data));
#  820|                  dst->pData = ralloc_size(ctx, uniform_data->dataSize);
#  821|                  memcpy((void*)dst->pData, uniform_data->pData, uniform_data->dataSize);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2337]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:862:96: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:860:19: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c:860:19: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_cmd_enqueue.c: scope_hint: In function ‘vk_cmd_enqueue_CmdPushDescriptorSet2KHR’
#  860|                     vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR);
#  861|   
#  862|->                uint32_t accel_structs_size = sizeof(VkAccelerationStructureKHR) * accel_structs->accelerationStructureCount;
#  863|                  VkWriteDescriptorSetAccelerationStructureKHR *write_accel_structs =
#  864|                     rzalloc_size(ctx, sizeof(VkWriteDescriptorSetAccelerationStructureKHR) + accel_structs_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2338]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.c: scope_hint: In function ‘vk_common_GetImageSparseMemoryRequirements’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.c:509:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem_reqs2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.c:506:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.c:506:4: note: in expansion of macro ‘STACK_ARRAY’
#  507|   
#  508|      for (unsigned i = 0; i < *pSparseMemoryRequirementCount; ++i) {
#  509|->       mem_reqs2[i].sType = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2;
#  510|         mem_reqs2[i].pNext = NULL;
#  511|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2339]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c: scope_hint: In function ‘vk_drm_syncobj_wait_many’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:243:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:35: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
#  241|         }
#  242|   
#  243|->       handles[j] = to_drm_syncobj(waits[i].sync)->syncobj;
#  244|         wait_values[j] = waits[i].wait_value;
#  245|         j++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2340]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:244:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘wait_values’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_drm_syncobj.c:228:4: note: in expansion of macro ‘STACK_ARRAY’
#  242|   
#  243|         handles[j] = to_drm_syncobj(waits[i].sync)->syncobj;
#  244|->       wait_values[j] = waits[i].wait_value;
#  245|         j++;
#  246|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2341]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c: scope_hint: In function ‘vk_common_WaitForFences’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:272:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:37: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_fence.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  270|      for (uint32_t i = 0; i < fenceCount; i++) {
#  271|         VK_FROM_HANDLE(vk_fence, fence, pFences[i]);
#  272|->       waits[i] = (struct vk_sync_wait) {
#  273|            .sync = vk_fence_get_active_sync(fence),
#  274|            .stage_mask = ~(VkPipelineStageFlags2)0,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2342]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘vk_meta_cache_object’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:46:28: warning[-Wanalyzer-malloc-leak]: leak of ‘cache_key_create(obj_type,  key_data,  key_size)’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.h:29: included_from: Included from here.
#   44|      assert(key_size <= UINT32_MAX);
#   45|   
#   46|->    struct cache_key *key = malloc(sizeof(*key) + key_size);
#   47|      *key = (struct cache_key) {
#   48|         .obj_type = obj_type,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2343]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘cache_key_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:47:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key’
#   45|   
#   46|      struct cache_key *key = malloc(sizeof(*key) + key_size);
#   47|->    *key = (struct cache_key) {
#   48|         .obj_type = obj_type,
#   49|         .key_size = key_size,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2344]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘create_rect_list_pipeline’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:345:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stages’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:28: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:337:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:337:4: note: in expansion of macro ‘STACK_ARRAY’
#  343|         .nir = vk_meta_draw_rects_vs_nir(meta, use_gs),
#  344|      };
#  345|->    stages[stage_count++] = (VkPipelineShaderStageCreateInfo) {
#  346|         .sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
#  347|         .pNext = &vs_nir_info,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2345]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:383:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dyn_state’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:337:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:381:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_meta.c:381:4: note: in expansion of macro ‘STACK_ARRAY’
#  381|      STACK_ARRAY(VkDynamicState, dyn_state, dyn_count + 2);
#  382|      for (uint32_t i = 0; i < dyn_count; i++)
#  383|->       dyn_state[i] = info->pDynamicState->pDynamicStates[i];
#  384|   
#  385|      dyn_state[dyn_count + 0] = VK_DYNAMIC_STATE_VIEWPORT;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2346]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c: scope_hint: In function ‘vk_common_GetPhysicalDeviceQueueFamilyProperties’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:157:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘props2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:154:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:154:4: note: in expansion of macro ‘STACK_ARRAY’
#  155|   
#  156|      for (unsigned i = 0; i < *pQueueFamilyPropertyCount; ++i) {
#  157|->       props2[i].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2;
#  158|         props2[i].pNext = NULL;
#  159|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2347]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c: scope_hint: In function ‘vk_common_GetPhysicalDeviceSparseImageFormatProperties’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:269:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘props2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:266:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_physical_device.c:266:4: note: in expansion of macro ‘STACK_ARRAY’
#  267|   
#  268|      for (unsigned i = 0; i < *pNumProperties; ++i) {
#  269|->       props2[i].sType = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2;
#  270|         props2[i].pNext = NULL;
#  271|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2348]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_compile_compute_stage’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline.c:1939:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipeline_layout’
# 1937|      _mesa_blake3_update(&blake3_ctx, &shader_flags, sizeof(shader_flags));
# 1938|   
# 1939|->    for (uint32_t i = 0; i < pipeline_layout->set_count; i++) {
# 1940|         if (pipeline_layout->set_layouts[i] != NULL) {
# 1941|            _mesa_blake3_update(&blake3_ctx,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2349]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:114:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:100:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:101:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:102:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.c:24: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  112|      data_obj->data_size = data_size;
#  113|   
#  114|->    memcpy(obj_key_data, key_data, key_size);
#  115|      memcpy(obj_data, data, data_size);
#  116|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2350]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c: scope_hint: In function ‘vk_queue_wait_before_present’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:1059:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:43: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_queue.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
# 1057|         assert(semaphore->type == VK_SEMAPHORE_TYPE_BINARY);
# 1058|   
# 1059|->       waits[i] = (struct vk_sync_wait) {
# 1060|            .sync = vk_semaphore_get_active_sync(semaphore),
# 1061|            .stage_mask = ~(VkPipelineStageFlags2)0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2351]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘begin_subpass’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1644:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1632:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1632:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1634:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
# 1642|   
# 1643|         if (sp_att->attachment == VK_ATTACHMENT_UNUSED) {
# 1644|->          *color_attachment = (VkRenderingAttachmentInfo) {
# 1645|               .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
# 1646|               .imageView = VK_NULL_HANDLE,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2352]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1657:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1632:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1632:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1634:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
# 1655|            &cmd_buffer->attachments[sp_att->attachment];
# 1656|   
# 1657|->       *color_attachment = (VkRenderingAttachmentInfo) {
# 1658|            .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
# 1659|            .imageView = vk_image_view_to_handle(att_state->image_view),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2353]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘vk_common_CmdBeginRenderPass2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2384:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘att_state’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2303:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2303:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘vk_common_CmdBeginRenderPass2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
# 2382|            assert(util_last_bit(pass_att->view_mask) <= image_view->layer_count);
# 2383|   
# 2384|->       *att_state = (struct vk_attachment_state) {
# 2385|            .image_view = image_view,
# 2386|            .views_loaded = 0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2354]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c: scope_hint: In function ‘vk_sampler_border_color_value’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:79:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c: scope_hint: In function ‘vk_sampler_border_color_value’
#   77|                                 SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT);
#   78|         if (format_out)
#   79|->          *format_out = border_color_info->format;
#   80|   
#   81|         return border_color_info->customBorderColor;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2355]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:81:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:273:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sampler.c: scope_hint: In function ‘vk_sampler_border_color_value’
#   79|            *format_out = border_color_info->format;
#   80|   
#   81|->       return border_color_info->customBorderColor;
#   82|      } else {
#   83|         if (format_out)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2356]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c: scope_hint: In function ‘vk_common_WaitSemaphores’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c:350:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c:39: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_semaphore.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_object.h:224:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  348|         assert(semaphore->type == VK_SEMAPHORE_TYPE_TIMELINE);
#  349|   
#  350|->       waits[i] = (struct vk_sync_wait) {
#  351|            .sync = vk_semaphore_get_active_sync(semaphore),
#  352|            .stage_mask = ~(VkPipelineStageFlags2)0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2357]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c: scope_hint: In function ‘vk_common_CmdBindShadersEXT’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:575:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stages’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:24: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:569:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:569:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:569:4: note: in expansion of macro ‘STACK_ARRAY’
#  573|      for (uint32_t i = 0; i < stageCount; i++) {
#  574|         vk_stages |= pStages[i];
#  575|->       stages[i] = vk_to_mesa_shader_stage(pStages[i]);
#  576|         shaders[i] = pShaders != NULL ? vk_shader_from_handle(pShaders[i]) : NULL;
#  577|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2358]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:576:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shaders’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:569:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:569:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_shader.c:570:4: note: in expansion of macro ‘STACK_ARRAY’
#  574|         vk_stages |= pStages[i];
#  575|         stages[i] = vk_to_mesa_shader_stage(pStages[i]);
#  576|->       shaders[i] = pShaders != NULL ? vk_shader_from_handle(pShaders[i]) : NULL;
#  577|      }
#  578|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2359]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c: scope_hint: In function ‘vk_sync_binary_wait_many.part.0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c:102:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘timeline_waits’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c:97:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c:97:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_sync_binary.c:97:4: note: in expansion of macro ‘STACK_ARRAY’
#  100|         struct vk_sync_binary *binary = to_vk_sync_binary(waits[i].sync);
#  101|   
#  102|->       timeline_waits[i] = (struct vk_sync_wait) {
#  103|            .sync = &binary->timeline,
#  104|            .stage_mask = waits[i].stage_mask,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2360]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c: scope_hint: In function ‘vk_common_CmdPipelineBarrier’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:180:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memory_barriers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:172:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:172:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:172:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
#  178|   
#  179|      for (uint32_t i = 0; i < memoryBarrierCount; i++) {
#  180|->       memory_barriers[i] = upgrade_memory_barrier(&pMemoryBarriers[i],
#  181|                                                     src_stage_mask2,
#  182|                                                     dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2361]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:185:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer_barriers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:172:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
#  183|      }
#  184|      for (uint32_t i = 0; i < bufferMemoryBarrierCount; i++) {
#  185|->       buffer_barriers[i] = upgrade_buffer_memory_barrier(&pBufferMemoryBarriers[i],
#  186|                                                            src_stage_mask2,
#  187|                                                            dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2362]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:190:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘image_barriers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:172:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:173:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:174:4: note: in expansion of macro ‘STACK_ARRAY’
#  188|      }
#  189|      for (uint32_t i = 0; i < imageMemoryBarrierCount; i++) {
#  190|->       image_barriers[i] = upgrade_image_memory_barrier(&pImageMemoryBarriers[i],
#  191|                                                          src_stage_mask2,
#  192|                                                          dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2363]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c: scope_hint: In function ‘vk_common_CmdWaitEvents’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:283:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘deps’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:269:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:269:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:269:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_synchronization.c:269:4: note: in expansion of macro ‘STACK_ARRAY’
#  281|   
#  282|      for (uint32_t i = 0; i < eventCount; i++) {
#  283|->       deps[i] = (VkDependencyInfo) {
#  284|            .sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
#  285|            .memoryBarrierCount = 1,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2364]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_texcompress_astc.c: scope_hint: In function ‘vk_astc_create_shader_module’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_texcompress_astc.c:413:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/rmv/vk_rmv_common.h:29: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_texcompress_astc.h:25: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_texcompress_astc.c:23: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_device.h:272:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_texcompress_astc.c: scope_hint: In function ‘vk_astc_create_shader_module’
#  411|      };
#  412|   
#  413|->    return disp->CreateShaderModule(_device, &shader_module_create_info,
#  414|                                      allocator, &astc->shader_module);
#  415|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2365]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.c: scope_hint: In function ‘vk_spec_info_to_nir_spirv’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.c:102:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
#  100|                (uint8_t *)spec_info->pData + spec_info->dataSize);
#  101|   
#  102|->       spec_entries[i].id = spec_info->pMapEntries[i].constantID;
#  103|         switch (entry.size) {
#  104|         case 8:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2366]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:309:4: warning[-Wanalyzer-null-argument]: use of NULL ‘next_sl’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1107:7: note: in expansion of macro ‘typed_memcpy’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2303:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2303:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2401:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:2401:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:26: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1091:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1092:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1094:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1096:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/runtime/vk_render_pass.c:1107:7: note: in expansion of macro ‘typed_memcpy’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  307|   #define typed_memcpy(dest, src, count) do { \
#  308|      STATIC_ASSERT(sizeof(*(src)) == sizeof(*(dest))); \
#  309|->    memcpy((dest), (src), (count) * sizeof(*(src))); \
#  310|   } while (0)
#  311|   

Error: GCC_ANALYZER_WARNING (CWE-1335): [#def2367]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:322:38: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘32’)
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutablePropertiesKHR’
mesa-24.2.6-build/mesa-24.2.6/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/util/macros.h:370:31: note: in definition of macro ‘MIN2’
#  320|   mesa_to_vk_shader_stage(gl_shader_stage mesa_stage)
#  321|   {
#  322|->    return (VkShaderStageFlagBits) (1 << ((uint32_t) mesa_stage));
#  323|   }
#  324|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2368]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c: scope_hint: In function ‘wsi_common_queue_present’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c:1360:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stage_flags’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c:40: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c:1357:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c:1358:16: note: in expansion of macro ‘MAX2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common.c:1357:4: note: in expansion of macro ‘STACK_ARRAY’
# 1358|                  MAX2(1, pPresentInfo->waitSemaphoreCount));
# 1359|      for (uint32_t s = 0; s < MAX2(1, pPresentInfo->waitSemaphoreCount); s++)
# 1360|->       stage_flags[s] = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT;
# 1361|   
# 1362|      const VkPresentRegionsKHR *regions =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2369]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c: scope_hint: In function ‘wsi_display_surface_get_capabilities2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:974:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:55: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:941:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:941:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:943:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:943:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:259:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c: scope_hint: In function ‘wsi_display_surface_get_capabilities2’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_display.c:949:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
#  972|               if (compat->presentModeCount) {
#  973|                  assert(present_mode);
#  974|->                compat->pPresentModes[0] = present_mode->presentMode;
#  975|                  compat->presentModeCount = 1;
#  976|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2370]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c: scope_hint: In function ‘wsi_create_native_image_mem’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:717:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  715|         const struct VkDrmFormatModifierPropertiesEXT *mod_props =
#  716|            get_modifier_props(info, image->drm_modifier);
#  717|->       image->num_planes = mod_props->drmFormatModifierPlaneCount;
#  718|   
#  719|         for (uint32_t p = 0; p < image->num_planes; p++) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2371]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c: scope_hint: In function ‘wsi_drm_images_explicit_sync_state’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:864:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘flags’ where non-null expected
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:33: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:936:4: note: in expansion of macro ‘STACK_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  862|      int i;
#  863|   
#  864|->    memset(flags, 0, count * sizeof(flags[0]));
#  865|   
#  866|      for (i = 0; i < count; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2372]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:880:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘points’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:876:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:876:4: note: in expansion of macro ‘STACK_ARRAY’
#  878|   
#  879|      for (i = 0; i < count; i++) {
#  880|->       points[i * WSI_ES_COUNT + WSI_ES_ACQUIRE] = 0;
#  881|         points[i * WSI_ES_COUNT + WSI_ES_RELEASE] = 0;
#  882|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2373]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:884:50: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:876:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:877:4: note: in expansion of macro ‘STACK_ARRAY’
#  882|   
#  883|         image = images[indices[i]];
#  884|->       handles[i * WSI_ES_COUNT + WSI_ES_ACQUIRE] = image->explicit_sync[WSI_ES_ACQUIRE].handle;
#  885|         handles[i * WSI_ES_COUNT + WSI_ES_RELEASE] = image->explicit_sync[WSI_ES_RELEASE].handle;
#  886|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2374]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c: scope_hint: In function ‘wsi_drm_wait_for_explicit_sync_release’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:952:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
#  950|            continue;
#  951|   
#  952|->       handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  953|         points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  954|         indices[unacquired_image_count] = i;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2375]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:953:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘points’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:934:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
#  951|   
#  952|         handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  953|->       points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  954|         indices[unacquired_image_count] = i;
#  955|         unacquired_image_count++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2376]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:954:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘indices’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:933:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_drm.c:935:4: note: in expansion of macro ‘STACK_ARRAY’
#  952|         handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  953|         points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  954|->       indices[unacquired_image_count] = i;
#  955|         unacquired_image_count++;
#  956|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2377]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_headless.c: scope_hint: In function ‘wsi_create_null_image_mem’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_headless.c:399:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  397|         const struct VkDrmFormatModifierPropertiesEXT *mod_props =
#  398|            get_modifier_props(info, image->drm_modifier);
#  399|->       image->num_planes = mod_props->drmFormatModifierPlaneCount;
#  400|   
#  401|         for (uint32_t p = 0; p < image->num_planes; p++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2378]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_wait_for_explicit_sync_release_submission’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:1248:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘images’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:61: included_from: Included from here.
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:1246:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/util/vk_util.h:357:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:1246:4: note: in expansion of macro ‘STACK_ARRAY’
# 1246|      STACK_ARRAY(struct wsi_image*, images, chain->base.image_count);
# 1247|      for (uint32_t i = 0; i < chain->base.image_count; i++)
# 1248|->       images[i] = &chain->images[i].base;
# 1249|   
# 1250|      VkResult result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2379]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:1620:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_manage_present_queue’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_manage_present_queue’
# 1618|                             VkPresentModeKHR present_mode)
# 1619|   {
# 1620|->    if (wsi_conn->is_xwayland && !wsi_device->x11.xwaylandWaitReady) {
# 1621|         return false;
# 1622|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2380]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘wsi_x11_get_dri3_modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2271:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wsi_conn’
# 2269|                              const VkAllocationCallbacks *pAllocator)
# 2270|   {
# 2271|->    if (!wsi_conn->has_dri3_modifiers)
# 2272|         goto out;
# 2273|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2381]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:23: note: write of 8 bytes to beyond the end of ‘modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:23: note: valid subscripts for ‘modifiers’ are ‘[0]’ to ‘[1]’
# 2325|   
# 2326|      for (int i = 0; i < n; i++) {
# 2327|->       modifiers_in[i] = modifiers[i];
# 2328|         num_modifiers_in[i] = counts[i];
# 2329|      }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2382]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:34: note: read of 8 bytes from after the end of ‘modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2327:34: note: valid subscripts for ‘modifiers’ are ‘[0]’ to ‘[1]’
# 2325|   
# 2326|      for (int i = 0; i < n; i++) {
# 2327|->       modifiers_in[i] = modifiers[i];
# 2328|         num_modifiers_in[i] = counts[i];
# 2329|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2383]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:27: note: write of 4 bytes to beyond the end of ‘num_modifiers’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:27: note: valid subscripts for ‘num_modifiers’ are ‘[0]’ to ‘[1]’
# 2326|      for (int i = 0; i < n; i++) {
# 2327|         modifiers_in[i] = modifiers[i];
# 2328|->       num_modifiers_in[i] = counts[i];
# 2329|      }
# 2330|      *num_tranches_in = n;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2384]
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:35: note: read of 4 bytes from after the end of ‘counts’
mesa-24.2.6-build/mesa-24.2.6/src/vulkan/wsi/wsi_common_x11.c:2328:35: note: valid subscripts for ‘counts’ are ‘[0]’ to ‘[1]’
# 2326|      for (int i = 0; i < n; i++) {
# 2327|         modifiers_in[i] = modifiers[i];
# 2328|->       num_modifiers_in[i] = counts[i];
# 2329|      }
# 2330|      *num_tranches_in = n;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-223.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namemesa-24.2.6-1.fc42
store-results-to/tmp/tmpag65cwli/mesa-24.2.6-1.fc42.tar.xz
time-created2024-11-13 02:57:27
time-finished2024-11-13 03:55:20
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpag65cwli/mesa-24.2.6-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpag65cwli/mesa-24.2.6-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9