mesa-24.1.2-6.fc41

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
mesa-24.1.2-build/mesa-24.1.2/include/tensorflow/lite/c/common.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘PrepareDelegate’
mesa-24.1.2-build/mesa-24.1.2/include/tensorflow/lite/core/c/common.h:219:14: warning[-Wanalyzer-malloc-leak]: leak of ‘supported_nodes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:356:4: note: in expansion of macro ‘TF_LITE_ENSURE_STATUS’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def2]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:43:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/glcpp-lex.l:621:2: note: in expansion of macro ‘yy_scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2751:17: note: in expansion of macro ‘yy_scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2724:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2459:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2469:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:43:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/glcpp-lex.l:621:2: note: in expansion of macro ‘yy_scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2751:17: note: in expansion of macro ‘yy_scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2773:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_string’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2714:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2459:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2468:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2469:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2738:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2520:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2506:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2510:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def6]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2562:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2441:10: note: in expansion of macro ‘yyrestart’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2664:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2506:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2525:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2554:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2583:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2525:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2554:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2560:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2583:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def7]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2780:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2773:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c: scope_hint: In function ‘glcpp__scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def8]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1353:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1351|            switch (op[0]->type->base_type) {
# 1352|            case GLSL_TYPE_UINT:
# 1353|->             data.u[c] = op[0]->value.u[c0] + op[1]->value.u[c1];
# 1354|               break;
# 1355|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def9]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1356:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1354|               break;
# 1355|            case GLSL_TYPE_INT:
# 1356|->             data.i[c] = op[0]->value.i[c0] + op[1]->value.i[c1];
# 1357|               break;
# 1358|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def10]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1359:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1357|               break;
# 1358|            case GLSL_TYPE_FLOAT:
# 1359|->             data.f[c] = op[0]->value.f[c0] + op[1]->value.f[c1];
# 1360|               break;
# 1361|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def11]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1362:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1360|               break;
# 1361|            case GLSL_TYPE_DOUBLE:
# 1362|->             data.d[c] = op[0]->value.d[c0] + op[1]->value.d[c1];
# 1363|               break;
# 1364|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def12]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1365:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1363|               break;
# 1364|            case GLSL_TYPE_UINT64:
# 1365|->             data.u64[c] = op[0]->value.u64[c0] + op[1]->value.u64[c1];
# 1366|               break;
# 1367|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def13]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1368:50: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1366|               break;
# 1367|            case GLSL_TYPE_INT64:
# 1368|->             data.i64[c] = op[0]->value.i64[c0] + op[1]->value.i64[c1];
# 1369|               break;
# 1370|            default:

Error: CLANG_WARNING: [#def14]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1384:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1382|            switch (op[0]->type->base_type) {
# 1383|            case GLSL_TYPE_UINT:
# 1384|->             data.u[c] = op[0]->value.u[c0] - op[1]->value.u[c1];
# 1385|               break;
# 1386|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def15]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1387:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1385|               break;
# 1386|            case GLSL_TYPE_INT:
# 1387|->             data.i[c] = op[0]->value.i[c0] - op[1]->value.i[c1];
# 1388|               break;
# 1389|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def16]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1390:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1388|               break;
# 1389|            case GLSL_TYPE_FLOAT:
# 1390|->             data.f[c] = op[0]->value.f[c0] - op[1]->value.f[c1];
# 1391|               break;
# 1392|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def17]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1393:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1391|               break;
# 1392|            case GLSL_TYPE_DOUBLE:
# 1393|->             data.d[c] = op[0]->value.d[c0] - op[1]->value.d[c1];
# 1394|               break;
# 1395|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def18]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1396:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1394|               break;
# 1395|            case GLSL_TYPE_UINT64:
# 1396|->             data.u64[c] = op[0]->value.u64[c0] - op[1]->value.u64[c1];
# 1397|               break;
# 1398|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def19]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1399:50: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1397|               break;
# 1398|            case GLSL_TYPE_INT64:
# 1399|->             data.i64[c] = op[0]->value.i64[c0] - op[1]->value.i64[c1];
# 1400|               break;
# 1401|            default:

Error: CLANG_WARNING: [#def20]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1411:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1409|            switch (op[0]->type->base_type) {
# 1410|            case GLSL_TYPE_UINT:
# 1411|->             data.u[c] = (op[0]->value.u[c] + op[1]->value.u[c]) < op[0]->value.u[c] ? UINT32_MAX : (op[0]->value.u[c] + op[1]->value.u[c]);
# 1412|               break;
# 1413|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def21]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1414:58: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1412|               break;
# 1413|            case GLSL_TYPE_INT:
# 1414|->             data.i[c] = iadd_saturate(op[0]->value.i[c], op[1]->value.i[c]);
# 1415|               break;
# 1416|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def22]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1417:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1415|               break;
# 1416|            case GLSL_TYPE_UINT64:
# 1417|->             data.u64[c] = (op[0]->value.u64[c] + op[1]->value.u64[c]) < op[0]->value.u64[c] ? UINT64_MAX : (op[0]->value.u64[c] + op[1]->value.u64[c]);
# 1418|               break;
# 1419|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def23]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1420:64: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1418|               break;
# 1419|            case GLSL_TYPE_INT64:
# 1420|->             data.i64[c] = iadd64_saturate(op[0]->value.i64[c], op[1]->value.i64[c]);
# 1421|               break;
# 1422|            default:

Error: CLANG_WARNING: [#def24]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1432:26: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1430|            switch (op[0]->type->base_type) {
# 1431|            case GLSL_TYPE_UINT:
# 1432|->             data.u[c] = (op[1]->value.u[c] > op[0]->value.u[c]) ? 0 : op[0]->value.u[c] - op[1]->value.u[c];
# 1433|               break;
# 1434|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def25]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1435:58: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1433|               break;
# 1434|            case GLSL_TYPE_INT:
# 1435|->             data.i[c] = isub_saturate(op[0]->value.i[c], op[1]->value.i[c]);
# 1436|               break;
# 1437|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def26]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1438:28: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1436|               break;
# 1437|            case GLSL_TYPE_UINT64:
# 1438|->             data.u64[c] = (op[1]->value.u64[c] > op[0]->value.u64[c]) ? 0 : op[0]->value.u64[c] - op[1]->value.u64[c];
# 1439|               break;
# 1440|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def27]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1441:64: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1439|               break;
# 1440|            case GLSL_TYPE_INT64:
# 1441|->             data.i64[c] = isub64_saturate(op[0]->value.i64[c], op[1]->value.i64[c]);
# 1442|               break;
# 1443|            default:

Error: CLANG_WARNING: [#def28]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1453:26: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1451|            switch (op[0]->type->base_type) {
# 1452|            case GLSL_TYPE_UINT:
# 1453|->             data.u[c] = (op[1]->value.u[c] > op[0]->value.u[c]) ? op[1]->value.u[c] - op[0]->value.u[c] : op[0]->value.u[c] - op[1]->value.u[c];
# 1454|               break;
# 1455|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def29]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1456:26: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1454|               break;
# 1455|            case GLSL_TYPE_INT:
# 1456|->             data.i[c] = (op[1]->value.i[c] > op[0]->value.i[c]) ? (unsigned)op[1]->value.i[c] - (unsigned)op[0]->value.i[c] : (unsigned)op[0]->value.i[c] - (unsigned)op[1]->value.i[c];
# 1457|               break;
# 1458|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def30]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1459:28: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1457|               break;
# 1458|            case GLSL_TYPE_UINT64:
# 1459|->             data.u64[c] = (op[1]->value.u64[c] > op[0]->value.u64[c]) ? op[1]->value.u64[c] - op[0]->value.u64[c] : op[0]->value.u64[c] - op[1]->value.u64[c];
# 1460|               break;
# 1461|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def31]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1462:28: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1460|               break;
# 1461|            case GLSL_TYPE_INT64:
# 1462|->             data.i64[c] = (op[1]->value.i64[c] > op[0]->value.i64[c]) ? (uint64_t)op[1]->value.i64[c] - (uint64_t)op[0]->value.i64[c] : (uint64_t)op[0]->value.i64[c] - (uint64_t)op[1]->value.i64[c];
# 1463|               break;
# 1464|            default:

Error: CLANG_WARNING: [#def32]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1474:53: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1472|            switch (op[0]->type->base_type) {
# 1473|            case GLSL_TYPE_UINT:
# 1474|->             data.u[c] = (op[0]->value.u[c] >> 1) + (op[1]->value.u[c] >> 1) + ((op[0]->value.u[c] & op[1]->value.u[c]) & 1);
# 1475|               break;
# 1476|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def33]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1477:53: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1475|               break;
# 1476|            case GLSL_TYPE_INT:
# 1477|->             data.i[c] = (op[0]->value.i[c] >> 1) + (op[1]->value.i[c] >> 1) + ((op[0]->value.i[c] & op[1]->value.i[c]) & 1);
# 1478|               break;
# 1479|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def34]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1480:57: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1478|               break;
# 1479|            case GLSL_TYPE_UINT64:
# 1480|->             data.u64[c] = (op[0]->value.u64[c] >> 1) + (op[1]->value.u64[c] >> 1) + ((op[0]->value.u64[c] & op[1]->value.u64[c]) & 1);
# 1481|               break;
# 1482|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def35]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1483:57: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1481|               break;
# 1482|            case GLSL_TYPE_INT64:
# 1483|->             data.i64[c] = (op[0]->value.i64[c] >> 1) + (op[1]->value.i64[c] >> 1) + ((op[0]->value.i64[c] & op[1]->value.i64[c]) & 1);
# 1484|               break;
# 1485|            default:

Error: CLANG_WARNING: [#def36]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1495:53: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1493|            switch (op[0]->type->base_type) {
# 1494|            case GLSL_TYPE_UINT:
# 1495|->             data.u[c] = (op[0]->value.u[c] >> 1) + (op[1]->value.u[c] >> 1) + ((op[0]->value.u[c] | op[1]->value.u[c]) & 1);
# 1496|               break;
# 1497|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def37]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1498:53: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1496|               break;
# 1497|            case GLSL_TYPE_INT:
# 1498|->             data.i[c] = (op[0]->value.i[c] >> 1) + (op[1]->value.i[c] >> 1) + ((op[0]->value.i[c] | op[1]->value.i[c]) & 1);
# 1499|               break;
# 1500|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def38]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1501:57: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1499|               break;
# 1500|            case GLSL_TYPE_UINT64:
# 1501|->             data.u64[c] = (op[0]->value.u64[c] >> 1) + (op[1]->value.u64[c] >> 1) + ((op[0]->value.u64[c] | op[1]->value.u64[c]) & 1);
# 1502|               break;
# 1503|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def39]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1504:57: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1502|               break;
# 1503|            case GLSL_TYPE_INT64:
# 1504|->             data.i64[c] = (op[0]->value.i64[c] >> 1) + (op[1]->value.i64[c] >> 1) + ((op[0]->value.i64[c] | op[1]->value.i64[c]) & 1);
# 1505|               break;
# 1506|            default:

Error: CLANG_WARNING: [#def40]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1514:27: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1512|      case ir_binop_mul:
# 1513|         /* Check for equal types, or unequal types involving scalars */
# 1514|->       if ((op[0]->type == op[1]->type && !glsl_type_is_matrix(op[0]->type))
# 1515|             || op0_scalar || op1_scalar) {
# 1516|            for (unsigned c = 0, c0 = 0, c1 = 0;

Error: CLANG_WARNING: [#def41]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1576:55: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1574|            switch (op[0]->type->base_type) {
# 1575|            case GLSL_TYPE_UINT:
# 1576|->             data.u[c] = op[0]->value.u[c] * (uint16_t)op[1]->value.u[c];
# 1577|               break;
# 1578|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def42]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1595:25: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1593|            switch (op[0]->type->base_type) {
# 1594|            case GLSL_TYPE_UINT:
# 1595|->             data.u[c] = op[1]->value.u[c1] == 0 ? 0 : op[0]->value.u[c0] / op[1]->value.u[c1];
# 1596|               break;
# 1597|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def43]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1598:25: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1596|               break;
# 1597|            case GLSL_TYPE_INT:
# 1598|->             data.i[c] = op[1]->value.i[c1] == 0 ? 0 : op[0]->value.i[c0] / op[1]->value.i[c1];
# 1599|               break;
# 1600|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def44]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1601:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1599|               break;
# 1600|            case GLSL_TYPE_FLOAT:
# 1601|->             data.f[c] = op[0]->value.f[c0] / op[1]->value.f[c1];
# 1602|               break;
# 1603|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def45]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1604:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1602|               break;
# 1603|            case GLSL_TYPE_DOUBLE:
# 1604|->             data.d[c] = op[0]->value.d[c0] / op[1]->value.d[c1];
# 1605|               break;
# 1606|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def46]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1607:27: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1605|               break;
# 1606|            case GLSL_TYPE_UINT64:
# 1607|->             data.u64[c] = op[1]->value.u64[c1] == 0 ? 0 : op[0]->value.u64[c0] / op[1]->value.u64[c1];
# 1608|               break;
# 1609|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def47]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1610:27: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1608|               break;
# 1609|            case GLSL_TYPE_INT64:
# 1610|->             data.i64[c] = op[1]->value.i64[c1] == 0 ? 0 : op[0]->value.i64[c0] / op[1]->value.i64[c1];
# 1611|               break;
# 1612|            default:

Error: CLANG_WARNING: [#def48]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1626:25: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1624|            switch (op[0]->type->base_type) {
# 1625|            case GLSL_TYPE_UINT:
# 1626|->             data.u[c] = op[1]->value.u[c1] == 0 ? 0 : op[0]->value.u[c0] % op[1]->value.u[c1];
# 1627|               break;
# 1628|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def49]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1629:25: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1627|               break;
# 1628|            case GLSL_TYPE_INT:
# 1629|->             data.i[c] = op[1]->value.i[c1] == 0 ? 0 : op[0]->value.i[c0] % op[1]->value.i[c1];
# 1630|               break;
# 1631|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def50]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1632:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1630|               break;
# 1631|            case GLSL_TYPE_FLOAT:
# 1632|->             data.f[c] = op[0]->value.f[c0] - op[1]->value.f[c1] * floorf(op[0]->value.f[c0] / op[1]->value.f[c1]);
# 1633|               break;
# 1634|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def51]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1635:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1633|               break;
# 1634|            case GLSL_TYPE_DOUBLE:
# 1635|->             data.d[c] = op[0]->value.d[c0] - op[1]->value.d[c1] * floor(op[0]->value.d[c0] / op[1]->value.d[c1]);
# 1636|               break;
# 1637|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def52]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1638:27: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1636|               break;
# 1637|            case GLSL_TYPE_UINT64:
# 1638|->             data.u64[c] = op[1]->value.u64[c1] == 0 ? 0 : op[0]->value.u64[c0] % op[1]->value.u64[c1];
# 1639|               break;
# 1640|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def53]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1641:27: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1639|               break;
# 1640|            case GLSL_TYPE_INT64:
# 1641|->             data.i64[c] = op[1]->value.i64[c1] == 0 ? 0 : op[0]->value.i64[c0] % op[1]->value.i64[c1];
# 1642|               break;
# 1643|            default:

Error: CLANG_WARNING: [#def54]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1653:45: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1651|            switch (op[0]->type->base_type) {
# 1652|            case GLSL_TYPE_UINT:
# 1653|->             data.b[c] = op[0]->value.u[c] < op[1]->value.u[c];
# 1654|               break;
# 1655|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def55]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1656:45: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1654|               break;
# 1655|            case GLSL_TYPE_INT:
# 1656|->             data.b[c] = op[0]->value.i[c] < op[1]->value.i[c];
# 1657|               break;
# 1658|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def56]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1659:45: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1657|               break;
# 1658|            case GLSL_TYPE_FLOAT:
# 1659|->             data.b[c] = op[0]->value.f[c] < op[1]->value.f[c];
# 1660|               break;
# 1661|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def57]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1662:45: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1660|               break;
# 1661|            case GLSL_TYPE_DOUBLE:
# 1662|->             data.b[c] = op[0]->value.d[c] < op[1]->value.d[c];
# 1663|               break;
# 1664|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def58]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1665:47: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1663|               break;
# 1664|            case GLSL_TYPE_UINT64:
# 1665|->             data.b[c] = op[0]->value.u64[c] < op[1]->value.u64[c];
# 1666|               break;
# 1667|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def59]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1668:47: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1666|               break;
# 1667|            case GLSL_TYPE_INT64:
# 1668|->             data.b[c] = op[0]->value.i64[c] < op[1]->value.i64[c];
# 1669|               break;
# 1670|            default:

Error: CLANG_WARNING: [#def60]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1680:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1678|            switch (op[0]->type->base_type) {
# 1679|            case GLSL_TYPE_UINT:
# 1680|->             data.b[c] = op[0]->value.u[c] >= op[1]->value.u[c];
# 1681|               break;
# 1682|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def61]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1683:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1681|               break;
# 1682|            case GLSL_TYPE_INT:
# 1683|->             data.b[c] = op[0]->value.i[c] >= op[1]->value.i[c];
# 1684|               break;
# 1685|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def62]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1686:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1684|               break;
# 1685|            case GLSL_TYPE_FLOAT:
# 1686|->             data.b[c] = op[0]->value.f[c] >= op[1]->value.f[c];
# 1687|               break;
# 1688|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def63]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1689:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1687|               break;
# 1688|            case GLSL_TYPE_DOUBLE:
# 1689|->             data.b[c] = op[0]->value.d[c] >= op[1]->value.d[c];
# 1690|               break;
# 1691|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def64]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1692:48: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1690|               break;
# 1691|            case GLSL_TYPE_UINT64:
# 1692|->             data.b[c] = op[0]->value.u64[c] >= op[1]->value.u64[c];
# 1693|               break;
# 1694|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def65]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1695:48: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1693|               break;
# 1694|            case GLSL_TYPE_INT64:
# 1695|->             data.b[c] = op[0]->value.i64[c] >= op[1]->value.i64[c];
# 1696|               break;
# 1697|            default:

Error: CLANG_WARNING: [#def66]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1707:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1705|            switch (op[0]->type->base_type) {
# 1706|            case GLSL_TYPE_UINT:
# 1707|->             data.b[c] = op[0]->value.u[c] == op[1]->value.u[c];
# 1708|               break;
# 1709|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def67]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1710:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1708|               break;
# 1709|            case GLSL_TYPE_INT:
# 1710|->             data.b[c] = op[0]->value.i[c] == op[1]->value.i[c];
# 1711|               break;
# 1712|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def68]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1713:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1711|               break;
# 1712|            case GLSL_TYPE_FLOAT:
# 1713|->             data.b[c] = op[0]->value.f[c] == op[1]->value.f[c];
# 1714|               break;
# 1715|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def69]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1716:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1714|               break;
# 1715|            case GLSL_TYPE_DOUBLE:
# 1716|->             data.b[c] = op[0]->value.d[c] == op[1]->value.d[c];
# 1717|               break;
# 1718|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def70]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1719:48: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1717|               break;
# 1718|            case GLSL_TYPE_UINT64:
# 1719|->             data.b[c] = op[0]->value.u64[c] == op[1]->value.u64[c];
# 1720|               break;
# 1721|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def71]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1722:48: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1720|               break;
# 1721|            case GLSL_TYPE_INT64:
# 1722|->             data.b[c] = op[0]->value.i64[c] == op[1]->value.i64[c];
# 1723|               break;
# 1724|            case GLSL_TYPE_BOOL:

Error: CLANG_WARNING: [#def72]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1725:46: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 1723|               break;
# 1724|            case GLSL_TYPE_BOOL:
# 1725|->             data.b[c] = op[0]->value.b[c] == op[1]->value.b[c];
# 1726|               break;
# 1727|            default:

Error: CLANG_WARNING: [#def73]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1737:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1735|            switch (op[0]->type->base_type) {
# 1736|            case GLSL_TYPE_UINT:
# 1737|->             data.b[c] = op[0]->value.u[c] != op[1]->value.u[c];
# 1738|               break;
# 1739|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def74]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1740:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1738|               break;
# 1739|            case GLSL_TYPE_INT:
# 1740|->             data.b[c] = op[0]->value.i[c] != op[1]->value.i[c];
# 1741|               break;
# 1742|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def75]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1743:46: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 1741|               break;
# 1742|            case GLSL_TYPE_FLOAT:
# 1743|->             data.b[c] = op[0]->value.f[c] != op[1]->value.f[c];
# 1744|               break;
# 1745|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def76]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1746:46: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 1744|               break;
# 1745|            case GLSL_TYPE_DOUBLE:
# 1746|->             data.b[c] = op[0]->value.d[c] != op[1]->value.d[c];
# 1747|               break;
# 1748|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def77]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1749:48: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1747|               break;
# 1748|            case GLSL_TYPE_UINT64:
# 1749|->             data.b[c] = op[0]->value.u64[c] != op[1]->value.u64[c];
# 1750|               break;
# 1751|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def78]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1752:48: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1750|               break;
# 1751|            case GLSL_TYPE_INT64:
# 1752|->             data.b[c] = op[0]->value.i64[c] != op[1]->value.i64[c];
# 1753|               break;
# 1754|            case GLSL_TYPE_BOOL:

Error: CLANG_WARNING: [#def79]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1755:46: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 1753|               break;
# 1754|            case GLSL_TYPE_BOOL:
# 1755|->             data.b[c] = op[0]->value.b[c] != op[1]->value.b[c];
# 1756|               break;
# 1757|            default:

Error: CLANG_WARNING: [#def80]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1785:14: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1783|            
# 1784|            if (op[0]->type->base_type == GLSL_TYPE_UINT &&
# 1785|->              op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1786|               data.u[c] = op[0]->value.u[c0] << op[1]->value.u[c1];
# 1787|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT &&

Error: CLANG_WARNING: [#def81]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1797:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1795|               data.u[c] = op[0]->value.u[c0] << op[1]->value.i64[c1];
# 1796|            } else if (op[0]->type->base_type == GLSL_TYPE_INT &&
# 1797|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1798|               data.i[c] = op[0]->value.i[c0] << op[1]->value.u[c1];
# 1799|            } else if (op[0]->type->base_type == GLSL_TYPE_INT &&

Error: CLANG_WARNING: [#def82]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1809:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1807|               data.i[c] = op[0]->value.i[c0] << op[1]->value.i64[c1];
# 1808|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT64 &&
# 1809|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1810|               data.u64[c] = op[0]->value.u64[c0] << op[1]->value.u[c1];
# 1811|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT64 &&

Error: CLANG_WARNING: [#def83]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1821:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1819|               data.u64[c] = op[0]->value.u64[c0] << op[1]->value.i64[c1];
# 1820|            } else if (op[0]->type->base_type == GLSL_TYPE_INT64 &&
# 1821|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1822|               data.i64[c] = op[0]->value.i64[c0] << op[1]->value.u[c1];
# 1823|            } else if (op[0]->type->base_type == GLSL_TYPE_INT64 &&

Error: CLANG_WARNING: [#def84]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1852:14: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1850|            
# 1851|            if (op[0]->type->base_type == GLSL_TYPE_UINT &&
# 1852|->              op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1853|               data.u[c] = op[0]->value.u[c0] >> op[1]->value.u[c1];
# 1854|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT &&

Error: CLANG_WARNING: [#def85]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1864:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1862|               data.u[c] = op[0]->value.u[c0] >> op[1]->value.i64[c1];
# 1863|            } else if (op[0]->type->base_type == GLSL_TYPE_INT &&
# 1864|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1865|               data.i[c] = op[0]->value.i[c0] >> op[1]->value.u[c1];
# 1866|            } else if (op[0]->type->base_type == GLSL_TYPE_INT &&

Error: CLANG_WARNING: [#def86]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1876:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1874|               data.i[c] = op[0]->value.i[c0] >> op[1]->value.i64[c1];
# 1875|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT64 &&
# 1876|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1877|               data.u64[c] = op[0]->value.u64[c0] >> op[1]->value.u[c1];
# 1878|            } else if (op[0]->type->base_type == GLSL_TYPE_UINT64 &&

Error: CLANG_WARNING: [#def87]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1888:21: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 1886|               data.u64[c] = op[0]->value.u64[c0] >> op[1]->value.i64[c1];
# 1887|            } else if (op[0]->type->base_type == GLSL_TYPE_INT64 &&
# 1888|->                     op[1]->type->base_type == GLSL_TYPE_UINT) {
# 1889|               data.i64[c] = op[0]->value.i64[c0] >> op[1]->value.u[c1];
# 1890|            } else if (op[0]->type->base_type == GLSL_TYPE_INT64 &&

Error: CLANG_WARNING: [#def88]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1913:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1911|            switch (op[0]->type->base_type) {
# 1912|            case GLSL_TYPE_UINT:
# 1913|->             data.u[c] = op[0]->value.u[c0] & op[1]->value.u[c1];
# 1914|               break;
# 1915|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def89]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1916:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1914|               break;
# 1915|            case GLSL_TYPE_INT:
# 1916|->             data.i[c] = op[0]->value.i[c0] & op[1]->value.i[c1];
# 1917|               break;
# 1918|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def90]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1919:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1917|               break;
# 1918|            case GLSL_TYPE_UINT64:
# 1919|->             data.u64[c] = op[0]->value.u64[c0] & op[1]->value.u64[c1];
# 1920|               break;
# 1921|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def91]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1922:50: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1920|               break;
# 1921|            case GLSL_TYPE_INT64:
# 1922|->             data.i64[c] = op[0]->value.i64[c0] & op[1]->value.i64[c1];
# 1923|               break;
# 1924|            default:

Error: CLANG_WARNING: [#def92]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1938:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1936|            switch (op[0]->type->base_type) {
# 1937|            case GLSL_TYPE_UINT:
# 1938|->             data.u[c] = op[0]->value.u[c0] ^ op[1]->value.u[c1];
# 1939|               break;
# 1940|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def93]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1941:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1939|               break;
# 1940|            case GLSL_TYPE_INT:
# 1941|->             data.i[c] = op[0]->value.i[c0] ^ op[1]->value.i[c1];
# 1942|               break;
# 1943|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def94]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1944:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1942|               break;
# 1943|            case GLSL_TYPE_UINT64:
# 1944|->             data.u64[c] = op[0]->value.u64[c0] ^ op[1]->value.u64[c1];
# 1945|               break;
# 1946|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def95]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1947:50: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1945|               break;
# 1946|            case GLSL_TYPE_INT64:
# 1947|->             data.i64[c] = op[0]->value.i64[c0] ^ op[1]->value.i64[c1];
# 1948|               break;
# 1949|            default:

Error: CLANG_WARNING: [#def96]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1963:46: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 1961|            switch (op[0]->type->base_type) {
# 1962|            case GLSL_TYPE_UINT:
# 1963|->             data.u[c] = op[0]->value.u[c0] | op[1]->value.u[c1];
# 1964|               break;
# 1965|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def97]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1966:46: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 1964|               break;
# 1965|            case GLSL_TYPE_INT:
# 1966|->             data.i[c] = op[0]->value.i[c0] | op[1]->value.i[c1];
# 1967|               break;
# 1968|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def98]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1969:50: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 1967|               break;
# 1968|            case GLSL_TYPE_UINT64:
# 1969|->             data.u64[c] = op[0]->value.u64[c0] | op[1]->value.u64[c1];
# 1970|               break;
# 1971|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def99]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1972:50: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 1970|               break;
# 1971|            case GLSL_TYPE_INT64:
# 1972|->             data.i64[c] = op[0]->value.i64[c0] | op[1]->value.i64[c1];
# 1973|               break;
# 1974|            default:

Error: CLANG_WARNING: [#def100]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1984:46: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 1982|            switch (op[0]->type->base_type) {
# 1983|            case GLSL_TYPE_BOOL:
# 1984|->             data.b[c] = op[0]->value.b[c] && op[1]->value.b[c];
# 1985|               break;
# 1986|            default:

Error: CLANG_WARNING: [#def101]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:1996:46: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 1994|            switch (op[0]->type->base_type) {
# 1995|            case GLSL_TYPE_BOOL:
# 1996|->             data.b[c] = op[0]->value.b[c] != op[1]->value.b[c];
# 1997|               break;
# 1998|            default:

Error: CLANG_WARNING: [#def102]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2008:46: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 2006|            switch (op[0]->type->base_type) {
# 2007|            case GLSL_TYPE_BOOL:
# 2008|->             data.b[c] = op[0]->value.b[c] || op[1]->value.b[c];
# 2009|               break;
# 2010|            default:

Error: CLANG_WARNING: [#def103]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2037:25: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 2035|            switch (op[0]->type->base_type) {
# 2036|            case GLSL_TYPE_UINT:
# 2037|->             data.u[c] = MIN2(op[0]->value.u[c0], op[1]->value.u[c1]);
# 2038|               break;
# 2039|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def104]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2040:25: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2038|               break;
# 2039|            case GLSL_TYPE_INT:
# 2040|->             data.i[c] = MIN2(op[0]->value.i[c0], op[1]->value.i[c1]);
# 2041|               break;
# 2042|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def105]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2043:25: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2041|               break;
# 2042|            case GLSL_TYPE_FLOAT:
# 2043|->             data.f[c] = MIN2(op[0]->value.f[c0], op[1]->value.f[c1]);
# 2044|               break;
# 2045|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def106]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2046:25: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 2044|               break;
# 2045|            case GLSL_TYPE_DOUBLE:
# 2046|->             data.d[c] = MIN2(op[0]->value.d[c0], op[1]->value.d[c1]);
# 2047|               break;
# 2048|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def107]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2049:27: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 2047|               break;
# 2048|            case GLSL_TYPE_UINT64:
# 2049|->             data.u64[c] = MIN2(op[0]->value.u64[c0], op[1]->value.u64[c1]);
# 2050|               break;
# 2051|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def108]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2052:27: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 2050|               break;
# 2051|            case GLSL_TYPE_INT64:
# 2052|->             data.i64[c] = MIN2(op[0]->value.i64[c0], op[1]->value.i64[c1]);
# 2053|               break;
# 2054|            default:

Error: CLANG_WARNING: [#def109]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2068:25: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 2066|            switch (op[0]->type->base_type) {
# 2067|            case GLSL_TYPE_UINT:
# 2068|->             data.u[c] = MAX2(op[0]->value.u[c0], op[1]->value.u[c1]);
# 2069|               break;
# 2070|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def110]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2071:25: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2069|               break;
# 2070|            case GLSL_TYPE_INT:
# 2071|->             data.i[c] = MAX2(op[0]->value.i[c0], op[1]->value.i[c1]);
# 2072|               break;
# 2073|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def111]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2074:25: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2072|               break;
# 2073|            case GLSL_TYPE_FLOAT:
# 2074|->             data.f[c] = MAX2(op[0]->value.f[c0], op[1]->value.f[c1]);
# 2075|               break;
# 2076|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def112]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2077:25: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 2075|               break;
# 2076|            case GLSL_TYPE_DOUBLE:
# 2077|->             data.d[c] = MAX2(op[0]->value.d[c0], op[1]->value.d[c1]);
# 2078|               break;
# 2079|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def113]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2080:27: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 2078|               break;
# 2079|            case GLSL_TYPE_UINT64:
# 2080|->             data.u64[c] = MAX2(op[0]->value.u64[c0], op[1]->value.u64[c1]);
# 2081|               break;
# 2082|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def114]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2083:27: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 2081|               break;
# 2082|            case GLSL_TYPE_INT64:
# 2083|->             data.i64[c] = MAX2(op[0]->value.i64[c0], op[1]->value.i64[c1]);
# 2084|               break;
# 2085|            default:

Error: CLANG_WARNING: [#def115]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2095:49: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2093|            switch (op[0]->type->base_type) {
# 2094|            case GLSL_TYPE_FLOAT:
# 2095|->             data.f[c] = powf(op[0]->value.f[c], op[1]->value.f[c]);
# 2096|               break;
# 2097|            default:

Error: CLANG_WARNING: [#def116]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2107:67: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2105|            switch (op[0]->type->base_type) {
# 2106|            case GLSL_TYPE_FLOAT:
# 2107|->             data.f[c] = ldexpf_flush_subnormal(op[0]->value.f[c], op[1]->value.i[c]);
# 2108|               break;
# 2109|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def117]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2110:66: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2108|               break;
# 2109|            case GLSL_TYPE_DOUBLE:
# 2110|->             data.d[c] = ldexp_flush_subnormal(op[0]->value.d[c], op[1]->value.i[c]);
# 2111|               break;
# 2112|            default:

Error: CLANG_WARNING: [#def118]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2119:21: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2117|   
# 2118|      case ir_binop_vector_extract: {
# 2119|->       const int c = CLAMP(op[1]->value.i[0], 0,
# 2120|                             (int) op[0]->type->vector_elements - 1);
# 2121|   

Error: CLANG_WARNING: [#def119]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:843: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2154:50: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2152|            switch (op[0]->type->base_type) {
# 2153|            case GLSL_TYPE_FLOAT:
# 2154|->             data.f[c] = atan2(op[0]->value.f[c], op[1]->value.f[c]);
# 2155|               break;
# 2156|            default:

Error: CLANG_WARNING: [#def120]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2166:45: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2164|            switch (op[0]->type->base_type) {
# 2165|            case GLSL_TYPE_FLOAT:
# 2166|->             data.f[c] = op[0]->value.f[c] * op[1]->value.f[c] + op[2]->value.f[c];
# 2167|               break;
# 2168|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def121]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2166:65: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2164|            switch (op[0]->type->base_type) {
# 2165|            case GLSL_TYPE_FLOAT:
# 2166|->             data.f[c] = op[0]->value.f[c] * op[1]->value.f[c] + op[2]->value.f[c];
# 2167|               break;
# 2168|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def122]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2169:45: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 2167|               break;
# 2168|            case GLSL_TYPE_DOUBLE:
# 2169|->             data.d[c] = op[0]->value.d[c] * op[1]->value.d[c] + op[2]->value.d[c];
# 2170|               break;
# 2171|            default:

Error: CLANG_WARNING: [#def123]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2169:65: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 2167|               break;
# 2168|            case GLSL_TYPE_DOUBLE:
# 2169|->             data.d[c] = op[0]->value.d[c] * op[1]->value.d[c] + op[2]->value.d[c];
# 2170|               break;
# 2171|            default:

Error: CLANG_WARNING: [#def124]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2182:45: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
# 2180|         assert(glsl_type_is_float(op[2]->type) || glsl_type_is_double(op[2]->type));
# 2181|   
# 2182|->       unsigned c2_inc = glsl_type_is_scalar(op[2]->type) ? 0 : 1;
# 2183|         for (unsigned c = 0, c2 = 0; c < components; c2 += c2_inc, c++) {
# 2184|            switch (return_type->base_type) {

Error: CLANG_WARNING: [#def125]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2202:25: warning[core.NullDereference]: Dereference of null pointer
# 2200|            switch (return_type->base_type) {
# 2201|            case GLSL_TYPE_UINT:
# 2202|->             data.u[c] = op[0]->value.b[c] ? op[1]->value.u[c] : op[2]->value.u[c];
# 2203|               break;
# 2204|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def126]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2205:25: warning[core.NullDereference]: Dereference of null pointer
# 2203|               break;
# 2204|            case GLSL_TYPE_INT:
# 2205|->             data.i[c] = op[0]->value.b[c] ? op[1]->value.i[c] : op[2]->value.i[c];
# 2206|               break;
# 2207|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def127]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2208:25: warning[core.NullDereference]: Dereference of null pointer
# 2206|               break;
# 2207|            case GLSL_TYPE_FLOAT:
# 2208|->             data.f[c] = op[0]->value.b[c] ? op[1]->value.f[c] : op[2]->value.f[c];
# 2209|               break;
# 2210|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def128]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2211:25: warning[core.NullDereference]: Dereference of null pointer
# 2209|               break;
# 2210|            case GLSL_TYPE_DOUBLE:
# 2211|->             data.d[c] = op[0]->value.b[c] ? op[1]->value.d[c] : op[2]->value.d[c];
# 2212|               break;
# 2213|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def129]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2214:27: warning[core.NullDereference]: Dereference of null pointer
# 2212|               break;
# 2213|            case GLSL_TYPE_UINT64:
# 2214|->             data.u64[c] = op[0]->value.b[c] ? op[1]->value.u64[c] : op[2]->value.u64[c];
# 2215|               break;
# 2216|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def130]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2217:27: warning[core.NullDereference]: Dereference of null pointer
# 2215|               break;
# 2216|            case GLSL_TYPE_INT64:
# 2217|->             data.i64[c] = op[0]->value.b[c] ? op[1]->value.i64[c] : op[2]->value.i64[c];
# 2218|               break;
# 2219|            case GLSL_TYPE_BOOL:

Error: CLANG_WARNING: [#def131]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2220:25: warning[core.NullDereference]: Dereference of null pointer
# 2218|               break;
# 2219|            case GLSL_TYPE_BOOL:
# 2220|->             data.b[c] = op[0]->value.b[c] ? op[1]->value.b[c] : op[2]->value.b[c];
# 2221|               break;
# 2222|            default:

Error: CLANG_WARNING: [#def132]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2232:66: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2230|            switch (op[0]->type->base_type) {
# 2231|            case GLSL_TYPE_UINT:
# 2232|->             data.i[c] = bitfield_extract_uint(op[0]->value.u[c], op[1]->value.i[c], op[2]->value.i[c]);
# 2233|               break;
# 2234|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def133]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2235:65: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2233|               break;
# 2234|            case GLSL_TYPE_INT:
# 2235|->             data.i[c] = bitfield_extract_int(op[0]->value.i[c], op[1]->value.i[c], op[2]->value.i[c]);
# 2236|               break;
# 2237|            default:

Error: CLANG_WARNING: [#def134]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2244:28: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 2242|   
# 2243|      case ir_triop_vector_insert: {
# 2244|->       const unsigned idx = op[2]->value.u[0];
# 2245|   
# 2246|         memcpy(&data, &op[0]->value, sizeof(data));

Error: CLANG_WARNING: [#def135]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2280:60: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 2278|            switch (op[0]->type->base_type) {
# 2279|            case GLSL_TYPE_UINT:
# 2280|->             data.u[c] = bitfield_insert(op[0]->value.u[c], op[1]->value.u[c], op[2]->value.i[c], op[3]->value.i[c]);
# 2281|               break;
# 2282|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def136]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2280:79: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2278|            switch (op[0]->type->base_type) {
# 2279|            case GLSL_TYPE_UINT:
# 2280|->             data.u[c] = bitfield_insert(op[0]->value.u[c], op[1]->value.u[c], op[2]->value.i[c], op[3]->value.i[c]);
# 2281|               break;
# 2282|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def137]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2283:60: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2281|               break;
# 2282|            case GLSL_TYPE_INT:
# 2283|->             data.i[c] = bitfield_insert(op[0]->value.i[c], op[1]->value.i[c], op[2]->value.i[c], op[3]->value.i[c]);
# 2284|               break;
# 2285|            default:

Error: CLANG_WARNING: [#def138]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2283:79: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2281|               break;
# 2282|            case GLSL_TYPE_INT:
# 2283|->             data.i[c] = bitfield_insert(op[0]->value.i[c], op[1]->value.i[c], op[2]->value.i[c], op[3]->value.i[c]);
# 2284|               break;
# 2285|            default:

Error: CLANG_WARNING: [#def139]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2295:25: warning[core.NullDereference]: Array access (via field 'u') results in a null pointer dereference
# 2293|            switch (return_type->base_type) {
# 2294|            case GLSL_TYPE_UINT:
# 2295|->             data.u[c] = op[c]->value.u[0];
# 2296|               break;
# 2297|            case GLSL_TYPE_INT:

Error: CLANG_WARNING: [#def140]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2298:25: warning[core.NullDereference]: Array access (via field 'i') results in a null pointer dereference
# 2296|               break;
# 2297|            case GLSL_TYPE_INT:
# 2298|->             data.i[c] = op[c]->value.i[0];
# 2299|               break;
# 2300|            case GLSL_TYPE_FLOAT:

Error: CLANG_WARNING: [#def141]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2301:25: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
# 2299|               break;
# 2300|            case GLSL_TYPE_FLOAT:
# 2301|->             data.f[c] = op[c]->value.f[0];
# 2302|               break;
# 2303|            case GLSL_TYPE_DOUBLE:

Error: CLANG_WARNING: [#def142]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2304:25: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
# 2302|               break;
# 2303|            case GLSL_TYPE_DOUBLE:
# 2304|->             data.d[c] = op[c]->value.d[0];
# 2305|               break;
# 2306|            case GLSL_TYPE_UINT64:

Error: CLANG_WARNING: [#def143]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2307:27: warning[core.NullDereference]: Array access (via field 'u64') results in a null pointer dereference
# 2305|               break;
# 2306|            case GLSL_TYPE_UINT64:
# 2307|->             data.u64[c] = op[c]->value.u64[0];
# 2308|               break;
# 2309|            case GLSL_TYPE_INT64:

Error: CLANG_WARNING: [#def144]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2310:27: warning[core.NullDereference]: Array access (via field 'i64') results in a null pointer dereference
# 2308|               break;
# 2309|            case GLSL_TYPE_INT64:
# 2310|->             data.i64[c] = op[c]->value.i64[0];
# 2311|               break;
# 2312|            case GLSL_TYPE_BOOL:

Error: CLANG_WARNING: [#def145]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/glsl/ir_expression_operation_constant.h:2313:25: warning[core.NullDereference]: Array access (via field 'b') results in a null pointer dereference
# 2311|               break;
# 2312|            case GLSL_TYPE_BOOL:
# 2313|->             data.b[c] = op[c]->value.b[0];
# 2314|               break;
# 2315|            default:

Error: CLANG_WARNING: [#def146]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_rt_intrinsics.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1868:8: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src0')
# 1866|   nir_u2u32(nir_builder *build, nir_def *src0)
# 1867|   {
# 1868|->    if (src0->bit_size == 32)
# 1869|         return src0;
# 1870|      return nir_build_alu1(build, nir_op_u2u32, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1868:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_build_addr_iadd’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_build_addr_iadd’
# 1866|   nir_u2u32(nir_builder *build, nir_def *src0)
# 1867|   {
# 1868|->    if (src0->bit_size == 32)
# 1869|         return src0;
# 1870|      return nir_build_alu1(build, nir_op_u2u32, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1868:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tex_h’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘lower_txq’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_private.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_tex.c:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_txq’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
# 1866|   nir_u2u32(nir_builder *build, nir_def *src0)
# 1867|   {
# 1868|->    if (src0->bit_size == 32)
# 1869|         return src0;
# 1870|      return nir_build_alu1(build, nir_op_u2u32, src0);

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1875:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data_w’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘shrink_image_load’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘shrink_image_load’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘shrink_image_load’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_tex.c: scope_hint: In function ‘shrink_image_load’
# 1873|   nir_u2u64(nir_builder *build, nir_def *src0)
# 1874|   {
# 1875|->    if (src0->bit_size == 64)
# 1876|         return src0;
# 1877|      return nir_build_alu1(build, nir_op_u2u64, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/util/pan_lower_sample_position.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_u2u64’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:1875:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_u2u64’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/util/pan_lower_sample_position.c: scope_hint: In function ‘nir_u2u64’
# 1873|   nir_u2u64(nir_builder *build, nir_def *src0)
# 1874|   {
# 1875|->    if (src0->bit_size == 64)
# 1876|         return src0;
# 1877|      return nir_build_alu1(build, nir_op_u2u64, src0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_nir.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_lower_subgroups.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_brcst_active_ir3’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:4749:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_lower_subgroups.c:579:24: note: in expansion of macro ‘nir_brcst_active_ir3’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_lower_subgroups.c:579:24: note: in expansion of macro ‘nir_brcst_active_ir3’
# 4747|         build->shader, nir_intrinsic_brcst_active_ir3);
# 4748|   
# 4749|->       nir_def_init(&intrin->instr, &intrin->def, 1, src0->bit_size);
# 4750|      intrin->src[0] = nir_src_for_ssa(src0);
# 4751|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_tess_io_to_mem.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:11563:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_shader_util.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_tess_io_to_mem.c: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_tess_io_to_mem.c: scope_hint: In function ‘_nir_build_store_buffer_amd’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_tess_io_to_mem.c:697:4: note: in expansion of macro ‘nir_store_buffer_amd’
#11561|         build->shader, nir_intrinsic_store_buffer_amd);
#11562|   
#11563|->    intrin->num_components = src0->num_components;
#11564|      intrin->src[0] = nir_src_for_ssa(src0);
#11565|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:11884:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:425:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:425:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘_nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1930:4: note: in expansion of macro ‘nir_build_store_reg’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_reg’
#11882|         build->shader, nir_intrinsic_store_reg);
#11883|   
#11884|->    intrin->num_components = src0->num_components;
#11885|      intrin->src[0] = nir_src_for_ssa(src0);
#11886|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:11954:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c:437:7: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c:437:7: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c: scope_hint: In function ‘_nir_build_store_shared’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c:90:4: note: in expansion of macro ‘nir_store_shared’
#11952|         build->shader, nir_intrinsic_store_shared);
#11953|   
#11954|->    intrin->num_components = src0->num_components;
#11955|      intrin->src[0] = nir_src_for_ssa(src0);
#11956|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:12029:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1474:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/nir_spirv.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:83: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1474:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1474:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1474:7: note: in expansion of macro ‘nir_vulkan_resource_index’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1486:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1486:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1486:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1486:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1489:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1489:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c: scope_hint: In function ‘_nir_build_store_ssbo’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1489:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1489:7: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_query.c:1388:4: note: in expansion of macro ‘nir_store_ssbo’
#12027|         build->shader, nir_intrinsic_store_ssbo);
#12028|   
#12029|->    intrin->num_components = src0->num_components;
#12030|      intrin->src[0] = nir_src_for_ssa(src0);
#12031|      intrin->src[1] = nir_src_for_ssa(src1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def157]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14348:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘channels[i]’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:82:24: note: in expansion of macro ‘nir_read_first_invocation’
#14346|   #define nir_quad_vote_all _nir_build_quad_vote_all
#14347|   #define nir_quad_vote_any _nir_build_quad_vote_any
#14348|-> #define nir_read_first_invocation _nir_build_read_first_invocation
#14349|   #define nir_read_invocation _nir_build_read_invocation
#14350|   #define nir_read_invocation_cond_ir3 _nir_build_read_invocation_cond_ir3

Error: CLANG_WARNING: [#def158]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atifs_to_nir.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14824:62: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src1')
#14822|   nir_fge_imm(nir_builder *build, nir_def *src1, double src2)
#14823|   {
#14824|->    return nir_fge(build, src1, nir_imm_floatN_t(build, src2, src1->bit_size));
#14825|   }
#14826|   static inline nir_def *

Error: CLANG_WARNING: [#def159]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_system_values.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14840:60: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src1')
#14838|   nir_ilt_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#14839|   {
#14840|->    return nir_ilt(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#14841|   }
#14842|   static inline nir_def *

Error: CLANG_WARNING: [#def160]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14850:60: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src1')
#14848|   nir_ieq_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#14849|   {
#14850|->    return nir_ieq(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#14851|   }
#14852|   static inline nir_def *

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_ine_imm’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14855:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:399:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:275:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:276:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:276:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:276:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c: scope_hint: In function ‘nir_ine_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:276:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:276:7: note: in expansion of macro ‘nir_foreach_instr_safe’
#14853|   nir_ine_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#14854|   {
#14855|->    return nir_ine(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#14856|   }
#14857|   static inline nir_def *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h: scope_hint: In function ‘nir_ult_imm’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14860:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_ult_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ult_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_ult_imm’
#14858|   nir_ult_imm(nir_builder *build, nir_def *src1, uint64_t src2)
#14859|   {
#14860|->    return nir_ult(build, src1, nir_imm_intN_t(build, src2, src1->bit_size));
#14861|   }
#14862|   static inline nir_def *

Error: CLANG_WARNING: [#def164]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_constant_expressions.c:25527:29: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#25525|                     constant_denorm_flush_to_zero(&_dst_val[2], 32);
#25526|                  }
#25527|->             _dst_val[3].f32 = dst.w;
#25528|   
#25529|                  if (nir_is_denorm_flush_to_zero(execution_mode, 32)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_intrinsics_indices.h:56:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores’
mesa-24.1.2-build/mesa-24.1.2/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): [#def166]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3756:18: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3758:41: note: in expansion of macro ‘yyrealloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3758:41: note: in expansion of macro ‘yyrealloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘yy_get_next_buffer’
# 3754|   				else
# 3755|   					b->yy_buf_size *= 2;
# 3756|-> 
# 3757|   				b->yy_ch_buf = (char *)
# 3758|   					/* Include room in for 2 EOB chars. */

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

Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4332:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4316:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4325:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c: scope_hint: In function ‘ir3_yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4334:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4266:17: note: in expansion of macro ‘yy_scan_buffer’
# 4330|   	for ( i = 0; i < _yybytes_len; ++i )
# 4331|   		buf[i] = yybytes[i];
# 4332|-> 
# 4333|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 4334|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def169]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c: scope_hint: In function ‘ir3_yyparse’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1261:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1246:9: note: in expansion of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3062:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1261:25: note: in definition of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3062:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:1246:9: note: in expansion of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3062:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
# 1259|   #  if defined __GNUC__ && 1 < __GNUC__
# 1260|   #   define YYCOPY(Dst, Src, Count) \
# 1261|->       __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# 1262|   #  else
# 1263|   #   define YYCOPY(Dst, Src, Count)              \

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

Error: CLANG_WARNING: [#def171]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/dev/intel_wa.h:265:38: note: expanded from macro 'INTEL_WA_1806565034_GFX_VER'
#  263|   #define INTEL_WA_1806230709_GFX_VER (GFX_VERx10 == 110)
#  264|   #define INTEL_WA_1806527549_GFX_VER (GFX_VERx10 == 120)
#  265|-> #define INTEL_WA_1806565034_GFX_VER (GFX_VERx10 == 120)
#  266|   #define INTEL_WA_1808121037_GFX_VER (GFX_VERx10 == 120)
#  267|   #define INTEL_WA_1808850743_GFX_VER (GFX_VERx10 == 120)

Error: CLANG_WARNING: [#def172]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/dev/intel_wa.h:334:38: note: expanded from macro 'INTEL_WA_16011773973_GFX_VER'
#  332|   #define INTEL_WA_16011448509_GFX_VER (GFX_VERx10 == 120)
#  333|   #define INTEL_WA_16011627967_GFX_VER (GFX_VERx10 == 125)
#  334|-> #define INTEL_WA_16011773973_GFX_VER (GFX_VERx10 == 125)
#  335|   #define INTEL_WA_16012383669_GFX_VER (GFX_VERx10 == 200)
#  336|   #define INTEL_WA_16012775297_GFX_VER (GFX_VERx10 == 125)

Error: CLANG_WARNING: [#def173]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/dev/intel_wa.h:359:38: note: expanded from macro 'INTEL_WA_18020335297_GFX_VER'
#  357|   #define INTEL_WA_18019110168_GFX_VER (GFX_VERx10 == 125)
#  358|   #define INTEL_WA_18019816803_GFX_VER (GFX_VERx10 == 125)
#  359|-> #define INTEL_WA_18020335297_GFX_VER (GFX_VERx10 == 125)
#  360|   #define INTEL_WA_18020603990_GFX_VER (GFX_VERx10 == 120)
#  361|   #define INTEL_WA_18022330953_GFX_VER (GFX_VERx10 == 125)

Error: CLANG_WARNING: [#def174]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/dev/intel_wa.h:359:39: note: expanded from macro 'INTEL_WA_18020335297_GFX_VER'
#  357|   #define INTEL_WA_18019110168_GFX_VER (GFX_VERx10 == 125)
#  358|   #define INTEL_WA_18019816803_GFX_VER (GFX_VERx10 == 125)
#  359|-> #define INTEL_WA_18020335297_GFX_VER (GFX_VERx10 == 125)
#  360|   #define INTEL_WA_18020603990_GFX_VER (GFX_VERx10 == 120)
#  361|   #define INTEL_WA_18022330953_GFX_VER (GFX_VERx10 == 125)

Error: CLANG_WARNING: [#def175]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/dev/intel_wa.h:435:35: note: expanded from macro 'INTEL_NEEDS_WA_1806565034'
#  433|   PRAGMA_POISON(INTEL_NEEDS_WA_1806230709)
#  434|   #define INTEL_NEEDS_WA_1806527549 INTEL_WA_1806527549_GFX_VER
#  435|-> #define INTEL_NEEDS_WA_1806565034 INTEL_WA_1806565034_GFX_VER
#  436|   #define INTEL_NEEDS_WA_1808121037 INTEL_WA_1808121037_GFX_VER
#  437|   #define INTEL_NEEDS_WA_1808850743 INTEL_WA_1808850743_GFX_VER

Error: CLANG_WARNING: [#def176]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen11_pack.h:3009:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 3007|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 3008|   
# 3009|->    dw[0] =
# 3010|         util_bitpack_uint(values->BufferPitch, 0, 11) |
# 3011|         util_bitpack_uint(values->NullVertexBuffer, 13, 13) |

Error: CLANG_WARNING: [#def177]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen11_pack.h:3045:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 3043|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 3044|   
# 3045|->    dw[0] =
# 3046|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 3047|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def178]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen125_pack.h:5313:4: note: 'dw' initialized to a null pointer value
# 5311|                                    __attribute__((unused)) const struct GFX125_VERTEX_ELEMENT_STATE * restrict values)
# 5312|   {
# 5313|->    uint32_t * restrict dw = (uint32_t * restrict) dst;
# 5314|   
# 5315|      dw[0] =

Error: CLANG_WARNING: [#def179]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen125_pack.h:5315:10: note: Array access (from variable 'dw') results in a null pointer dereference
# 5313|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 5314|   
# 5315|->    dw[0] =
# 5316|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 5317|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def180]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen125_pack.h:5315:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 5313|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 5314|   
# 5315|->    dw[0] =
# 5316|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 5317|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def181]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen12_pack.h:3133:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 3131|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 3132|   
# 3133|->    dw[0] =
# 3134|         util_bitpack_uint(values->BufferPitch, 0, 11) |
# 3135|         util_bitpack_uint(values->NullVertexBuffer, 13, 13) |

Error: CLANG_WARNING: [#def182]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen12_pack.h:3170:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 3168|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 3169|   
# 3170|->    dw[0] =
# 3171|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 3172|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def183]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen20_pack.h:5304:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 5302|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 5303|   
# 5304|->    dw[0] =
# 5305|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 5306|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def184]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen9_pack.h:2553:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 2551|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 2552|   
# 2553|->    dw[0] =
# 2554|         util_bitpack_uint(values->BufferPitch, 0, 11) |
# 2555|         util_bitpack_uint(values->NullVertexBuffer, 13, 13) |

Error: CLANG_WARNING: [#def185]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/genxml/gen9_pack.h:2589:10: warning[core.NullDereference]: Array access (from variable 'dw') results in a null pointer dereference
# 2587|      uint32_t * restrict dw = (uint32_t * restrict) dst;
# 2588|   
# 2589|->    dw[0] =
# 2590|         util_bitpack_uint(values->SourceElementOffset, 0, 11) |
# 2591|         util_bitpack_uint(values->EdgeFlagEnable, 15, 15) |

Error: CLANG_WARNING: [#def186]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4429:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4427|   {
# 4428|      const GLfloat *m = cmd->m;
# 4429|->    CALL_LoadTransposeMatrixf(ctx->Dispatch.Current, (m));
# 4430|      return align(sizeof(struct marshal_cmd_LoadTransposeMatrixf), 8) / 8;
# 4431|   }

Error: CLANG_WARNING: [#def187]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4451:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4449|   {
# 4450|      const GLdouble *m = cmd->m;
# 4451|->    CALL_LoadTransposeMatrixd(ctx->Dispatch.Current, (m));
# 4452|      return align(sizeof(struct marshal_cmd_LoadTransposeMatrixd), 8) / 8;
# 4453|   }

Error: CLANG_WARNING: [#def188]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4473:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4471|   {
# 4472|      const GLfloat *m = cmd->m;
# 4473|->    CALL_MultTransposeMatrixf(ctx->Dispatch.Current, (m));
# 4474|      return align(sizeof(struct marshal_cmd_MultTransposeMatrixf), 8) / 8;
# 4475|   }

Error: CLANG_WARNING: [#def189]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4495:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4493|   {
# 4494|      const GLdouble *m = cmd->m;
# 4495|->    CALL_MultTransposeMatrixd(ctx->Dispatch.Current, (m));
# 4496|      return align(sizeof(struct marshal_cmd_MultTransposeMatrixd), 8) / 8;
# 4497|   }

Error: CLANG_WARNING: [#def190]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4519:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4517|      GLboolean invert = cmd->invert;
# 4518|      GLclampf value = cmd->value;
# 4519|->    CALL_SampleCoverage(ctx->Dispatch.Current, (value, invert));
# 4520|      return align(sizeof(struct marshal_cmd_SampleCoverage), 8) / 8;
# 4521|   }

Error: CLANG_WARNING: [#def191]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4558:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4556|      GLsizei imageSize = cmd->imageSize;
# 4557|      const GLvoid * data = cmd->data;
# 4558|->    CALL_CompressedTexImage3D(ctx->Dispatch.Current, (target, level, internalformat, width, height, depth, border, imageSize, data));
# 4559|      return align(sizeof(struct marshal_cmd_CompressedTexImage3D), 8) / 8;
# 4560|   }

Error: CLANG_WARNING: [#def192]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4568:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4566|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4567|         _mesa_glthread_finish_before(ctx, "CompressedTexImage3D");
# 4568|->       CALL_CompressedTexImage3D(ctx->Dispatch.Current, (target, level, internalformat, width, height, depth, border, imageSize, data));
# 4569|         return;
# 4570|      }

Error: CLANG_WARNING: [#def193]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4607:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4605|      GLsizei imageSize = cmd->imageSize;
# 4606|      const GLvoid * data = cmd->data;
# 4607|->    CALL_CompressedTexImage2D(ctx->Dispatch.Current, (target, level, internalformat, width, height, border, imageSize, data));
# 4608|      return align(sizeof(struct marshal_cmd_CompressedTexImage2D), 8) / 8;
# 4609|   }

Error: CLANG_WARNING: [#def194]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4617:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4615|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4616|         _mesa_glthread_finish_before(ctx, "CompressedTexImage2D");
# 4617|->       CALL_CompressedTexImage2D(ctx->Dispatch.Current, (target, level, internalformat, width, height, border, imageSize, data));
# 4618|         return;
# 4619|      }

Error: CLANG_WARNING: [#def195]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4653:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4651|      GLsizei imageSize = cmd->imageSize;
# 4652|      const GLvoid * data = cmd->data;
# 4653|->    CALL_CompressedTexImage1D(ctx->Dispatch.Current, (target, level, internalformat, width, border, imageSize, data));
# 4654|      return align(sizeof(struct marshal_cmd_CompressedTexImage1D), 8) / 8;
# 4655|   }

Error: CLANG_WARNING: [#def196]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4663:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4661|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4662|         _mesa_glthread_finish_before(ctx, "CompressedTexImage1D");
# 4663|->       CALL_CompressedTexImage1D(ctx->Dispatch.Current, (target, level, internalformat, width, border, imageSize, data));
# 4664|         return;
# 4665|      }

Error: CLANG_WARNING: [#def197]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4706:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4704|      GLsizei imageSize = cmd->imageSize;
# 4705|      const GLvoid * data = cmd->data;
# 4706|->    CALL_CompressedTexSubImage3D(ctx->Dispatch.Current, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data));
# 4707|      return align(sizeof(struct marshal_cmd_CompressedTexSubImage3D), 8) / 8;
# 4708|   }

Error: CLANG_WARNING: [#def198]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4716:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4714|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4715|         _mesa_glthread_finish_before(ctx, "CompressedTexSubImage3D");
# 4716|->       CALL_CompressedTexSubImage3D(ctx->Dispatch.Current, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data));
# 4717|         return;
# 4718|      }

Error: CLANG_WARNING: [#def199]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4759:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4757|      GLsizei imageSize = cmd->imageSize;
# 4758|      const GLvoid * data = cmd->data;
# 4759|->    CALL_CompressedTexSubImage2D(ctx->Dispatch.Current, (target, level, xoffset, yoffset, width, height, format, imageSize, data));
# 4760|      return align(sizeof(struct marshal_cmd_CompressedTexSubImage2D), 8) / 8;
# 4761|   }

Error: CLANG_WARNING: [#def200]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4769:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4767|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4768|         _mesa_glthread_finish_before(ctx, "CompressedTexSubImage2D");
# 4769|->       CALL_CompressedTexSubImage2D(ctx->Dispatch.Current, (target, level, xoffset, yoffset, width, height, format, imageSize, data));
# 4770|         return;
# 4771|      }

Error: CLANG_WARNING: [#def201]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4806:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4804|      GLsizei imageSize = cmd->imageSize;
# 4805|      const GLvoid * data = cmd->data;
# 4806|->    CALL_CompressedTexSubImage1D(ctx->Dispatch.Current, (target, level, xoffset, width, format, imageSize, data));
# 4807|      return align(sizeof(struct marshal_cmd_CompressedTexSubImage1D), 8) / 8;
# 4808|   }

Error: CLANG_WARNING: [#def202]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4816:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4814|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4815|         _mesa_glthread_finish_before(ctx, "CompressedTexSubImage1D");
# 4816|->       CALL_CompressedTexSubImage1D(ctx->Dispatch.Current, (target, level, xoffset, width, format, imageSize, data));
# 4817|         return;
# 4818|      }

Error: CLANG_WARNING: [#def203]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4843:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4841|      GLint level = cmd->level;
# 4842|      GLvoid * img = cmd->img;
# 4843|->    CALL_GetCompressedTexImage(ctx->Dispatch.Current, (target, level, img));
# 4844|      return align(sizeof(struct marshal_cmd_GetCompressedTexImage), 8) / 8;
# 4845|   }

Error: CLANG_WARNING: [#def204]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4853:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4851|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
# 4852|         _mesa_glthread_finish_before(ctx, "GetCompressedTexImage");
# 4853|->       CALL_GetCompressedTexImage(ctx->Dispatch.Current, (target, level, img));
# 4854|         return;
# 4855|      }

Error: CLANG_WARNING: [#def205]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4878:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4876|      GLenum16 sfactorAlpha = cmd->sfactorAlpha;
# 4877|      GLenum16 dfactorAlpha = cmd->dfactorAlpha;
# 4878|->    CALL_BlendFuncSeparate(ctx->Dispatch.Current, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha));
# 4879|      return align(sizeof(struct marshal_cmd_BlendFuncSeparate), 8) / 8;
# 4880|   }

Error: CLANG_WARNING: [#def206]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4903:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4901|   {
# 4902|      GLfloat coord = cmd->coord;
# 4903|->    CALL_FogCoordfEXT(ctx->Dispatch.Current, (coord));
# 4904|      return align(sizeof(struct marshal_cmd_FogCoordfEXT), 8) / 8;
# 4905|   }

Error: CLANG_WARNING: [#def207]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4925:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4923|   {
# 4924|      const GLfloat *coord = cmd->coord;
# 4925|->    CALL_FogCoordfvEXT(ctx->Dispatch.Current, (coord));
# 4926|      return align(sizeof(struct marshal_cmd_FogCoordfvEXT), 8) / 8;
# 4927|   }

Error: CLANG_WARNING: [#def208]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4947:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4945|   {
# 4946|      GLdouble coord = cmd->coord;
# 4947|->    CALL_FogCoordd(ctx->Dispatch.Current, (coord));
# 4948|      return align(sizeof(struct marshal_cmd_FogCoordd), 8) / 8;
# 4949|   }

Error: CLANG_WARNING: [#def209]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:4969:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4967|   {
# 4968|      const GLdouble *coord = cmd->coord;
# 4969|->    CALL_FogCoorddv(ctx->Dispatch.Current, (coord));
# 4970|      return align(sizeof(struct marshal_cmd_FogCoorddv), 8) / 8;
# 4971|   }

Error: CLANG_WARNING: [#def210]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5002:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5000|      GLclamped16i stride = cmd->stride;
# 5001|      const GLvoid * pointer = cmd->pointer;
# 5002|->    CALL_FogCoordPointer(ctx->Dispatch.Current, (type, stride, pointer));
# 5003|      return align(sizeof(struct marshal_cmd_FogCoordPointer), 8) / 8;
# 5004|   }

Error: CLANG_WARNING: [#def211]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5010:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5008|      GLclamped16i stride = cmd->stride;
# 5009|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 5010|->    CALL_FogCoordPointer(ctx->Dispatch.Current, (type, stride, pointer));
# 5011|      return align(sizeof(struct marshal_cmd_FogCoordPointer_packed), 8) / 8;
# 5012|   }

Error: CLANG_WARNING: [#def212]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5045:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5043|      GLenum16 pname = cmd->pname;
# 5044|      GLfloat param = cmd->param;
# 5045|->    CALL_PointParameterf(ctx->Dispatch.Current, (pname, param));
# 5046|      return align(sizeof(struct marshal_cmd_PointParameterf), 8) / 8;
# 5047|   }

Error: CLANG_WARNING: [#def213]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5073:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5071|      const char *variable_data = (const char *) (cmd + 1);
# 5072|      params = (GLfloat *) variable_data;
# 5073|->    CALL_PointParameterfv(ctx->Dispatch.Current, (pname, params));
# 5074|      return cmd->num_slots;
# 5075|   }

Error: CLANG_WARNING: [#def214]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5102:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5100|      GLenum16 pname = cmd->pname;
# 5101|      GLint param = cmd->param;
# 5102|->    CALL_PointParameteri(ctx->Dispatch.Current, (pname, param));
# 5103|      return align(sizeof(struct marshal_cmd_PointParameteri), 8) / 8;
# 5104|   }

Error: CLANG_WARNING: [#def215]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated1.c:5130:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5128|      const char *variable_data = (const char *) (cmd + 1);
# 5129|      params = (GLint *) variable_data;
# 5130|->    CALL_PointParameteriv(ctx->Dispatch.Current, (pname, params));
# 5131|      return cmd->num_slots;
# 5132|   }

Error: CLANG_WARNING: [#def216]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:57:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   55|      GLbyte green = cmd->green;
#   56|      GLbyte blue = cmd->blue;
#   57|->    CALL_SecondaryColor3b(ctx->Dispatch.Current, (red, green, blue));
#   58|      return align(sizeof(struct marshal_cmd_SecondaryColor3b), 8) / 8;
#   59|   }

Error: CLANG_WARNING: [#def217]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:81:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   79|   {
#   80|      const GLbyte *v = cmd->v;
#   81|->    CALL_SecondaryColor3bv(ctx->Dispatch.Current, (v));
#   82|      return align(sizeof(struct marshal_cmd_SecondaryColor3bv), 8) / 8;
#   83|   }

Error: CLANG_WARNING: [#def218]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:107:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  105|      GLdouble green = cmd->green;
#  106|      GLdouble blue = cmd->blue;
#  107|->    CALL_SecondaryColor3d(ctx->Dispatch.Current, (red, green, blue));
#  108|      return align(sizeof(struct marshal_cmd_SecondaryColor3d), 8) / 8;
#  109|   }

Error: CLANG_WARNING: [#def219]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:131:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  129|   {
#  130|      const GLdouble *v = cmd->v;
#  131|->    CALL_SecondaryColor3dv(ctx->Dispatch.Current, (v));
#  132|      return align(sizeof(struct marshal_cmd_SecondaryColor3dv), 8) / 8;
#  133|   }

Error: CLANG_WARNING: [#def220]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:157:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  155|      GLfloat green = cmd->green;
#  156|      GLfloat blue = cmd->blue;
#  157|->    CALL_SecondaryColor3fEXT(ctx->Dispatch.Current, (red, green, blue));
#  158|      return align(sizeof(struct marshal_cmd_SecondaryColor3fEXT), 8) / 8;
#  159|   }

Error: CLANG_WARNING: [#def221]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:181:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  179|   {
#  180|      const GLfloat *v = cmd->v;
#  181|->    CALL_SecondaryColor3fvEXT(ctx->Dispatch.Current, (v));
#  182|      return align(sizeof(struct marshal_cmd_SecondaryColor3fvEXT), 8) / 8;
#  183|   }

Error: CLANG_WARNING: [#def222]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:207:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  205|      GLint green = cmd->green;
#  206|      GLint blue = cmd->blue;
#  207|->    CALL_SecondaryColor3i(ctx->Dispatch.Current, (red, green, blue));
#  208|      return align(sizeof(struct marshal_cmd_SecondaryColor3i), 8) / 8;
#  209|   }

Error: CLANG_WARNING: [#def223]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:231:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  229|   {
#  230|      const GLint *v = cmd->v;
#  231|->    CALL_SecondaryColor3iv(ctx->Dispatch.Current, (v));
#  232|      return align(sizeof(struct marshal_cmd_SecondaryColor3iv), 8) / 8;
#  233|   }

Error: CLANG_WARNING: [#def224]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:257:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  255|      GLshort green = cmd->green;
#  256|      GLshort blue = cmd->blue;
#  257|->    CALL_SecondaryColor3s(ctx->Dispatch.Current, (red, green, blue));
#  258|      return align(sizeof(struct marshal_cmd_SecondaryColor3s), 8) / 8;
#  259|   }

Error: CLANG_WARNING: [#def225]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:281:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  279|   {
#  280|      const GLshort *v = cmd->v;
#  281|->    CALL_SecondaryColor3sv(ctx->Dispatch.Current, (v));
#  282|      return align(sizeof(struct marshal_cmd_SecondaryColor3sv), 8) / 8;
#  283|   }

Error: CLANG_WARNING: [#def226]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:307:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  305|      GLubyte green = cmd->green;
#  306|      GLubyte blue = cmd->blue;
#  307|->    CALL_SecondaryColor3ub(ctx->Dispatch.Current, (red, green, blue));
#  308|      return align(sizeof(struct marshal_cmd_SecondaryColor3ub), 8) / 8;
#  309|   }

Error: CLANG_WARNING: [#def227]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:331:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  329|   {
#  330|      const GLubyte *v = cmd->v;
#  331|->    CALL_SecondaryColor3ubv(ctx->Dispatch.Current, (v));
#  332|      return align(sizeof(struct marshal_cmd_SecondaryColor3ubv), 8) / 8;
#  333|   }

Error: CLANG_WARNING: [#def228]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:357:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  355|      GLuint green = cmd->green;
#  356|      GLuint blue = cmd->blue;
#  357|->    CALL_SecondaryColor3ui(ctx->Dispatch.Current, (red, green, blue));
#  358|      return align(sizeof(struct marshal_cmd_SecondaryColor3ui), 8) / 8;
#  359|   }

Error: CLANG_WARNING: [#def229]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:381:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  379|   {
#  380|      const GLuint *v = cmd->v;
#  381|->    CALL_SecondaryColor3uiv(ctx->Dispatch.Current, (v));
#  382|      return align(sizeof(struct marshal_cmd_SecondaryColor3uiv), 8) / 8;
#  383|   }

Error: CLANG_WARNING: [#def230]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:407:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  405|      GLushort green = cmd->green;
#  406|      GLushort blue = cmd->blue;
#  407|->    CALL_SecondaryColor3us(ctx->Dispatch.Current, (red, green, blue));
#  408|      return align(sizeof(struct marshal_cmd_SecondaryColor3us), 8) / 8;
#  409|   }

Error: CLANG_WARNING: [#def231]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:431:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  429|   {
#  430|      const GLushort *v = cmd->v;
#  431|->    CALL_SecondaryColor3usv(ctx->Dispatch.Current, (v));
#  432|      return align(sizeof(struct marshal_cmd_SecondaryColor3usv), 8) / 8;
#  433|   }

Error: CLANG_WARNING: [#def232]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:466:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  464|      GLclamped16i stride = cmd->stride;
#  465|      const GLvoid * pointer = cmd->pointer;
#  466|->    CALL_SecondaryColorPointer(ctx->Dispatch.Current, (size, type, stride, pointer));
#  467|      return align(sizeof(struct marshal_cmd_SecondaryColorPointer), 8) / 8;
#  468|   }

Error: CLANG_WARNING: [#def233]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:475:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  473|      GLclamped16i stride = cmd->stride;
#  474|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)0;
#  475|->    CALL_SecondaryColorPointer(ctx->Dispatch.Current, (size, type, stride, pointer));
#  476|      return align(sizeof(struct marshal_cmd_SecondaryColorPointer_packed), 8) / 8;
#  477|   }

Error: CLANG_WARNING: [#def234]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:511:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  509|      GLdouble x = cmd->x;
#  510|      GLdouble y = cmd->y;
#  511|->    CALL_WindowPos2d(ctx->Dispatch.Current, (x, y));
#  512|      return align(sizeof(struct marshal_cmd_WindowPos2d), 8) / 8;
#  513|   }

Error: CLANG_WARNING: [#def235]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:534:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  532|   {
#  533|      const GLdouble *v = cmd->v;
#  534|->    CALL_WindowPos2dv(ctx->Dispatch.Current, (v));
#  535|      return align(sizeof(struct marshal_cmd_WindowPos2dv), 8) / 8;
#  536|   }

Error: CLANG_WARNING: [#def236]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:558:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  556|      GLfloat x = cmd->x;
#  557|      GLfloat y = cmd->y;
#  558|->    CALL_WindowPos2f(ctx->Dispatch.Current, (x, y));
#  559|      return align(sizeof(struct marshal_cmd_WindowPos2f), 8) / 8;
#  560|   }

Error: CLANG_WARNING: [#def237]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:581:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  579|   {
#  580|      const GLfloat *v = cmd->v;
#  581|->    CALL_WindowPos2fv(ctx->Dispatch.Current, (v));
#  582|      return align(sizeof(struct marshal_cmd_WindowPos2fv), 8) / 8;
#  583|   }

Error: CLANG_WARNING: [#def238]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:605:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  603|      GLint x = cmd->x;
#  604|      GLint y = cmd->y;
#  605|->    CALL_WindowPos2i(ctx->Dispatch.Current, (x, y));
#  606|      return align(sizeof(struct marshal_cmd_WindowPos2i), 8) / 8;
#  607|   }

Error: CLANG_WARNING: [#def239]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:628:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  626|   {
#  627|      const GLint *v = cmd->v;
#  628|->    CALL_WindowPos2iv(ctx->Dispatch.Current, (v));
#  629|      return align(sizeof(struct marshal_cmd_WindowPos2iv), 8) / 8;
#  630|   }

Error: CLANG_WARNING: [#def240]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:652:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  650|      GLshort x = cmd->x;
#  651|      GLshort y = cmd->y;
#  652|->    CALL_WindowPos2s(ctx->Dispatch.Current, (x, y));
#  653|      return align(sizeof(struct marshal_cmd_WindowPos2s), 8) / 8;
#  654|   }

Error: CLANG_WARNING: [#def241]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:675:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  673|   {
#  674|      const GLshort *v = cmd->v;
#  675|->    CALL_WindowPos2sv(ctx->Dispatch.Current, (v));
#  676|      return align(sizeof(struct marshal_cmd_WindowPos2sv), 8) / 8;
#  677|   }

Error: CLANG_WARNING: [#def242]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:701:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  699|      GLdouble y = cmd->y;
#  700|      GLdouble z = cmd->z;
#  701|->    CALL_WindowPos3d(ctx->Dispatch.Current, (x, y, z));
#  702|      return align(sizeof(struct marshal_cmd_WindowPos3d), 8) / 8;
#  703|   }

Error: CLANG_WARNING: [#def243]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:725:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  723|   {
#  724|      const GLdouble *v = cmd->v;
#  725|->    CALL_WindowPos3dv(ctx->Dispatch.Current, (v));
#  726|      return align(sizeof(struct marshal_cmd_WindowPos3dv), 8) / 8;
#  727|   }

Error: CLANG_WARNING: [#def244]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:751:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  749|      GLfloat y = cmd->y;
#  750|      GLfloat z = cmd->z;
#  751|->    CALL_WindowPos3f(ctx->Dispatch.Current, (x, y, z));
#  752|      return align(sizeof(struct marshal_cmd_WindowPos3f), 8) / 8;
#  753|   }

Error: CLANG_WARNING: [#def245]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:775:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  773|   {
#  774|      const GLfloat *v = cmd->v;
#  775|->    CALL_WindowPos3fv(ctx->Dispatch.Current, (v));
#  776|      return align(sizeof(struct marshal_cmd_WindowPos3fv), 8) / 8;
#  777|   }

Error: CLANG_WARNING: [#def246]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:801:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  799|      GLint y = cmd->y;
#  800|      GLint z = cmd->z;
#  801|->    CALL_WindowPos3i(ctx->Dispatch.Current, (x, y, z));
#  802|      return align(sizeof(struct marshal_cmd_WindowPos3i), 8) / 8;
#  803|   }

Error: CLANG_WARNING: [#def247]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:825:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  823|   {
#  824|      const GLint *v = cmd->v;
#  825|->    CALL_WindowPos3iv(ctx->Dispatch.Current, (v));
#  826|      return align(sizeof(struct marshal_cmd_WindowPos3iv), 8) / 8;
#  827|   }

Error: CLANG_WARNING: [#def248]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:851:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  849|      GLshort y = cmd->y;
#  850|      GLshort z = cmd->z;
#  851|->    CALL_WindowPos3s(ctx->Dispatch.Current, (x, y, z));
#  852|      return align(sizeof(struct marshal_cmd_WindowPos3s), 8) / 8;
#  853|   }

Error: CLANG_WARNING: [#def249]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:875:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  873|   {
#  874|      const GLshort *v = cmd->v;
#  875|->    CALL_WindowPos3sv(ctx->Dispatch.Current, (v));
#  876|      return align(sizeof(struct marshal_cmd_WindowPos3sv), 8) / 8;
#  877|   }

Error: CLANG_WARNING: [#def250]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:902:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  900|      const char *variable_data = (const char *) (cmd + 1);
#  901|      buffer = (GLuint *) variable_data;
#  902|->    CALL_DeleteBuffers(ctx->Dispatch.Current, (n, buffer));
#  903|      return cmd->num_slots;
#  904|   }

Error: CLANG_WARNING: [#def251]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:913:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  911|      if (unlikely(buffer_size < 0 || (buffer_size > 0 && !buffer) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  912|         _mesa_glthread_finish_before(ctx, "DeleteBuffers");
#  913|->       CALL_DeleteBuffers(ctx->Dispatch.Current, (n, buffer));
#  914|         _mesa_glthread_DeleteBuffers(ctx, n, buffer);
#  915|         return;

Error: CLANG_WARNING: [#def252]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:932:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  930|      GET_CURRENT_CONTEXT(ctx);
#  931|      _mesa_glthread_finish_before(ctx, "GenBuffers");
#  932|->    CALL_GenBuffers(ctx->Dispatch.Current, (n, buffer));
#  933|   }
#  934|   

Error: CLANG_WARNING: [#def253]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:942:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  940|      GET_CURRENT_CONTEXT(ctx);
#  941|      _mesa_glthread_finish_before(ctx, "GetBufferParameteriv");
#  942|->    CALL_GetBufferParameteriv(ctx->Dispatch.Current, (target, pname, params));
#  943|   }
#  944|   

Error: CLANG_WARNING: [#def254]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:952:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  950|      GET_CURRENT_CONTEXT(ctx);
#  951|      _mesa_glthread_finish_before(ctx, "GetBufferPointerv");
#  952|->    CALL_GetBufferPointerv(ctx->Dispatch.Current, (target, pname, params));
#  953|   }
#  954|   

Error: CLANG_WARNING: [#def255]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:962:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  960|      GET_CURRENT_CONTEXT(ctx);
#  961|      _mesa_glthread_finish_before(ctx, "GetBufferSubData");
#  962|->    CALL_GetBufferSubData(ctx->Dispatch.Current, (target, offset, size, data));
#  963|   }
#  964|   

Error: CLANG_WARNING: [#def256]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:972:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  970|      GET_CURRENT_CONTEXT(ctx);
#  971|      _mesa_glthread_finish_before(ctx, "IsBuffer");
#  972|->    return CALL_IsBuffer(ctx->Dispatch.Current, (buffer));
#  973|   }
#  974|   

Error: CLANG_WARNING: [#def257]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:982:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  980|      GET_CURRENT_CONTEXT(ctx);
#  981|      _mesa_glthread_finish_before(ctx, "MapBuffer");
#  982|->    return CALL_MapBuffer(ctx->Dispatch.Current, (target, access));
#  983|   }
#  984|   

Error: CLANG_WARNING: [#def258]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:995:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  993|   {
#  994|      GLenum16 target = cmd->target;
#  995|->    CALL_UnmapBuffer(ctx->Dispatch.Current, (target));
#  996|      return align(sizeof(struct marshal_cmd_UnmapBuffer), 8) / 8;
#  997|   }

Error: CLANG_WARNING: [#def259]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1015:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1013|      GET_CURRENT_CONTEXT(ctx);
# 1014|      _mesa_glthread_finish_before(ctx, "GenQueries");
# 1015|->    CALL_GenQueries(ctx->Dispatch.Current, (n, ids));
# 1016|   }
# 1017|   

Error: CLANG_WARNING: [#def260]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1033:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1031|      const char *variable_data = (const char *) (cmd + 1);
# 1032|      ids = (GLuint *) variable_data;
# 1033|->    CALL_DeleteQueries(ctx->Dispatch.Current, (n, ids));
# 1034|      return cmd->num_slots;
# 1035|   }

Error: CLANG_WARNING: [#def261]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1044:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1042|      if (unlikely(ids_size < 0 || (ids_size > 0 && !ids) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1043|         _mesa_glthread_finish_before(ctx, "DeleteQueries");
# 1044|->       CALL_DeleteQueries(ctx->Dispatch.Current, (n, ids));
# 1045|         return;
# 1046|      }

Error: CLANG_WARNING: [#def262]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1061:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1059|      GET_CURRENT_CONTEXT(ctx);
# 1060|      _mesa_glthread_finish_before(ctx, "IsQuery");
# 1061|->    return CALL_IsQuery(ctx->Dispatch.Current, (id));
# 1062|   }
# 1063|   

Error: CLANG_WARNING: [#def263]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1076:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1074|      GLenum16 target = cmd->target;
# 1075|      GLuint id = cmd->id;
# 1076|->    CALL_BeginQuery(ctx->Dispatch.Current, (target, id));
# 1077|      return align(sizeof(struct marshal_cmd_BeginQuery), 8) / 8;
# 1078|   }

Error: CLANG_WARNING: [#def264]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1099:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1097|   {
# 1098|      GLenum16 target = cmd->target;
# 1099|->    CALL_EndQuery(ctx->Dispatch.Current, (target));
# 1100|      return align(sizeof(struct marshal_cmd_EndQuery), 8) / 8;
# 1101|   }

Error: CLANG_WARNING: [#def265]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1118:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1116|      GET_CURRENT_CONTEXT(ctx);
# 1117|      _mesa_glthread_finish_before(ctx, "GetQueryiv");
# 1118|->    CALL_GetQueryiv(ctx->Dispatch.Current, (target, pname, params));
# 1119|   }
# 1120|   

Error: CLANG_WARNING: [#def266]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1128:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1126|      GET_CURRENT_CONTEXT(ctx);
# 1127|      _mesa_glthread_finish_before(ctx, "GetQueryObjectiv");
# 1128|->    CALL_GetQueryObjectiv(ctx->Dispatch.Current, (id, pname, params));
# 1129|   }
# 1130|   

Error: CLANG_WARNING: [#def267]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1138:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1136|      GET_CURRENT_CONTEXT(ctx);
# 1137|      _mesa_glthread_finish_before(ctx, "GetQueryObjectuiv");
# 1138|->    CALL_GetQueryObjectuiv(ctx->Dispatch.Current, (id, pname, params));
# 1139|   }
# 1140|   

Error: CLANG_WARNING: [#def268]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1153:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1151|      GLenum16 modeRGB = cmd->modeRGB;
# 1152|      GLenum16 modeA = cmd->modeA;
# 1153|->    CALL_BlendEquationSeparate(ctx->Dispatch.Current, (modeRGB, modeA));
# 1154|      return align(sizeof(struct marshal_cmd_BlendEquationSeparate), 8) / 8;
# 1155|   }

Error: CLANG_WARNING: [#def269]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1181:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1179|      const char *variable_data = (const char *) (cmd + 1);
# 1180|      bufs = (GLenum *) variable_data;
# 1181|->    CALL_DrawBuffers(ctx->Dispatch.Current, (n, bufs));
# 1182|      return cmd->num_slots;
# 1183|   }

Error: CLANG_WARNING: [#def270]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1214:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1212|      GLint ref = cmd->ref;
# 1213|      GLuint mask = cmd->mask;
# 1214|->    CALL_StencilFuncSeparate(ctx->Dispatch.Current, (face, func, ref, mask));
# 1215|      return align(sizeof(struct marshal_cmd_StencilFuncSeparate), 8) / 8;
# 1216|   }

Error: CLANG_WARNING: [#def271]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1245:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1243|      GLenum16 zfail = cmd->zfail;
# 1244|      GLenum16 zpass = cmd->zpass;
# 1245|->    CALL_StencilOpSeparate(ctx->Dispatch.Current, (face, sfail, zfail, zpass));
# 1246|      return align(sizeof(struct marshal_cmd_StencilOpSeparate), 8) / 8;
# 1247|   }

Error: CLANG_WARNING: [#def272]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1272:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1270|      GLenum16 face = cmd->face;
# 1271|      GLuint mask = cmd->mask;
# 1272|->    CALL_StencilMaskSeparate(ctx->Dispatch.Current, (face, mask));
# 1273|      return align(sizeof(struct marshal_cmd_StencilMaskSeparate), 8) / 8;
# 1274|   }

Error: CLANG_WARNING: [#def273]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1297:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1295|      GLuint program = cmd->program;
# 1296|      GLuint shader = cmd->shader;
# 1297|->    CALL_AttachShader(ctx->Dispatch.Current, (program, shader));
# 1298|      return align(sizeof(struct marshal_cmd_AttachShader), 8) / 8;
# 1299|   }

Error: CLANG_WARNING: [#def274]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1327:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1325|      const char *variable_data = (const char *) (cmd + 1);
# 1326|      name = (GLchar *) variable_data;
# 1327|->    CALL_BindAttribLocation(ctx->Dispatch.Current, (program, index, name));
# 1328|      return cmd->num_slots;
# 1329|   }

Error: CLANG_WARNING: [#def275]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1338:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1336|      if (unlikely(name_size < 0 || (name_size > 0 && !name) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1337|         _mesa_glthread_finish_before(ctx, "BindAttribLocation");
# 1338|->       CALL_BindAttribLocation(ctx->Dispatch.Current, (program, index, name));
# 1339|         return;
# 1340|      }

Error: CLANG_WARNING: [#def276]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1359:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1357|   {
# 1358|      GLuint shader = cmd->shader;
# 1359|->    CALL_CompileShader(ctx->Dispatch.Current, (shader));
# 1360|      return align(sizeof(struct marshal_cmd_CompileShader), 8) / 8;
# 1361|   }

Error: CLANG_WARNING: [#def277]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1378:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1376|      GET_CURRENT_CONTEXT(ctx);
# 1377|      _mesa_glthread_finish_before(ctx, "CreateProgram");
# 1378|->    return CALL_CreateProgram(ctx->Dispatch.Current, ());
# 1379|   }
# 1380|   

Error: CLANG_WARNING: [#def278]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1388:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1386|      GET_CURRENT_CONTEXT(ctx);
# 1387|      _mesa_glthread_finish_before(ctx, "CreateShader");
# 1388|->    return CALL_CreateShader(ctx->Dispatch.Current, (type));
# 1389|   }
# 1390|   

Error: CLANG_WARNING: [#def279]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1401:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1399|   {
# 1400|      GLuint program = cmd->program;
# 1401|->    CALL_DeleteProgram(ctx->Dispatch.Current, (program));
# 1402|      return align(sizeof(struct marshal_cmd_DeleteProgram), 8) / 8;
# 1403|   }

Error: CLANG_WARNING: [#def280]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1424:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1422|   {
# 1423|      GLuint program = cmd->program;
# 1424|->    CALL_DeleteShader(ctx->Dispatch.Current, (program));
# 1425|      return align(sizeof(struct marshal_cmd_DeleteShader), 8) / 8;
# 1426|   }

Error: CLANG_WARNING: [#def281]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1448:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1446|      GLuint program = cmd->program;
# 1447|      GLuint shader = cmd->shader;
# 1448|->    CALL_DetachShader(ctx->Dispatch.Current, (program, shader));
# 1449|      return align(sizeof(struct marshal_cmd_DetachShader), 8) / 8;
# 1450|   }

Error: CLANG_WARNING: [#def282]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1471:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1469|   {
# 1470|      GLuint index = cmd->index;
# 1471|->    CALL_DisableVertexAttribArray(ctx->Dispatch.Current, (index));
# 1472|      return align(sizeof(struct marshal_cmd_DisableVertexAttribArray), 8) / 8;
# 1473|   }

Error: CLANG_WARNING: [#def283]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1494:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1492|   {
# 1493|      GLuint index = cmd->index;
# 1494|->    CALL_EnableVertexAttribArray(ctx->Dispatch.Current, (index));
# 1495|      return align(sizeof(struct marshal_cmd_EnableVertexAttribArray), 8) / 8;
# 1496|   }

Error: CLANG_WARNING: [#def284]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1514:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1512|      GET_CURRENT_CONTEXT(ctx);
# 1513|      _mesa_glthread_finish_before(ctx, "GetActiveAttrib");
# 1514|->    CALL_GetActiveAttrib(ctx->Dispatch.Current, (program, index, bufSize, length, size, type, name));
# 1515|   }
# 1516|   

Error: CLANG_WARNING: [#def285]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1524:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1522|      GET_CURRENT_CONTEXT(ctx);
# 1523|      _mesa_glthread_finish_before(ctx, "GetAttachedShaders");
# 1524|->    CALL_GetAttachedShaders(ctx->Dispatch.Current, (program, maxCount, count, obj));
# 1525|   }
# 1526|   

Error: CLANG_WARNING: [#def286]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1534:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1532|      GET_CURRENT_CONTEXT(ctx);
# 1533|      _mesa_glthread_finish_before(ctx, "GetAttribLocation");
# 1534|->    return CALL_GetAttribLocation(ctx->Dispatch.Current, (program, name));
# 1535|   }
# 1536|   

Error: CLANG_WARNING: [#def287]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1544:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1542|      GET_CURRENT_CONTEXT(ctx);
# 1543|      _mesa_glthread_finish_before(ctx, "GetProgramiv");
# 1544|->    CALL_GetProgramiv(ctx->Dispatch.Current, (program, pname, params));
# 1545|   }
# 1546|   

Error: CLANG_WARNING: [#def288]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1554:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1552|      GET_CURRENT_CONTEXT(ctx);
# 1553|      _mesa_glthread_finish_before(ctx, "GetProgramInfoLog");
# 1554|->    CALL_GetProgramInfoLog(ctx->Dispatch.Current, (program, bufSize, length, infoLog));
# 1555|   }
# 1556|   

Error: CLANG_WARNING: [#def289]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1564:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1562|      GET_CURRENT_CONTEXT(ctx);
# 1563|      _mesa_glthread_finish_before(ctx, "GetShaderiv");
# 1564|->    CALL_GetShaderiv(ctx->Dispatch.Current, (shader, pname, params));
# 1565|   }
# 1566|   

Error: CLANG_WARNING: [#def290]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1574:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1572|      GET_CURRENT_CONTEXT(ctx);
# 1573|      _mesa_glthread_finish_before(ctx, "GetShaderInfoLog");
# 1574|->    CALL_GetShaderInfoLog(ctx->Dispatch.Current, (shader, bufSize, length, infoLog));
# 1575|   }
# 1576|   

Error: CLANG_WARNING: [#def291]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1584:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1582|      GET_CURRENT_CONTEXT(ctx);
# 1583|      _mesa_glthread_finish_before(ctx, "GetShaderSource");
# 1584|->    CALL_GetShaderSource(ctx->Dispatch.Current, (shader, bufSize, length, source));
# 1585|   }
# 1586|   

Error: CLANG_WARNING: [#def292]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1594:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1592|      GET_CURRENT_CONTEXT(ctx);
# 1593|      _mesa_glthread_finish_before(ctx, "GetUniformfv");
# 1594|->    CALL_GetUniformfv(ctx->Dispatch.Current, (program, location, params));
# 1595|   }
# 1596|   

Error: CLANG_WARNING: [#def293]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1604:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1602|      GET_CURRENT_CONTEXT(ctx);
# 1603|      _mesa_glthread_finish_before(ctx, "GetUniformiv");
# 1604|->    CALL_GetUniformiv(ctx->Dispatch.Current, (program, location, params));
# 1605|   }
# 1606|   

Error: CLANG_WARNING: [#def294]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1614:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1612|      GET_CURRENT_CONTEXT(ctx);
# 1613|      _mesa_glthread_finish_before(ctx, "GetVertexAttribdv");
# 1614|->    CALL_GetVertexAttribdv(ctx->Dispatch.Current, (index, pname, params));
# 1615|   }
# 1616|   

Error: CLANG_WARNING: [#def295]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1624:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1622|      GET_CURRENT_CONTEXT(ctx);
# 1623|      _mesa_glthread_finish_before(ctx, "GetVertexAttribfv");
# 1624|->    CALL_GetVertexAttribfv(ctx->Dispatch.Current, (index, pname, params));
# 1625|   }
# 1626|   

Error: CLANG_WARNING: [#def296]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1634:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1632|      GET_CURRENT_CONTEXT(ctx);
# 1633|      _mesa_glthread_finish_before(ctx, "GetVertexAttribiv");
# 1634|->    CALL_GetVertexAttribiv(ctx->Dispatch.Current, (index, pname, params));
# 1635|   }
# 1636|   

Error: CLANG_WARNING: [#def297]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1644:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1642|      GET_CURRENT_CONTEXT(ctx);
# 1643|      _mesa_glthread_finish_before(ctx, "GetVertexAttribPointerv");
# 1644|->    CALL_GetVertexAttribPointerv(ctx->Dispatch.Current, (index, pname, pointer));
# 1645|   }
# 1646|   

Error: CLANG_WARNING: [#def298]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1654:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1652|      GET_CURRENT_CONTEXT(ctx);
# 1653|      _mesa_glthread_finish_before(ctx, "IsProgram");
# 1654|->    return CALL_IsProgram(ctx->Dispatch.Current, (program));
# 1655|   }
# 1656|   

Error: CLANG_WARNING: [#def299]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1664:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1662|      GET_CURRENT_CONTEXT(ctx);
# 1663|      _mesa_glthread_finish_before(ctx, "IsShader");
# 1664|->    return CALL_IsShader(ctx->Dispatch.Current, (shader));
# 1665|   }
# 1666|   

Error: CLANG_WARNING: [#def300]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1677:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1675|   {
# 1676|      GLuint program = cmd->program;
# 1677|->    CALL_LinkProgram(ctx->Dispatch.Current, (program));
# 1678|      return align(sizeof(struct marshal_cmd_LinkProgram), 8) / 8;
# 1679|   }

Error: CLANG_WARNING: [#def301]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1697:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1695|      GET_CURRENT_CONTEXT(ctx);
# 1696|      _mesa_glthread_finish_before(ctx, "ShaderSource");
# 1697|->    CALL_ShaderSource(ctx->Dispatch.Current, (shader, count, string, length));
# 1698|   }
# 1699|   

Error: CLANG_WARNING: [#def302]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1710:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1708|   {
# 1709|      GLuint program = cmd->program;
# 1710|->    CALL_UseProgram(ctx->Dispatch.Current, (program));
# 1711|      return align(sizeof(struct marshal_cmd_UseProgram), 8) / 8;
# 1712|   }

Error: CLANG_WARNING: [#def303]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1735:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1733|      GLint location = cmd->location;
# 1734|      GLfloat v0 = cmd->v0;
# 1735|->    CALL_Uniform1f(ctx->Dispatch.Current, (location, v0));
# 1736|      return align(sizeof(struct marshal_cmd_Uniform1f), 8) / 8;
# 1737|   }

Error: CLANG_WARNING: [#def304]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1762:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1760|      GLfloat v0 = cmd->v0;
# 1761|      GLfloat v1 = cmd->v1;
# 1762|->    CALL_Uniform2f(ctx->Dispatch.Current, (location, v0, v1));
# 1763|      return align(sizeof(struct marshal_cmd_Uniform2f), 8) / 8;
# 1764|   }

Error: CLANG_WARNING: [#def305]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1792:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1790|      GLfloat v1 = cmd->v1;
# 1791|      GLfloat v2 = cmd->v2;
# 1792|->    CALL_Uniform3f(ctx->Dispatch.Current, (location, v0, v1, v2));
# 1793|      return align(sizeof(struct marshal_cmd_Uniform3f), 8) / 8;
# 1794|   }

Error: CLANG_WARNING: [#def306]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1825:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1823|      GLfloat v2 = cmd->v2;
# 1824|      GLfloat v3 = cmd->v3;
# 1825|->    CALL_Uniform4f(ctx->Dispatch.Current, (location, v0, v1, v2, v3));
# 1826|      return align(sizeof(struct marshal_cmd_Uniform4f), 8) / 8;
# 1827|   }

Error: CLANG_WARNING: [#def307]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1853:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1851|      GLint location = cmd->location;
# 1852|      GLint v0 = cmd->v0;
# 1853|->    CALL_Uniform1i(ctx->Dispatch.Current, (location, v0));
# 1854|      return align(sizeof(struct marshal_cmd_Uniform1i), 8) / 8;
# 1855|   }

Error: CLANG_WARNING: [#def308]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1880:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1878|      GLint v0 = cmd->v0;
# 1879|      GLint v1 = cmd->v1;
# 1880|->    CALL_Uniform2i(ctx->Dispatch.Current, (location, v0, v1));
# 1881|      return align(sizeof(struct marshal_cmd_Uniform2i), 8) / 8;
# 1882|   }

Error: CLANG_WARNING: [#def309]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1910:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1908|      GLint v1 = cmd->v1;
# 1909|      GLint v2 = cmd->v2;
# 1910|->    CALL_Uniform3i(ctx->Dispatch.Current, (location, v0, v1, v2));
# 1911|      return align(sizeof(struct marshal_cmd_Uniform3i), 8) / 8;
# 1912|   }

Error: CLANG_WARNING: [#def310]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1943:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1941|      GLint v2 = cmd->v2;
# 1942|      GLint v3 = cmd->v3;
# 1943|->    CALL_Uniform4i(ctx->Dispatch.Current, (location, v0, v1, v2, v3));
# 1944|      return align(sizeof(struct marshal_cmd_Uniform4i), 8) / 8;
# 1945|   }

Error: CLANG_WARNING: [#def311]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1976:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1974|      const char *variable_data = (const char *) (cmd + 1);
# 1975|      value = (GLfloat *) variable_data;
# 1976|->    CALL_Uniform1fv(ctx->Dispatch.Current, (location, count, value));
# 1977|      return cmd->num_slots;
# 1978|   }

Error: CLANG_WARNING: [#def312]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:1987:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1985|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1986|         _mesa_glthread_finish_before(ctx, "Uniform1fv");
# 1987|->       CALL_Uniform1fv(ctx->Dispatch.Current, (location, count, value));
# 1988|         return;
# 1989|      }

Error: CLANG_WARNING: [#def313]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2015:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2013|      const char *variable_data = (const char *) (cmd + 1);
# 2014|      value = (GLfloat *) variable_data;
# 2015|->    CALL_Uniform2fv(ctx->Dispatch.Current, (location, count, value));
# 2016|      return cmd->num_slots;
# 2017|   }

Error: CLANG_WARNING: [#def314]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2026:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2024|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2025|         _mesa_glthread_finish_before(ctx, "Uniform2fv");
# 2026|->       CALL_Uniform2fv(ctx->Dispatch.Current, (location, count, value));
# 2027|         return;
# 2028|      }

Error: CLANG_WARNING: [#def315]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2054:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2052|      const char *variable_data = (const char *) (cmd + 1);
# 2053|      value = (GLfloat *) variable_data;
# 2054|->    CALL_Uniform3fv(ctx->Dispatch.Current, (location, count, value));
# 2055|      return cmd->num_slots;
# 2056|   }

Error: CLANG_WARNING: [#def316]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2065:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2063|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2064|         _mesa_glthread_finish_before(ctx, "Uniform3fv");
# 2065|->       CALL_Uniform3fv(ctx->Dispatch.Current, (location, count, value));
# 2066|         return;
# 2067|      }

Error: CLANG_WARNING: [#def317]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2093:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2091|      const char *variable_data = (const char *) (cmd + 1);
# 2092|      value = (GLfloat *) variable_data;
# 2093|->    CALL_Uniform4fv(ctx->Dispatch.Current, (location, count, value));
# 2094|      return cmd->num_slots;
# 2095|   }

Error: CLANG_WARNING: [#def318]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2104:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2102|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2103|         _mesa_glthread_finish_before(ctx, "Uniform4fv");
# 2104|->       CALL_Uniform4fv(ctx->Dispatch.Current, (location, count, value));
# 2105|         return;
# 2106|      }

Error: CLANG_WARNING: [#def319]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2132:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2130|      const char *variable_data = (const char *) (cmd + 1);
# 2131|      value = (GLint *) variable_data;
# 2132|->    CALL_Uniform1iv(ctx->Dispatch.Current, (location, count, value));
# 2133|      return cmd->num_slots;
# 2134|   }

Error: CLANG_WARNING: [#def320]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2143:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2141|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2142|         _mesa_glthread_finish_before(ctx, "Uniform1iv");
# 2143|->       CALL_Uniform1iv(ctx->Dispatch.Current, (location, count, value));
# 2144|         return;
# 2145|      }

Error: CLANG_WARNING: [#def321]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2171:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2169|      const char *variable_data = (const char *) (cmd + 1);
# 2170|      value = (GLint *) variable_data;
# 2171|->    CALL_Uniform2iv(ctx->Dispatch.Current, (location, count, value));
# 2172|      return cmd->num_slots;
# 2173|   }

Error: CLANG_WARNING: [#def322]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2182:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2180|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2181|         _mesa_glthread_finish_before(ctx, "Uniform2iv");
# 2182|->       CALL_Uniform2iv(ctx->Dispatch.Current, (location, count, value));
# 2183|         return;
# 2184|      }

Error: CLANG_WARNING: [#def323]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2210:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2208|      const char *variable_data = (const char *) (cmd + 1);
# 2209|      value = (GLint *) variable_data;
# 2210|->    CALL_Uniform3iv(ctx->Dispatch.Current, (location, count, value));
# 2211|      return cmd->num_slots;
# 2212|   }

Error: CLANG_WARNING: [#def324]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2221:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2219|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2220|         _mesa_glthread_finish_before(ctx, "Uniform3iv");
# 2221|->       CALL_Uniform3iv(ctx->Dispatch.Current, (location, count, value));
# 2222|         return;
# 2223|      }

Error: CLANG_WARNING: [#def325]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2249:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2247|      const char *variable_data = (const char *) (cmd + 1);
# 2248|      value = (GLint *) variable_data;
# 2249|->    CALL_Uniform4iv(ctx->Dispatch.Current, (location, count, value));
# 2250|      return cmd->num_slots;
# 2251|   }

Error: CLANG_WARNING: [#def326]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2260:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2258|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2259|         _mesa_glthread_finish_before(ctx, "Uniform4iv");
# 2260|->       CALL_Uniform4iv(ctx->Dispatch.Current, (location, count, value));
# 2261|         return;
# 2262|      }

Error: CLANG_WARNING: [#def327]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2290:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2288|      const char *variable_data = (const char *) (cmd + 1);
# 2289|      value = (GLfloat *) variable_data;
# 2290|->    CALL_UniformMatrix2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2291|      return cmd->num_slots;
# 2292|   }

Error: CLANG_WARNING: [#def328]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2301:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2299|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2300|         _mesa_glthread_finish_before(ctx, "UniformMatrix2fv");
# 2301|->       CALL_UniformMatrix2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2302|         return;
# 2303|      }

Error: CLANG_WARNING: [#def329]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2332:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2330|      const char *variable_data = (const char *) (cmd + 1);
# 2331|      value = (GLfloat *) variable_data;
# 2332|->    CALL_UniformMatrix3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2333|      return cmd->num_slots;
# 2334|   }

Error: CLANG_WARNING: [#def330]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2343:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2341|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2342|         _mesa_glthread_finish_before(ctx, "UniformMatrix3fv");
# 2343|->       CALL_UniformMatrix3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2344|         return;
# 2345|      }

Error: CLANG_WARNING: [#def331]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2374:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2372|      const char *variable_data = (const char *) (cmd + 1);
# 2373|      value = (GLfloat *) variable_data;
# 2374|->    CALL_UniformMatrix4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2375|      return cmd->num_slots;
# 2376|   }

Error: CLANG_WARNING: [#def332]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2385:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2383|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2384|         _mesa_glthread_finish_before(ctx, "UniformMatrix4fv");
# 2385|->       CALL_UniformMatrix4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 2386|         return;
# 2387|      }

Error: CLANG_WARNING: [#def333]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2407:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2405|   {
# 2406|      GLuint program = cmd->program;
# 2407|->    CALL_ValidateProgram(ctx->Dispatch.Current, (program));
# 2408|      return align(sizeof(struct marshal_cmd_ValidateProgram), 8) / 8;
# 2409|   }

Error: CLANG_WARNING: [#def334]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2431:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2429|      GLuint index = cmd->index;
# 2430|      GLdouble x = cmd->x;
# 2431|->    CALL_VertexAttrib1d(ctx->Dispatch.Current, (index, x));
# 2432|      return align(sizeof(struct marshal_cmd_VertexAttrib1d), 8) / 8;
# 2433|   }

Error: CLANG_WARNING: [#def335]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2456:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2454|      GLuint index = cmd->index;
# 2455|      const GLdouble *v = cmd->v;
# 2456|->    CALL_VertexAttrib1dv(ctx->Dispatch.Current, (index, v));
# 2457|      return align(sizeof(struct marshal_cmd_VertexAttrib1dv), 8) / 8;
# 2458|   }

Error: CLANG_WARNING: [#def336]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2481:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2479|      GLuint index = cmd->index;
# 2480|      GLfloat x = cmd->x;
# 2481|->    CALL_VertexAttrib1fARB(ctx->Dispatch.Current, (index, x));
# 2482|      return align(sizeof(struct marshal_cmd_VertexAttrib1fARB), 8) / 8;
# 2483|   }

Error: CLANG_WARNING: [#def337]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2506:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2504|      GLuint index = cmd->index;
# 2505|      const GLfloat *v = cmd->v;
# 2506|->    CALL_VertexAttrib1fvARB(ctx->Dispatch.Current, (index, v));
# 2507|      return align(sizeof(struct marshal_cmd_VertexAttrib1fvARB), 8) / 8;
# 2508|   }

Error: CLANG_WARNING: [#def338]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2531:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2529|      GLshort x = cmd->x;
# 2530|      GLuint index = cmd->index;
# 2531|->    CALL_VertexAttrib1s(ctx->Dispatch.Current, (index, x));
# 2532|      return align(sizeof(struct marshal_cmd_VertexAttrib1s), 8) / 8;
# 2533|   }

Error: CLANG_WARNING: [#def339]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2556:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2554|      GLuint index = cmd->index;
# 2555|      const GLshort *v = cmd->v;
# 2556|->    CALL_VertexAttrib1sv(ctx->Dispatch.Current, (index, v));
# 2557|      return align(sizeof(struct marshal_cmd_VertexAttrib1sv), 8) / 8;
# 2558|   }

Error: CLANG_WARNING: [#def340]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2583:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2581|      GLdouble x = cmd->x;
# 2582|      GLdouble y = cmd->y;
# 2583|->    CALL_VertexAttrib2d(ctx->Dispatch.Current, (index, x, y));
# 2584|      return align(sizeof(struct marshal_cmd_VertexAttrib2d), 8) / 8;
# 2585|   }

Error: CLANG_WARNING: [#def341]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2609:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2607|      GLuint index = cmd->index;
# 2608|      const GLdouble *v = cmd->v;
# 2609|->    CALL_VertexAttrib2dv(ctx->Dispatch.Current, (index, v));
# 2610|      return align(sizeof(struct marshal_cmd_VertexAttrib2dv), 8) / 8;
# 2611|   }

Error: CLANG_WARNING: [#def342]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2636:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2634|      GLfloat x = cmd->x;
# 2635|      GLfloat y = cmd->y;
# 2636|->    CALL_VertexAttrib2fARB(ctx->Dispatch.Current, (index, x, y));
# 2637|      return align(sizeof(struct marshal_cmd_VertexAttrib2fARB), 8) / 8;
# 2638|   }

Error: CLANG_WARNING: [#def343]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2662:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2660|      GLuint index = cmd->index;
# 2661|      const GLfloat *v = cmd->v;
# 2662|->    CALL_VertexAttrib2fvARB(ctx->Dispatch.Current, (index, v));
# 2663|      return align(sizeof(struct marshal_cmd_VertexAttrib2fvARB), 8) / 8;
# 2664|   }

Error: CLANG_WARNING: [#def344]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2689:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2687|      GLshort y = cmd->y;
# 2688|      GLuint index = cmd->index;
# 2689|->    CALL_VertexAttrib2s(ctx->Dispatch.Current, (index, x, y));
# 2690|      return align(sizeof(struct marshal_cmd_VertexAttrib2s), 8) / 8;
# 2691|   }

Error: CLANG_WARNING: [#def345]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2715:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2713|      GLuint index = cmd->index;
# 2714|      const GLshort *v = cmd->v;
# 2715|->    CALL_VertexAttrib2sv(ctx->Dispatch.Current, (index, v));
# 2716|      return align(sizeof(struct marshal_cmd_VertexAttrib2sv), 8) / 8;
# 2717|   }

Error: CLANG_WARNING: [#def346]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2744:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2742|      GLdouble y = cmd->y;
# 2743|      GLdouble z = cmd->z;
# 2744|->    CALL_VertexAttrib3d(ctx->Dispatch.Current, (index, x, y, z));
# 2745|      return align(sizeof(struct marshal_cmd_VertexAttrib3d), 8) / 8;
# 2746|   }

Error: CLANG_WARNING: [#def347]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2771:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2769|      GLuint index = cmd->index;
# 2770|      const GLdouble *v = cmd->v;
# 2771|->    CALL_VertexAttrib3dv(ctx->Dispatch.Current, (index, v));
# 2772|      return align(sizeof(struct marshal_cmd_VertexAttrib3dv), 8) / 8;
# 2773|   }

Error: CLANG_WARNING: [#def348]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2800:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2798|      GLfloat y = cmd->y;
# 2799|      GLfloat z = cmd->z;
# 2800|->    CALL_VertexAttrib3fARB(ctx->Dispatch.Current, (index, x, y, z));
# 2801|      return align(sizeof(struct marshal_cmd_VertexAttrib3fARB), 8) / 8;
# 2802|   }

Error: CLANG_WARNING: [#def349]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2827:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2825|      GLuint index = cmd->index;
# 2826|      const GLfloat *v = cmd->v;
# 2827|->    CALL_VertexAttrib3fvARB(ctx->Dispatch.Current, (index, v));
# 2828|      return align(sizeof(struct marshal_cmd_VertexAttrib3fvARB), 8) / 8;
# 2829|   }

Error: CLANG_WARNING: [#def350]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2856:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2854|      GLshort z = cmd->z;
# 2855|      GLuint index = cmd->index;
# 2856|->    CALL_VertexAttrib3s(ctx->Dispatch.Current, (index, x, y, z));
# 2857|      return align(sizeof(struct marshal_cmd_VertexAttrib3s), 8) / 8;
# 2858|   }

Error: CLANG_WARNING: [#def351]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2883:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2881|      GLuint index = cmd->index;
# 2882|      const GLshort *v = cmd->v;
# 2883|->    CALL_VertexAttrib3sv(ctx->Dispatch.Current, (index, v));
# 2884|      return align(sizeof(struct marshal_cmd_VertexAttrib3sv), 8) / 8;
# 2885|   }

Error: CLANG_WARNING: [#def352]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2908:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2906|      GLuint index = cmd->index;
# 2907|      const GLbyte *v = cmd->v;
# 2908|->    CALL_VertexAttrib4Nbv(ctx->Dispatch.Current, (index, v));
# 2909|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nbv), 8) / 8;
# 2910|   }

Error: CLANG_WARNING: [#def353]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2933:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2931|      GLuint index = cmd->index;
# 2932|      const GLint *v = cmd->v;
# 2933|->    CALL_VertexAttrib4Niv(ctx->Dispatch.Current, (index, v));
# 2934|      return align(sizeof(struct marshal_cmd_VertexAttrib4Niv), 8) / 8;
# 2935|   }

Error: CLANG_WARNING: [#def354]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2958:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2956|      GLuint index = cmd->index;
# 2957|      const GLshort *v = cmd->v;
# 2958|->    CALL_VertexAttrib4Nsv(ctx->Dispatch.Current, (index, v));
# 2959|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nsv), 8) / 8;
# 2960|   }

Error: CLANG_WARNING: [#def355]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:2989:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2987|      GLubyte w = cmd->w;
# 2988|      GLuint index = cmd->index;
# 2989|->    CALL_VertexAttrib4Nub(ctx->Dispatch.Current, (index, x, y, z, w));
# 2990|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nub), 8) / 8;
# 2991|   }

Error: CLANG_WARNING: [#def356]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3017:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3015|      GLuint index = cmd->index;
# 3016|      const GLubyte *v = cmd->v;
# 3017|->    CALL_VertexAttrib4Nubv(ctx->Dispatch.Current, (index, v));
# 3018|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nubv), 8) / 8;
# 3019|   }

Error: CLANG_WARNING: [#def357]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3042:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3040|      GLuint index = cmd->index;
# 3041|      const GLuint *v = cmd->v;
# 3042|->    CALL_VertexAttrib4Nuiv(ctx->Dispatch.Current, (index, v));
# 3043|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nuiv), 8) / 8;
# 3044|   }

Error: CLANG_WARNING: [#def358]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3067:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3065|      GLuint index = cmd->index;
# 3066|      const GLushort *v = cmd->v;
# 3067|->    CALL_VertexAttrib4Nusv(ctx->Dispatch.Current, (index, v));
# 3068|      return align(sizeof(struct marshal_cmd_VertexAttrib4Nusv), 8) / 8;
# 3069|   }

Error: CLANG_WARNING: [#def359]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3092:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3090|      GLuint index = cmd->index;
# 3091|      const GLbyte *v = cmd->v;
# 3092|->    CALL_VertexAttrib4bv(ctx->Dispatch.Current, (index, v));
# 3093|      return align(sizeof(struct marshal_cmd_VertexAttrib4bv), 8) / 8;
# 3094|   }

Error: CLANG_WARNING: [#def360]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3123:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3121|      GLdouble z = cmd->z;
# 3122|      GLdouble w = cmd->w;
# 3123|->    CALL_VertexAttrib4d(ctx->Dispatch.Current, (index, x, y, z, w));
# 3124|      return align(sizeof(struct marshal_cmd_VertexAttrib4d), 8) / 8;
# 3125|   }

Error: CLANG_WARNING: [#def361]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3151:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3149|      GLuint index = cmd->index;
# 3150|      const GLdouble *v = cmd->v;
# 3151|->    CALL_VertexAttrib4dv(ctx->Dispatch.Current, (index, v));
# 3152|      return align(sizeof(struct marshal_cmd_VertexAttrib4dv), 8) / 8;
# 3153|   }

Error: CLANG_WARNING: [#def362]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3182:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3180|      GLfloat z = cmd->z;
# 3181|      GLfloat w = cmd->w;
# 3182|->    CALL_VertexAttrib4fARB(ctx->Dispatch.Current, (index, x, y, z, w));
# 3183|      return align(sizeof(struct marshal_cmd_VertexAttrib4fARB), 8) / 8;
# 3184|   }

Error: CLANG_WARNING: [#def363]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3210:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3208|      GLuint index = cmd->index;
# 3209|      const GLfloat *v = cmd->v;
# 3210|->    CALL_VertexAttrib4fvARB(ctx->Dispatch.Current, (index, v));
# 3211|      return align(sizeof(struct marshal_cmd_VertexAttrib4fvARB), 8) / 8;
# 3212|   }

Error: CLANG_WARNING: [#def364]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3235:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3233|      GLuint index = cmd->index;
# 3234|      const GLint *v = cmd->v;
# 3235|->    CALL_VertexAttrib4iv(ctx->Dispatch.Current, (index, v));
# 3236|      return align(sizeof(struct marshal_cmd_VertexAttrib4iv), 8) / 8;
# 3237|   }

Error: CLANG_WARNING: [#def365]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3266:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3264|      GLshort w = cmd->w;
# 3265|      GLuint index = cmd->index;
# 3266|->    CALL_VertexAttrib4s(ctx->Dispatch.Current, (index, x, y, z, w));
# 3267|      return align(sizeof(struct marshal_cmd_VertexAttrib4s), 8) / 8;
# 3268|   }

Error: CLANG_WARNING: [#def366]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3294:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3292|      GLuint index = cmd->index;
# 3293|      const GLshort *v = cmd->v;
# 3294|->    CALL_VertexAttrib4sv(ctx->Dispatch.Current, (index, v));
# 3295|      return align(sizeof(struct marshal_cmd_VertexAttrib4sv), 8) / 8;
# 3296|   }

Error: CLANG_WARNING: [#def367]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3319:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3317|      GLuint index = cmd->index;
# 3318|      const GLubyte *v = cmd->v;
# 3319|->    CALL_VertexAttrib4ubv(ctx->Dispatch.Current, (index, v));
# 3320|      return align(sizeof(struct marshal_cmd_VertexAttrib4ubv), 8) / 8;
# 3321|   }

Error: CLANG_WARNING: [#def368]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3344:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3342|      GLuint index = cmd->index;
# 3343|      const GLuint *v = cmd->v;
# 3344|->    CALL_VertexAttrib4uiv(ctx->Dispatch.Current, (index, v));
# 3345|      return align(sizeof(struct marshal_cmd_VertexAttrib4uiv), 8) / 8;
# 3346|   }

Error: CLANG_WARNING: [#def369]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3369:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3367|      GLuint index = cmd->index;
# 3368|      const GLushort *v = cmd->v;
# 3369|->    CALL_VertexAttrib4usv(ctx->Dispatch.Current, (index, v));
# 3370|      return align(sizeof(struct marshal_cmd_VertexAttrib4usv), 8) / 8;
# 3371|   }

Error: CLANG_WARNING: [#def370]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3412:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3410|      GLclamped16i stride = cmd->stride;
# 3411|      const GLvoid * pointer = cmd->pointer;
# 3412|->    CALL_VertexAttribPointer(ctx->Dispatch.Current, (index, size, type, normalized, stride, pointer));
# 3413|      return align(sizeof(struct marshal_cmd_VertexAttribPointer), 8) / 8;
# 3414|   }

Error: CLANG_WARNING: [#def371]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3423:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3421|      GLclamped16i stride = cmd->stride;
# 3422|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 3423|->    CALL_VertexAttribPointer(ctx->Dispatch.Current, (index, size, type, normalized, stride, pointer));
# 3424|      return align(sizeof(struct marshal_cmd_VertexAttribPointer_packed), 8) / 8;
# 3425|   }

Error: CLANG_WARNING: [#def372]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3471:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3469|      const char *variable_data = (const char *) (cmd + 1);
# 3470|      value = (GLfloat *) variable_data;
# 3471|->    CALL_UniformMatrix2x3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3472|      return cmd->num_slots;
# 3473|   }

Error: CLANG_WARNING: [#def373]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3482:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3480|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3481|         _mesa_glthread_finish_before(ctx, "UniformMatrix2x3fv");
# 3482|->       CALL_UniformMatrix2x3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3483|         return;
# 3484|      }

Error: CLANG_WARNING: [#def374]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3513:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3511|      const char *variable_data = (const char *) (cmd + 1);
# 3512|      value = (GLfloat *) variable_data;
# 3513|->    CALL_UniformMatrix3x2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3514|      return cmd->num_slots;
# 3515|   }

Error: CLANG_WARNING: [#def375]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3524:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3522|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3523|         _mesa_glthread_finish_before(ctx, "UniformMatrix3x2fv");
# 3524|->       CALL_UniformMatrix3x2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3525|         return;
# 3526|      }

Error: CLANG_WARNING: [#def376]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3555:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3553|      const char *variable_data = (const char *) (cmd + 1);
# 3554|      value = (GLfloat *) variable_data;
# 3555|->    CALL_UniformMatrix2x4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3556|      return cmd->num_slots;
# 3557|   }

Error: CLANG_WARNING: [#def377]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3566:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3564|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3565|         _mesa_glthread_finish_before(ctx, "UniformMatrix2x4fv");
# 3566|->       CALL_UniformMatrix2x4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3567|         return;
# 3568|      }

Error: CLANG_WARNING: [#def378]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3597:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3595|      const char *variable_data = (const char *) (cmd + 1);
# 3596|      value = (GLfloat *) variable_data;
# 3597|->    CALL_UniformMatrix4x2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3598|      return cmd->num_slots;
# 3599|   }

Error: CLANG_WARNING: [#def379]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3608:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3606|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3607|         _mesa_glthread_finish_before(ctx, "UniformMatrix4x2fv");
# 3608|->       CALL_UniformMatrix4x2fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3609|         return;
# 3610|      }

Error: CLANG_WARNING: [#def380]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3639:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3637|      const char *variable_data = (const char *) (cmd + 1);
# 3638|      value = (GLfloat *) variable_data;
# 3639|->    CALL_UniformMatrix3x4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3640|      return cmd->num_slots;
# 3641|   }

Error: CLANG_WARNING: [#def381]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3650:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3648|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3649|         _mesa_glthread_finish_before(ctx, "UniformMatrix3x4fv");
# 3650|->       CALL_UniformMatrix3x4fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3651|         return;
# 3652|      }

Error: CLANG_WARNING: [#def382]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3681:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3679|      const char *variable_data = (const char *) (cmd + 1);
# 3680|      value = (GLfloat *) variable_data;
# 3681|->    CALL_UniformMatrix4x3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3682|      return cmd->num_slots;
# 3683|   }

Error: CLANG_WARNING: [#def383]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3692:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3690|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3691|         _mesa_glthread_finish_before(ctx, "UniformMatrix4x3fv");
# 3692|->       CALL_UniformMatrix4x3fv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3693|         return;
# 3694|      }

Error: CLANG_WARNING: [#def384]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3723:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3721|      const char *variable_data = (const char *) (cmd + 1);
# 3722|      string = (GLvoid *) variable_data;
# 3723|->    CALL_ProgramStringARB(ctx->Dispatch.Current, (target, format, len, string));
# 3724|      return cmd->num_slots;
# 3725|   }

Error: CLANG_WARNING: [#def385]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3734:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3732|      if (unlikely(string_size < 0 || (string_size > 0 && !string) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3733|         _mesa_glthread_finish_before(ctx, "ProgramStringARB");
# 3734|->       CALL_ProgramStringARB(ctx->Dispatch.Current, (target, format, len, string));
# 3735|         return;
# 3736|      }

Error: CLANG_WARNING: [#def386]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3758:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3756|      GLenum16 target = cmd->target;
# 3757|      GLuint program = cmd->program;
# 3758|->    CALL_BindProgramARB(ctx->Dispatch.Current, (target, program));
# 3759|      return align(sizeof(struct marshal_cmd_BindProgramARB), 8) / 8;
# 3760|   }

Error: CLANG_WARNING: [#def387]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3786:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3784|      const char *variable_data = (const char *) (cmd + 1);
# 3785|      programs = (GLuint *) variable_data;
# 3786|->    CALL_DeleteProgramsARB(ctx->Dispatch.Current, (n, programs));
# 3787|      return cmd->num_slots;
# 3788|   }

Error: CLANG_WARNING: [#def388]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3797:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3795|      if (unlikely(programs_size < 0 || (programs_size > 0 && !programs) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3796|         _mesa_glthread_finish_before(ctx, "DeleteProgramsARB");
# 3797|->       CALL_DeleteProgramsARB(ctx->Dispatch.Current, (n, programs));
# 3798|         return;
# 3799|      }

Error: CLANG_WARNING: [#def389]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3814:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3812|      GET_CURRENT_CONTEXT(ctx);
# 3813|      _mesa_glthread_finish_before(ctx, "GenProgramsARB");
# 3814|->    CALL_GenProgramsARB(ctx->Dispatch.Current, (n, programs));
# 3815|   }
# 3816|   

Error: CLANG_WARNING: [#def390]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3824:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3822|      GET_CURRENT_CONTEXT(ctx);
# 3823|      _mesa_glthread_finish_before(ctx, "IsProgramARB");
# 3824|->    return CALL_IsProgramARB(ctx->Dispatch.Current, (program));
# 3825|   }
# 3826|   

Error: CLANG_WARNING: [#def391]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3847:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3845|      GLdouble z = cmd->z;
# 3846|      GLdouble w = cmd->w;
# 3847|->    CALL_ProgramEnvParameter4dARB(ctx->Dispatch.Current, (target, index, x, y, z, w));
# 3848|      return align(sizeof(struct marshal_cmd_ProgramEnvParameter4dARB), 8) / 8;
# 3849|   }

Error: CLANG_WARNING: [#def392]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3878:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3876|      GLuint index = cmd->index;
# 3877|      const GLdouble *params = cmd->params;
# 3878|->    CALL_ProgramEnvParameter4dvARB(ctx->Dispatch.Current, (target, index, params));
# 3879|      return align(sizeof(struct marshal_cmd_ProgramEnvParameter4dvARB), 8) / 8;
# 3880|   }

Error: CLANG_WARNING: [#def393]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3912:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3910|      GLfloat z = cmd->z;
# 3911|      GLfloat w = cmd->w;
# 3912|->    CALL_ProgramEnvParameter4fARB(ctx->Dispatch.Current, (target, index, x, y, z, w));
# 3913|      return align(sizeof(struct marshal_cmd_ProgramEnvParameter4fARB), 8) / 8;
# 3914|   }

Error: CLANG_WARNING: [#def394]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3943:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3941|      GLuint index = cmd->index;
# 3942|      const GLfloat *params = cmd->params;
# 3943|->    CALL_ProgramEnvParameter4fvARB(ctx->Dispatch.Current, (target, index, params));
# 3944|      return align(sizeof(struct marshal_cmd_ProgramEnvParameter4fvARB), 8) / 8;
# 3945|   }

Error: CLANG_WARNING: [#def395]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:3977:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3975|      GLdouble z = cmd->z;
# 3976|      GLdouble w = cmd->w;
# 3977|->    CALL_ProgramLocalParameter4dARB(ctx->Dispatch.Current, (target, index, x, y, z, w));
# 3978|      return align(sizeof(struct marshal_cmd_ProgramLocalParameter4dARB), 8) / 8;
# 3979|   }

Error: CLANG_WARNING: [#def396]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4008:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4006|      GLuint index = cmd->index;
# 4007|      const GLdouble *params = cmd->params;
# 4008|->    CALL_ProgramLocalParameter4dvARB(ctx->Dispatch.Current, (target, index, params));
# 4009|      return align(sizeof(struct marshal_cmd_ProgramLocalParameter4dvARB), 8) / 8;
# 4010|   }

Error: CLANG_WARNING: [#def397]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4042:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4040|      GLfloat z = cmd->z;
# 4041|      GLfloat w = cmd->w;
# 4042|->    CALL_ProgramLocalParameter4fARB(ctx->Dispatch.Current, (target, index, x, y, z, w));
# 4043|      return align(sizeof(struct marshal_cmd_ProgramLocalParameter4fARB), 8) / 8;
# 4044|   }

Error: CLANG_WARNING: [#def398]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4073:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4071|      GLuint index = cmd->index;
# 4072|      const GLfloat *params = cmd->params;
# 4073|->    CALL_ProgramLocalParameter4fvARB(ctx->Dispatch.Current, (target, index, params));
# 4074|      return align(sizeof(struct marshal_cmd_ProgramLocalParameter4fvARB), 8) / 8;
# 4075|   }

Error: CLANG_WARNING: [#def399]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4094:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4092|      GET_CURRENT_CONTEXT(ctx);
# 4093|      _mesa_glthread_finish_before(ctx, "GetProgramEnvParameterdvARB");
# 4094|->    CALL_GetProgramEnvParameterdvARB(ctx->Dispatch.Current, (target, index, params));
# 4095|   }
# 4096|   

Error: CLANG_WARNING: [#def400]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4104:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4102|      GET_CURRENT_CONTEXT(ctx);
# 4103|      _mesa_glthread_finish_before(ctx, "GetProgramEnvParameterfvARB");
# 4104|->    CALL_GetProgramEnvParameterfvARB(ctx->Dispatch.Current, (target, index, params));
# 4105|   }
# 4106|   

Error: CLANG_WARNING: [#def401]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4114:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4112|      GET_CURRENT_CONTEXT(ctx);
# 4113|      _mesa_glthread_finish_before(ctx, "GetProgramLocalParameterdvARB");
# 4114|->    CALL_GetProgramLocalParameterdvARB(ctx->Dispatch.Current, (target, index, params));
# 4115|   }
# 4116|   

Error: CLANG_WARNING: [#def402]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4124:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4122|      GET_CURRENT_CONTEXT(ctx);
# 4123|      _mesa_glthread_finish_before(ctx, "GetProgramLocalParameterfvARB");
# 4124|->    CALL_GetProgramLocalParameterfvARB(ctx->Dispatch.Current, (target, index, params));
# 4125|   }
# 4126|   

Error: CLANG_WARNING: [#def403]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4134:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4132|      GET_CURRENT_CONTEXT(ctx);
# 4133|      _mesa_glthread_finish_before(ctx, "GetProgramivARB");
# 4134|->    CALL_GetProgramivARB(ctx->Dispatch.Current, (target, pname, params));
# 4135|   }
# 4136|   

Error: CLANG_WARNING: [#def404]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4144:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4142|      GET_CURRENT_CONTEXT(ctx);
# 4143|      _mesa_glthread_finish_before(ctx, "GetProgramStringARB");
# 4144|->    CALL_GetProgramStringARB(ctx->Dispatch.Current, (target, pname, string));
# 4145|   }
# 4146|   

Error: CLANG_WARNING: [#def405]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4157:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4155|   {
# 4156|      GLhandleARB obj = cmd->obj;
# 4157|->    CALL_DeleteObjectARB(ctx->Dispatch.Current, (obj));
# 4158|      return align(sizeof(struct marshal_cmd_DeleteObjectARB), 8) / 8;
# 4159|   }

Error: CLANG_WARNING: [#def406]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4177:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4175|      GET_CURRENT_CONTEXT(ctx);
# 4176|      _mesa_glthread_finish_before(ctx, "GetHandleARB");
# 4177|->    return CALL_GetHandleARB(ctx->Dispatch.Current, (pname));
# 4178|   }
# 4179|   

Error: CLANG_WARNING: [#def407]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4192:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4190|      GLhandleARB containerObj = cmd->containerObj;
# 4191|      GLhandleARB attachedObj = cmd->attachedObj;
# 4192|->    CALL_DetachObjectARB(ctx->Dispatch.Current, (containerObj, attachedObj));
# 4193|      return align(sizeof(struct marshal_cmd_DetachObjectARB), 8) / 8;
# 4194|   }

Error: CLANG_WARNING: [#def408]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4212:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4210|      GET_CURRENT_CONTEXT(ctx);
# 4211|      _mesa_glthread_finish_before(ctx, "CreateShaderObjectARB");
# 4212|->    return CALL_CreateShaderObjectARB(ctx->Dispatch.Current, (shaderType));
# 4213|   }
# 4214|   

Error: CLANG_WARNING: [#def409]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4222:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4220|      GET_CURRENT_CONTEXT(ctx);
# 4221|      _mesa_glthread_finish_before(ctx, "CreateProgramObjectARB");
# 4222|->    return CALL_CreateProgramObjectARB(ctx->Dispatch.Current, ());
# 4223|   }
# 4224|   

Error: CLANG_WARNING: [#def410]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4237:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4235|      GLhandleARB containerObj = cmd->containerObj;
# 4236|      GLhandleARB obj = cmd->obj;
# 4237|->    CALL_AttachObjectARB(ctx->Dispatch.Current, (containerObj, obj));
# 4238|      return align(sizeof(struct marshal_cmd_AttachObjectARB), 8) / 8;
# 4239|   }

Error: CLANG_WARNING: [#def411]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4257:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4255|      GET_CURRENT_CONTEXT(ctx);
# 4256|      _mesa_glthread_finish_before(ctx, "GetObjectParameterfvARB");
# 4257|->    CALL_GetObjectParameterfvARB(ctx->Dispatch.Current, (obj, pname, params));
# 4258|   }
# 4259|   

Error: CLANG_WARNING: [#def412]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4267:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4265|      GET_CURRENT_CONTEXT(ctx);
# 4266|      _mesa_glthread_finish_before(ctx, "GetObjectParameterivARB");
# 4267|->    CALL_GetObjectParameterivARB(ctx->Dispatch.Current, (obj, pname, params));
# 4268|   }
# 4269|   

Error: CLANG_WARNING: [#def413]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4277:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4275|      GET_CURRENT_CONTEXT(ctx);
# 4276|      _mesa_glthread_finish_before(ctx, "GetInfoLogARB");
# 4277|->    CALL_GetInfoLogARB(ctx->Dispatch.Current, (obj, maxLength, length, infoLog));
# 4278|   }
# 4279|   

Error: CLANG_WARNING: [#def414]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4287:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4285|      GET_CURRENT_CONTEXT(ctx);
# 4286|      _mesa_glthread_finish_before(ctx, "GetAttachedObjectsARB");
# 4287|->    CALL_GetAttachedObjectsARB(ctx->Dispatch.Current, (containerObj, maxLength, length, infoLog));
# 4288|   }
# 4289|   

Error: CLANG_WARNING: [#def415]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4302:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4300|      GLenum16 target = cmd->target;
# 4301|      GLenum16 clamp = cmd->clamp;
# 4302|->    CALL_ClampColor(ctx->Dispatch.Current, (target, clamp));
# 4303|      return align(sizeof(struct marshal_cmd_ClampColor), 8) / 8;
# 4304|   }

Error: CLANG_WARNING: [#def416]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4322:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4320|      GET_CURRENT_CONTEXT(ctx);
# 4321|      _mesa_glthread_finish_before(ctx, "IsRenderbuffer");
# 4322|->    return CALL_IsRenderbuffer(ctx->Dispatch.Current, (renderbuffer));
# 4323|   }
# 4324|   

Error: CLANG_WARNING: [#def417]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4337:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4335|      GLenum16 target = cmd->target;
# 4336|      GLuint renderbuffer = cmd->renderbuffer;
# 4337|->    CALL_BindRenderbuffer(ctx->Dispatch.Current, (target, renderbuffer));
# 4338|      return align(sizeof(struct marshal_cmd_BindRenderbuffer), 8) / 8;
# 4339|   }

Error: CLANG_WARNING: [#def418]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4365:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4363|      const char *variable_data = (const char *) (cmd + 1);
# 4364|      renderbuffers = (GLuint *) variable_data;
# 4365|->    CALL_DeleteRenderbuffers(ctx->Dispatch.Current, (n, renderbuffers));
# 4366|      return cmd->num_slots;
# 4367|   }

Error: CLANG_WARNING: [#def419]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4376:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4374|      if (unlikely(renderbuffers_size < 0 || (renderbuffers_size > 0 && !renderbuffers) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 4375|         _mesa_glthread_finish_before(ctx, "DeleteRenderbuffers");
# 4376|->       CALL_DeleteRenderbuffers(ctx->Dispatch.Current, (n, renderbuffers));
# 4377|         return;
# 4378|      }

Error: CLANG_WARNING: [#def420]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4393:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4391|      GET_CURRENT_CONTEXT(ctx);
# 4392|      _mesa_glthread_finish_before(ctx, "GenRenderbuffers");
# 4393|->    CALL_GenRenderbuffers(ctx->Dispatch.Current, (n, renderbuffers));
# 4394|   }
# 4395|   

Error: CLANG_WARNING: [#def421]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4412:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4410|      GLsizei width = cmd->width;
# 4411|      GLsizei height = cmd->height;
# 4412|->    CALL_RenderbufferStorage(ctx->Dispatch.Current, (target, internalformat, width, height));
# 4413|      return align(sizeof(struct marshal_cmd_RenderbufferStorage), 8) / 8;
# 4414|   }

Error: CLANG_WARNING: [#def422]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4445:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4443|      GLsizei width = cmd->width;
# 4444|      GLsizei height = cmd->height;
# 4445|->    CALL_RenderbufferStorageMultisample(ctx->Dispatch.Current, (target, samples, internalformat, width, height));
# 4446|      return align(sizeof(struct marshal_cmd_RenderbufferStorageMultisample), 8) / 8;
# 4447|   }

Error: CLANG_WARNING: [#def423]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4468:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4466|      GET_CURRENT_CONTEXT(ctx);
# 4467|      _mesa_glthread_finish_before(ctx, "GetRenderbufferParameteriv");
# 4468|->    CALL_GetRenderbufferParameteriv(ctx->Dispatch.Current, (target, pname, params));
# 4469|   }
# 4470|   

Error: CLANG_WARNING: [#def424]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4478:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4476|      GET_CURRENT_CONTEXT(ctx);
# 4477|      _mesa_glthread_finish_before(ctx, "IsFramebuffer");
# 4478|->    return CALL_IsFramebuffer(ctx->Dispatch.Current, (framebuffer));
# 4479|   }
# 4480|   

Error: CLANG_WARNING: [#def425]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4493:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4491|      GLenum16 target = cmd->target;
# 4492|      GLuint framebuffer = cmd->framebuffer;
# 4493|->    CALL_BindFramebuffer(ctx->Dispatch.Current, (target, framebuffer));
# 4494|      return align(sizeof(struct marshal_cmd_BindFramebuffer), 8) / 8;
# 4495|   }

Error: CLANG_WARNING: [#def426]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4522:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4520|      const char *variable_data = (const char *) (cmd + 1);
# 4521|      framebuffers = (GLuint *) variable_data;
# 4522|->    CALL_DeleteFramebuffers(ctx->Dispatch.Current, (n, framebuffers));
# 4523|      return cmd->num_slots;
# 4524|   }

Error: CLANG_WARNING: [#def427]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4533:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4531|      if (unlikely(framebuffers_size < 0 || (framebuffers_size > 0 && !framebuffers) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 4532|         _mesa_glthread_finish_before(ctx, "DeleteFramebuffers");
# 4533|->       CALL_DeleteFramebuffers(ctx->Dispatch.Current, (n, framebuffers));
# 4534|         _mesa_glthread_DeleteFramebuffers(ctx, n, framebuffers);
# 4535|         return;

Error: CLANG_WARNING: [#def428]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4552:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4550|      GET_CURRENT_CONTEXT(ctx);
# 4551|      _mesa_glthread_finish_before(ctx, "GenFramebuffers");
# 4552|->    CALL_GenFramebuffers(ctx->Dispatch.Current, (n, framebuffers));
# 4553|   }
# 4554|   

Error: CLANG_WARNING: [#def429]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4563:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4561|      if (ctx->Const.GLThreadNopCheckFramebufferStatus) return GL_FRAMEBUFFER_COMPLETE;
# 4562|      _mesa_glthread_finish_before(ctx, "CheckFramebufferStatus");
# 4563|->    return CALL_CheckFramebufferStatus(ctx->Dispatch.Current, (target));
# 4564|   }
# 4565|   

Error: CLANG_WARNING: [#def430]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4584:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4582|      GLuint texture = cmd->texture;
# 4583|      GLint level = cmd->level;
# 4584|->    CALL_FramebufferTexture1D(ctx->Dispatch.Current, (target, attachment, textarget, texture, level));
# 4585|      return align(sizeof(struct marshal_cmd_FramebufferTexture1D), 8) / 8;
# 4586|   }

Error: CLANG_WARNING: [#def431]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4618:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4616|      GLuint texture = cmd->texture;
# 4617|      GLint level = cmd->level;
# 4618|->    CALL_FramebufferTexture2D(ctx->Dispatch.Current, (target, attachment, textarget, texture, level));
# 4619|      return align(sizeof(struct marshal_cmd_FramebufferTexture2D), 8) / 8;
# 4620|   }

Error: CLANG_WARNING: [#def432]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4654:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4652|      GLint level = cmd->level;
# 4653|      GLint layer = cmd->layer;
# 4654|->    CALL_FramebufferTexture3D(ctx->Dispatch.Current, (target, attachment, textarget, texture, level, layer));
# 4655|      return align(sizeof(struct marshal_cmd_FramebufferTexture3D), 8) / 8;
# 4656|   }

Error: CLANG_WARNING: [#def433]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4689:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4687|      GLint level = cmd->level;
# 4688|      GLint layer = cmd->layer;
# 4689|->    CALL_FramebufferTextureLayer(ctx->Dispatch.Current, (target, attachment, texture, level, layer));
# 4690|      return align(sizeof(struct marshal_cmd_FramebufferTextureLayer), 8) / 8;
# 4691|   }

Error: CLANG_WARNING: [#def434]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4721:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4719|      GLenum16 renderbuffertarget = cmd->renderbuffertarget;
# 4720|      GLuint renderbuffer = cmd->renderbuffer;
# 4721|->    CALL_FramebufferRenderbuffer(ctx->Dispatch.Current, (target, attachment, renderbuffertarget, renderbuffer));
# 4722|      return align(sizeof(struct marshal_cmd_FramebufferRenderbuffer), 8) / 8;
# 4723|   }

Error: CLANG_WARNING: [#def435]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4743:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4741|      GET_CURRENT_CONTEXT(ctx);
# 4742|      _mesa_glthread_finish_before(ctx, "GetFramebufferAttachmentParameteriv");
# 4743|->    CALL_GetFramebufferAttachmentParameteriv(ctx->Dispatch.Current, (target, attachment, pname, params));
# 4744|   }
# 4745|   

Error: CLANG_WARNING: [#def436]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated2.c:4774:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4772|      GLint dstY1 = cmd->dstY1;
# 4773|      GLbitfield mask = cmd->mask;
# 4774|->    CALL_BlitFramebuffer(ctx->Dispatch.Current, (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter));
# 4775|      return align(sizeof(struct marshal_cmd_BlitFramebuffer), 8) / 8;
# 4776|   }

Error: CLANG_WARNING: [#def437]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:55:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   53|      GLuint index = cmd->index;
#   54|      const GLdouble *v = cmd->v;
#   55|->    CALL_VertexAttribL3dv(ctx->Dispatch.Current, (index, v));
#   56|      return align(sizeof(struct marshal_cmd_VertexAttribL3dv), 8) / 8;
#   57|   }

Error: CLANG_WARNING: [#def438]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:80:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   78|      GLuint index = cmd->index;
#   79|      const GLdouble *v = cmd->v;
#   80|->    CALL_VertexAttribL4dv(ctx->Dispatch.Current, (index, v));
#   81|      return align(sizeof(struct marshal_cmd_VertexAttribL4dv), 8) / 8;
#   82|   }

Error: CLANG_WARNING: [#def439]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:120:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  118|      GLclamped16i stride = cmd->stride;
#  119|      const GLvoid * pointer = cmd->pointer;
#  120|->    CALL_VertexAttribLPointer(ctx->Dispatch.Current, (index, size, type, stride, pointer));
#  121|      return align(sizeof(struct marshal_cmd_VertexAttribLPointer), 8) / 8;
#  122|   }

Error: CLANG_WARNING: [#def440]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:130:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  128|      GLclamped16i stride = cmd->stride;
#  129|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
#  130|->    CALL_VertexAttribLPointer(ctx->Dispatch.Current, (index, size, type, stride, pointer));
#  131|      return align(sizeof(struct marshal_cmd_VertexAttribLPointer_packed), 8) / 8;
#  132|   }

Error: CLANG_WARNING: [#def441]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:164:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  162|      GET_CURRENT_CONTEXT(ctx);
#  163|      _mesa_glthread_finish_before(ctx, "GetVertexAttribLdv");
#  164|->    CALL_GetVertexAttribLdv(ctx->Dispatch.Current, (index, pname, params));
#  165|   }
#  166|   

Error: CLANG_WARNING: [#def442]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:200:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  198|      GLuint buffer = cmd->buffer;
#  199|      GLintptr offset = cmd->offset;
#  200|->    CALL_VertexArrayVertexAttribLOffsetEXT(ctx->Dispatch.Current, (vaobj, buffer, index, size, type, stride, offset));
#  201|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribLOffsetEXT), 8) / 8;
#  202|   }

Error: CLANG_WARNING: [#def443]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:212:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  210|      GLuint buffer = cmd->buffer;
#  211|      GLintptr offset = (GLintptr)(uintptr_t)cmd->offset;
#  212|->    CALL_VertexArrayVertexAttribLOffsetEXT(ctx->Dispatch.Current, (vaobj, buffer, index, size, type, stride, offset));
#  213|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribLOffsetEXT_packed), 8) / 8;
#  214|   }

Error: CLANG_WARNING: [#def444]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:250:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  248|      GET_CURRENT_CONTEXT(ctx);
#  249|      _mesa_glthread_finish_before(ctx, "GetShaderPrecisionFormat");
#  250|->    CALL_GetShaderPrecisionFormat(ctx->Dispatch.Current, (shadertype, precisiontype, range, precision));
#  251|   }
#  252|   

Error: CLANG_WARNING: [#def445]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:261:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  259|   uint32_t _mesa_unmarshal_ReleaseShaderCompiler(struct gl_context *ctx, const struct marshal_cmd_ReleaseShaderCompiler *restrict cmd)
#  260|   {
#  261|->    CALL_ReleaseShaderCompiler(ctx->Dispatch.Current, ());
#  262|      return align(sizeof(struct marshal_cmd_ReleaseShaderCompiler), 8) / 8;
#  263|   }

Error: CLANG_WARNING: [#def446]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:295:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  293|      variable_data += n * 1 * sizeof(GLuint);
#  294|      binary = (GLvoid *) variable_data;
#  295|->    CALL_ShaderBinary(ctx->Dispatch.Current, (n, shaders, binaryformat, binary, length));
#  296|      return cmd->num_slots;
#  297|   }

Error: CLANG_WARNING: [#def447]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:307:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  305|      if (unlikely(shaders_size < 0 || (shaders_size > 0 && !shaders) || binary_size < 0 || (binary_size > 0 && !binary) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  306|         _mesa_glthread_finish_before(ctx, "ShaderBinary");
#  307|->       CALL_ShaderBinary(ctx->Dispatch.Current, (n, shaders, binaryformat, binary, length));
#  308|         return;
#  309|      }

Error: CLANG_WARNING: [#def448]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:331:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  329|   {
#  330|      GLclampf depth = cmd->depth;
#  331|->    CALL_ClearDepthf(ctx->Dispatch.Current, (depth));
#  332|      return align(sizeof(struct marshal_cmd_ClearDepthf), 8) / 8;
#  333|   }

Error: CLANG_WARNING: [#def449]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:355:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  353|      GLclampf zNear = cmd->zNear;
#  354|      GLclampf zFar = cmd->zFar;
#  355|->    CALL_DepthRangef(ctx->Dispatch.Current, (zNear, zFar));
#  356|      return align(sizeof(struct marshal_cmd_DepthRangef), 8) / 8;
#  357|   }

Error: CLANG_WARNING: [#def450]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:375:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  373|      GET_CURRENT_CONTEXT(ctx);
#  374|      _mesa_glthread_finish_before(ctx, "GetProgramBinary");
#  375|->    CALL_GetProgramBinary(ctx->Dispatch.Current, (program, bufSize, length, binaryFormat, binary));
#  376|   }
#  377|   

Error: CLANG_WARNING: [#def451]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:397:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  395|      const char *variable_data = (const char *) (cmd + 1);
#  396|      binary = (GLvoid *) variable_data;
#  397|->    CALL_ProgramBinary(ctx->Dispatch.Current, (program, binaryFormat, binary, length));
#  398|      return cmd->num_slots;
#  399|   }

Error: CLANG_WARNING: [#def452]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:408:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  406|      if (unlikely(binary_size < 0 || (binary_size > 0 && !binary) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  407|         _mesa_glthread_finish_before(ctx, "ProgramBinary");
#  408|->       CALL_ProgramBinary(ctx->Dispatch.Current, (program, binaryFormat, binary, length));
#  409|         return;
#  410|      }

Error: CLANG_WARNING: [#def453]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:434:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  432|      GLuint program = cmd->program;
#  433|      GLint value = cmd->value;
#  434|->    CALL_ProgramParameteri(ctx->Dispatch.Current, (program, pname, value));
#  435|      return align(sizeof(struct marshal_cmd_ProgramParameteri), 8) / 8;
#  436|   }

Error: CLANG_WARNING: [#def454]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:471:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  469|      const char *variable_data = (const char *) (cmd + 1);
#  470|      ids = (GLuint *) variable_data;
#  471|->    CALL_DebugMessageControl(ctx->Dispatch.Current, (source, type, severity, count, ids, enabled));
#  472|      return cmd->num_slots;
#  473|   }

Error: CLANG_WARNING: [#def455]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:482:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  480|      if (unlikely(ids_size < 0 || (ids_size > 0 && !ids) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  481|         _mesa_glthread_finish_before(ctx, "DebugMessageControl");
#  482|->       CALL_DebugMessageControl(ctx->Dispatch.Current, (source, type, severity, count, ids, enabled));
#  483|         return;
#  484|      }

Error: CLANG_WARNING: [#def456]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:519:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  517|      const char *variable_data = (const char *) (cmd + 1);
#  518|      buf = (GLchar *) variable_data;
#  519|->    CALL_DebugMessageInsert(ctx->Dispatch.Current, (source, type, id, severity, length, buf));
#  520|      return cmd->num_slots;
#  521|   }

Error: CLANG_WARNING: [#def457]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:530:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  528|      if (unlikely(buf_size < 0 || (buf_size > 0 && !buf) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  529|         _mesa_glthread_finish_before(ctx, "DebugMessageInsert");
#  530|->       CALL_DebugMessageInsert(ctx->Dispatch.Current, (source, type, id, severity, length, buf));
#  531|         return;
#  532|      }

Error: CLANG_WARNING: [#def458]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:551:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  549|      GET_CURRENT_CONTEXT(ctx);
#  550|      _mesa_glthread_finish_before(ctx, "DebugMessageCallback");
#  551|->    CALL_DebugMessageCallback(ctx->Dispatch.Current, (callback, userParam));
#  552|   }
#  553|   

Error: CLANG_WARNING: [#def459]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:561:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  559|      GET_CURRENT_CONTEXT(ctx);
#  560|      _mesa_glthread_finish_before(ctx, "GetDebugMessageLog");
#  561|->    return CALL_GetDebugMessageLog(ctx->Dispatch.Current, (count, bufsize, sources, types, ids, severities, lengths, messageLog));
#  562|   }
#  563|   

Error: CLANG_WARNING: [#def460]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:571:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  569|      GET_CURRENT_CONTEXT(ctx);
#  570|      _mesa_glthread_finish_before(ctx, "GetGraphicsResetStatusARB");
#  571|->    return CALL_GetGraphicsResetStatusARB(ctx->Dispatch.Current, ());
#  572|   }
#  573|   

Error: CLANG_WARNING: [#def461]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:581:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  579|      GET_CURRENT_CONTEXT(ctx);
#  580|      _mesa_glthread_finish_before(ctx, "GetnMapdvARB");
#  581|->    CALL_GetnMapdvARB(ctx->Dispatch.Current, (target, query, bufSize, v));
#  582|   }
#  583|   

Error: CLANG_WARNING: [#def462]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:591:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  589|      GET_CURRENT_CONTEXT(ctx);
#  590|      _mesa_glthread_finish_before(ctx, "GetnMapfvARB");
#  591|->    CALL_GetnMapfvARB(ctx->Dispatch.Current, (target, query, bufSize, v));
#  592|   }
#  593|   

Error: CLANG_WARNING: [#def463]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:601:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  599|      GET_CURRENT_CONTEXT(ctx);
#  600|      _mesa_glthread_finish_before(ctx, "GetnMapivARB");
#  601|->    CALL_GetnMapivARB(ctx->Dispatch.Current, (target, query, bufSize, v));
#  602|   }
#  603|   

Error: CLANG_WARNING: [#def464]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:611:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  609|      GET_CURRENT_CONTEXT(ctx);
#  610|      _mesa_glthread_finish_before(ctx, "GetnPixelMapfvARB");
#  611|->    CALL_GetnPixelMapfvARB(ctx->Dispatch.Current, (map, bufSize, values));
#  612|   }
#  613|   

Error: CLANG_WARNING: [#def465]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:621:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  619|      GET_CURRENT_CONTEXT(ctx);
#  620|      _mesa_glthread_finish_before(ctx, "GetnPixelMapuivARB");
#  621|->    CALL_GetnPixelMapuivARB(ctx->Dispatch.Current, (map, bufSize, values));
#  622|   }
#  623|   

Error: CLANG_WARNING: [#def466]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:631:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  629|      GET_CURRENT_CONTEXT(ctx);
#  630|      _mesa_glthread_finish_before(ctx, "GetnPixelMapusvARB");
#  631|->    CALL_GetnPixelMapusvARB(ctx->Dispatch.Current, (map, bufSize, values));
#  632|   }
#  633|   

Error: CLANG_WARNING: [#def467]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:646:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  644|      GLsizei bufSize = cmd->bufSize;
#  645|      GLubyte * pattern = cmd->pattern;
#  646|->    CALL_GetnPolygonStippleARB(ctx->Dispatch.Current, (bufSize, pattern));
#  647|      return align(sizeof(struct marshal_cmd_GetnPolygonStippleARB), 8) / 8;
#  648|   }

Error: CLANG_WARNING: [#def468]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:656:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  654|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  655|         _mesa_glthread_finish_before(ctx, "GetnPolygonStippleARB");
#  656|->       CALL_GetnPolygonStippleARB(ctx->Dispatch.Current, (bufSize, pattern));
#  657|         return;
#  658|      }

Error: CLANG_WARNING: [#def469]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:684:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  682|      GLsizei bufSize = cmd->bufSize;
#  683|      GLvoid * img = cmd->img;
#  684|->    CALL_GetnTexImageARB(ctx->Dispatch.Current, (target, level, format, type, bufSize, img));
#  685|      return align(sizeof(struct marshal_cmd_GetnTexImageARB), 8) / 8;
#  686|   }

Error: CLANG_WARNING: [#def470]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:694:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  692|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  693|         _mesa_glthread_finish_before(ctx, "GetnTexImageARB");
#  694|->       CALL_GetnTexImageARB(ctx->Dispatch.Current, (target, level, format, type, bufSize, img));
#  695|         return;
#  696|      }

Error: CLANG_WARNING: [#def471]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:730:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  728|      GLsizei bufSize = cmd->bufSize;
#  729|      GLvoid * data = cmd->data;
#  730|->    CALL_ReadnPixelsARB(ctx->Dispatch.Current, (x, y, width, height, format, type, bufSize, data));
#  731|      return align(sizeof(struct marshal_cmd_ReadnPixelsARB), 8) / 8;
#  732|   }

Error: CLANG_WARNING: [#def472]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:740:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  738|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  739|         _mesa_glthread_finish_before(ctx, "ReadnPixelsARB");
#  740|->       CALL_ReadnPixelsARB(ctx->Dispatch.Current, (x, y, width, height, format, type, bufSize, data));
#  741|         return;
#  742|      }

Error: CLANG_WARNING: [#def473]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:770:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  768|      GLsizei bufSize = cmd->bufSize;
#  769|      GLvoid * img = cmd->img;
#  770|->    CALL_GetnCompressedTexImageARB(ctx->Dispatch.Current, (target, lod, bufSize, img));
#  771|      return align(sizeof(struct marshal_cmd_GetnCompressedTexImageARB), 8) / 8;
#  772|   }

Error: CLANG_WARNING: [#def474]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:780:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  778|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  779|         _mesa_glthread_finish_before(ctx, "GetnCompressedTexImageARB");
#  780|->       CALL_GetnCompressedTexImageARB(ctx->Dispatch.Current, (target, lod, bufSize, img));
#  781|         return;
#  782|      }

Error: CLANG_WARNING: [#def475]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:797:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  795|      GET_CURRENT_CONTEXT(ctx);
#  796|      _mesa_glthread_finish_before(ctx, "GetnUniformfvARB");
#  797|->    CALL_GetnUniformfvARB(ctx->Dispatch.Current, (program, location, bufSize, params));
#  798|   }
#  799|   

Error: CLANG_WARNING: [#def476]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:807:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  805|      GET_CURRENT_CONTEXT(ctx);
#  806|      _mesa_glthread_finish_before(ctx, "GetnUniformivARB");
#  807|->    CALL_GetnUniformivARB(ctx->Dispatch.Current, (program, location, bufSize, params));
#  808|   }
#  809|   

Error: CLANG_WARNING: [#def477]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:817:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  815|      GET_CURRENT_CONTEXT(ctx);
#  816|      _mesa_glthread_finish_before(ctx, "GetnUniformuivARB");
#  817|->    CALL_GetnUniformuivARB(ctx->Dispatch.Current, (program, location, bufSize, params));
#  818|   }
#  819|   

Error: CLANG_WARNING: [#def478]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:827:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  825|      GET_CURRENT_CONTEXT(ctx);
#  826|      _mesa_glthread_finish_before(ctx, "GetnUniformdvARB");
#  827|->    CALL_GetnUniformdvARB(ctx->Dispatch.Current, (program, location, bufSize, params));
#  828|   }
#  829|   

Error: CLANG_WARNING: [#def479]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:844:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  842|      GLuint id = cmd->id;
#  843|      GLsizei primcount = cmd->primcount;
#  844|->    CALL_DrawTransformFeedbackInstanced(ctx->Dispatch.Current, (mode, id, primcount));
#  845|      return align(sizeof(struct marshal_cmd_DrawTransformFeedbackInstanced), 8) / 8;
#  846|   }

Error: CLANG_WARNING: [#def480]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:874:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  872|      GLuint stream = cmd->stream;
#  873|      GLsizei primcount = cmd->primcount;
#  874|->    CALL_DrawTransformFeedbackStreamInstanced(ctx->Dispatch.Current, (mode, id, stream, primcount));
#  875|      return align(sizeof(struct marshal_cmd_DrawTransformFeedbackStreamInstanced), 8) / 8;
#  876|   }

Error: CLANG_WARNING: [#def481]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:896:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  894|      GET_CURRENT_CONTEXT(ctx);
#  895|      _mesa_glthread_finish_before(ctx, "GetInternalformativ");
#  896|->    CALL_GetInternalformativ(ctx->Dispatch.Current, (target, internalformat, pname, bufSize, params));
#  897|   }
#  898|   

Error: CLANG_WARNING: [#def482]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:906:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  904|      GET_CURRENT_CONTEXT(ctx);
#  905|      _mesa_glthread_finish_before(ctx, "GetActiveAtomicCounterBufferiv");
#  906|->    CALL_GetActiveAtomicCounterBufferiv(ctx->Dispatch.Current, (program, bufferIndex, pname, params));
#  907|   }
#  908|   

Error: CLANG_WARNING: [#def483]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:931:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  929|      GLint level = cmd->level;
#  930|      GLint layer = cmd->layer;
#  931|->    CALL_BindImageTexture(ctx->Dispatch.Current, (unit, texture, level, layered, layer, access, format));
#  932|      return align(sizeof(struct marshal_cmd_BindImageTexture), 8) / 8;
#  933|   }

Error: CLANG_WARNING: [#def484]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:959:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  957|   {
#  958|      GLbitfield barriers = cmd->barriers;
#  959|->    CALL_MemoryBarrier(ctx->Dispatch.Current, (barriers));
#  960|      return align(sizeof(struct marshal_cmd_MemoryBarrier), 8) / 8;
#  961|   }

Error: CLANG_WARNING: [#def485]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:987:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  985|      GLsizei levels = cmd->levels;
#  986|      GLsizei width = cmd->width;
#  987|->    CALL_TexStorage1D(ctx->Dispatch.Current, (target, levels, internalFormat, width));
#  988|      return align(sizeof(struct marshal_cmd_TexStorage1D), 8) / 8;
#  989|   }

Error: CLANG_WARNING: [#def486]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1020:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1018|      GLsizei width = cmd->width;
# 1019|      GLsizei height = cmd->height;
# 1020|->    CALL_TexStorage2D(ctx->Dispatch.Current, (target, levels, internalFormat, width, height));
# 1021|      return align(sizeof(struct marshal_cmd_TexStorage2D), 8) / 8;
# 1022|   }

Error: CLANG_WARNING: [#def487]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1056:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1054|      GLsizei height = cmd->height;
# 1055|      GLsizei depth = cmd->depth;
# 1056|->    CALL_TexStorage3D(ctx->Dispatch.Current, (target, levels, internalFormat, width, height, depth));
# 1057|      return align(sizeof(struct marshal_cmd_TexStorage3D), 8) / 8;
# 1058|   }

Error: CLANG_WARNING: [#def488]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1092:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1090|      const char *variable_data = (const char *) (cmd + 1);
# 1091|      message = (GLchar *) variable_data;
# 1092|->    CALL_PushDebugGroup(ctx->Dispatch.Current, (source, id, length, message));
# 1093|      return cmd->num_slots;
# 1094|   }

Error: CLANG_WARNING: [#def489]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1103:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1101|      if (unlikely(message_size < 0 || (message_size > 0 && !message) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1102|         _mesa_glthread_finish_before(ctx, "PushDebugGroup");
# 1103|->       CALL_PushDebugGroup(ctx->Dispatch.Current, (source, id, length, message));
# 1104|         return;
# 1105|      }

Error: CLANG_WARNING: [#def490]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1123:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1121|   uint32_t _mesa_unmarshal_PopDebugGroup(struct gl_context *ctx, const struct marshal_cmd_PopDebugGroup *restrict cmd)
# 1122|   {
# 1123|->    CALL_PopDebugGroup(ctx->Dispatch.Current, ());
# 1124|      return align(sizeof(struct marshal_cmd_PopDebugGroup), 8) / 8;
# 1125|   }

Error: CLANG_WARNING: [#def491]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1153:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1151|      const char *variable_data = (const char *) (cmd + 1);
# 1152|      label = (GLchar *) variable_data;
# 1153|->    CALL_ObjectLabel(ctx->Dispatch.Current, (identifier, name, length, label));
# 1154|      return cmd->num_slots;
# 1155|   }

Error: CLANG_WARNING: [#def492]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1164:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1162|      if (unlikely(label_size < 0 || (label_size > 0 && !label) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1163|         _mesa_glthread_finish_before(ctx, "ObjectLabel");
# 1164|->       CALL_ObjectLabel(ctx->Dispatch.Current, (identifier, name, length, label));
# 1165|         return;
# 1166|      }

Error: CLANG_WARNING: [#def493]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1183:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1181|      GET_CURRENT_CONTEXT(ctx);
# 1182|      _mesa_glthread_finish_before(ctx, "GetObjectLabel");
# 1183|->    CALL_GetObjectLabel(ctx->Dispatch.Current, (identifier, name, bufSize, length, label));
# 1184|   }
# 1185|   

Error: CLANG_WARNING: [#def494]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1193:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1191|      GET_CURRENT_CONTEXT(ctx);
# 1192|      _mesa_glthread_finish_before(ctx, "ObjectPtrLabel");
# 1193|->    CALL_ObjectPtrLabel(ctx->Dispatch.Current, (ptr, length, label));
# 1194|   }
# 1195|   

Error: CLANG_WARNING: [#def495]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1203:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1201|      GET_CURRENT_CONTEXT(ctx);
# 1202|      _mesa_glthread_finish_before(ctx, "GetObjectPtrLabel");
# 1203|->    CALL_GetObjectPtrLabel(ctx->Dispatch.Current, (ptr, bufSize, length, label));
# 1204|   }
# 1205|   

Error: CLANG_WARNING: [#def496]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1213:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1211|      GET_CURRENT_CONTEXT(ctx);
# 1212|      _mesa_glthread_finish_before(ctx, "ClearBufferData");
# 1213|->    CALL_ClearBufferData(ctx->Dispatch.Current, (target, internalformat, format, type, data));
# 1214|   }
# 1215|   

Error: CLANG_WARNING: [#def497]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1223:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1221|      GET_CURRENT_CONTEXT(ctx);
# 1222|      _mesa_glthread_finish_before(ctx, "ClearBufferSubData");
# 1223|->    CALL_ClearBufferSubData(ctx->Dispatch.Current, (target, internalformat, offset, size, format, type, data));
# 1224|   }
# 1225|   

Error: CLANG_WARNING: [#def498]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1233:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1231|      GET_CURRENT_CONTEXT(ctx);
# 1232|      _mesa_glthread_finish_before(ctx, "ClearNamedBufferDataEXT");
# 1233|->    CALL_ClearNamedBufferDataEXT(ctx->Dispatch.Current, (buffer, internalformat, format, type, data));
# 1234|   }
# 1235|   

Error: CLANG_WARNING: [#def499]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1243:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1241|      GET_CURRENT_CONTEXT(ctx);
# 1242|      _mesa_glthread_finish_before(ctx, "ClearNamedBufferSubDataEXT");
# 1243|->    CALL_ClearNamedBufferSubDataEXT(ctx->Dispatch.Current, (buffer, internalformat, offset, size, format, type, data));
# 1244|   }
# 1245|   

Error: CLANG_WARNING: [#def500]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1260:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1258|      GLuint num_groups_y = cmd->num_groups_y;
# 1259|      GLuint num_groups_z = cmd->num_groups_z;
# 1260|->    CALL_DispatchCompute(ctx->Dispatch.Current, (num_groups_x, num_groups_y, num_groups_z));
# 1261|      return align(sizeof(struct marshal_cmd_DispatchCompute), 8) / 8;
# 1262|   }

Error: CLANG_WARNING: [#def501]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1284:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1282|   {
# 1283|      GLintptr indirect = cmd->indirect;
# 1284|->    CALL_DispatchComputeIndirect(ctx->Dispatch.Current, (indirect));
# 1285|      return align(sizeof(struct marshal_cmd_DispatchComputeIndirect), 8) / 8;
# 1286|   }

Error: CLANG_WARNING: [#def502]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1334:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1332|      GLsizei srcHeight = cmd->srcHeight;
# 1333|      GLsizei srcDepth = cmd->srcDepth;
# 1334|->    CALL_CopyImageSubData(ctx->Dispatch.Current, (srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth));
# 1335|      return align(sizeof(struct marshal_cmd_CopyImageSubData), 8) / 8;
# 1336|   }

Error: CLANG_WARNING: [#def503]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1384:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1382|      GLuint minlayer = cmd->minlayer;
# 1383|      GLuint numlayers = cmd->numlayers;
# 1384|->    CALL_TextureView(ctx->Dispatch.Current, (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers));
# 1385|      return align(sizeof(struct marshal_cmd_TextureView), 8) / 8;
# 1386|   }

Error: CLANG_WARNING: [#def504]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1427:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1425|      GLuint buffer = cmd->buffer;
# 1426|      GLintptr offset = cmd->offset;
# 1427|->    CALL_BindVertexBuffer(ctx->Dispatch.Current, (bindingindex, buffer, offset, stride));
# 1428|      return align(sizeof(struct marshal_cmd_BindVertexBuffer), 8) / 8;
# 1429|   }

Error: CLANG_WARNING: [#def505]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1436:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1434|      GLuint buffer = cmd->buffer;
# 1435|      GLintptr offset = (GLintptr)(uintptr_t)cmd->offset;
# 1436|->    CALL_BindVertexBuffer(ctx->Dispatch.Current, (bindingindex, buffer, offset, stride));
# 1437|      return align(sizeof(struct marshal_cmd_BindVertexBuffer_packed), 8) / 8;
# 1438|   }

Error: CLANG_WARNING: [#def506]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1479:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1477|      GLint size = cmd->size;
# 1478|      GLuint relativeoffset = cmd->relativeoffset;
# 1479|->    CALL_VertexAttribFormat(ctx->Dispatch.Current, (attribindex, size, type, normalized, relativeoffset));
# 1480|      return align(sizeof(struct marshal_cmd_VertexAttribFormat), 8) / 8;
# 1481|   }

Error: CLANG_WARNING: [#def507]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1512:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1510|      GLint size = cmd->size;
# 1511|      GLuint relativeoffset = cmd->relativeoffset;
# 1512|->    CALL_VertexAttribIFormat(ctx->Dispatch.Current, (attribindex, size, type, relativeoffset));
# 1513|      return align(sizeof(struct marshal_cmd_VertexAttribIFormat), 8) / 8;
# 1514|   }

Error: CLANG_WARNING: [#def508]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1544:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1542|      GLint size = cmd->size;
# 1543|      GLuint relativeoffset = cmd->relativeoffset;
# 1544|->    CALL_VertexAttribLFormat(ctx->Dispatch.Current, (attribindex, size, type, relativeoffset));
# 1545|      return align(sizeof(struct marshal_cmd_VertexAttribLFormat), 8) / 8;
# 1546|   }

Error: CLANG_WARNING: [#def509]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1572:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1570|      GLuint attribindex = cmd->attribindex;
# 1571|      GLuint bindingindex = cmd->bindingindex;
# 1572|->    CALL_VertexAttribBinding(ctx->Dispatch.Current, (attribindex, bindingindex));
# 1573|      return align(sizeof(struct marshal_cmd_VertexAttribBinding), 8) / 8;
# 1574|   }

Error: CLANG_WARNING: [#def510]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1598:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1596|      GLuint bindingindex = cmd->bindingindex;
# 1597|      GLuint divisor = cmd->divisor;
# 1598|->    CALL_VertexBindingDivisor(ctx->Dispatch.Current, (bindingindex, divisor));
# 1599|      return align(sizeof(struct marshal_cmd_VertexBindingDivisor), 8) / 8;
# 1600|   }

Error: CLANG_WARNING: [#def511]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1639:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1637|      GLuint buffer = cmd->buffer;
# 1638|      GLintptr offset = cmd->offset;
# 1639|->    CALL_VertexArrayBindVertexBufferEXT(ctx->Dispatch.Current, (vaobj, bindingindex, buffer, offset, stride));
# 1640|      return align(sizeof(struct marshal_cmd_VertexArrayBindVertexBufferEXT), 8) / 8;
# 1641|   }

Error: CLANG_WARNING: [#def512]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1649:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1647|      GLuint buffer = cmd->buffer;
# 1648|      GLintptr offset = (GLintptr)(uintptr_t)cmd->offset;
# 1649|->    CALL_VertexArrayBindVertexBufferEXT(ctx->Dispatch.Current, (vaobj, bindingindex, buffer, offset, stride));
# 1650|      return align(sizeof(struct marshal_cmd_VertexArrayBindVertexBufferEXT_packed), 8) / 8;
# 1651|   }

Error: CLANG_WARNING: [#def513]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1696:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1694|      GLint size = cmd->size;
# 1695|      GLuint relativeoffset = cmd->relativeoffset;
# 1696|->    CALL_VertexArrayVertexAttribFormatEXT(ctx->Dispatch.Current, (vaobj, attribindex, size, type, normalized, relativeoffset));
# 1697|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribFormatEXT), 8) / 8;
# 1698|   }

Error: CLANG_WARNING: [#def514]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1732:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1730|      GLint size = cmd->size;
# 1731|      GLuint relativeoffset = cmd->relativeoffset;
# 1732|->    CALL_VertexArrayVertexAttribIFormatEXT(ctx->Dispatch.Current, (vaobj, attribindex, size, type, relativeoffset));
# 1733|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribIFormatEXT), 8) / 8;
# 1734|   }

Error: CLANG_WARNING: [#def515]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1767:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1765|      GLint size = cmd->size;
# 1766|      GLuint relativeoffset = cmd->relativeoffset;
# 1767|->    CALL_VertexArrayVertexAttribLFormatEXT(ctx->Dispatch.Current, (vaobj, attribindex, size, type, relativeoffset));
# 1768|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribLFormatEXT), 8) / 8;
# 1769|   }

Error: CLANG_WARNING: [#def516]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1798:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1796|      GLuint attribindex = cmd->attribindex;
# 1797|      GLuint bindingindex = cmd->bindingindex;
# 1798|->    CALL_VertexArrayVertexAttribBindingEXT(ctx->Dispatch.Current, (vaobj, attribindex, bindingindex));
# 1799|      return align(sizeof(struct marshal_cmd_VertexArrayVertexAttribBindingEXT), 8) / 8;
# 1800|   }

Error: CLANG_WARNING: [#def517]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1827:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1825|      GLuint bindingindex = cmd->bindingindex;
# 1826|      GLuint divisor = cmd->divisor;
# 1827|->    CALL_VertexArrayVertexBindingDivisorEXT(ctx->Dispatch.Current, (vaobj, bindingindex, divisor));
# 1828|      return align(sizeof(struct marshal_cmd_VertexArrayVertexBindingDivisorEXT), 8) / 8;
# 1829|   }

Error: CLANG_WARNING: [#def518]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1856:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1854|      GLenum16 pname = cmd->pname;
# 1855|      GLint param = cmd->param;
# 1856|->    CALL_FramebufferParameteri(ctx->Dispatch.Current, (target, pname, param));
# 1857|      return align(sizeof(struct marshal_cmd_FramebufferParameteri), 8) / 8;
# 1858|   }

Error: CLANG_WARNING: [#def519]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1877:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1875|      GET_CURRENT_CONTEXT(ctx);
# 1876|      _mesa_glthread_finish_before(ctx, "GetFramebufferParameteriv");
# 1877|->    CALL_GetFramebufferParameteriv(ctx->Dispatch.Current, (target, pname, params));
# 1878|   }
# 1879|   

Error: CLANG_WARNING: [#def520]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1894:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1892|      GLuint framebuffer = cmd->framebuffer;
# 1893|      GLint param = cmd->param;
# 1894|->    CALL_NamedFramebufferParameteriEXT(ctx->Dispatch.Current, (framebuffer, pname, param));
# 1895|      return align(sizeof(struct marshal_cmd_NamedFramebufferParameteriEXT), 8) / 8;
# 1896|   }

Error: CLANG_WARNING: [#def521]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1915:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1913|      GET_CURRENT_CONTEXT(ctx);
# 1914|      _mesa_glthread_finish_before(ctx, "GetNamedFramebufferParameterivEXT");
# 1915|->    CALL_GetNamedFramebufferParameterivEXT(ctx->Dispatch.Current, (framebuffer, pname, params));
# 1916|   }
# 1917|   

Error: CLANG_WARNING: [#def522]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1925:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1923|      GET_CURRENT_CONTEXT(ctx);
# 1924|      _mesa_glthread_finish_before(ctx, "GetInternalformati64v");
# 1925|->    CALL_GetInternalformati64v(ctx->Dispatch.Current, (target, internalformat, pname, bufSize, params));
# 1926|   }
# 1927|   

Error: CLANG_WARNING: [#def523]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1952:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1950|      GLsizei height = cmd->height;
# 1951|      GLsizei depth = cmd->depth;
# 1952|->    CALL_InvalidateTexSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth));
# 1953|      return align(sizeof(struct marshal_cmd_InvalidateTexSubImage), 8) / 8;
# 1954|   }

Error: CLANG_WARNING: [#def524]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:1983:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1981|      GLuint texture = cmd->texture;
# 1982|      GLint level = cmd->level;
# 1983|->    CALL_InvalidateTexImage(ctx->Dispatch.Current, (texture, level));
# 1984|      return align(sizeof(struct marshal_cmd_InvalidateTexImage), 8) / 8;
# 1985|   }

Error: CLANG_WARNING: [#def525]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2010:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2008|      GLintptr offset = cmd->offset;
# 2009|      GLsizeiptr length = cmd->length;
# 2010|->    CALL_InvalidateBufferSubData(ctx->Dispatch.Current, (buffer, offset, length));
# 2011|      return align(sizeof(struct marshal_cmd_InvalidateBufferSubData), 8) / 8;
# 2012|   }

Error: CLANG_WARNING: [#def526]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2034:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2032|   {
# 2033|      GLuint buffer = cmd->buffer;
# 2034|->    CALL_InvalidateBufferData(ctx->Dispatch.Current, (buffer));
# 2035|      return align(sizeof(struct marshal_cmd_InvalidateBufferData), 8) / 8;
# 2036|   }

Error: CLANG_WARNING: [#def527]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2071:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2069|      const char *variable_data = (const char *) (cmd + 1);
# 2070|      attachments = (GLenum *) variable_data;
# 2071|->    CALL_InvalidateSubFramebuffer(ctx->Dispatch.Current, (target, numAttachments, attachments, x, y, width, height));
# 2072|      return cmd->num_slots;
# 2073|   }

Error: CLANG_WARNING: [#def528]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2082:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2080|      if (unlikely(attachments_size < 0 || (attachments_size > 0 && !attachments) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2081|         _mesa_glthread_finish_before(ctx, "InvalidateSubFramebuffer");
# 2082|->       CALL_InvalidateSubFramebuffer(ctx->Dispatch.Current, (target, numAttachments, attachments, x, y, width, height));
# 2083|         return;
# 2084|      }

Error: CLANG_WARNING: [#def529]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2114:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2112|      const char *variable_data = (const char *) (cmd + 1);
# 2113|      attachments = (GLenum *) variable_data;
# 2114|->    CALL_InvalidateFramebuffer(ctx->Dispatch.Current, (target, numAttachments, attachments));
# 2115|      return cmd->num_slots;
# 2116|   }

Error: CLANG_WARNING: [#def530]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2125:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2123|      if (unlikely(attachments_size < 0 || (attachments_size > 0 && !attachments) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2124|         _mesa_glthread_finish_before(ctx, "InvalidateFramebuffer");
# 2125|->       CALL_InvalidateFramebuffer(ctx->Dispatch.Current, (target, numAttachments, attachments));
# 2126|         return;
# 2127|      }

Error: CLANG_WARNING: [#def531]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2143:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2141|      GET_CURRENT_CONTEXT(ctx);
# 2142|      _mesa_glthread_finish_before(ctx, "GetProgramInterfaceiv");
# 2143|->    CALL_GetProgramInterfaceiv(ctx->Dispatch.Current, (program, programInterface, pname, params));
# 2144|   }
# 2145|   

Error: CLANG_WARNING: [#def532]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2153:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2151|      GET_CURRENT_CONTEXT(ctx);
# 2152|      _mesa_glthread_finish_before(ctx, "GetProgramResourceIndex");
# 2153|->    return CALL_GetProgramResourceIndex(ctx->Dispatch.Current, (program, programInterface, name));
# 2154|   }
# 2155|   

Error: CLANG_WARNING: [#def533]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2163:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2161|      GET_CURRENT_CONTEXT(ctx);
# 2162|      _mesa_glthread_finish_before(ctx, "GetProgramResourceName");
# 2163|->    CALL_GetProgramResourceName(ctx->Dispatch.Current, (program, programInterface, index, bufSize, length, name));
# 2164|   }
# 2165|   

Error: CLANG_WARNING: [#def534]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2173:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2171|      GET_CURRENT_CONTEXT(ctx);
# 2172|      _mesa_glthread_finish_before(ctx, "GetProgramResourceiv");
# 2173|->    CALL_GetProgramResourceiv(ctx->Dispatch.Current, (program, programInterface, index, propCount, props, bufSize, length, params));
# 2174|   }
# 2175|   

Error: CLANG_WARNING: [#def535]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2183:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2181|      GET_CURRENT_CONTEXT(ctx);
# 2182|      _mesa_glthread_finish_before(ctx, "GetProgramResourceLocation");
# 2183|->    return CALL_GetProgramResourceLocation(ctx->Dispatch.Current, (program, programInterface, name));
# 2184|   }
# 2185|   

Error: CLANG_WARNING: [#def536]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2193:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2191|      GET_CURRENT_CONTEXT(ctx);
# 2192|      _mesa_glthread_finish_before(ctx, "GetProgramResourceLocationIndex");
# 2193|->    return CALL_GetProgramResourceLocationIndex(ctx->Dispatch.Current, (program, programInterface, name));
# 2194|   }
# 2195|   

Error: CLANG_WARNING: [#def537]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2210:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2208|      GLuint shaderStorageBlockIndex = cmd->shaderStorageBlockIndex;
# 2209|      GLuint shaderStorageBlockBinding = cmd->shaderStorageBlockBinding;
# 2210|->    CALL_ShaderStorageBlockBinding(ctx->Dispatch.Current, (program, shaderStorageBlockIndex, shaderStorageBlockBinding));
# 2211|      return align(sizeof(struct marshal_cmd_ShaderStorageBlockBinding), 8) / 8;
# 2212|   }

Error: CLANG_WARNING: [#def538]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2242:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2240|      GLintptr offset = cmd->offset;
# 2241|      GLsizeiptr size = cmd->size;
# 2242|->    CALL_TexBufferRange(ctx->Dispatch.Current, (target, internalformat, buffer, offset, size));
# 2243|      return align(sizeof(struct marshal_cmd_TexBufferRange), 8) / 8;
# 2244|   }

Error: CLANG_WARNING: [#def539]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2278:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2276|      GLintptr offset = cmd->offset;
# 2277|      GLsizeiptr size = cmd->size;
# 2278|->    CALL_TextureBufferRangeEXT(ctx->Dispatch.Current, (texture, target, internalformat, buffer, offset, size));
# 2279|      return align(sizeof(struct marshal_cmd_TextureBufferRangeEXT), 8) / 8;
# 2280|   }

Error: CLANG_WARNING: [#def540]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2315:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2313|      GLsizei width = cmd->width;
# 2314|      GLsizei height = cmd->height;
# 2315|->    CALL_TexStorage2DMultisample(ctx->Dispatch.Current, (target, samples, internalformat, width, height, fixedsamplelocations));
# 2316|      return align(sizeof(struct marshal_cmd_TexStorage2DMultisample), 8) / 8;
# 2317|   }

Error: CLANG_WARNING: [#def541]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2354:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2352|      GLsizei height = cmd->height;
# 2353|      GLsizei depth = cmd->depth;
# 2354|->    CALL_TexStorage3DMultisample(ctx->Dispatch.Current, (target, samples, internalformat, width, height, depth, fixedsamplelocations));
# 2355|      return align(sizeof(struct marshal_cmd_TexStorage3DMultisample), 8) / 8;
# 2356|   }

Error: CLANG_WARNING: [#def542]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2394:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2392|      GLsizei width = cmd->width;
# 2393|      GLsizei height = cmd->height;
# 2394|->    CALL_TextureStorage2DMultisampleEXT(ctx->Dispatch.Current, (texture, target, samples, internalformat, width, height, fixedsamplelocations));
# 2395|      return align(sizeof(struct marshal_cmd_TextureStorage2DMultisampleEXT), 8) / 8;
# 2396|   }

Error: CLANG_WARNING: [#def543]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2436:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2434|      GLsizei height = cmd->height;
# 2435|      GLsizei depth = cmd->depth;
# 2436|->    CALL_TextureStorage3DMultisampleEXT(ctx->Dispatch.Current, (texture, target, samples, internalformat, width, height, depth, fixedsamplelocations));
# 2437|      return align(sizeof(struct marshal_cmd_TextureStorage3DMultisampleEXT), 8) / 8;
# 2438|   }

Error: CLANG_WARNING: [#def544]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2462:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2460|      GET_CURRENT_CONTEXT(ctx);
# 2461|      _mesa_glthread_finish_before(ctx, "BufferStorage");
# 2462|->    CALL_BufferStorage(ctx->Dispatch.Current, (target, size, data, flags));
# 2463|   }
# 2464|   

Error: CLANG_WARNING: [#def545]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2472:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2470|      GET_CURRENT_CONTEXT(ctx);
# 2471|      _mesa_glthread_finish_before(ctx, "NamedBufferStorageEXT");
# 2472|->    CALL_NamedBufferStorageEXT(ctx->Dispatch.Current, (buffer, size, data, flags));
# 2473|   }
# 2474|   

Error: CLANG_WARNING: [#def546]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2482:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2480|      GET_CURRENT_CONTEXT(ctx);
# 2481|      _mesa_glthread_finish_before(ctx, "ClearTexImage");
# 2482|->    CALL_ClearTexImage(ctx->Dispatch.Current, (texture, level, format, type, data));
# 2483|   }
# 2484|   

Error: CLANG_WARNING: [#def547]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2492:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2490|      GET_CURRENT_CONTEXT(ctx);
# 2491|      _mesa_glthread_finish_before(ctx, "ClearTexSubImage");
# 2492|->    CALL_ClearTexSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data));
# 2493|   }
# 2494|   

Error: CLANG_WARNING: [#def548]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2514:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2512|      const char *variable_data = (const char *) (cmd + 1);
# 2513|      buffers = (GLuint *) variable_data;
# 2514|->    CALL_BindBuffersBase(ctx->Dispatch.Current, (target, first, count, buffers));
# 2515|      return cmd->num_slots;
# 2516|   }

Error: CLANG_WARNING: [#def549]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2525:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2523|      if (unlikely(buffers_size < 0 || (buffers_size > 0 && !buffers) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2524|         _mesa_glthread_finish_before(ctx, "BindBuffersBase");
# 2525|->       CALL_BindBuffersBase(ctx->Dispatch.Current, (target, first, count, buffers));
# 2526|         return;
# 2527|      }

Error: CLANG_WARNING: [#def550]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2564:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2562|      variable_data += count * 1 * sizeof(GLintptr);
# 2563|      sizes = (GLsizeiptr *) variable_data;
# 2564|->    CALL_BindBuffersRange(ctx->Dispatch.Current, (target, first, count, buffers, offsets, sizes));
# 2565|      return cmd->num_slots;
# 2566|   }

Error: CLANG_WARNING: [#def551]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2577:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2575|      if (unlikely(buffers_size < 0 || (buffers_size > 0 && !buffers) || offsets_size < 0 || (offsets_size > 0 && !offsets) || sizes_size < 0 || (sizes_size > 0 && !sizes) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2576|         _mesa_glthread_finish_before(ctx, "BindBuffersRange");
# 2577|->       CALL_BindBuffersRange(ctx->Dispatch.Current, (target, first, count, buffers, offsets, sizes));
# 2578|         return;
# 2579|      }

Error: CLANG_WARNING: [#def552]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2610:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2608|      const char *variable_data = (const char *) (cmd + 1);
# 2609|      textures = (GLuint *) variable_data;
# 2610|->    CALL_BindTextures(ctx->Dispatch.Current, (first, count, textures));
# 2611|      return cmd->num_slots;
# 2612|   }

Error: CLANG_WARNING: [#def553]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2621:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2619|      if (unlikely(textures_size < 0 || (textures_size > 0 && !textures) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2620|         _mesa_glthread_finish_before(ctx, "BindTextures");
# 2621|->       CALL_BindTextures(ctx->Dispatch.Current, (first, count, textures));
# 2622|         return;
# 2623|      }

Error: CLANG_WARNING: [#def554]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2649:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2647|      const char *variable_data = (const char *) (cmd + 1);
# 2648|      samplers = (GLuint *) variable_data;
# 2649|->    CALL_BindSamplers(ctx->Dispatch.Current, (first, count, samplers));
# 2650|      return cmd->num_slots;
# 2651|   }

Error: CLANG_WARNING: [#def555]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2660:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2658|      if (unlikely(samplers_size < 0 || (samplers_size > 0 && !samplers) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2659|         _mesa_glthread_finish_before(ctx, "BindSamplers");
# 2660|->       CALL_BindSamplers(ctx->Dispatch.Current, (first, count, samplers));
# 2661|         return;
# 2662|      }

Error: CLANG_WARNING: [#def556]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2688:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2686|      const char *variable_data = (const char *) (cmd + 1);
# 2687|      textures = (GLuint *) variable_data;
# 2688|->    CALL_BindImageTextures(ctx->Dispatch.Current, (first, count, textures));
# 2689|      return cmd->num_slots;
# 2690|   }

Error: CLANG_WARNING: [#def557]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2699:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2697|      if (unlikely(textures_size < 0 || (textures_size > 0 && !textures) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2698|         _mesa_glthread_finish_before(ctx, "BindImageTextures");
# 2699|->       CALL_BindImageTextures(ctx->Dispatch.Current, (first, count, textures));
# 2700|         return;
# 2701|      }

Error: CLANG_WARNING: [#def558]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2735:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2733|      variable_data += count * 1 * sizeof(GLintptr);
# 2734|      strides = (GLsizei *) variable_data;
# 2735|->    CALL_BindVertexBuffers(ctx->Dispatch.Current, (first, count, buffers, offsets, strides));
# 2736|      return cmd->num_slots;
# 2737|   }

Error: CLANG_WARNING: [#def559]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2748:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2746|      if (unlikely(buffers_size < 0 || (buffers_size > 0 && !buffers) || offsets_size < 0 || (offsets_size > 0 && !offsets) || strides_size < 0 || (strides_size > 0 && !strides) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2747|         _mesa_glthread_finish_before(ctx, "BindVertexBuffers");
# 2748|->       CALL_BindVertexBuffers(ctx->Dispatch.Current, (first, count, buffers, offsets, strides));
# 2749|         return;
# 2750|      }

Error: CLANG_WARNING: [#def560]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2770:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2768|      GET_CURRENT_CONTEXT(ctx);
# 2769|      _mesa_glthread_finish_before(ctx, "GetTextureHandleARB");
# 2770|->    return CALL_GetTextureHandleARB(ctx->Dispatch.Current, (texture));
# 2771|   }
# 2772|   

Error: CLANG_WARNING: [#def561]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2780:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2778|      GET_CURRENT_CONTEXT(ctx);
# 2779|      _mesa_glthread_finish_before(ctx, "GetTextureSamplerHandleARB");
# 2780|->    return CALL_GetTextureSamplerHandleARB(ctx->Dispatch.Current, (texture, sampler));
# 2781|   }
# 2782|   

Error: CLANG_WARNING: [#def562]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2793:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2791|   {
# 2792|      GLuint64 handle = cmd->handle;
# 2793|->    CALL_MakeTextureHandleResidentARB(ctx->Dispatch.Current, (handle));
# 2794|      return align(sizeof(struct marshal_cmd_MakeTextureHandleResidentARB), 8) / 8;
# 2795|   }

Error: CLANG_WARNING: [#def563]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2815:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2813|   {
# 2814|      GLuint64 handle = cmd->handle;
# 2815|->    CALL_MakeTextureHandleNonResidentARB(ctx->Dispatch.Current, (handle));
# 2816|      return align(sizeof(struct marshal_cmd_MakeTextureHandleNonResidentARB), 8) / 8;
# 2817|   }

Error: CLANG_WARNING: [#def564]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2834:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2832|      GET_CURRENT_CONTEXT(ctx);
# 2833|      _mesa_glthread_finish_before(ctx, "GetImageHandleARB");
# 2834|->    return CALL_GetImageHandleARB(ctx->Dispatch.Current, (texture, level, layered, layer, format));
# 2835|   }
# 2836|   

Error: CLANG_WARNING: [#def565]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2849:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2847|      GLenum16 access = cmd->access;
# 2848|      GLuint64 handle = cmd->handle;
# 2849|->    CALL_MakeImageHandleResidentARB(ctx->Dispatch.Current, (handle, access));
# 2850|      return align(sizeof(struct marshal_cmd_MakeImageHandleResidentARB), 8) / 8;
# 2851|   }

Error: CLANG_WARNING: [#def566]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2872:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2870|   {
# 2871|      GLuint64 handle = cmd->handle;
# 2872|->    CALL_MakeImageHandleNonResidentARB(ctx->Dispatch.Current, (handle));
# 2873|      return align(sizeof(struct marshal_cmd_MakeImageHandleNonResidentARB), 8) / 8;
# 2874|   }

Error: CLANG_WARNING: [#def567]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2896:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2894|      GLint location = cmd->location;
# 2895|      GLuint64 value = cmd->value;
# 2896|->    CALL_UniformHandleui64ARB(ctx->Dispatch.Current, (location, value));
# 2897|      return align(sizeof(struct marshal_cmd_UniformHandleui64ARB), 8) / 8;
# 2898|   }

Error: CLANG_WARNING: [#def568]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2926:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2924|      const char *variable_data = (const char *) (cmd + 1);
# 2925|      value = (GLuint64 *) variable_data;
# 2926|->    CALL_UniformHandleui64vARB(ctx->Dispatch.Current, (location, count, value));
# 2927|      return cmd->num_slots;
# 2928|   }

Error: CLANG_WARNING: [#def569]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2937:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2935|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2936|         _mesa_glthread_finish_before(ctx, "UniformHandleui64vARB");
# 2937|->       CALL_UniformHandleui64vARB(ctx->Dispatch.Current, (location, count, value));
# 2938|         return;
# 2939|      }

Error: CLANG_WARNING: [#def570]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2962:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2960|      GLint location = cmd->location;
# 2961|      GLuint64 value = cmd->value;
# 2962|->    CALL_ProgramUniformHandleui64ARB(ctx->Dispatch.Current, (program, location, value));
# 2963|      return align(sizeof(struct marshal_cmd_ProgramUniformHandleui64ARB), 8) / 8;
# 2964|   }

Error: CLANG_WARNING: [#def571]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:2995:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2993|      const char *variable_data = (const char *) (cmd + 1);
# 2994|      value = (GLuint64 *) variable_data;
# 2995|->    CALL_ProgramUniformHandleui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 2996|      return cmd->num_slots;
# 2997|   }

Error: CLANG_WARNING: [#def572]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3006:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3004|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3005|         _mesa_glthread_finish_before(ctx, "ProgramUniformHandleui64vARB");
# 3006|->       CALL_ProgramUniformHandleui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 3007|         return;
# 3008|      }

Error: CLANG_WARNING: [#def573]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3025:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3023|      GET_CURRENT_CONTEXT(ctx);
# 3024|      _mesa_glthread_finish_before(ctx, "IsTextureHandleResidentARB");
# 3025|->    return CALL_IsTextureHandleResidentARB(ctx->Dispatch.Current, (handle));
# 3026|   }
# 3027|   

Error: CLANG_WARNING: [#def574]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3035:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3033|      GET_CURRENT_CONTEXT(ctx);
# 3034|      _mesa_glthread_finish_before(ctx, "IsImageHandleResidentARB");
# 3035|->    return CALL_IsImageHandleResidentARB(ctx->Dispatch.Current, (handle));
# 3036|   }
# 3037|   

Error: CLANG_WARNING: [#def575]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3050:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3048|      GLuint index = cmd->index;
# 3049|      GLuint64EXT x = cmd->x;
# 3050|->    CALL_VertexAttribL1ui64ARB(ctx->Dispatch.Current, (index, x));
# 3051|      return align(sizeof(struct marshal_cmd_VertexAttribL1ui64ARB), 8) / 8;
# 3052|   }

Error: CLANG_WARNING: [#def576]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3075:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3073|      GLuint index = cmd->index;
# 3074|      const GLuint64EXT *v = cmd->v;
# 3075|->    CALL_VertexAttribL1ui64vARB(ctx->Dispatch.Current, (index, v));
# 3076|      return align(sizeof(struct marshal_cmd_VertexAttribL1ui64vARB), 8) / 8;
# 3077|   }

Error: CLANG_WARNING: [#def577]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3095:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3093|      GET_CURRENT_CONTEXT(ctx);
# 3094|      _mesa_glthread_finish_before(ctx, "GetVertexAttribLui64vARB");
# 3095|->    CALL_GetVertexAttribLui64vARB(ctx->Dispatch.Current, (index, pname, params));
# 3096|   }
# 3097|   

Error: CLANG_WARNING: [#def578]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3118:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3116|      GLuint group_size_y = cmd->group_size_y;
# 3117|      GLuint group_size_z = cmd->group_size_z;
# 3118|->    CALL_DispatchComputeGroupSizeARB(ctx->Dispatch.Current, (num_groups_x, num_groups_y, num_groups_z, group_size_x, group_size_y, group_size_z));
# 3119|      return align(sizeof(struct marshal_cmd_DispatchComputeGroupSizeARB), 8) / 8;
# 3120|   }

Error: CLANG_WARNING: [#def579]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3161:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3159|      GLsizei height = cmd->height;
# 3160|      GLsizei depth = cmd->depth;
# 3161|->    CALL_TexPageCommitmentARB(ctx->Dispatch.Current, (target, level, xoffset, yoffset, zoffset, width, height, depth, commit));
# 3162|      return align(sizeof(struct marshal_cmd_TexPageCommitmentARB), 8) / 8;
# 3163|   }

Error: CLANG_WARNING: [#def580]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3207:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3205|      GLsizei height = cmd->height;
# 3206|      GLsizei depth = cmd->depth;
# 3207|->    CALL_TexturePageCommitmentEXT(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, commit));
# 3208|      return align(sizeof(struct marshal_cmd_TexturePageCommitmentEXT), 8) / 8;
# 3209|   }

Error: CLANG_WARNING: [#def581]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3239:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3237|      GLenum16 origin = cmd->origin;
# 3238|      GLenum16 depth = cmd->depth;
# 3239|->    CALL_ClipControl(ctx->Dispatch.Current, (origin, depth));
# 3240|      return align(sizeof(struct marshal_cmd_ClipControl), 8) / 8;
# 3241|   }

Error: CLANG_WARNING: [#def582]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3259:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3257|      GET_CURRENT_CONTEXT(ctx);
# 3258|      _mesa_glthread_finish_before(ctx, "CreateTransformFeedbacks");
# 3259|->    CALL_CreateTransformFeedbacks(ctx->Dispatch.Current, (n, ids));
# 3260|   }
# 3261|   

Error: CLANG_WARNING: [#def583]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3276:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3274|      GLuint index = cmd->index;
# 3275|      GLuint buffer = cmd->buffer;
# 3276|->    CALL_TransformFeedbackBufferBase(ctx->Dispatch.Current, (xfb, index, buffer));
# 3277|      return align(sizeof(struct marshal_cmd_TransformFeedbackBufferBase), 8) / 8;
# 3278|   }

Error: CLANG_WARNING: [#def584]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3308:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3306|      GLintptr offset = cmd->offset;
# 3307|      GLsizeiptr size = cmd->size;
# 3308|->    CALL_TransformFeedbackBufferRange(ctx->Dispatch.Current, (xfb, index, buffer, offset, size));
# 3309|      return align(sizeof(struct marshal_cmd_TransformFeedbackBufferRange), 8) / 8;
# 3310|   }

Error: CLANG_WARNING: [#def585]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3331:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3329|      GET_CURRENT_CONTEXT(ctx);
# 3330|      _mesa_glthread_finish_before(ctx, "GetTransformFeedbackiv");
# 3331|->    CALL_GetTransformFeedbackiv(ctx->Dispatch.Current, (xfb, pname, param));
# 3332|   }
# 3333|   

Error: CLANG_WARNING: [#def586]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3341:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3339|      GET_CURRENT_CONTEXT(ctx);
# 3340|      _mesa_glthread_finish_before(ctx, "GetTransformFeedbacki_v");
# 3341|->    CALL_GetTransformFeedbacki_v(ctx->Dispatch.Current, (xfb, pname, index, param));
# 3342|   }
# 3343|   

Error: CLANG_WARNING: [#def587]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3351:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3349|      GET_CURRENT_CONTEXT(ctx);
# 3350|      _mesa_glthread_finish_before(ctx, "GetTransformFeedbacki64_v");
# 3351|->    CALL_GetTransformFeedbacki64_v(ctx->Dispatch.Current, (xfb, pname, index, param));
# 3352|   }
# 3353|   

Error: CLANG_WARNING: [#def588]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3361:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3359|      GET_CURRENT_CONTEXT(ctx);
# 3360|      _mesa_glthread_finish_before(ctx, "CreateBuffers");
# 3361|->    CALL_CreateBuffers(ctx->Dispatch.Current, (n, buffers));
# 3362|   }
# 3363|   

Error: CLANG_WARNING: [#def589]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3371:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3369|      GET_CURRENT_CONTEXT(ctx);
# 3370|      _mesa_glthread_finish_before(ctx, "NamedBufferStorage");
# 3371|->    CALL_NamedBufferStorage(ctx->Dispatch.Current, (buffer, size, data, flags));
# 3372|   }
# 3373|   

Error: CLANG_WARNING: [#def590]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3392:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3390|      GLintptr writeOffset = cmd->writeOffset;
# 3391|      GLsizeiptr size = cmd->size;
# 3392|->    CALL_CopyNamedBufferSubData(ctx->Dispatch.Current, (readBuffer, writeBuffer, readOffset, writeOffset, size));
# 3393|      return align(sizeof(struct marshal_cmd_CopyNamedBufferSubData), 8) / 8;
# 3394|   }

Error: CLANG_WARNING: [#def591]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3415:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3413|      GET_CURRENT_CONTEXT(ctx);
# 3414|      _mesa_glthread_finish_before(ctx, "ClearNamedBufferData");
# 3415|->    CALL_ClearNamedBufferData(ctx->Dispatch.Current, (buffer, internalformat, format, type, data));
# 3416|   }
# 3417|   

Error: CLANG_WARNING: [#def592]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3425:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3423|      GET_CURRENT_CONTEXT(ctx);
# 3424|      _mesa_glthread_finish_before(ctx, "ClearNamedBufferSubData");
# 3425|->    CALL_ClearNamedBufferSubData(ctx->Dispatch.Current, (buffer, internalformat, offset, size, format, type, data));
# 3426|   }
# 3427|   

Error: CLANG_WARNING: [#def593]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3435:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3433|      GET_CURRENT_CONTEXT(ctx);
# 3434|      _mesa_glthread_finish_before(ctx, "MapNamedBuffer");
# 3435|->    return CALL_MapNamedBuffer(ctx->Dispatch.Current, (buffer, access));
# 3436|   }
# 3437|   

Error: CLANG_WARNING: [#def594]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3445:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3443|      GET_CURRENT_CONTEXT(ctx);
# 3444|      _mesa_glthread_finish_before(ctx, "MapNamedBufferRange");
# 3445|->    return CALL_MapNamedBufferRange(ctx->Dispatch.Current, (buffer, offset, length, access));
# 3446|   }
# 3447|   

Error: CLANG_WARNING: [#def595]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3458:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3456|   {
# 3457|      GLuint buffer = cmd->buffer;
# 3458|->    CALL_UnmapNamedBufferEXT(ctx->Dispatch.Current, (buffer));
# 3459|      return align(sizeof(struct marshal_cmd_UnmapNamedBufferEXT), 8) / 8;
# 3460|   }

Error: CLANG_WARNING: [#def596]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3485:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3483|      GLintptr offset = cmd->offset;
# 3484|      GLsizeiptr length = cmd->length;
# 3485|->    CALL_FlushMappedNamedBufferRange(ctx->Dispatch.Current, (buffer, offset, length));
# 3486|      return align(sizeof(struct marshal_cmd_FlushMappedNamedBufferRange), 8) / 8;
# 3487|   }

Error: CLANG_WARNING: [#def597]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3506:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3504|      GET_CURRENT_CONTEXT(ctx);
# 3505|      _mesa_glthread_finish_before(ctx, "GetNamedBufferParameteriv");
# 3506|->    CALL_GetNamedBufferParameteriv(ctx->Dispatch.Current, (buffer, pname, params));
# 3507|   }
# 3508|   

Error: CLANG_WARNING: [#def598]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3516:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3514|      GET_CURRENT_CONTEXT(ctx);
# 3515|      _mesa_glthread_finish_before(ctx, "GetNamedBufferParameteri64v");
# 3516|->    CALL_GetNamedBufferParameteri64v(ctx->Dispatch.Current, (buffer, pname, params));
# 3517|   }
# 3518|   

Error: CLANG_WARNING: [#def599]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3526:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3524|      GET_CURRENT_CONTEXT(ctx);
# 3525|      _mesa_glthread_finish_before(ctx, "GetNamedBufferPointerv");
# 3526|->    CALL_GetNamedBufferPointerv(ctx->Dispatch.Current, (buffer, pname, params));
# 3527|   }
# 3528|   

Error: CLANG_WARNING: [#def600]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3536:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3534|      GET_CURRENT_CONTEXT(ctx);
# 3535|      _mesa_glthread_finish_before(ctx, "GetNamedBufferSubData");
# 3536|->    CALL_GetNamedBufferSubData(ctx->Dispatch.Current, (buffer, offset, size, data));
# 3537|   }
# 3538|   

Error: CLANG_WARNING: [#def601]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3546:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3544|      GET_CURRENT_CONTEXT(ctx);
# 3545|      _mesa_glthread_finish_before(ctx, "CreateFramebuffers");
# 3546|->    CALL_CreateFramebuffers(ctx->Dispatch.Current, (n, framebuffers));
# 3547|   }
# 3548|   

Error: CLANG_WARNING: [#def602]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3565:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3563|      GLuint framebuffer = cmd->framebuffer;
# 3564|      GLuint renderbuffer = cmd->renderbuffer;
# 3565|->    CALL_NamedFramebufferRenderbuffer(ctx->Dispatch.Current, (framebuffer, attachment, renderbuffertarget, renderbuffer));
# 3566|      return align(sizeof(struct marshal_cmd_NamedFramebufferRenderbuffer), 8) / 8;
# 3567|   }

Error: CLANG_WARNING: [#def603]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3594:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3592|      GLuint framebuffer = cmd->framebuffer;
# 3593|      GLint param = cmd->param;
# 3594|->    CALL_NamedFramebufferParameteri(ctx->Dispatch.Current, (framebuffer, pname, param));
# 3595|      return align(sizeof(struct marshal_cmd_NamedFramebufferParameteri), 8) / 8;
# 3596|   }

Error: CLANG_WARNING: [#def604]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3624:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3622|      GLuint texture = cmd->texture;
# 3623|      GLint level = cmd->level;
# 3624|->    CALL_NamedFramebufferTexture(ctx->Dispatch.Current, (framebuffer, attachment, texture, level));
# 3625|      return align(sizeof(struct marshal_cmd_NamedFramebufferTexture), 8) / 8;
# 3626|   }

Error: CLANG_WARNING: [#def605]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3657:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3655|      GLint level = cmd->level;
# 3656|      GLint layer = cmd->layer;
# 3657|->    CALL_NamedFramebufferTextureLayer(ctx->Dispatch.Current, (framebuffer, attachment, texture, level, layer));
# 3658|      return align(sizeof(struct marshal_cmd_NamedFramebufferTextureLayer), 8) / 8;
# 3659|   }

Error: CLANG_WARNING: [#def606]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3685:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3683|      GLenum16 buf = cmd->buf;
# 3684|      GLuint framebuffer = cmd->framebuffer;
# 3685|->    CALL_NamedFramebufferDrawBuffer(ctx->Dispatch.Current, (framebuffer, buf));
# 3686|      return align(sizeof(struct marshal_cmd_NamedFramebufferDrawBuffer), 8) / 8;
# 3687|   }

Error: CLANG_WARNING: [#def607]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3715:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3713|      const char *variable_data = (const char *) (cmd + 1);
# 3714|      bufs = (GLenum *) variable_data;
# 3715|->    CALL_NamedFramebufferDrawBuffers(ctx->Dispatch.Current, (framebuffer, n, bufs));
# 3716|      return cmd->num_slots;
# 3717|   }

Error: CLANG_WARNING: [#def608]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3726:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3724|      if (unlikely(bufs_size < 0 || (bufs_size > 0 && !bufs) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3725|         _mesa_glthread_finish_before(ctx, "NamedFramebufferDrawBuffers");
# 3726|->       CALL_NamedFramebufferDrawBuffers(ctx->Dispatch.Current, (framebuffer, n, bufs));
# 3727|         return;
# 3728|      }

Error: CLANG_WARNING: [#def609]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3749:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3747|      GLenum16 buf = cmd->buf;
# 3748|      GLuint framebuffer = cmd->framebuffer;
# 3749|->    CALL_NamedFramebufferReadBuffer(ctx->Dispatch.Current, (framebuffer, buf));
# 3750|      return align(sizeof(struct marshal_cmd_NamedFramebufferReadBuffer), 8) / 8;
# 3751|   }

Error: CLANG_WARNING: [#def610]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3779:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3777|      const char *variable_data = (const char *) (cmd + 1);
# 3778|      attachments = (GLenum *) variable_data;
# 3779|->    CALL_InvalidateNamedFramebufferData(ctx->Dispatch.Current, (framebuffer, numAttachments, attachments));
# 3780|      return cmd->num_slots;
# 3781|   }

Error: CLANG_WARNING: [#def611]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3790:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3788|      if (unlikely(attachments_size < 0 || (attachments_size > 0 && !attachments) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3789|         _mesa_glthread_finish_before(ctx, "InvalidateNamedFramebufferData");
# 3790|->       CALL_InvalidateNamedFramebufferData(ctx->Dispatch.Current, (framebuffer, numAttachments, attachments));
# 3791|         return;
# 3792|      }

Error: CLANG_WARNING: [#def612]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3826:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3824|      const char *variable_data = (const char *) (cmd + 1);
# 3825|      attachments = (GLenum *) variable_data;
# 3826|->    CALL_InvalidateNamedFramebufferSubData(ctx->Dispatch.Current, (framebuffer, numAttachments, attachments, x, y, width, height));
# 3827|      return cmd->num_slots;
# 3828|   }

Error: CLANG_WARNING: [#def613]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3837:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3835|      if (unlikely(attachments_size < 0 || (attachments_size > 0 && !attachments) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3836|         _mesa_glthread_finish_before(ctx, "InvalidateNamedFramebufferSubData");
# 3837|->       CALL_InvalidateNamedFramebufferSubData(ctx->Dispatch.Current, (framebuffer, numAttachments, attachments, x, y, width, height));
# 3838|         return;
# 3839|      }

Error: CLANG_WARNING: [#def614]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3871:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3869|      const char *variable_data = (const char *) (cmd + 1);
# 3870|      value = (GLint *) variable_data;
# 3871|->    CALL_ClearNamedFramebufferiv(ctx->Dispatch.Current, (framebuffer, buffer, drawbuffer, value));
# 3872|      return cmd->num_slots;
# 3873|   }

Error: CLANG_WARNING: [#def615]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3909:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3907|      const char *variable_data = (const char *) (cmd + 1);
# 3908|      value = (GLuint *) variable_data;
# 3909|->    CALL_ClearNamedFramebufferuiv(ctx->Dispatch.Current, (framebuffer, buffer, drawbuffer, value));
# 3910|      return cmd->num_slots;
# 3911|   }

Error: CLANG_WARNING: [#def616]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3947:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3945|      const char *variable_data = (const char *) (cmd + 1);
# 3946|      value = (GLfloat *) variable_data;
# 3947|->    CALL_ClearNamedFramebufferfv(ctx->Dispatch.Current, (framebuffer, buffer, drawbuffer, value));
# 3948|      return cmd->num_slots;
# 3949|   }

Error: CLANG_WARNING: [#def617]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:3984:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3982|      GLfloat depth = cmd->depth;
# 3983|      GLint stencil = cmd->stencil;
# 3984|->    CALL_ClearNamedFramebufferfi(ctx->Dispatch.Current, (framebuffer, buffer, drawbuffer, depth, stencil));
# 3985|      return align(sizeof(struct marshal_cmd_ClearNamedFramebufferfi), 8) / 8;
# 3986|   }

Error: CLANG_WARNING: [#def618]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4032:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4030|      GLint dstY1 = cmd->dstY1;
# 4031|      GLbitfield mask = cmd->mask;
# 4032|->    CALL_BlitNamedFramebuffer(ctx->Dispatch.Current, (readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter));
# 4033|      return align(sizeof(struct marshal_cmd_BlitNamedFramebuffer), 8) / 8;
# 4034|   }

Error: CLANG_WARNING: [#def619]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4062:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4060|      GET_CURRENT_CONTEXT(ctx);
# 4061|      _mesa_glthread_finish_before(ctx, "CheckNamedFramebufferStatus");
# 4062|->    return CALL_CheckNamedFramebufferStatus(ctx->Dispatch.Current, (framebuffer, target));
# 4063|   }
# 4064|   

Error: CLANG_WARNING: [#def620]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4072:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4070|      GET_CURRENT_CONTEXT(ctx);
# 4071|      _mesa_glthread_finish_before(ctx, "GetNamedFramebufferParameteriv");
# 4072|->    CALL_GetNamedFramebufferParameteriv(ctx->Dispatch.Current, (framebuffer, pname, param));
# 4073|   }
# 4074|   

Error: CLANG_WARNING: [#def621]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4082:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4080|      GET_CURRENT_CONTEXT(ctx);
# 4081|      _mesa_glthread_finish_before(ctx, "GetNamedFramebufferAttachmentParameteriv");
# 4082|->    CALL_GetNamedFramebufferAttachmentParameteriv(ctx->Dispatch.Current, (framebuffer, attachment, pname, params));
# 4083|   }
# 4084|   

Error: CLANG_WARNING: [#def622]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4092:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4090|      GET_CURRENT_CONTEXT(ctx);
# 4091|      _mesa_glthread_finish_before(ctx, "CreateRenderbuffers");
# 4092|->    CALL_CreateRenderbuffers(ctx->Dispatch.Current, (n, renderbuffers));
# 4093|   }
# 4094|   

Error: CLANG_WARNING: [#def623]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4111:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4109|      GLsizei width = cmd->width;
# 4110|      GLsizei height = cmd->height;
# 4111|->    CALL_NamedRenderbufferStorage(ctx->Dispatch.Current, (renderbuffer, internalformat, width, height));
# 4112|      return align(sizeof(struct marshal_cmd_NamedRenderbufferStorage), 8) / 8;
# 4113|   }

Error: CLANG_WARNING: [#def624]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4144:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4142|      GLsizei width = cmd->width;
# 4143|      GLsizei height = cmd->height;
# 4144|->    CALL_NamedRenderbufferStorageMultisample(ctx->Dispatch.Current, (renderbuffer, samples, internalformat, width, height));
# 4145|      return align(sizeof(struct marshal_cmd_NamedRenderbufferStorageMultisample), 8) / 8;
# 4146|   }

Error: CLANG_WARNING: [#def625]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4167:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4165|      GET_CURRENT_CONTEXT(ctx);
# 4166|      _mesa_glthread_finish_before(ctx, "GetNamedRenderbufferParameteriv");
# 4167|->    CALL_GetNamedRenderbufferParameteriv(ctx->Dispatch.Current, (renderbuffer, pname, params));
# 4168|   }
# 4169|   

Error: CLANG_WARNING: [#def626]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4177:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4175|      GET_CURRENT_CONTEXT(ctx);
# 4176|      _mesa_glthread_finish_before(ctx, "CreateTextures");
# 4177|->    CALL_CreateTextures(ctx->Dispatch.Current, (target, n, textures));
# 4178|   }
# 4179|   

Error: CLANG_WARNING: [#def627]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4194:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4192|      GLuint texture = cmd->texture;
# 4193|      GLuint buffer = cmd->buffer;
# 4194|->    CALL_TextureBuffer(ctx->Dispatch.Current, (texture, internalformat, buffer));
# 4195|      return align(sizeof(struct marshal_cmd_TextureBuffer), 8) / 8;
# 4196|   }

Error: CLANG_WARNING: [#def628]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4226:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4224|      GLintptr offset = cmd->offset;
# 4225|      GLsizeiptr size = cmd->size;
# 4226|->    CALL_TextureBufferRange(ctx->Dispatch.Current, (texture, internalformat, buffer, offset, size));
# 4227|      return align(sizeof(struct marshal_cmd_TextureBufferRange), 8) / 8;
# 4228|   }

Error: CLANG_WARNING: [#def629]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4258:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4256|      GLsizei levels = cmd->levels;
# 4257|      GLsizei width = cmd->width;
# 4258|->    CALL_TextureStorage1D(ctx->Dispatch.Current, (texture, levels, internalformat, width));
# 4259|      return align(sizeof(struct marshal_cmd_TextureStorage1D), 8) / 8;
# 4260|   }

Error: CLANG_WARNING: [#def630]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4291:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4289|      GLsizei width = cmd->width;
# 4290|      GLsizei height = cmd->height;
# 4291|->    CALL_TextureStorage2D(ctx->Dispatch.Current, (texture, levels, internalformat, width, height));
# 4292|      return align(sizeof(struct marshal_cmd_TextureStorage2D), 8) / 8;
# 4293|   }

Error: CLANG_WARNING: [#def631]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4327:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4325|      GLsizei height = cmd->height;
# 4326|      GLsizei depth = cmd->depth;
# 4327|->    CALL_TextureStorage3D(ctx->Dispatch.Current, (texture, levels, internalformat, width, height, depth));
# 4328|      return align(sizeof(struct marshal_cmd_TextureStorage3D), 8) / 8;
# 4329|   }

Error: CLANG_WARNING: [#def632]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4364:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4362|      GLsizei width = cmd->width;
# 4363|      GLsizei height = cmd->height;
# 4364|->    CALL_TextureStorage2DMultisample(ctx->Dispatch.Current, (texture, samples, internalformat, width, height, fixedsamplelocations));
# 4365|      return align(sizeof(struct marshal_cmd_TextureStorage2DMultisample), 8) / 8;
# 4366|   }

Error: CLANG_WARNING: [#def633]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4403:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4401|      GLsizei height = cmd->height;
# 4402|      GLsizei depth = cmd->depth;
# 4403|->    CALL_TextureStorage3DMultisample(ctx->Dispatch.Current, (texture, samples, internalformat, width, height, depth, fixedsamplelocations));
# 4404|      return align(sizeof(struct marshal_cmd_TextureStorage3DMultisample), 8) / 8;
# 4405|   }

Error: CLANG_WARNING: [#def634]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4443:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4441|      GLsizei width = cmd->width;
# 4442|      const GLvoid * pixels = cmd->pixels;
# 4443|->    CALL_TextureSubImage1D(ctx->Dispatch.Current, (texture, level, xoffset, width, format, type, pixels));
# 4444|      return align(sizeof(struct marshal_cmd_TextureSubImage1D), 8) / 8;
# 4445|   }

Error: CLANG_WARNING: [#def635]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4453:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4451|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4452|         _mesa_glthread_finish_before(ctx, "TextureSubImage1D");
# 4453|->       CALL_TextureSubImage1D(ctx->Dispatch.Current, (texture, level, xoffset, width, format, type, pixels));
# 4454|         return;
# 4455|      }

Error: CLANG_WARNING: [#def636]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4492:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4490|      GLsizei height = cmd->height;
# 4491|      const GLvoid * pixels = cmd->pixels;
# 4492|->    CALL_TextureSubImage2D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, width, height, format, type, pixels));
# 4493|      return align(sizeof(struct marshal_cmd_TextureSubImage2D), 8) / 8;
# 4494|   }

Error: CLANG_WARNING: [#def637]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4502:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4500|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4501|         _mesa_glthread_finish_before(ctx, "TextureSubImage2D");
# 4502|->       CALL_TextureSubImage2D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, width, height, format, type, pixels));
# 4503|         return;
# 4504|      }

Error: CLANG_WARNING: [#def638]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4547:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4545|      GLsizei depth = cmd->depth;
# 4546|      const GLvoid * pixels = cmd->pixels;
# 4547|->    CALL_TextureSubImage3D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels));
# 4548|      return align(sizeof(struct marshal_cmd_TextureSubImage3D), 8) / 8;
# 4549|   }

Error: CLANG_WARNING: [#def639]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4557:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4555|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4556|         _mesa_glthread_finish_before(ctx, "TextureSubImage3D");
# 4557|->       CALL_TextureSubImage3D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels));
# 4558|         return;
# 4559|      }

Error: CLANG_WARNING: [#def640]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4596:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4594|      GLsizei imageSize = cmd->imageSize;
# 4595|      const GLvoid * data = cmd->data;
# 4596|->    CALL_CompressedTextureSubImage1D(ctx->Dispatch.Current, (texture, level, xoffset, width, format, imageSize, data));
# 4597|      return align(sizeof(struct marshal_cmd_CompressedTextureSubImage1D), 8) / 8;
# 4598|   }

Error: CLANG_WARNING: [#def641]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4606:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4604|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4605|         _mesa_glthread_finish_before(ctx, "CompressedTextureSubImage1D");
# 4606|->       CALL_CompressedTextureSubImage1D(ctx->Dispatch.Current, (texture, level, xoffset, width, format, imageSize, data));
# 4607|         return;
# 4608|      }

Error: CLANG_WARNING: [#def642]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4645:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4643|      GLsizei imageSize = cmd->imageSize;
# 4644|      const GLvoid * data = cmd->data;
# 4645|->    CALL_CompressedTextureSubImage2D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, width, height, format, imageSize, data));
# 4646|      return align(sizeof(struct marshal_cmd_CompressedTextureSubImage2D), 8) / 8;
# 4647|   }

Error: CLANG_WARNING: [#def643]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4655:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4653|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4654|         _mesa_glthread_finish_before(ctx, "CompressedTextureSubImage2D");
# 4655|->       CALL_CompressedTextureSubImage2D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, width, height, format, imageSize, data));
# 4656|         return;
# 4657|      }

Error: CLANG_WARNING: [#def644]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4700:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4698|      GLsizei imageSize = cmd->imageSize;
# 4699|      const GLvoid * data = cmd->data;
# 4700|->    CALL_CompressedTextureSubImage3D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data));
# 4701|      return align(sizeof(struct marshal_cmd_CompressedTextureSubImage3D), 8) / 8;
# 4702|   }

Error: CLANG_WARNING: [#def645]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4710:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4708|      if (!_mesa_glthread_has_unpack_buffer(ctx)) {
# 4709|         _mesa_glthread_finish_before(ctx, "CompressedTextureSubImage3D");
# 4710|->       CALL_CompressedTextureSubImage3D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data));
# 4711|         return;
# 4712|      }

Error: CLANG_WARNING: [#def646]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4747:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4745|      GLint y = cmd->y;
# 4746|      GLsizei width = cmd->width;
# 4747|->    CALL_CopyTextureSubImage1D(ctx->Dispatch.Current, (texture, level, xoffset, x, y, width));
# 4748|      return align(sizeof(struct marshal_cmd_CopyTextureSubImage1D), 8) / 8;
# 4749|   }

Error: CLANG_WARNING: [#def647]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4788:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4786|      GLsizei width = cmd->width;
# 4787|      GLsizei height = cmd->height;
# 4788|->    CALL_CopyTextureSubImage2D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, x, y, width, height));
# 4789|      return align(sizeof(struct marshal_cmd_CopyTextureSubImage2D), 8) / 8;
# 4790|   }

Error: CLANG_WARNING: [#def648]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4833:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4831|      GLsizei width = cmd->width;
# 4832|      GLsizei height = cmd->height;
# 4833|->    CALL_CopyTextureSubImage3D(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, x, y, width, height));
# 4834|      return align(sizeof(struct marshal_cmd_CopyTextureSubImage3D), 8) / 8;
# 4835|   }

Error: CLANG_WARNING: [#def649]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4867:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4865|      GLuint texture = cmd->texture;
# 4866|      GLfloat param = cmd->param;
# 4867|->    CALL_TextureParameterf(ctx->Dispatch.Current, (texture, pname, param));
# 4868|      return align(sizeof(struct marshal_cmd_TextureParameterf), 8) / 8;
# 4869|   }

Error: CLANG_WARNING: [#def650]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4898:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4896|      const char *variable_data = (const char *) (cmd + 1);
# 4897|      param = (GLfloat *) variable_data;
# 4898|->    CALL_TextureParameterfv(ctx->Dispatch.Current, (texture, pname, param));
# 4899|      return cmd->num_slots;
# 4900|   }

Error: CLANG_WARNING: [#def651]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4930:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4928|      GLuint texture = cmd->texture;
# 4929|      GLint param = cmd->param;
# 4930|->    CALL_TextureParameteri(ctx->Dispatch.Current, (texture, pname, param));
# 4931|      return align(sizeof(struct marshal_cmd_TextureParameteri), 8) / 8;
# 4932|   }

Error: CLANG_WARNING: [#def652]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4961:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4959|      const char *variable_data = (const char *) (cmd + 1);
# 4960|      params = (GLint *) variable_data;
# 4961|->    CALL_TextureParameterIiv(ctx->Dispatch.Current, (texture, pname, params));
# 4962|      return cmd->num_slots;
# 4963|   }

Error: CLANG_WARNING: [#def653]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:4996:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 4994|      const char *variable_data = (const char *) (cmd + 1);
# 4995|      params = (GLuint *) variable_data;
# 4996|->    CALL_TextureParameterIuiv(ctx->Dispatch.Current, (texture, pname, params));
# 4997|      return cmd->num_slots;
# 4998|   }

Error: CLANG_WARNING: [#def654]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5031:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5029|      const char *variable_data = (const char *) (cmd + 1);
# 5030|      param = (GLint *) variable_data;
# 5031|->    CALL_TextureParameteriv(ctx->Dispatch.Current, (texture, pname, param));
# 5032|      return cmd->num_slots;
# 5033|   }

Error: CLANG_WARNING: [#def655]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5059:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5057|   {
# 5058|      GLuint texture = cmd->texture;
# 5059|->    CALL_GenerateTextureMipmap(ctx->Dispatch.Current, (texture));
# 5060|      return align(sizeof(struct marshal_cmd_GenerateTextureMipmap), 8) / 8;
# 5061|   }

Error: CLANG_WARNING: [#def656]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5083:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5081|      GLuint unit = cmd->unit;
# 5082|      GLuint texture = cmd->texture;
# 5083|->    CALL_BindTextureUnit(ctx->Dispatch.Current, (unit, texture));
# 5084|      return align(sizeof(struct marshal_cmd_BindTextureUnit), 8) / 8;
# 5085|   }

Error: CLANG_WARNING: [#def657]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5116:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5114|      GLsizei bufSize = cmd->bufSize;
# 5115|      GLvoid * pixels = cmd->pixels;
# 5116|->    CALL_GetTextureImage(ctx->Dispatch.Current, (texture, level, format, type, bufSize, pixels));
# 5117|      return align(sizeof(struct marshal_cmd_GetTextureImage), 8) / 8;
# 5118|   }

Error: CLANG_WARNING: [#def658]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5126:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5124|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
# 5125|         _mesa_glthread_finish_before(ctx, "GetTextureImage");
# 5126|->       CALL_GetTextureImage(ctx->Dispatch.Current, (texture, level, format, type, bufSize, pixels));
# 5127|         return;
# 5128|      }

Error: CLANG_WARNING: [#def659]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5154:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5152|      GLsizei bufSize = cmd->bufSize;
# 5153|      GLvoid * pixels = cmd->pixels;
# 5154|->    CALL_GetCompressedTextureImage(ctx->Dispatch.Current, (texture, level, bufSize, pixels));
# 5155|      return align(sizeof(struct marshal_cmd_GetCompressedTextureImage), 8) / 8;
# 5156|   }

Error: CLANG_WARNING: [#def660]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5164:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5162|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
# 5163|         _mesa_glthread_finish_before(ctx, "GetCompressedTextureImage");
# 5164|->       CALL_GetCompressedTextureImage(ctx->Dispatch.Current, (texture, level, bufSize, pixels));
# 5165|         return;
# 5166|      }

Error: CLANG_WARNING: [#def661]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5181:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5179|      GET_CURRENT_CONTEXT(ctx);
# 5180|      _mesa_glthread_finish_before(ctx, "GetTextureLevelParameterfv");
# 5181|->    CALL_GetTextureLevelParameterfv(ctx->Dispatch.Current, (texture, level, pname, params));
# 5182|   }
# 5183|   

Error: CLANG_WARNING: [#def662]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5191:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5189|      GET_CURRENT_CONTEXT(ctx);
# 5190|      _mesa_glthread_finish_before(ctx, "GetTextureLevelParameteriv");
# 5191|->    CALL_GetTextureLevelParameteriv(ctx->Dispatch.Current, (texture, level, pname, params));
# 5192|   }
# 5193|   

Error: CLANG_WARNING: [#def663]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5201:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5199|      GET_CURRENT_CONTEXT(ctx);
# 5200|      _mesa_glthread_finish_before(ctx, "GetTextureParameterfv");
# 5201|->    CALL_GetTextureParameterfv(ctx->Dispatch.Current, (texture, pname, params));
# 5202|   }
# 5203|   

Error: CLANG_WARNING: [#def664]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5211:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5209|      GET_CURRENT_CONTEXT(ctx);
# 5210|      _mesa_glthread_finish_before(ctx, "GetTextureParameterIiv");
# 5211|->    CALL_GetTextureParameterIiv(ctx->Dispatch.Current, (texture, pname, params));
# 5212|   }
# 5213|   

Error: CLANG_WARNING: [#def665]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5221:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5219|      GET_CURRENT_CONTEXT(ctx);
# 5220|      _mesa_glthread_finish_before(ctx, "GetTextureParameterIuiv");
# 5221|->    CALL_GetTextureParameterIuiv(ctx->Dispatch.Current, (texture, pname, params));
# 5222|   }
# 5223|   

Error: CLANG_WARNING: [#def666]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated4.c:5231:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 5229|      GET_CURRENT_CONTEXT(ctx);
# 5230|      _mesa_glthread_finish_before(ctx, "GetTextureParameteriv");
# 5231|->    CALL_GetTextureParameteriv(ctx->Dispatch.Current, (texture, pname, params));
# 5232|   }
# 5233|   

Error: CLANG_WARNING: [#def667]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:50:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   48|      GET_CURRENT_CONTEXT(ctx);
#   49|      _mesa_glthread_finish_before(ctx, "CreateVertexArrays");
#   50|->    CALL_CreateVertexArrays(ctx->Dispatch.Current, (n, arrays));
#   51|      _mesa_glthread_GenVertexArrays(ctx, n, arrays);
#   52|   }

Error: CLANG_WARNING: [#def668]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:66:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   64|      GLuint vaobj = cmd->vaobj;
#   65|      GLuint index = cmd->index;
#   66|->    CALL_DisableVertexArrayAttrib(ctx->Dispatch.Current, (vaobj, index));
#   67|      return align(sizeof(struct marshal_cmd_DisableVertexArrayAttrib), 8) / 8;
#   68|   }

Error: CLANG_WARNING: [#def669]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:92:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   90|      GLuint vaobj = cmd->vaobj;
#   91|      GLuint index = cmd->index;
#   92|->    CALL_EnableVertexArrayAttrib(ctx->Dispatch.Current, (vaobj, index));
#   93|      return align(sizeof(struct marshal_cmd_EnableVertexArrayAttrib), 8) / 8;
#   94|   }

Error: CLANG_WARNING: [#def670]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:118:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  116|      GLuint vaobj = cmd->vaobj;
#  117|      GLuint buffer = cmd->buffer;
#  118|->    CALL_VertexArrayElementBuffer(ctx->Dispatch.Current, (vaobj, buffer));
#  119|      return align(sizeof(struct marshal_cmd_VertexArrayElementBuffer), 8) / 8;
#  120|   }

Error: CLANG_WARNING: [#def671]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:159:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  157|      GLuint buffer = cmd->buffer;
#  158|      GLintptr offset = cmd->offset;
#  159|->    CALL_VertexArrayVertexBuffer(ctx->Dispatch.Current, (vaobj, bindingindex, buffer, offset, stride));
#  160|      return align(sizeof(struct marshal_cmd_VertexArrayVertexBuffer), 8) / 8;
#  161|   }

Error: CLANG_WARNING: [#def672]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:169:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  167|      GLuint buffer = cmd->buffer;
#  168|      GLintptr offset = (GLintptr)(uintptr_t)cmd->offset;
#  169|->    CALL_VertexArrayVertexBuffer(ctx->Dispatch.Current, (vaobj, bindingindex, buffer, offset, stride));
#  170|      return align(sizeof(struct marshal_cmd_VertexArrayVertexBuffer_packed), 8) / 8;
#  171|   }

Error: CLANG_WARNING: [#def673]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:223:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  221|      variable_data += count * 1 * sizeof(GLintptr);
#  222|      strides = (GLsizei *) variable_data;
#  223|->    CALL_VertexArrayVertexBuffers(ctx->Dispatch.Current, (vaobj, first, count, buffers, offsets, strides));
#  224|      return cmd->num_slots;
#  225|   }

Error: CLANG_WARNING: [#def674]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:236:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  234|      if (unlikely(buffers_size < 0 || (buffers_size > 0 && !buffers) || offsets_size < 0 || (offsets_size > 0 && !offsets) || strides_size < 0 || (strides_size > 0 && !strides) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  235|         _mesa_glthread_finish_before(ctx, "VertexArrayVertexBuffers");
#  236|->       CALL_VertexArrayVertexBuffers(ctx->Dispatch.Current, (vaobj, first, count, buffers, offsets, strides));
#  237|         if (COMPAT) _mesa_glthread_DSAVertexBuffers(ctx, vaobj, first, count, buffers, offsets, strides);
#  238|         return;

Error: CLANG_WARNING: [#def675]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:274:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  272|      GLint size = cmd->size;
#  273|      GLuint relativeoffset = cmd->relativeoffset;
#  274|->    CALL_VertexArrayAttribFormat(ctx->Dispatch.Current, (vaobj, attribindex, size, type, normalized, relativeoffset));
#  275|      return align(sizeof(struct marshal_cmd_VertexArrayAttribFormat), 8) / 8;
#  276|   }

Error: CLANG_WARNING: [#def676]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:310:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  308|      GLint size = cmd->size;
#  309|      GLuint relativeoffset = cmd->relativeoffset;
#  310|->    CALL_VertexArrayAttribIFormat(ctx->Dispatch.Current, (vaobj, attribindex, size, type, relativeoffset));
#  311|      return align(sizeof(struct marshal_cmd_VertexArrayAttribIFormat), 8) / 8;
#  312|   }

Error: CLANG_WARNING: [#def677]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:345:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  343|      GLint size = cmd->size;
#  344|      GLuint relativeoffset = cmd->relativeoffset;
#  345|->    CALL_VertexArrayAttribLFormat(ctx->Dispatch.Current, (vaobj, attribindex, size, type, relativeoffset));
#  346|      return align(sizeof(struct marshal_cmd_VertexArrayAttribLFormat), 8) / 8;
#  347|   }

Error: CLANG_WARNING: [#def678]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:376:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  374|      GLuint attribindex = cmd->attribindex;
#  375|      GLuint bindingindex = cmd->bindingindex;
#  376|->    CALL_VertexArrayAttribBinding(ctx->Dispatch.Current, (vaobj, attribindex, bindingindex));
#  377|      return align(sizeof(struct marshal_cmd_VertexArrayAttribBinding), 8) / 8;
#  378|   }

Error: CLANG_WARNING: [#def679]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:405:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  403|      GLuint bindingindex = cmd->bindingindex;
#  404|      GLuint divisor = cmd->divisor;
#  405|->    CALL_VertexArrayBindingDivisor(ctx->Dispatch.Current, (vaobj, bindingindex, divisor));
#  406|      return align(sizeof(struct marshal_cmd_VertexArrayBindingDivisor), 8) / 8;
#  407|   }

Error: CLANG_WARNING: [#def680]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:427:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  425|      GET_CURRENT_CONTEXT(ctx);
#  426|      _mesa_glthread_finish_before(ctx, "GetVertexArrayiv");
#  427|->    CALL_GetVertexArrayiv(ctx->Dispatch.Current, (vaobj, pname, param));
#  428|   }
#  429|   

Error: CLANG_WARNING: [#def681]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:437:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  435|      GET_CURRENT_CONTEXT(ctx);
#  436|      _mesa_glthread_finish_before(ctx, "GetVertexArrayIndexediv");
#  437|->    CALL_GetVertexArrayIndexediv(ctx->Dispatch.Current, (vaobj, index, pname, param));
#  438|   }
#  439|   

Error: CLANG_WARNING: [#def682]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:447:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  445|      GET_CURRENT_CONTEXT(ctx);
#  446|      _mesa_glthread_finish_before(ctx, "GetVertexArrayIndexed64iv");
#  447|->    CALL_GetVertexArrayIndexed64iv(ctx->Dispatch.Current, (vaobj, index, pname, param));
#  448|   }
#  449|   

Error: CLANG_WARNING: [#def683]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:457:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  455|      GET_CURRENT_CONTEXT(ctx);
#  456|      _mesa_glthread_finish_before(ctx, "CreateSamplers");
#  457|->    CALL_CreateSamplers(ctx->Dispatch.Current, (n, samplers));
#  458|   }
#  459|   

Error: CLANG_WARNING: [#def684]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:467:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  465|      GET_CURRENT_CONTEXT(ctx);
#  466|      _mesa_glthread_finish_before(ctx, "CreateProgramPipelines");
#  467|->    CALL_CreateProgramPipelines(ctx->Dispatch.Current, (n, pipelines));
#  468|   }
#  469|   

Error: CLANG_WARNING: [#def685]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:477:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  475|      GET_CURRENT_CONTEXT(ctx);
#  476|      _mesa_glthread_finish_before(ctx, "CreateQueries");
#  477|->    CALL_CreateQueries(ctx->Dispatch.Current, (target, n, ids));
#  478|   }
#  479|   

Error: CLANG_WARNING: [#def686]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:496:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  494|      GLuint buffer = cmd->buffer;
#  495|      GLintptr offset = cmd->offset;
#  496|->    CALL_GetQueryBufferObjectiv(ctx->Dispatch.Current, (id, buffer, pname, offset));
#  497|      return align(sizeof(struct marshal_cmd_GetQueryBufferObjectiv), 8) / 8;
#  498|   }

Error: CLANG_WARNING: [#def687]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:527:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  525|      GLuint buffer = cmd->buffer;
#  526|      GLintptr offset = cmd->offset;
#  527|->    CALL_GetQueryBufferObjectuiv(ctx->Dispatch.Current, (id, buffer, pname, offset));
#  528|      return align(sizeof(struct marshal_cmd_GetQueryBufferObjectuiv), 8) / 8;
#  529|   }

Error: CLANG_WARNING: [#def688]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:558:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  556|      GLuint buffer = cmd->buffer;
#  557|      GLintptr offset = cmd->offset;
#  558|->    CALL_GetQueryBufferObjecti64v(ctx->Dispatch.Current, (id, buffer, pname, offset));
#  559|      return align(sizeof(struct marshal_cmd_GetQueryBufferObjecti64v), 8) / 8;
#  560|   }

Error: CLANG_WARNING: [#def689]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:589:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  587|      GLuint buffer = cmd->buffer;
#  588|      GLintptr offset = cmd->offset;
#  589|->    CALL_GetQueryBufferObjectui64v(ctx->Dispatch.Current, (id, buffer, pname, offset));
#  590|      return align(sizeof(struct marshal_cmd_GetQueryBufferObjectui64v), 8) / 8;
#  591|   }

Error: CLANG_WARNING: [#def690]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:636:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  634|      GLsizei bufSize = cmd->bufSize;
#  635|      GLvoid * pixels = cmd->pixels;
#  636|->    CALL_GetTextureSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels));
#  637|      return align(sizeof(struct marshal_cmd_GetTextureSubImage), 8) / 8;
#  638|   }

Error: CLANG_WARNING: [#def691]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:646:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  644|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  645|         _mesa_glthread_finish_before(ctx, "GetTextureSubImage");
#  646|->       CALL_GetTextureSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels));
#  647|         return;
#  648|      }

Error: CLANG_WARNING: [#def692]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:692:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  690|      GLsizei bufSize = cmd->bufSize;
#  691|      GLvoid * pixels = cmd->pixels;
#  692|->    CALL_GetCompressedTextureSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels));
#  693|      return align(sizeof(struct marshal_cmd_GetCompressedTextureSubImage), 8) / 8;
#  694|   }

Error: CLANG_WARNING: [#def693]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:702:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  700|      if (!_mesa_glthread_has_pack_buffer(ctx)) {
#  701|         _mesa_glthread_finish_before(ctx, "GetCompressedTextureSubImage");
#  702|->       CALL_GetCompressedTextureSubImage(ctx->Dispatch.Current, (texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels));
#  703|         return;
#  704|      }

Error: CLANG_WARNING: [#def694]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:726:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  724|   uint32_t _mesa_unmarshal_TextureBarrierNV(struct gl_context *ctx, const struct marshal_cmd_TextureBarrierNV *restrict cmd)
#  725|   {
#  726|->    CALL_TextureBarrierNV(ctx->Dispatch.Current, ());
#  727|      return align(sizeof(struct marshal_cmd_TextureBarrierNV), 8) / 8;
#  728|   }

Error: CLANG_WARNING: [#def695]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:753:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  751|      GLintptr offset = cmd->offset;
#  752|      GLsizeiptr size = cmd->size;
#  753|->    CALL_BufferPageCommitmentARB(ctx->Dispatch.Current, (target, offset, size, commit));
#  754|      return align(sizeof(struct marshal_cmd_BufferPageCommitmentARB), 8) / 8;
#  755|   }

Error: CLANG_WARNING: [#def696]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:784:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  782|      GLintptr offset = cmd->offset;
#  783|      GLsizeiptr size = cmd->size;
#  784|->    CALL_NamedBufferPageCommitmentEXT(ctx->Dispatch.Current, (buffer, offset, size, commit));
#  785|      return align(sizeof(struct marshal_cmd_NamedBufferPageCommitmentEXT), 8) / 8;
#  786|   }

Error: CLANG_WARNING: [#def697]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:815:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  813|      GLintptr offset = cmd->offset;
#  814|      GLsizeiptr size = cmd->size;
#  815|->    CALL_NamedBufferPageCommitmentARB(ctx->Dispatch.Current, (buffer, offset, size, commit));
#  816|      return align(sizeof(struct marshal_cmd_NamedBufferPageCommitmentARB), 8) / 8;
#  817|   }

Error: CLANG_WARNING: [#def698]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:854:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  852|      GLfloat maxZ = cmd->maxZ;
#  853|      GLfloat maxW = cmd->maxW;
#  854|->    CALL_PrimitiveBoundingBox(ctx->Dispatch.Current, (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW));
#  855|      return align(sizeof(struct marshal_cmd_PrimitiveBoundingBox), 8) / 8;
#  856|   }

Error: CLANG_WARNING: [#def699]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:881:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  879|   uint32_t _mesa_unmarshal_BlendBarrier(struct gl_context *ctx, const struct marshal_cmd_BlendBarrier *restrict cmd)
#  880|   {
#  881|->    CALL_BlendBarrier(ctx->Dispatch.Current, ());
#  882|      return align(sizeof(struct marshal_cmd_BlendBarrier), 8) / 8;
#  883|   }

Error: CLANG_WARNING: [#def700]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:904:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  902|      GLint location = cmd->location;
#  903|      GLint64 x = cmd->x;
#  904|->    CALL_Uniform1i64ARB(ctx->Dispatch.Current, (location, x));
#  905|      return align(sizeof(struct marshal_cmd_Uniform1i64ARB), 8) / 8;
#  906|   }

Error: CLANG_WARNING: [#def701]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:931:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  929|      GLint64 x = cmd->x;
#  930|      GLint64 y = cmd->y;
#  931|->    CALL_Uniform2i64ARB(ctx->Dispatch.Current, (location, x, y));
#  932|      return align(sizeof(struct marshal_cmd_Uniform2i64ARB), 8) / 8;
#  933|   }

Error: CLANG_WARNING: [#def702]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:961:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  959|      GLint64 y = cmd->y;
#  960|      GLint64 z = cmd->z;
#  961|->    CALL_Uniform3i64ARB(ctx->Dispatch.Current, (location, x, y, z));
#  962|      return align(sizeof(struct marshal_cmd_Uniform3i64ARB), 8) / 8;
#  963|   }

Error: CLANG_WARNING: [#def703]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:994:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  992|      GLint64 z = cmd->z;
#  993|      GLint64 w = cmd->w;
#  994|->    CALL_Uniform4i64ARB(ctx->Dispatch.Current, (location, x, y, z, w));
#  995|      return align(sizeof(struct marshal_cmd_Uniform4i64ARB), 8) / 8;
#  996|   }

Error: CLANG_WARNING: [#def704]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1027:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1025|      const char *variable_data = (const char *) (cmd + 1);
# 1026|      value = (GLint64 *) variable_data;
# 1027|->    CALL_Uniform1i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1028|      return cmd->num_slots;
# 1029|   }

Error: CLANG_WARNING: [#def705]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1038:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1036|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1037|         _mesa_glthread_finish_before(ctx, "Uniform1i64vARB");
# 1038|->       CALL_Uniform1i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1039|         return;
# 1040|      }

Error: CLANG_WARNING: [#def706]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1066:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1064|      const char *variable_data = (const char *) (cmd + 1);
# 1065|      value = (GLint64 *) variable_data;
# 1066|->    CALL_Uniform2i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1067|      return cmd->num_slots;
# 1068|   }

Error: CLANG_WARNING: [#def707]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1077:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1075|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1076|         _mesa_glthread_finish_before(ctx, "Uniform2i64vARB");
# 1077|->       CALL_Uniform2i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1078|         return;
# 1079|      }

Error: CLANG_WARNING: [#def708]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1105:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1103|      const char *variable_data = (const char *) (cmd + 1);
# 1104|      value = (GLint64 *) variable_data;
# 1105|->    CALL_Uniform3i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1106|      return cmd->num_slots;
# 1107|   }

Error: CLANG_WARNING: [#def709]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1116:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1114|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1115|         _mesa_glthread_finish_before(ctx, "Uniform3i64vARB");
# 1116|->       CALL_Uniform3i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1117|         return;
# 1118|      }

Error: CLANG_WARNING: [#def710]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1144:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1142|      const char *variable_data = (const char *) (cmd + 1);
# 1143|      value = (GLint64 *) variable_data;
# 1144|->    CALL_Uniform4i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1145|      return cmd->num_slots;
# 1146|   }

Error: CLANG_WARNING: [#def711]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1155:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1153|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1154|         _mesa_glthread_finish_before(ctx, "Uniform4i64vARB");
# 1155|->       CALL_Uniform4i64vARB(ctx->Dispatch.Current, (location, count, value));
# 1156|         return;
# 1157|      }

Error: CLANG_WARNING: [#def712]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1178:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1176|      GLint location = cmd->location;
# 1177|      GLuint64 x = cmd->x;
# 1178|->    CALL_Uniform1ui64ARB(ctx->Dispatch.Current, (location, x));
# 1179|      return align(sizeof(struct marshal_cmd_Uniform1ui64ARB), 8) / 8;
# 1180|   }

Error: CLANG_WARNING: [#def713]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1205:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1203|      GLuint64 x = cmd->x;
# 1204|      GLuint64 y = cmd->y;
# 1205|->    CALL_Uniform2ui64ARB(ctx->Dispatch.Current, (location, x, y));
# 1206|      return align(sizeof(struct marshal_cmd_Uniform2ui64ARB), 8) / 8;
# 1207|   }

Error: CLANG_WARNING: [#def714]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1235:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1233|      GLuint64 y = cmd->y;
# 1234|      GLuint64 z = cmd->z;
# 1235|->    CALL_Uniform3ui64ARB(ctx->Dispatch.Current, (location, x, y, z));
# 1236|      return align(sizeof(struct marshal_cmd_Uniform3ui64ARB), 8) / 8;
# 1237|   }

Error: CLANG_WARNING: [#def715]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1268:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1266|      GLuint64 z = cmd->z;
# 1267|      GLuint64 w = cmd->w;
# 1268|->    CALL_Uniform4ui64ARB(ctx->Dispatch.Current, (location, x, y, z, w));
# 1269|      return align(sizeof(struct marshal_cmd_Uniform4ui64ARB), 8) / 8;
# 1270|   }

Error: CLANG_WARNING: [#def716]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1301:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1299|      const char *variable_data = (const char *) (cmd + 1);
# 1300|      value = (GLuint64 *) variable_data;
# 1301|->    CALL_Uniform1ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1302|      return cmd->num_slots;
# 1303|   }

Error: CLANG_WARNING: [#def717]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1312:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1310|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1311|         _mesa_glthread_finish_before(ctx, "Uniform1ui64vARB");
# 1312|->       CALL_Uniform1ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1313|         return;
# 1314|      }

Error: CLANG_WARNING: [#def718]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1340:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1338|      const char *variable_data = (const char *) (cmd + 1);
# 1339|      value = (GLuint64 *) variable_data;
# 1340|->    CALL_Uniform2ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1341|      return cmd->num_slots;
# 1342|   }

Error: CLANG_WARNING: [#def719]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1351:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1349|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1350|         _mesa_glthread_finish_before(ctx, "Uniform2ui64vARB");
# 1351|->       CALL_Uniform2ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1352|         return;
# 1353|      }

Error: CLANG_WARNING: [#def720]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1379:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1377|      const char *variable_data = (const char *) (cmd + 1);
# 1378|      value = (GLuint64 *) variable_data;
# 1379|->    CALL_Uniform3ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1380|      return cmd->num_slots;
# 1381|   }

Error: CLANG_WARNING: [#def721]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1390:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1388|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1389|         _mesa_glthread_finish_before(ctx, "Uniform3ui64vARB");
# 1390|->       CALL_Uniform3ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1391|         return;
# 1392|      }

Error: CLANG_WARNING: [#def722]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1418:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1416|      const char *variable_data = (const char *) (cmd + 1);
# 1417|      value = (GLuint64 *) variable_data;
# 1418|->    CALL_Uniform4ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1419|      return cmd->num_slots;
# 1420|   }

Error: CLANG_WARNING: [#def723]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1429:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1427|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1428|         _mesa_glthread_finish_before(ctx, "Uniform4ui64vARB");
# 1429|->       CALL_Uniform4ui64vARB(ctx->Dispatch.Current, (location, count, value));
# 1430|         return;
# 1431|      }

Error: CLANG_WARNING: [#def724]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1447:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1445|      GET_CURRENT_CONTEXT(ctx);
# 1446|      _mesa_glthread_finish_before(ctx, "GetUniformi64vARB");
# 1447|->    CALL_GetUniformi64vARB(ctx->Dispatch.Current, (program, location, params));
# 1448|   }
# 1449|   

Error: CLANG_WARNING: [#def725]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1457:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1455|      GET_CURRENT_CONTEXT(ctx);
# 1456|      _mesa_glthread_finish_before(ctx, "GetUniformui64vARB");
# 1457|->    CALL_GetUniformui64vARB(ctx->Dispatch.Current, (program, location, params));
# 1458|   }
# 1459|   

Error: CLANG_WARNING: [#def726]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1467:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1465|      GET_CURRENT_CONTEXT(ctx);
# 1466|      _mesa_glthread_finish_before(ctx, "GetnUniformi64vARB");
# 1467|->    CALL_GetnUniformi64vARB(ctx->Dispatch.Current, (program, location, bufSize, params));
# 1468|   }
# 1469|   

Error: CLANG_WARNING: [#def727]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1477:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1475|      GET_CURRENT_CONTEXT(ctx);
# 1476|      _mesa_glthread_finish_before(ctx, "GetnUniformui64vARB");
# 1477|->    CALL_GetnUniformui64vARB(ctx->Dispatch.Current, (program, location, bufSize, params));
# 1478|   }
# 1479|   

Error: CLANG_WARNING: [#def728]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1494:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1492|      GLint location = cmd->location;
# 1493|      GLint64 x = cmd->x;
# 1494|->    CALL_ProgramUniform1i64ARB(ctx->Dispatch.Current, (program, location, x));
# 1495|      return align(sizeof(struct marshal_cmd_ProgramUniform1i64ARB), 8) / 8;
# 1496|   }

Error: CLANG_WARNING: [#def729]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1524:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1522|      GLint64 x = cmd->x;
# 1523|      GLint64 y = cmd->y;
# 1524|->    CALL_ProgramUniform2i64ARB(ctx->Dispatch.Current, (program, location, x, y));
# 1525|      return align(sizeof(struct marshal_cmd_ProgramUniform2i64ARB), 8) / 8;
# 1526|   }

Error: CLANG_WARNING: [#def730]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1557:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1555|      GLint64 y = cmd->y;
# 1556|      GLint64 z = cmd->z;
# 1557|->    CALL_ProgramUniform3i64ARB(ctx->Dispatch.Current, (program, location, x, y, z));
# 1558|      return align(sizeof(struct marshal_cmd_ProgramUniform3i64ARB), 8) / 8;
# 1559|   }

Error: CLANG_WARNING: [#def731]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1593:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1591|      GLint64 z = cmd->z;
# 1592|      GLint64 w = cmd->w;
# 1593|->    CALL_ProgramUniform4i64ARB(ctx->Dispatch.Current, (program, location, x, y, z, w));
# 1594|      return align(sizeof(struct marshal_cmd_ProgramUniform4i64ARB), 8) / 8;
# 1595|   }

Error: CLANG_WARNING: [#def732]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1629:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1627|      const char *variable_data = (const char *) (cmd + 1);
# 1628|      value = (GLint64 *) variable_data;
# 1629|->    CALL_ProgramUniform1i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1630|      return cmd->num_slots;
# 1631|   }

Error: CLANG_WARNING: [#def733]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1640:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1638|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1639|         _mesa_glthread_finish_before(ctx, "ProgramUniform1i64vARB");
# 1640|->       CALL_ProgramUniform1i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1641|         return;
# 1642|      }

Error: CLANG_WARNING: [#def734]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1671:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1669|      const char *variable_data = (const char *) (cmd + 1);
# 1670|      value = (GLint64 *) variable_data;
# 1671|->    CALL_ProgramUniform2i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1672|      return cmd->num_slots;
# 1673|   }

Error: CLANG_WARNING: [#def735]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1682:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1680|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1681|         _mesa_glthread_finish_before(ctx, "ProgramUniform2i64vARB");
# 1682|->       CALL_ProgramUniform2i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1683|         return;
# 1684|      }

Error: CLANG_WARNING: [#def736]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1713:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1711|      const char *variable_data = (const char *) (cmd + 1);
# 1712|      value = (GLint64 *) variable_data;
# 1713|->    CALL_ProgramUniform3i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1714|      return cmd->num_slots;
# 1715|   }

Error: CLANG_WARNING: [#def737]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1724:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1722|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1723|         _mesa_glthread_finish_before(ctx, "ProgramUniform3i64vARB");
# 1724|->       CALL_ProgramUniform3i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1725|         return;
# 1726|      }

Error: CLANG_WARNING: [#def738]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1755:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1753|      const char *variable_data = (const char *) (cmd + 1);
# 1754|      value = (GLint64 *) variable_data;
# 1755|->    CALL_ProgramUniform4i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1756|      return cmd->num_slots;
# 1757|   }

Error: CLANG_WARNING: [#def739]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1766:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1764|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1765|         _mesa_glthread_finish_before(ctx, "ProgramUniform4i64vARB");
# 1766|->       CALL_ProgramUniform4i64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1767|         return;
# 1768|      }

Error: CLANG_WARNING: [#def740]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1792:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1790|      GLint location = cmd->location;
# 1791|      GLuint64 x = cmd->x;
# 1792|->    CALL_ProgramUniform1ui64ARB(ctx->Dispatch.Current, (program, location, x));
# 1793|      return align(sizeof(struct marshal_cmd_ProgramUniform1ui64ARB), 8) / 8;
# 1794|   }

Error: CLANG_WARNING: [#def741]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1822:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1820|      GLuint64 x = cmd->x;
# 1821|      GLuint64 y = cmd->y;
# 1822|->    CALL_ProgramUniform2ui64ARB(ctx->Dispatch.Current, (program, location, x, y));
# 1823|      return align(sizeof(struct marshal_cmd_ProgramUniform2ui64ARB), 8) / 8;
# 1824|   }

Error: CLANG_WARNING: [#def742]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1855:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1853|      GLuint64 y = cmd->y;
# 1854|      GLuint64 z = cmd->z;
# 1855|->    CALL_ProgramUniform3ui64ARB(ctx->Dispatch.Current, (program, location, x, y, z));
# 1856|      return align(sizeof(struct marshal_cmd_ProgramUniform3ui64ARB), 8) / 8;
# 1857|   }

Error: CLANG_WARNING: [#def743]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1891:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1889|      GLuint64 z = cmd->z;
# 1890|      GLuint64 w = cmd->w;
# 1891|->    CALL_ProgramUniform4ui64ARB(ctx->Dispatch.Current, (program, location, x, y, z, w));
# 1892|      return align(sizeof(struct marshal_cmd_ProgramUniform4ui64ARB), 8) / 8;
# 1893|   }

Error: CLANG_WARNING: [#def744]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1927:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1925|      const char *variable_data = (const char *) (cmd + 1);
# 1926|      value = (GLuint64 *) variable_data;
# 1927|->    CALL_ProgramUniform1ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1928|      return cmd->num_slots;
# 1929|   }

Error: CLANG_WARNING: [#def745]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1938:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1936|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1937|         _mesa_glthread_finish_before(ctx, "ProgramUniform1ui64vARB");
# 1938|->       CALL_ProgramUniform1ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1939|         return;
# 1940|      }

Error: CLANG_WARNING: [#def746]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1969:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1967|      const char *variable_data = (const char *) (cmd + 1);
# 1968|      value = (GLuint64 *) variable_data;
# 1969|->    CALL_ProgramUniform2ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1970|      return cmd->num_slots;
# 1971|   }

Error: CLANG_WARNING: [#def747]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1980:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1978|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1979|         _mesa_glthread_finish_before(ctx, "ProgramUniform2ui64vARB");
# 1980|->       CALL_ProgramUniform2ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 1981|         return;
# 1982|      }

Error: CLANG_WARNING: [#def748]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2011:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2009|      const char *variable_data = (const char *) (cmd + 1);
# 2010|      value = (GLuint64 *) variable_data;
# 2011|->    CALL_ProgramUniform3ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 2012|      return cmd->num_slots;
# 2013|   }

Error: CLANG_WARNING: [#def749]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2022:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2020|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2021|         _mesa_glthread_finish_before(ctx, "ProgramUniform3ui64vARB");
# 2022|->       CALL_ProgramUniform3ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 2023|         return;
# 2024|      }

Error: CLANG_WARNING: [#def750]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2053:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2051|      const char *variable_data = (const char *) (cmd + 1);
# 2052|      value = (GLuint64 *) variable_data;
# 2053|->    CALL_ProgramUniform4ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 2054|      return cmd->num_slots;
# 2055|   }

Error: CLANG_WARNING: [#def751]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2064:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2062|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2063|         _mesa_glthread_finish_before(ctx, "ProgramUniform4ui64vARB");
# 2064|->       CALL_ProgramUniform4ui64vARB(ctx->Dispatch.Current, (program, location, count, value));
# 2065|         return;
# 2066|      }

Error: CLANG_WARNING: [#def752]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2086:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2084|   {
# 2085|      GLuint count = cmd->count;
# 2086|->    CALL_MaxShaderCompilerThreadsKHR(ctx->Dispatch.Current, (count));
# 2087|      return align(sizeof(struct marshal_cmd_MaxShaderCompilerThreadsKHR), 8) / 8;
# 2088|   }

Error: CLANG_WARNING: [#def753]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2123:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2121|      variable_data += numSpecializationConstants * 1 * sizeof(GLuint);
# 2122|      pConstantValue = (GLuint *) variable_data;
# 2123|->    CALL_SpecializeShaderARB(ctx->Dispatch.Current, (shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue));
# 2124|      return cmd->num_slots;
# 2125|   }

Error: CLANG_WARNING: [#def754]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2136:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2134|      if (unlikely(pEntryPoint_size < 0 || (pEntryPoint_size > 0 && !pEntryPoint) || pConstantIndex_size < 0 || (pConstantIndex_size > 0 && !pConstantIndex) || pConstantValue_size < 0 || (pConstantValue_size > 0 && !pConstantValue) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2135|         _mesa_glthread_finish_before(ctx, "SpecializeShaderARB");
# 2136|->       CALL_SpecializeShaderARB(ctx->Dispatch.Current, (shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue));
# 2137|         return;
# 2138|      }

Error: CLANG_WARNING: [#def755]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2178:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2176|      GLsizei count = cmd->count;
# 2177|      const GLvoid * pointer = cmd->pointer;
# 2178|->    CALL_ColorPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2179|      return align(sizeof(struct marshal_cmd_ColorPointerEXT), 8) / 8;
# 2180|   }

Error: CLANG_WARNING: [#def756]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2188:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2186|      GLsizei count = cmd->count;
# 2187|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 2188|->    CALL_ColorPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2189|      return align(sizeof(struct marshal_cmd_ColorPointerEXT_packed), 8) / 8;
# 2190|   }

Error: CLANG_WARNING: [#def757]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2235:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2233|      GLsizei count = cmd->count;
# 2234|      const GLboolean * pointer = cmd->pointer;
# 2235|->    CALL_EdgeFlagPointerEXT(ctx->Dispatch.Current, (stride, count, pointer));
# 2236|      return align(sizeof(struct marshal_cmd_EdgeFlagPointerEXT), 8) / 8;
# 2237|   }

Error: CLANG_WARNING: [#def758]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2243:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2241|      GLsizei count = cmd->count;
# 2242|      const GLboolean * pointer = (const GLboolean *)(uintptr_t)0;
# 2243|->    CALL_EdgeFlagPointerEXT(ctx->Dispatch.Current, (stride, count, pointer));
# 2244|      return align(sizeof(struct marshal_cmd_EdgeFlagPointerEXT_packed), 8) / 8;
# 2245|   }

Error: CLANG_WARNING: [#def759]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2289:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2287|      GLsizei count = cmd->count;
# 2288|      const GLvoid * pointer = cmd->pointer;
# 2289|->    CALL_IndexPointerEXT(ctx->Dispatch.Current, (type, stride, count, pointer));
# 2290|      return align(sizeof(struct marshal_cmd_IndexPointerEXT), 8) / 8;
# 2291|   }

Error: CLANG_WARNING: [#def760]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2298:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2296|      GLsizei count = cmd->count;
# 2297|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 2298|->    CALL_IndexPointerEXT(ctx->Dispatch.Current, (type, stride, count, pointer));
# 2299|      return align(sizeof(struct marshal_cmd_IndexPointerEXT_packed), 8) / 8;
# 2300|   }

Error: CLANG_WARNING: [#def761]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2347:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2345|      GLsizei count = cmd->count;
# 2346|      const GLvoid * pointer = cmd->pointer;
# 2347|->    CALL_NormalPointerEXT(ctx->Dispatch.Current, (type, stride, count, pointer));
# 2348|      return align(sizeof(struct marshal_cmd_NormalPointerEXT), 8) / 8;
# 2349|   }

Error: CLANG_WARNING: [#def762]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2356:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2354|      GLsizei count = cmd->count;
# 2355|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 2356|->    CALL_NormalPointerEXT(ctx->Dispatch.Current, (type, stride, count, pointer));
# 2357|      return align(sizeof(struct marshal_cmd_NormalPointerEXT_packed), 8) / 8;
# 2358|   }

Error: CLANG_WARNING: [#def763]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2408:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2406|      GLsizei count = cmd->count;
# 2407|      const GLvoid * pointer = cmd->pointer;
# 2408|->    CALL_TexCoordPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2409|      return align(sizeof(struct marshal_cmd_TexCoordPointerEXT), 8) / 8;
# 2410|   }

Error: CLANG_WARNING: [#def764]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2418:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2416|      GLsizei count = cmd->count;
# 2417|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 2418|->    CALL_TexCoordPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2419|      return align(sizeof(struct marshal_cmd_TexCoordPointerEXT_packed), 8) / 8;
# 2420|   }

Error: CLANG_WARNING: [#def765]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2472:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2470|      GLsizei count = cmd->count;
# 2471|      const GLvoid * pointer = cmd->pointer;
# 2472|->    CALL_VertexPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2473|      return align(sizeof(struct marshal_cmd_VertexPointerEXT), 8) / 8;
# 2474|   }

Error: CLANG_WARNING: [#def766]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2482:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2480|      GLsizei count = cmd->count;
# 2481|      const GLvoid * pointer = (const GLvoid *)(uintptr_t)cmd->pointer;
# 2482|->    CALL_VertexPointerEXT(ctx->Dispatch.Current, (size, type, stride, count, pointer));
# 2483|      return align(sizeof(struct marshal_cmd_VertexPointerEXT_packed), 8) / 8;
# 2484|   }

Error: CLANG_WARNING: [#def767]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2521:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2519|      GLint first = cmd->first;
# 2520|      GLsizei count = cmd->count;
# 2521|->    CALL_LockArraysEXT(ctx->Dispatch.Current, (first, count));
# 2522|      return align(sizeof(struct marshal_cmd_LockArraysEXT), 8) / 8;
# 2523|   }

Error: CLANG_WARNING: [#def768]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2542:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2540|   uint32_t _mesa_unmarshal_UnlockArraysEXT(struct gl_context *ctx, const struct marshal_cmd_UnlockArraysEXT *restrict cmd)
# 2541|   {
# 2542|->    CALL_UnlockArraysEXT(ctx->Dispatch.Current, ());
# 2543|      return align(sizeof(struct marshal_cmd_UnlockArraysEXT), 8) / 8;
# 2544|   }

Error: CLANG_WARNING: [#def769]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2570:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2568|      const char *variable_data = (const char *) (cmd + 1);
# 2569|      v = (GLfloat *) variable_data;
# 2570|->    CALL_ViewportArrayv(ctx->Dispatch.Current, (first, count, v));
# 2571|      return cmd->num_slots;
# 2572|   }

Error: CLANG_WARNING: [#def770]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2581:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2579|      if (unlikely(v_size < 0 || (v_size > 0 && !v) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2580|         _mesa_glthread_finish_before(ctx, "ViewportArrayv");
# 2581|->       CALL_ViewportArrayv(ctx->Dispatch.Current, (first, count, v));
# 2582|         return;
# 2583|      }

Error: CLANG_WARNING: [#def771]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2610:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2608|      GLfloat w = cmd->w;
# 2609|      GLfloat h = cmd->h;
# 2610|->    CALL_ViewportIndexedf(ctx->Dispatch.Current, (index, x, y, w, h));
# 2611|      return align(sizeof(struct marshal_cmd_ViewportIndexedf), 8) / 8;
# 2612|   }

Error: CLANG_WARNING: [#def772]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2638:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2636|      GLuint index = cmd->index;
# 2637|      const GLfloat *v = cmd->v;
# 2638|->    CALL_ViewportIndexedfv(ctx->Dispatch.Current, (index, v));
# 2639|      return align(sizeof(struct marshal_cmd_ViewportIndexedfv), 8) / 8;
# 2640|   }

Error: CLANG_WARNING: [#def773]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2668:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2666|      const char *variable_data = (const char *) (cmd + 1);
# 2667|      v = (int *) variable_data;
# 2668|->    CALL_ScissorArrayv(ctx->Dispatch.Current, (first, count, v));
# 2669|      return cmd->num_slots;
# 2670|   }

Error: CLANG_WARNING: [#def774]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2679:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2677|      if (unlikely(v_size < 0 || (v_size > 0 && !v) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2678|         _mesa_glthread_finish_before(ctx, "ScissorArrayv");
# 2679|->       CALL_ScissorArrayv(ctx->Dispatch.Current, (first, count, v));
# 2680|         return;
# 2681|      }

Error: CLANG_WARNING: [#def775]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2708:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2706|      GLsizei width = cmd->width;
# 2707|      GLsizei height = cmd->height;
# 2708|->    CALL_ScissorIndexed(ctx->Dispatch.Current, (index, left, bottom, width, height));
# 2709|      return align(sizeof(struct marshal_cmd_ScissorIndexed), 8) / 8;
# 2710|   }

Error: CLANG_WARNING: [#def776]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2736:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2734|      GLuint index = cmd->index;
# 2735|      const GLint *v = cmd->v;
# 2736|->    CALL_ScissorIndexedv(ctx->Dispatch.Current, (index, v));
# 2737|      return align(sizeof(struct marshal_cmd_ScissorIndexedv), 8) / 8;
# 2738|   }

Error: CLANG_WARNING: [#def777]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2766:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2764|      const char *variable_data = (const char *) (cmd + 1);
# 2765|      v = (GLclampd *) variable_data;
# 2766|->    CALL_DepthRangeArrayv(ctx->Dispatch.Current, (first, count, v));
# 2767|      return cmd->num_slots;
# 2768|   }

Error: CLANG_WARNING: [#def778]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2777:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2775|      if (unlikely(v_size < 0 || (v_size > 0 && !v) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2776|         _mesa_glthread_finish_before(ctx, "DepthRangeArrayv");
# 2777|->       CALL_DepthRangeArrayv(ctx->Dispatch.Current, (first, count, v));
# 2778|         return;
# 2779|      }

Error: CLANG_WARNING: [#def779]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2802:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2800|      GLclampd n = cmd->n;
# 2801|      GLclampd f = cmd->f;
# 2802|->    CALL_DepthRangeIndexed(ctx->Dispatch.Current, (index, n, f));
# 2803|      return align(sizeof(struct marshal_cmd_DepthRangeIndexed), 8) / 8;
# 2804|   }

Error: CLANG_WARNING: [#def780]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2823:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2821|      GET_CURRENT_CONTEXT(ctx);
# 2822|      _mesa_glthread_finish_before(ctx, "GetFloati_v");
# 2823|->    CALL_GetFloati_v(ctx->Dispatch.Current, (target, index, data));
# 2824|   }
# 2825|   

Error: CLANG_WARNING: [#def781]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2833:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2831|      GET_CURRENT_CONTEXT(ctx);
# 2832|      _mesa_glthread_finish_before(ctx, "GetDoublei_v");
# 2833|->    CALL_GetDoublei_v(ctx->Dispatch.Current, (target, index, data));
# 2834|   }
# 2835|   

Error: CLANG_WARNING: [#def782]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2855:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2853|      const char *variable_data = (const char *) (cmd + 1);
# 2854|      v = (GLfloat *) variable_data;
# 2855|->    CALL_FramebufferSampleLocationsfvARB(ctx->Dispatch.Current, (target, start, count, v));
# 2856|      return cmd->num_slots;
# 2857|   }

Error: CLANG_WARNING: [#def783]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2866:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2864|      if (unlikely(v_size < 0 || (v_size > 0 && !v) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2865|         _mesa_glthread_finish_before(ctx, "FramebufferSampleLocationsfvARB");
# 2866|->       CALL_FramebufferSampleLocationsfvARB(ctx->Dispatch.Current, (target, start, count, v));
# 2867|         return;
# 2868|      }

Error: CLANG_WARNING: [#def784]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2897:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2895|      const char *variable_data = (const char *) (cmd + 1);
# 2896|      v = (GLfloat *) variable_data;
# 2897|->    CALL_NamedFramebufferSampleLocationsfvARB(ctx->Dispatch.Current, (framebuffer, start, count, v));
# 2898|      return cmd->num_slots;
# 2899|   }

Error: CLANG_WARNING: [#def785]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2908:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2906|      if (unlikely(v_size < 0 || (v_size > 0 && !v) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2907|         _mesa_glthread_finish_before(ctx, "NamedFramebufferSampleLocationsfvARB");
# 2908|->       CALL_NamedFramebufferSampleLocationsfvARB(ctx->Dispatch.Current, (framebuffer, start, count, v));
# 2909|         return;
# 2910|      }

Error: CLANG_WARNING: [#def786]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2928:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2926|   uint32_t _mesa_unmarshal_EvaluateDepthValuesARB(struct gl_context *ctx, const struct marshal_cmd_EvaluateDepthValuesARB *restrict cmd)
# 2927|   {
# 2928|->    CALL_EvaluateDepthValuesARB(ctx->Dispatch.Current, ());
# 2929|      return align(sizeof(struct marshal_cmd_EvaluateDepthValuesARB), 8) / 8;
# 2930|   }

Error: CLANG_WARNING: [#def787]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2955:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2953|      GLdouble z = cmd->z;
# 2954|      GLdouble w = cmd->w;
# 2955|->    CALL_WindowPos4dMESA(ctx->Dispatch.Current, (x, y, z, w));
# 2956|      return align(sizeof(struct marshal_cmd_WindowPos4dMESA), 8) / 8;
# 2957|   }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def953]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ColorMaski’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7648:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4977:4: note: in expansion of macro ‘CALL_ColorMaski’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4977:4: note: in expansion of macro ‘CALL_ColorMaski’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4977:4: note: in expansion of macro ‘CALL_ColorMaski’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4977:4: note: in expansion of macro ‘CALL_ColorMaski’
# 7646|   
# 7647|   typedef void (GLAPIENTRYP _glptr_ColorMaski)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
# 7648|-> #define CALL_ColorMaski(disp, parameters) (* GET_ColorMaski(disp)) parameters
# 7649|   #define GET_ColorMaski(disp) ((_glptr_ColorMaski)(GET_by_offset((disp), _gloffset_ColorMaski)))
# 7650|   #define SET_ColorMaski(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def954]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Disablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7656:42: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5050:4: note: in expansion of macro ‘CALL_Disablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5050:4: note: in expansion of macro ‘CALL_Disablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5050:4: note: in expansion of macro ‘CALL_Disablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5050:4: note: in expansion of macro ‘CALL_Disablei’
# 7654|   
# 7655|   typedef void (GLAPIENTRYP _glptr_Disablei)(GLenum, GLuint);
# 7656|-> #define CALL_Disablei(disp, parameters) (* GET_Disablei(disp)) parameters
# 7657|   #define GET_Disablei(disp) ((_glptr_Disablei)(GET_by_offset((disp), _gloffset_Disablei)))
# 7658|   #define SET_Disablei(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def955]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_Enablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7664:41: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5025:4: note: in expansion of macro ‘CALL_Enablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5025:4: note: in expansion of macro ‘CALL_Enablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5025:4: note: in expansion of macro ‘CALL_Enablei’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5025:4: note: in expansion of macro ‘CALL_Enablei’
# 7662|   
# 7663|   typedef void (GLAPIENTRYP _glptr_Enablei)(GLenum, GLuint);
# 7664|-> #define CALL_Enablei(disp, parameters) (* GET_Enablei(disp)) parameters
# 7665|   #define GET_Enablei(disp) ((_glptr_Enablei)(GET_by_offset((disp), _gloffset_Enablei)))
# 7666|   #define SET_Enablei(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def957]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetBooleani_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7688:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5000:4: note: in expansion of macro ‘CALL_GetBooleani_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5000:4: note: in expansion of macro ‘CALL_GetBooleani_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5000:4: note: in expansion of macro ‘CALL_GetBooleani_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5000:4: note: in expansion of macro ‘CALL_GetBooleani_v’
# 7686|   
# 7687|   typedef void (GLAPIENTRYP _glptr_GetBooleani_v)(GLenum, GLuint, GLboolean *);
# 7688|-> #define CALL_GetBooleani_v(disp, parameters) (* GET_GetBooleani_v(disp)) parameters
# 7689|   #define GET_GetBooleani_v(disp) ((_glptr_GetBooleani_v)(GET_by_offset((disp), _gloffset_GetBooleani_v)))
# 7690|   #define SET_GetBooleani_v(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def959]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetIntegeri_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7704:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5010:4: note: in expansion of macro ‘CALL_GetIntegeri_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5010:4: note: in expansion of macro ‘CALL_GetIntegeri_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5010:4: note: in expansion of macro ‘CALL_GetIntegeri_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5010:4: note: in expansion of macro ‘CALL_GetIntegeri_v’
# 7702|   
# 7703|   typedef void (GLAPIENTRYP _glptr_GetIntegeri_v)(GLenum, GLuint, GLint *);
# 7704|-> #define CALL_GetIntegeri_v(disp, parameters) (* GET_GetIntegeri_v(disp)) parameters
# 7705|   #define GET_GetIntegeri_v(disp) ((_glptr_GetIntegeri_v)(GET_by_offset((disp), _gloffset_GetIntegeri_v)))
# 7706|   #define SET_GetIntegeri_v(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def961]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetTexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7720:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5716:4: note: in expansion of macro ‘CALL_GetTexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5716:4: note: in expansion of macro ‘CALL_GetTexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5716:4: note: in expansion of macro ‘CALL_GetTexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5716:4: note: in expansion of macro ‘CALL_GetTexParameterIiv’
# 7718|   
# 7719|   typedef void (GLAPIENTRYP _glptr_GetTexParameterIiv)(GLenum, GLenum, GLint *);
# 7720|-> #define CALL_GetTexParameterIiv(disp, parameters) (* GET_GetTexParameterIiv(disp)) parameters
# 7721|   #define GET_GetTexParameterIiv(disp) ((_glptr_GetTexParameterIiv)(GET_by_offset((disp), _gloffset_GetTexParameterIiv)))
# 7722|   #define SET_GetTexParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def962]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetTexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7728:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5726:4: note: in expansion of macro ‘CALL_GetTexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5726:4: note: in expansion of macro ‘CALL_GetTexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5726:4: note: in expansion of macro ‘CALL_GetTexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5726:4: note: in expansion of macro ‘CALL_GetTexParameterIuiv’
# 7726|   
# 7727|   typedef void (GLAPIENTRYP _glptr_GetTexParameterIuiv)(GLenum, GLenum, GLuint *);
# 7728|-> #define CALL_GetTexParameterIuiv(disp, parameters) (* GET_GetTexParameterIuiv(disp)) parameters
# 7729|   #define GET_GetTexParameterIuiv(disp) ((_glptr_GetTexParameterIuiv)(GET_by_offset((disp), _gloffset_GetTexParameterIuiv)))
# 7730|   #define SET_GetTexParameterIuiv(disp, func) do { \

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def967]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_IsEnabledi’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7768:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5070:11: note: in expansion of macro ‘CALL_IsEnabledi’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5070:11: note: in expansion of macro ‘CALL_IsEnabledi’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5070:11: note: in expansion of macro ‘CALL_IsEnabledi’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5070:11: note: in expansion of macro ‘CALL_IsEnabledi’
# 7766|   
# 7767|   typedef GLboolean (GLAPIENTRYP _glptr_IsEnabledi)(GLenum, GLuint);
# 7768|-> #define CALL_IsEnabledi(disp, parameters) (* GET_IsEnabledi(disp)) parameters
# 7769|   #define GET_IsEnabledi(disp) ((_glptr_IsEnabledi)(GET_by_offset((disp), _gloffset_IsEnabledi)))
# 7770|   #define SET_IsEnabledi(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def968]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7776:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5656:4: note: in expansion of macro ‘CALL_TexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5656:4: note: in expansion of macro ‘CALL_TexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5656:4: note: in expansion of macro ‘CALL_TexParameterIiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5656:4: note: in expansion of macro ‘CALL_TexParameterIiv’
# 7774|   
# 7775|   typedef void (GLAPIENTRYP _glptr_TexParameterIiv)(GLenum, GLenum, const GLint *);
# 7776|-> #define CALL_TexParameterIiv(disp, parameters) (* GET_TexParameterIiv(disp)) parameters
# 7777|   #define GET_TexParameterIiv(disp) ((_glptr_TexParameterIiv)(GET_by_offset((disp), _gloffset_TexParameterIiv)))
# 7778|   #define SET_TexParameterIiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def969]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7784:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5691:4: note: in expansion of macro ‘CALL_TexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5691:4: note: in expansion of macro ‘CALL_TexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5691:4: note: in expansion of macro ‘CALL_TexParameterIuiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5691:4: note: in expansion of macro ‘CALL_TexParameterIuiv’
# 7782|   
# 7783|   typedef void (GLAPIENTRYP _glptr_TexParameterIuiv)(GLenum, GLenum, const GLuint *);
# 7784|-> #define CALL_TexParameterIuiv(disp, parameters) (* GET_TexParameterIuiv(disp)) parameters
# 7785|   #define GET_TexParameterIuiv(disp) ((_glptr_TexParameterIuiv)(GET_by_offset((disp), _gloffset_TexParameterIuiv)))
# 7786|   #define SET_TexParameterIuiv(disp, func) do { \

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def979]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7864:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5977:4: note: in expansion of macro ‘CALL_VertexAttribI1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5977:4: note: in expansion of macro ‘CALL_VertexAttribI1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5977:4: note: in expansion of macro ‘CALL_VertexAttribI1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5977:4: note: in expansion of macro ‘CALL_VertexAttribI1iv’
# 7862|   
# 7863|   typedef void (GLAPIENTRYP _glptr_VertexAttribI1iv)(GLuint, const GLint *);
# 7864|-> #define CALL_VertexAttribI1iv(disp, parameters) (* GET_VertexAttribI1iv(disp)) parameters
# 7865|   #define GET_VertexAttribI1iv(disp) ((_glptr_VertexAttribI1iv)(GET_by_offset((disp), _gloffset_VertexAttribI1iv)))
# 7866|   #define SET_VertexAttribI1iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def980]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7872:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6077:4: note: in expansion of macro ‘CALL_VertexAttribI1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6077:4: note: in expansion of macro ‘CALL_VertexAttribI1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6077:4: note: in expansion of macro ‘CALL_VertexAttribI1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6077:4: note: in expansion of macro ‘CALL_VertexAttribI1uiv’
# 7870|   
# 7871|   typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiv)(GLuint, const GLuint *);
# 7872|-> #define CALL_VertexAttribI1uiv(disp, parameters) (* GET_VertexAttribI1uiv(disp)) parameters
# 7873|   #define GET_VertexAttribI1uiv(disp) ((_glptr_VertexAttribI1uiv)(GET_by_offset((disp), _gloffset_VertexAttribI1uiv)))
# 7874|   #define SET_VertexAttribI1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def981]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4bv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7880:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6177:4: note: in expansion of macro ‘CALL_VertexAttribI4bv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6177:4: note: in expansion of macro ‘CALL_VertexAttribI4bv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6177:4: note: in expansion of macro ‘CALL_VertexAttribI4bv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6177:4: note: in expansion of macro ‘CALL_VertexAttribI4bv’
# 7878|   
# 7879|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4bv)(GLuint, const GLbyte *);
# 7880|-> #define CALL_VertexAttribI4bv(disp, parameters) (* GET_VertexAttribI4bv(disp)) parameters
# 7881|   #define GET_VertexAttribI4bv(disp) ((_glptr_VertexAttribI4bv)(GET_by_offset((disp), _gloffset_VertexAttribI4bv)))
# 7882|   #define SET_VertexAttribI4bv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def982]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4sv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7888:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6202:4: note: in expansion of macro ‘CALL_VertexAttribI4sv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6202:4: note: in expansion of macro ‘CALL_VertexAttribI4sv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6202:4: note: in expansion of macro ‘CALL_VertexAttribI4sv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6202:4: note: in expansion of macro ‘CALL_VertexAttribI4sv’
# 7886|   
# 7887|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4sv)(GLuint, const GLshort *);
# 7888|-> #define CALL_VertexAttribI4sv(disp, parameters) (* GET_VertexAttribI4sv(disp)) parameters
# 7889|   #define GET_VertexAttribI4sv(disp) ((_glptr_VertexAttribI4sv)(GET_by_offset((disp), _gloffset_VertexAttribI4sv)))
# 7890|   #define SET_VertexAttribI4sv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4ubv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7896:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6227:4: note: in expansion of macro ‘CALL_VertexAttribI4ubv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6227:4: note: in expansion of macro ‘CALL_VertexAttribI4ubv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6227:4: note: in expansion of macro ‘CALL_VertexAttribI4ubv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6227:4: note: in expansion of macro ‘CALL_VertexAttribI4ubv’
# 7894|   
# 7895|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubv)(GLuint, const GLubyte *);
# 7896|-> #define CALL_VertexAttribI4ubv(disp, parameters) (* GET_VertexAttribI4ubv(disp)) parameters
# 7897|   #define GET_VertexAttribI4ubv(disp) ((_glptr_VertexAttribI4ubv)(GET_by_offset((disp), _gloffset_VertexAttribI4ubv)))
# 7898|   #define SET_VertexAttribI4ubv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def984]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4usv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:7904:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6252:4: note: in expansion of macro ‘CALL_VertexAttribI4usv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6252:4: note: in expansion of macro ‘CALL_VertexAttribI4usv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6252:4: note: in expansion of macro ‘CALL_VertexAttribI4usv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6252:4: note: in expansion of macro ‘CALL_VertexAttribI4usv’
# 7902|   
# 7903|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4usv)(GLuint, const GLushort *);
# 7904|-> #define CALL_VertexAttribI4usv(disp, parameters) (* GET_VertexAttribI4usv(disp)) parameters
# 7905|   #define GET_VertexAttribI4usv(disp) ((_glptr_VertexAttribI4usv)(GET_by_offset((disp), _gloffset_VertexAttribI4usv)))
# 7906|   #define SET_VertexAttribI4usv(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1067]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProvokingVertex’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:8656:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4947:4: note: in expansion of macro ‘CALL_ProvokingVertex’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4947:4: note: in expansion of macro ‘CALL_ProvokingVertex’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4947:4: note: in expansion of macro ‘CALL_ProvokingVertex’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4947:4: note: in expansion of macro ‘CALL_ProvokingVertex’
# 8654|   
# 8655|   typedef void (GLAPIENTRYP _glptr_ProvokingVertex)(GLenum);
# 8656|-> #define CALL_ProvokingVertex(disp, parameters) (* GET_ProvokingVertex(disp)) parameters
# 8657|   #define GET_ProvokingVertex(disp) ((_glptr_ProvokingVertex)(GET_by_offset((disp), _gloffset_ProvokingVertex)))
# 8658|   #define SET_ProvokingVertex(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1133]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetUniformdv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9200:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3125:4: note: in expansion of macro ‘CALL_GetUniformdv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3125:4: note: in expansion of macro ‘CALL_GetUniformdv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3125:4: note: in expansion of macro ‘CALL_GetUniformdv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3125:4: note: in expansion of macro ‘CALL_GetUniformdv’
# 9198|   
# 9199|   typedef void (GLAPIENTRYP _glptr_GetUniformdv)(GLuint, GLint, GLdouble *);
# 9200|-> #define CALL_GetUniformdv(disp, parameters) (* GET_GetUniformdv(disp)) parameters
# 9201|   #define GET_GetUniformdv(disp) ((_glptr_GetUniformdv)(GET_by_offset((disp), _gloffset_GetUniformdv)))
# 9202|   #define SET_GetUniformdv(disp, func) do { \

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1141]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_Uniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9264:44: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2718:4: note: in expansion of macro ‘CALL_Uniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2718:4: note: in expansion of macro ‘CALL_Uniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2718:4: note: in expansion of macro ‘CALL_Uniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2718:4: note: in expansion of macro ‘CALL_Uniform4dv’
# 9262|   
# 9263|   typedef void (GLAPIENTRYP _glptr_Uniform4dv)(GLint, GLsizei, const GLdouble *);
# 9264|-> #define CALL_Uniform4dv(disp, parameters) (* GET_Uniform4dv(disp)) parameters
# 9265|   #define GET_Uniform4dv(disp) ((_glptr_Uniform4dv)(GET_by_offset((disp), _gloffset_Uniform4dv)))
# 9266|   #define SET_Uniform4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1142]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9272:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2759:4: note: in expansion of macro ‘CALL_UniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2759:4: note: in expansion of macro ‘CALL_UniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2759:4: note: in expansion of macro ‘CALL_UniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2759:4: note: in expansion of macro ‘CALL_UniformMatrix2dv’
# 9270|   
# 9271|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9272|-> #define CALL_UniformMatrix2dv(disp, parameters) (* GET_UniformMatrix2dv(disp)) parameters
# 9273|   #define GET_UniformMatrix2dv(disp) ((_glptr_UniformMatrix2dv)(GET_by_offset((disp), _gloffset_UniformMatrix2dv)))
# 9274|   #define SET_UniformMatrix2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1143]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9280:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2885:4: note: in expansion of macro ‘CALL_UniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2885:4: note: in expansion of macro ‘CALL_UniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2885:4: note: in expansion of macro ‘CALL_UniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2885:4: note: in expansion of macro ‘CALL_UniformMatrix2x3dv’
# 9278|   
# 9279|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9280|-> #define CALL_UniformMatrix2x3dv(disp, parameters) (* GET_UniformMatrix2x3dv(disp)) parameters
# 9281|   #define GET_UniformMatrix2x3dv(disp) ((_glptr_UniformMatrix2x3dv)(GET_by_offset((disp), _gloffset_UniformMatrix2x3dv)))
# 9282|   #define SET_UniformMatrix2x3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1144]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9288:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2927:4: note: in expansion of macro ‘CALL_UniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2927:4: note: in expansion of macro ‘CALL_UniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2927:4: note: in expansion of macro ‘CALL_UniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2927:4: note: in expansion of macro ‘CALL_UniformMatrix2x4dv’
# 9286|   
# 9287|   typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9288|-> #define CALL_UniformMatrix2x4dv(disp, parameters) (* GET_UniformMatrix2x4dv(disp)) parameters
# 9289|   #define GET_UniformMatrix2x4dv(disp) ((_glptr_UniformMatrix2x4dv)(GET_by_offset((disp), _gloffset_UniformMatrix2x4dv)))
# 9290|   #define SET_UniformMatrix2x4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1145]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9296:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2801:4: note: in expansion of macro ‘CALL_UniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2801:4: note: in expansion of macro ‘CALL_UniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2801:4: note: in expansion of macro ‘CALL_UniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2801:4: note: in expansion of macro ‘CALL_UniformMatrix3dv’
# 9294|   
# 9295|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9296|-> #define CALL_UniformMatrix3dv(disp, parameters) (* GET_UniformMatrix3dv(disp)) parameters
# 9297|   #define GET_UniformMatrix3dv(disp) ((_glptr_UniformMatrix3dv)(GET_by_offset((disp), _gloffset_UniformMatrix3dv)))
# 9298|   #define SET_UniformMatrix3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1146]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9304:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2969:4: note: in expansion of macro ‘CALL_UniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2969:4: note: in expansion of macro ‘CALL_UniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2969:4: note: in expansion of macro ‘CALL_UniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2969:4: note: in expansion of macro ‘CALL_UniformMatrix3x2dv’
# 9302|   
# 9303|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9304|-> #define CALL_UniformMatrix3x2dv(disp, parameters) (* GET_UniformMatrix3x2dv(disp)) parameters
# 9305|   #define GET_UniformMatrix3x2dv(disp) ((_glptr_UniformMatrix3x2dv)(GET_by_offset((disp), _gloffset_UniformMatrix3x2dv)))
# 9306|   #define SET_UniformMatrix3x2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1147]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9312:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3011:4: note: in expansion of macro ‘CALL_UniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3011:4: note: in expansion of macro ‘CALL_UniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3011:4: note: in expansion of macro ‘CALL_UniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3011:4: note: in expansion of macro ‘CALL_UniformMatrix3x4dv’
# 9310|   
# 9311|   typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9312|-> #define CALL_UniformMatrix3x4dv(disp, parameters) (* GET_UniformMatrix3x4dv(disp)) parameters
# 9313|   #define GET_UniformMatrix3x4dv(disp) ((_glptr_UniformMatrix3x4dv)(GET_by_offset((disp), _gloffset_UniformMatrix3x4dv)))
# 9314|   #define SET_UniformMatrix3x4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1148]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9320:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2843:4: note: in expansion of macro ‘CALL_UniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2843:4: note: in expansion of macro ‘CALL_UniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2843:4: note: in expansion of macro ‘CALL_UniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2843:4: note: in expansion of macro ‘CALL_UniformMatrix4dv’
# 9318|   
# 9319|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9320|-> #define CALL_UniformMatrix4dv(disp, parameters) (* GET_UniformMatrix4dv(disp)) parameters
# 9321|   #define GET_UniformMatrix4dv(disp) ((_glptr_UniformMatrix4dv)(GET_by_offset((disp), _gloffset_UniformMatrix4dv)))
# 9322|   #define SET_UniformMatrix4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1149]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9328:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3053:4: note: in expansion of macro ‘CALL_UniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3053:4: note: in expansion of macro ‘CALL_UniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3053:4: note: in expansion of macro ‘CALL_UniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3053:4: note: in expansion of macro ‘CALL_UniformMatrix4x2dv’
# 9326|   
# 9327|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9328|-> #define CALL_UniformMatrix4x2dv(disp, parameters) (* GET_UniformMatrix4x2dv(disp)) parameters
# 9329|   #define GET_UniformMatrix4x2dv(disp) ((_glptr_UniformMatrix4x2dv)(GET_by_offset((disp), _gloffset_UniformMatrix4x2dv)))
# 9330|   #define SET_UniformMatrix4x2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1150]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9336:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3095:4: note: in expansion of macro ‘CALL_UniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3095:4: note: in expansion of macro ‘CALL_UniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3095:4: note: in expansion of macro ‘CALL_UniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3095:4: note: in expansion of macro ‘CALL_UniformMatrix4x3dv’
# 9334|   
# 9335|   typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3dv)(GLint, GLsizei, GLboolean, const GLdouble *);
# 9336|-> #define CALL_UniformMatrix4x3dv(disp, parameters) (* GET_UniformMatrix4x3dv(disp)) parameters
# 9337|   #define GET_UniformMatrix4x3dv(disp) ((_glptr_UniformMatrix4x3dv)(GET_by_offset((disp), _gloffset_UniformMatrix4x3dv)))
# 9338|   #define SET_UniformMatrix4x3dv(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1161]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BeginQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9480:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3873:4: note: in expansion of macro ‘CALL_BeginQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3873:4: note: in expansion of macro ‘CALL_BeginQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3873:4: note: in expansion of macro ‘CALL_BeginQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3873:4: note: in expansion of macro ‘CALL_BeginQueryIndexed’
# 9478|   
# 9479|   typedef void (GLAPIENTRYP _glptr_BeginQueryIndexed)(GLenum, GLuint, GLuint);
# 9480|-> #define CALL_BeginQueryIndexed(disp, parameters) (* GET_BeginQueryIndexed(disp)) parameters
# 9481|   #define GET_BeginQueryIndexed(disp) ((_glptr_BeginQueryIndexed)(GET_by_offset((disp), _gloffset_BeginQueryIndexed)))
# 9482|   #define SET_BeginQueryIndexed(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1162]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DrawTransformFeedbackStream’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9488:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3845:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStream’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3845:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStream’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3845:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStream’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3845:4: note: in expansion of macro ‘CALL_DrawTransformFeedbackStream’
# 9486|   
# 9487|   typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackStream)(GLenum, GLuint, GLuint);
# 9488|-> #define CALL_DrawTransformFeedbackStream(disp, parameters) (* GET_DrawTransformFeedbackStream(disp)) parameters
# 9489|   #define GET_DrawTransformFeedbackStream(disp) ((_glptr_DrawTransformFeedbackStream)(GET_by_offset((disp), _gloffset_DrawTransformFeedbackStream)))
# 9490|   #define SET_DrawTransformFeedbackStream(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1163]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_EndQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9496:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3899:4: note: in expansion of macro ‘CALL_EndQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3899:4: note: in expansion of macro ‘CALL_EndQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3899:4: note: in expansion of macro ‘CALL_EndQueryIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3899:4: note: in expansion of macro ‘CALL_EndQueryIndexed’
# 9494|   
# 9495|   typedef void (GLAPIENTRYP _glptr_EndQueryIndexed)(GLenum, GLuint);
# 9496|-> #define CALL_EndQueryIndexed(disp, parameters) (* GET_EndQueryIndexed(disp)) parameters
# 9497|   #define GET_EndQueryIndexed(disp) ((_glptr_EndQueryIndexed)(GET_by_offset((disp), _gloffset_EndQueryIndexed)))
# 9498|   #define SET_EndQueryIndexed(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1164]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetQueryIndexediv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9504:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3919:4: note: in expansion of macro ‘CALL_GetQueryIndexediv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3919:4: note: in expansion of macro ‘CALL_GetQueryIndexediv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3919:4: note: in expansion of macro ‘CALL_GetQueryIndexediv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3919:4: note: in expansion of macro ‘CALL_GetQueryIndexediv’
# 9502|   
# 9503|   typedef void (GLAPIENTRYP _glptr_GetQueryIndexediv)(GLenum, GLuint, GLenum, GLint *);
# 9504|-> #define CALL_GetQueryIndexediv(disp, parameters) (* GET_GetQueryIndexediv(disp)) parameters
# 9505|   #define GET_GetQueryIndexediv(disp) ((_glptr_GetQueryIndexediv)(GET_by_offset((disp), _gloffset_GetQueryIndexediv)))
# 9506|   #define SET_GetQueryIndexediv(disp, func) do { \

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1174]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9584:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5416:4: note: in expansion of macro ‘CALL_VertexAttribL1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5416:4: note: in expansion of macro ‘CALL_VertexAttribL1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5416:4: note: in expansion of macro ‘CALL_VertexAttribL1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5416:4: note: in expansion of macro ‘CALL_VertexAttribL1d’
# 9582|   
# 9583|   typedef void (GLAPIENTRYP _glptr_VertexAttribL1d)(GLuint, GLdouble);
# 9584|-> #define CALL_VertexAttribL1d(disp, parameters) (* GET_VertexAttribL1d(disp)) parameters
# 9585|   #define GET_VertexAttribL1d(disp) ((_glptr_VertexAttribL1d)(GET_by_offset((disp), _gloffset_VertexAttribL1d)))
# 9586|   #define SET_VertexAttribL1d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1175]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9592:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5534:4: note: in expansion of macro ‘CALL_VertexAttribL1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5534:4: note: in expansion of macro ‘CALL_VertexAttribL1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5534:4: note: in expansion of macro ‘CALL_VertexAttribL1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5534:4: note: in expansion of macro ‘CALL_VertexAttribL1dv’
# 9590|   
# 9591|   typedef void (GLAPIENTRYP _glptr_VertexAttribL1dv)(GLuint, const GLdouble *);
# 9592|-> #define CALL_VertexAttribL1dv(disp, parameters) (* GET_VertexAttribL1dv(disp)) parameters
# 9593|   #define GET_VertexAttribL1dv(disp) ((_glptr_VertexAttribL1dv)(GET_by_offset((disp), _gloffset_VertexAttribL1dv)))
# 9594|   #define SET_VertexAttribL1dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1176]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9600:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5443:4: note: in expansion of macro ‘CALL_VertexAttribL2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5443:4: note: in expansion of macro ‘CALL_VertexAttribL2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5443:4: note: in expansion of macro ‘CALL_VertexAttribL2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5443:4: note: in expansion of macro ‘CALL_VertexAttribL2d’
# 9598|   
# 9599|   typedef void (GLAPIENTRYP _glptr_VertexAttribL2d)(GLuint, GLdouble, GLdouble);
# 9600|-> #define CALL_VertexAttribL2d(disp, parameters) (* GET_VertexAttribL2d(disp)) parameters
# 9601|   #define GET_VertexAttribL2d(disp) ((_glptr_VertexAttribL2d)(GET_by_offset((disp), _gloffset_VertexAttribL2d)))
# 9602|   #define SET_VertexAttribL2d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1177]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9608:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5559:4: note: in expansion of macro ‘CALL_VertexAttribL2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5559:4: note: in expansion of macro ‘CALL_VertexAttribL2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5559:4: note: in expansion of macro ‘CALL_VertexAttribL2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5559:4: note: in expansion of macro ‘CALL_VertexAttribL2dv’
# 9606|   
# 9607|   typedef void (GLAPIENTRYP _glptr_VertexAttribL2dv)(GLuint, const GLdouble *);
# 9608|-> #define CALL_VertexAttribL2dv(disp, parameters) (* GET_VertexAttribL2dv(disp)) parameters
# 9609|   #define GET_VertexAttribL2dv(disp) ((_glptr_VertexAttribL2dv)(GET_by_offset((disp), _gloffset_VertexAttribL2dv)))
# 9610|   #define SET_VertexAttribL2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1178]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9616:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5473:4: note: in expansion of macro ‘CALL_VertexAttribL3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5473:4: note: in expansion of macro ‘CALL_VertexAttribL3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5473:4: note: in expansion of macro ‘CALL_VertexAttribL3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5473:4: note: in expansion of macro ‘CALL_VertexAttribL3d’
# 9614|   
# 9615|   typedef void (GLAPIENTRYP _glptr_VertexAttribL3d)(GLuint, GLdouble, GLdouble, GLdouble);
# 9616|-> #define CALL_VertexAttribL3d(disp, parameters) (* GET_VertexAttribL3d(disp)) parameters
# 9617|   #define GET_VertexAttribL3d(disp) ((_glptr_VertexAttribL3d)(GET_by_offset((disp), _gloffset_VertexAttribL3d)))
# 9618|   #define SET_VertexAttribL3d(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1180]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribL4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9632:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5506:4: note: in expansion of macro ‘CALL_VertexAttribL4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5506:4: note: in expansion of macro ‘CALL_VertexAttribL4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5506:4: note: in expansion of macro ‘CALL_VertexAttribL4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5506:4: note: in expansion of macro ‘CALL_VertexAttribL4d’
# 9630|   
# 9631|   typedef void (GLAPIENTRYP _glptr_VertexAttribL4d)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
# 9632|-> #define CALL_VertexAttribL4d(disp, parameters) (* GET_VertexAttribL4d(disp)) parameters
# 9633|   #define GET_VertexAttribL4d(disp) ((_glptr_VertexAttribL4d)(GET_by_offset((disp), _gloffset_VertexAttribL4d)))
# 9634|   #define SET_VertexAttribL4d(disp, func) do { \

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1183]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DepthRangeArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9656:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2766:4: note: in expansion of macro ‘CALL_DepthRangeArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2766:4: note: in expansion of macro ‘CALL_DepthRangeArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2766:4: note: in expansion of macro ‘CALL_DepthRangeArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2766:4: note: in expansion of macro ‘CALL_DepthRangeArrayv’
# 9654|   
# 9655|   typedef void (GLAPIENTRYP _glptr_DepthRangeArrayv)(GLuint, GLsizei, const GLclampd *);
# 9656|-> #define CALL_DepthRangeArrayv(disp, parameters) (* GET_DepthRangeArrayv(disp)) parameters
# 9657|   #define GET_DepthRangeArrayv(disp) ((_glptr_DepthRangeArrayv)(GET_by_offset((disp), _gloffset_DepthRangeArrayv)))
# 9658|   #define SET_DepthRangeArrayv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1184]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DepthRangeIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9664:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2802:4: note: in expansion of macro ‘CALL_DepthRangeIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2802:4: note: in expansion of macro ‘CALL_DepthRangeIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2802:4: note: in expansion of macro ‘CALL_DepthRangeIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2802:4: note: in expansion of macro ‘CALL_DepthRangeIndexed’
# 9662|   
# 9663|   typedef void (GLAPIENTRYP _glptr_DepthRangeIndexed)(GLuint, GLclampd, GLclampd);
# 9664|-> #define CALL_DepthRangeIndexed(disp, parameters) (* GET_DepthRangeIndexed(disp)) parameters
# 9665|   #define GET_DepthRangeIndexed(disp) ((_glptr_DepthRangeIndexed)(GET_by_offset((disp), _gloffset_DepthRangeIndexed)))
# 9666|   #define SET_DepthRangeIndexed(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1185]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetDoublei_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9672:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2833:4: note: in expansion of macro ‘CALL_GetDoublei_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2833:4: note: in expansion of macro ‘CALL_GetDoublei_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2833:4: note: in expansion of macro ‘CALL_GetDoublei_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2833:4: note: in expansion of macro ‘CALL_GetDoublei_v’
# 9670|   
# 9671|   typedef void (GLAPIENTRYP _glptr_GetDoublei_v)(GLenum, GLuint, GLdouble *);
# 9672|-> #define CALL_GetDoublei_v(disp, parameters) (* GET_GetDoublei_v(disp)) parameters
# 9673|   #define GET_GetDoublei_v(disp) ((_glptr_GetDoublei_v)(GET_by_offset((disp), _gloffset_GetDoublei_v)))
# 9674|   #define SET_GetDoublei_v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1186]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetFloati_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9680:45: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2823:4: note: in expansion of macro ‘CALL_GetFloati_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2823:4: note: in expansion of macro ‘CALL_GetFloati_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2823:4: note: in expansion of macro ‘CALL_GetFloati_v’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2823:4: note: in expansion of macro ‘CALL_GetFloati_v’
# 9678|   
# 9679|   typedef void (GLAPIENTRYP _glptr_GetFloati_v)(GLenum, GLuint, GLfloat *);
# 9680|-> #define CALL_GetFloati_v(disp, parameters) (* GET_GetFloati_v(disp)) parameters
# 9681|   #define GET_GetFloati_v(disp) ((_glptr_GetFloati_v)(GET_by_offset((disp), _gloffset_GetFloati_v)))
# 9682|   #define SET_GetFloati_v(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1187]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ScissorArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9688:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2668:4: note: in expansion of macro ‘CALL_ScissorArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2668:4: note: in expansion of macro ‘CALL_ScissorArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2668:4: note: in expansion of macro ‘CALL_ScissorArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2668:4: note: in expansion of macro ‘CALL_ScissorArrayv’
# 9686|   
# 9687|   typedef void (GLAPIENTRYP _glptr_ScissorArrayv)(GLuint, GLsizei, const int *);
# 9688|-> #define CALL_ScissorArrayv(disp, parameters) (* GET_ScissorArrayv(disp)) parameters
# 9689|   #define GET_ScissorArrayv(disp) ((_glptr_ScissorArrayv)(GET_by_offset((disp), _gloffset_ScissorArrayv)))
# 9690|   #define SET_ScissorArrayv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1188]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ScissorIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9696:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2708:4: note: in expansion of macro ‘CALL_ScissorIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2708:4: note: in expansion of macro ‘CALL_ScissorIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2708:4: note: in expansion of macro ‘CALL_ScissorIndexed’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2708:4: note: in expansion of macro ‘CALL_ScissorIndexed’
# 9694|   
# 9695|   typedef void (GLAPIENTRYP _glptr_ScissorIndexed)(GLuint, GLint, GLint, GLsizei, GLsizei);
# 9696|-> #define CALL_ScissorIndexed(disp, parameters) (* GET_ScissorIndexed(disp)) parameters
# 9697|   #define GET_ScissorIndexed(disp) ((_glptr_ScissorIndexed)(GET_by_offset((disp), _gloffset_ScissorIndexed)))
# 9698|   #define SET_ScissorIndexed(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1189]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ScissorIndexedv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9704:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2736:4: note: in expansion of macro ‘CALL_ScissorIndexedv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2736:4: note: in expansion of macro ‘CALL_ScissorIndexedv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2736:4: note: in expansion of macro ‘CALL_ScissorIndexedv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2736:4: note: in expansion of macro ‘CALL_ScissorIndexedv’
# 9702|   
# 9703|   typedef void (GLAPIENTRYP _glptr_ScissorIndexedv)(GLuint, const GLint *);
# 9704|-> #define CALL_ScissorIndexedv(disp, parameters) (* GET_ScissorIndexedv(disp)) parameters
# 9705|   #define GET_ScissorIndexedv(disp) ((_glptr_ScissorIndexedv)(GET_by_offset((disp), _gloffset_ScissorIndexedv)))
# 9706|   #define SET_ScissorIndexedv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1190]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ViewportArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9712:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2570:4: note: in expansion of macro ‘CALL_ViewportArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2570:4: note: in expansion of macro ‘CALL_ViewportArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2570:4: note: in expansion of macro ‘CALL_ViewportArrayv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2570:4: note: in expansion of macro ‘CALL_ViewportArrayv’
# 9710|   
# 9711|   typedef void (GLAPIENTRYP _glptr_ViewportArrayv)(GLuint, GLsizei, const GLfloat *);
# 9712|-> #define CALL_ViewportArrayv(disp, parameters) (* GET_ViewportArrayv(disp)) parameters
# 9713|   #define GET_ViewportArrayv(disp) ((_glptr_ViewportArrayv)(GET_by_offset((disp), _gloffset_ViewportArrayv)))
# 9714|   #define SET_ViewportArrayv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1191]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ViewportIndexedf’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9720:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2610:4: note: in expansion of macro ‘CALL_ViewportIndexedf’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2610:4: note: in expansion of macro ‘CALL_ViewportIndexedf’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2610:4: note: in expansion of macro ‘CALL_ViewportIndexedf’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2610:4: note: in expansion of macro ‘CALL_ViewportIndexedf’
# 9718|   
# 9719|   typedef void (GLAPIENTRYP _glptr_ViewportIndexedf)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
# 9720|-> #define CALL_ViewportIndexedf(disp, parameters) (* GET_ViewportIndexedf(disp)) parameters
# 9721|   #define GET_ViewportIndexedf(disp) ((_glptr_ViewportIndexedf)(GET_by_offset((disp), _gloffset_ViewportIndexedf)))
# 9722|   #define SET_ViewportIndexedf(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1192]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ViewportIndexedfv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9728:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2638:4: note: in expansion of macro ‘CALL_ViewportIndexedfv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2638:4: note: in expansion of macro ‘CALL_ViewportIndexedfv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2638:4: note: in expansion of macro ‘CALL_ViewportIndexedfv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2638:4: note: in expansion of macro ‘CALL_ViewportIndexedfv’
# 9726|   
# 9727|   typedef void (GLAPIENTRYP _glptr_ViewportIndexedfv)(GLuint, const GLfloat *);
# 9728|-> #define CALL_ViewportIndexedfv(disp, parameters) (* GET_ViewportIndexedfv(disp)) parameters
# 9729|   #define GET_ViewportIndexedfv(disp) ((_glptr_ViewportIndexedfv)(GET_by_offset((disp), _gloffset_ViewportIndexedfv)))
# 9730|   #define SET_ViewportIndexedfv(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1217]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:9992:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5174:4: note: in expansion of macro ‘CALL_TextureStorage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5174:4: note: in expansion of macro ‘CALL_TextureStorage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5174:4: note: in expansion of macro ‘CALL_TextureStorage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5174:4: note: in expansion of macro ‘CALL_TextureStorage1DEXT’
# 9990|   
# 9991|   typedef void (GLAPIENTRYP _glptr_TextureStorage1DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei);
# 9992|-> #define CALL_TextureStorage1DEXT(disp, parameters) (* GET_TextureStorage1DEXT(disp)) parameters
# 9993|   #define GET_TextureStorage1DEXT(disp) ((_glptr_TextureStorage1DEXT)(GET_by_offset((disp), _gloffset_TextureStorage1DEXT)))
# 9994|   #define SET_TextureStorage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1218]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:10000:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5210:4: note: in expansion of macro ‘CALL_TextureStorage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5210:4: note: in expansion of macro ‘CALL_TextureStorage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5210:4: note: in expansion of macro ‘CALL_TextureStorage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5210:4: note: in expansion of macro ‘CALL_TextureStorage2DEXT’
# 9998|   
# 9999|   typedef void (GLAPIENTRYP _glptr_TextureStorage2DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei);
#10000|-> #define CALL_TextureStorage2DEXT(disp, parameters) (* GET_TextureStorage2DEXT(disp)) parameters
#10001|   #define GET_TextureStorage2DEXT(disp) ((_glptr_TextureStorage2DEXT)(GET_by_offset((disp), _gloffset_TextureStorage2DEXT)))
#10002|   #define SET_TextureStorage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1219]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureStorage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:10008:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5249:4: note: in expansion of macro ‘CALL_TextureStorage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5249:4: note: in expansion of macro ‘CALL_TextureStorage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5249:4: note: in expansion of macro ‘CALL_TextureStorage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5249:4: note: in expansion of macro ‘CALL_TextureStorage3DEXT’
#10006|   
#10007|   typedef void (GLAPIENTRYP _glptr_TextureStorage3DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
#10008|-> #define CALL_TextureStorage3DEXT(disp, parameters) (* GET_TextureStorage3DEXT(disp)) parameters
#10009|   #define GET_TextureStorage3DEXT(disp) ((_glptr_TextureStorage3DEXT)(GET_by_offset((disp), _gloffset_TextureStorage3DEXT)))
#10010|   #define SET_TextureStorage3DEXT(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1378]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11328:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1927:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1927:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1927:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1927:4: note: in expansion of macro ‘CALL_ProgramUniform1ui64vARB’
#11326|   
#11327|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1ui64vARB)(GLuint, GLint, GLsizei, const GLuint64 *);
#11328|-> #define CALL_ProgramUniform1ui64vARB(disp, parameters) (* GET_ProgramUniform1ui64vARB(disp)) parameters
#11329|   #define GET_ProgramUniform1ui64vARB(disp) ((_glptr_ProgramUniform1ui64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform1ui64vARB)))
#11330|   #define SET_ProgramUniform1ui64vARB(disp, func) do { \

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1382]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11360:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1969:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1969:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1969:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:1969:4: note: in expansion of macro ‘CALL_ProgramUniform2ui64vARB’
#11358|   
#11359|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2ui64vARB)(GLuint, GLint, GLsizei, const GLuint64 *);
#11360|-> #define CALL_ProgramUniform2ui64vARB(disp, parameters) (* GET_ProgramUniform2ui64vARB(disp)) parameters
#11361|   #define GET_ProgramUniform2ui64vARB(disp) ((_glptr_ProgramUniform2ui64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform2ui64vARB)))
#11362|   #define SET_ProgramUniform2ui64vARB(disp, func) do { \

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1386]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11392:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2011:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2011:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2011:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2011:4: note: in expansion of macro ‘CALL_ProgramUniform3ui64vARB’
#11390|   
#11391|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3ui64vARB)(GLuint, GLint, GLsizei, const GLuint64 *);
#11392|-> #define CALL_ProgramUniform3ui64vARB(disp, parameters) (* GET_ProgramUniform3ui64vARB(disp)) parameters
#11393|   #define GET_ProgramUniform3ui64vARB(disp) ((_glptr_ProgramUniform3ui64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform3ui64vARB)))
#11394|   #define SET_ProgramUniform3ui64vARB(disp, func) do { \

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1390]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11424:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2053:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2053:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2053:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64vARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2053:4: note: in expansion of macro ‘CALL_ProgramUniform4ui64vARB’
#11422|   
#11423|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4ui64vARB)(GLuint, GLint, GLsizei, const GLuint64 *);
#11424|-> #define CALL_ProgramUniform4ui64vARB(disp, parameters) (* GET_ProgramUniform4ui64vARB(disp)) parameters
#11425|   #define GET_ProgramUniform4ui64vARB(disp) ((_glptr_ProgramUniform4ui64vARB)(GET_by_offset((disp), _gloffset_ProgramUniform4ui64vARB)))
#11426|   #define SET_ProgramUniform4ui64vARB(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1407]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_EvaluateDepthValuesARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11560:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2928:4: note: in expansion of macro ‘CALL_EvaluateDepthValuesARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2928:4: note: in expansion of macro ‘CALL_EvaluateDepthValuesARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2928:4: note: in expansion of macro ‘CALL_EvaluateDepthValuesARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2928:4: note: in expansion of macro ‘CALL_EvaluateDepthValuesARB’
#11558|   
#11559|   typedef void (GLAPIENTRYP _glptr_EvaluateDepthValuesARB)(void);
#11560|-> #define CALL_EvaluateDepthValuesARB(disp, parameters) (* GET_EvaluateDepthValuesARB(disp)) parameters
#11561|   #define GET_EvaluateDepthValuesARB(disp) ((_glptr_EvaluateDepthValuesARB)(GET_by_offset((disp), _gloffset_EvaluateDepthValuesARB)))
#11562|   #define SET_EvaluateDepthValuesARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1408]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11568:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2855:4: note: in expansion of macro ‘CALL_FramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2855:4: note: in expansion of macro ‘CALL_FramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2855:4: note: in expansion of macro ‘CALL_FramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2855:4: note: in expansion of macro ‘CALL_FramebufferSampleLocationsfvARB’
#11566|   
#11567|   typedef void (GLAPIENTRYP _glptr_FramebufferSampleLocationsfvARB)(GLenum, GLuint, GLsizei, const GLfloat *);
#11568|-> #define CALL_FramebufferSampleLocationsfvARB(disp, parameters) (* GET_FramebufferSampleLocationsfvARB(disp)) parameters
#11569|   #define GET_FramebufferSampleLocationsfvARB(disp) ((_glptr_FramebufferSampleLocationsfvARB)(GET_by_offset((disp), _gloffset_FramebufferSampleLocationsfvARB)))
#11570|   #define SET_FramebufferSampleLocationsfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1409]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11576:70: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2897:4: note: in expansion of macro ‘CALL_NamedFramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2897:4: note: in expansion of macro ‘CALL_NamedFramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2897:4: note: in expansion of macro ‘CALL_NamedFramebufferSampleLocationsfvARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2897:4: note: in expansion of macro ‘CALL_NamedFramebufferSampleLocationsfvARB’
#11574|   
#11575|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferSampleLocationsfvARB)(GLuint, GLuint, GLsizei, const GLfloat *);
#11576|-> #define CALL_NamedFramebufferSampleLocationsfvARB(disp, parameters) (* GET_NamedFramebufferSampleLocationsfvARB(disp)) parameters
#11577|   #define GET_NamedFramebufferSampleLocationsfvARB(disp) ((_glptr_NamedFramebufferSampleLocationsfvARB)(GET_by_offset((disp), _gloffset_NamedFramebufferSampleLocationsfvARB)))
#11578|   #define SET_NamedFramebufferSampleLocationsfvARB(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1410]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_SpecializeShaderARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11584:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2123:4: note: in expansion of macro ‘CALL_SpecializeShaderARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2123:4: note: in expansion of macro ‘CALL_SpecializeShaderARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2123:4: note: in expansion of macro ‘CALL_SpecializeShaderARB’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2123:4: note: in expansion of macro ‘CALL_SpecializeShaderARB’
#11582|   
#11583|   typedef void (GLAPIENTRYP _glptr_SpecializeShaderARB)(GLuint, const GLchar *, GLuint, const GLuint *, const GLuint *);
#11584|-> #define CALL_SpecializeShaderARB(disp, parameters) (* GET_SpecializeShaderARB(disp)) parameters
#11585|   #define GET_SpecializeShaderARB(disp) ((_glptr_SpecializeShaderARB)(GET_by_offset((disp), _gloffset_SpecializeShaderARB)))
#11586|   #define SET_SpecializeShaderARB(disp, func) do { \

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1417]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ColorPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11736:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2178:4: note: in expansion of macro ‘CALL_ColorPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2178:4: note: in expansion of macro ‘CALL_ColorPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2178:4: note: in expansion of macro ‘CALL_ColorPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2178:4: note: in expansion of macro ‘CALL_ColorPointerEXT’
#11734|   
#11735|   typedef void (GLAPIENTRYP _glptr_ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
#11736|-> #define CALL_ColorPointerEXT(disp, parameters) (* GET_ColorPointerEXT(disp)) parameters
#11737|   #define GET_ColorPointerEXT(disp) ((_glptr_ColorPointerEXT)(GET_by_offset((disp), _gloffset_ColorPointerEXT)))
#11738|   #define SET_ColorPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1418]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_EdgeFlagPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11744:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2235:4: note: in expansion of macro ‘CALL_EdgeFlagPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2235:4: note: in expansion of macro ‘CALL_EdgeFlagPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2235:4: note: in expansion of macro ‘CALL_EdgeFlagPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2235:4: note: in expansion of macro ‘CALL_EdgeFlagPointerEXT’
#11742|   
#11743|   typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *);
#11744|-> #define CALL_EdgeFlagPointerEXT(disp, parameters) (* GET_EdgeFlagPointerEXT(disp)) parameters
#11745|   #define GET_EdgeFlagPointerEXT(disp) ((_glptr_EdgeFlagPointerEXT)(GET_by_offset((disp), _gloffset_EdgeFlagPointerEXT)))
#11746|   #define SET_EdgeFlagPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1419]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_IndexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11752:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2289:4: note: in expansion of macro ‘CALL_IndexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2289:4: note: in expansion of macro ‘CALL_IndexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2289:4: note: in expansion of macro ‘CALL_IndexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2289:4: note: in expansion of macro ‘CALL_IndexPointerEXT’
#11750|   
#11751|   typedef void (GLAPIENTRYP _glptr_IndexPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
#11752|-> #define CALL_IndexPointerEXT(disp, parameters) (* GET_IndexPointerEXT(disp)) parameters
#11753|   #define GET_IndexPointerEXT(disp) ((_glptr_IndexPointerEXT)(GET_by_offset((disp), _gloffset_IndexPointerEXT)))
#11754|   #define SET_IndexPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1420]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_NormalPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11760:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2347:4: note: in expansion of macro ‘CALL_NormalPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2347:4: note: in expansion of macro ‘CALL_NormalPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2347:4: note: in expansion of macro ‘CALL_NormalPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2347:4: note: in expansion of macro ‘CALL_NormalPointerEXT’
#11758|   
#11759|   typedef void (GLAPIENTRYP _glptr_NormalPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
#11760|-> #define CALL_NormalPointerEXT(disp, parameters) (* GET_NormalPointerEXT(disp)) parameters
#11761|   #define GET_NormalPointerEXT(disp) ((_glptr_NormalPointerEXT)(GET_by_offset((disp), _gloffset_NormalPointerEXT)))
#11762|   #define SET_NormalPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1421]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_TexCoordPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11768:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2408:4: note: in expansion of macro ‘CALL_TexCoordPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2408:4: note: in expansion of macro ‘CALL_TexCoordPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2408:4: note: in expansion of macro ‘CALL_TexCoordPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2408:4: note: in expansion of macro ‘CALL_TexCoordPointerEXT’
#11766|   
#11767|   typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
#11768|-> #define CALL_TexCoordPointerEXT(disp, parameters) (* GET_TexCoordPointerEXT(disp)) parameters
#11769|   #define GET_TexCoordPointerEXT(disp) ((_glptr_TexCoordPointerEXT)(GET_by_offset((disp), _gloffset_TexCoordPointerEXT)))
#11770|   #define SET_TexCoordPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1422]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11776:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2472:4: note: in expansion of macro ‘CALL_VertexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2472:4: note: in expansion of macro ‘CALL_VertexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2472:4: note: in expansion of macro ‘CALL_VertexPointerEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2472:4: note: in expansion of macro ‘CALL_VertexPointerEXT’
#11774|   
#11775|   typedef void (GLAPIENTRYP _glptr_VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
#11776|-> #define CALL_VertexPointerEXT(disp, parameters) (* GET_VertexPointerEXT(disp)) parameters
#11777|   #define GET_VertexPointerEXT(disp) ((_glptr_VertexPointerEXT)(GET_by_offset((disp), _gloffset_VertexPointerEXT)))
#11778|   #define SET_VertexPointerEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1423]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ActiveShaderProgram’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11792:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3962:4: note: in expansion of macro ‘CALL_ActiveShaderProgram’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3962:4: note: in expansion of macro ‘CALL_ActiveShaderProgram’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3962:4: note: in expansion of macro ‘CALL_ActiveShaderProgram’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3962:4: note: in expansion of macro ‘CALL_ActiveShaderProgram’
#11790|   
#11791|   typedef void (GLAPIENTRYP _glptr_ActiveShaderProgram)(GLuint, GLuint);
#11792|-> #define CALL_ActiveShaderProgram(disp, parameters) (* GET_ActiveShaderProgram(disp)) parameters
#11793|   #define GET_ActiveShaderProgram(disp) ((_glptr_ActiveShaderProgram)(GET_by_offset((disp), _gloffset_ActiveShaderProgram)))
#11794|   #define SET_ActiveShaderProgram(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1424]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_BindProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11800:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3995:4: note: in expansion of macro ‘CALL_BindProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3995:4: note: in expansion of macro ‘CALL_BindProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3995:4: note: in expansion of macro ‘CALL_BindProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3995:4: note: in expansion of macro ‘CALL_BindProgramPipeline’
#11798|   
#11799|   typedef void (GLAPIENTRYP _glptr_BindProgramPipeline)(GLuint);
#11800|-> #define CALL_BindProgramPipeline(disp, parameters) (* GET_BindProgramPipeline(disp)) parameters
#11801|   #define GET_BindProgramPipeline(disp) ((_glptr_BindProgramPipeline)(GET_by_offset((disp), _gloffset_BindProgramPipeline)))
#11802|   #define SET_BindProgramPipeline(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1425]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_CreateShaderProgramv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11808:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3982:11: note: in expansion of macro ‘CALL_CreateShaderProgramv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3982:11: note: in expansion of macro ‘CALL_CreateShaderProgramv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3982:11: note: in expansion of macro ‘CALL_CreateShaderProgramv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3982:11: note: in expansion of macro ‘CALL_CreateShaderProgramv’
#11806|   
#11807|   typedef GLuint (GLAPIENTRYP _glptr_CreateShaderProgramv)(GLenum, GLsizei, const GLchar * const *);
#11808|-> #define CALL_CreateShaderProgramv(disp, parameters) (* GET_CreateShaderProgramv(disp)) parameters
#11809|   #define GET_CreateShaderProgramv(disp) ((_glptr_CreateShaderProgramv)(GET_by_offset((disp), _gloffset_CreateShaderProgramv)))
#11810|   #define SET_CreateShaderProgramv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1426]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_DeleteProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11816:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4022:4: note: in expansion of macro ‘CALL_DeleteProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4022:4: note: in expansion of macro ‘CALL_DeleteProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4022:4: note: in expansion of macro ‘CALL_DeleteProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4022:4: note: in expansion of macro ‘CALL_DeleteProgramPipelines’
#11814|   
#11815|   typedef void (GLAPIENTRYP _glptr_DeleteProgramPipelines)(GLsizei, const GLuint *);
#11816|-> #define CALL_DeleteProgramPipelines(disp, parameters) (* GET_DeleteProgramPipelines(disp)) parameters
#11817|   #define GET_DeleteProgramPipelines(disp) ((_glptr_DeleteProgramPipelines)(GET_by_offset((disp), _gloffset_DeleteProgramPipelines)))
#11818|   #define SET_DeleteProgramPipelines(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1427]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GenProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11824:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4050:4: note: in expansion of macro ‘CALL_GenProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4050:4: note: in expansion of macro ‘CALL_GenProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4050:4: note: in expansion of macro ‘CALL_GenProgramPipelines’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4050:4: note: in expansion of macro ‘CALL_GenProgramPipelines’
#11822|   
#11823|   typedef void (GLAPIENTRYP _glptr_GenProgramPipelines)(GLsizei, GLuint *);
#11824|-> #define CALL_GenProgramPipelines(disp, parameters) (* GET_GenProgramPipelines(disp)) parameters
#11825|   #define GET_GenProgramPipelines(disp) ((_glptr_GenProgramPipelines)(GET_by_offset((disp), _gloffset_GenProgramPipelines)))
#11826|   #define SET_GenProgramPipelines(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1428]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetProgramPipelineInfoLog’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11832:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5401:4: note: in expansion of macro ‘CALL_GetProgramPipelineInfoLog’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5401:4: note: in expansion of macro ‘CALL_GetProgramPipelineInfoLog’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5401:4: note: in expansion of macro ‘CALL_GetProgramPipelineInfoLog’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5401:4: note: in expansion of macro ‘CALL_GetProgramPipelineInfoLog’
#11830|   
#11831|   typedef void (GLAPIENTRYP _glptr_GetProgramPipelineInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
#11832|-> #define CALL_GetProgramPipelineInfoLog(disp, parameters) (* GET_GetProgramPipelineInfoLog(disp)) parameters
#11833|   #define GET_GetProgramPipelineInfoLog(disp) ((_glptr_GetProgramPipelineInfoLog)(GET_by_offset((disp), _gloffset_GetProgramPipelineInfoLog)))
#11834|   #define SET_GetProgramPipelineInfoLog(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1429]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_GetProgramPipelineiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11840:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4070:4: note: in expansion of macro ‘CALL_GetProgramPipelineiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4070:4: note: in expansion of macro ‘CALL_GetProgramPipelineiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4070:4: note: in expansion of macro ‘CALL_GetProgramPipelineiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4070:4: note: in expansion of macro ‘CALL_GetProgramPipelineiv’
#11838|   
#11839|   typedef void (GLAPIENTRYP _glptr_GetProgramPipelineiv)(GLuint, GLenum, GLint *);
#11840|-> #define CALL_GetProgramPipelineiv(disp, parameters) (* GET_GetProgramPipelineiv(disp)) parameters
#11841|   #define GET_GetProgramPipelineiv(disp) ((_glptr_GetProgramPipelineiv)(GET_by_offset((disp), _gloffset_GetProgramPipelineiv)))
#11842|   #define SET_GetProgramPipelineiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1430]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_marshal_IsProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11848:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4060:11: note: in expansion of macro ‘CALL_IsProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4060:11: note: in expansion of macro ‘CALL_IsProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4060:11: note: in expansion of macro ‘CALL_IsProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4060:11: note: in expansion of macro ‘CALL_IsProgramPipeline’
#11846|   
#11847|   typedef GLboolean (GLAPIENTRYP _glptr_IsProgramPipeline)(GLuint);
#11848|-> #define CALL_IsProgramPipeline(disp, parameters) (* GET_IsProgramPipeline(disp)) parameters
#11849|   #define GET_IsProgramPipeline(disp) ((_glptr_IsProgramPipeline)(GET_by_offset((disp), _gloffset_IsProgramPipeline)))
#11850|   #define SET_IsProgramPipeline(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1431]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_LockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11856:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2521:4: note: in expansion of macro ‘CALL_LockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2521:4: note: in expansion of macro ‘CALL_LockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2521:4: note: in expansion of macro ‘CALL_LockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2521:4: note: in expansion of macro ‘CALL_LockArraysEXT’
#11854|   
#11855|   typedef void (GLAPIENTRYP _glptr_LockArraysEXT)(GLint, GLsizei);
#11856|-> #define CALL_LockArraysEXT(disp, parameters) (* GET_LockArraysEXT(disp)) parameters
#11857|   #define GET_LockArraysEXT(disp) ((_glptr_LockArraysEXT)(GET_by_offset((disp), _gloffset_LockArraysEXT)))
#11858|   #define SET_LockArraysEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1432]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11864:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3142:4: note: in expansion of macro ‘CALL_ProgramUniform1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3142:4: note: in expansion of macro ‘CALL_ProgramUniform1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3142:4: note: in expansion of macro ‘CALL_ProgramUniform1d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3142:4: note: in expansion of macro ‘CALL_ProgramUniform1d’
#11862|   
#11863|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1d)(GLuint, GLint, GLdouble);
#11864|-> #define CALL_ProgramUniform1d(disp, parameters) (* GET_ProgramUniform1d(disp)) parameters
#11865|   #define GET_ProgramUniform1d(disp) ((_glptr_ProgramUniform1d)(GET_by_offset((disp), _gloffset_ProgramUniform1d)))
#11866|   #define SET_ProgramUniform1d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1433]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11872:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3277:4: note: in expansion of macro ‘CALL_ProgramUniform1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3277:4: note: in expansion of macro ‘CALL_ProgramUniform1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3277:4: note: in expansion of macro ‘CALL_ProgramUniform1dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3277:4: note: in expansion of macro ‘CALL_ProgramUniform1dv’
#11870|   
#11871|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1dv)(GLuint, GLint, GLsizei, const GLdouble *);
#11872|-> #define CALL_ProgramUniform1dv(disp, parameters) (* GET_ProgramUniform1dv(disp)) parameters
#11873|   #define GET_ProgramUniform1dv(disp) ((_glptr_ProgramUniform1dv)(GET_by_offset((disp), _gloffset_ProgramUniform1dv)))
#11874|   #define SET_ProgramUniform1dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1434]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11880:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4347:4: note: in expansion of macro ‘CALL_ProgramUniform1f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4347:4: note: in expansion of macro ‘CALL_ProgramUniform1f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4347:4: note: in expansion of macro ‘CALL_ProgramUniform1f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4347:4: note: in expansion of macro ‘CALL_ProgramUniform1f’
#11878|   
#11879|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1f)(GLuint, GLint, GLfloat);
#11880|-> #define CALL_ProgramUniform1f(disp, parameters) (* GET_ProgramUniform1f(disp)) parameters
#11881|   #define GET_ProgramUniform1f(disp) ((_glptr_ProgramUniform1f)(GET_by_offset((disp), _gloffset_ProgramUniform1f)))
#11882|   #define SET_ProgramUniform1f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1435]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11888:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4818:4: note: in expansion of macro ‘CALL_ProgramUniform1fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4818:4: note: in expansion of macro ‘CALL_ProgramUniform1fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4818:4: note: in expansion of macro ‘CALL_ProgramUniform1fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4818:4: note: in expansion of macro ‘CALL_ProgramUniform1fv’
#11886|   
#11887|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1fv)(GLuint, GLint, GLsizei, const GLfloat *);
#11888|-> #define CALL_ProgramUniform1fv(disp, parameters) (* GET_ProgramUniform1fv(disp)) parameters
#11889|   #define GET_ProgramUniform1fv(disp) ((_glptr_ProgramUniform1fv)(GET_by_offset((disp), _gloffset_ProgramUniform1fv)))
#11890|   #define SET_ProgramUniform1fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1436]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11896:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4087:4: note: in expansion of macro ‘CALL_ProgramUniform1i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4087:4: note: in expansion of macro ‘CALL_ProgramUniform1i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4087:4: note: in expansion of macro ‘CALL_ProgramUniform1i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4087:4: note: in expansion of macro ‘CALL_ProgramUniform1i’
#11894|   
#11895|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1i)(GLuint, GLint, GLint);
#11896|-> #define CALL_ProgramUniform1i(disp, parameters) (* GET_ProgramUniform1i(disp)) parameters
#11897|   #define GET_ProgramUniform1i(disp) ((_glptr_ProgramUniform1i)(GET_by_offset((disp), _gloffset_ProgramUniform1i)))
#11898|   #define SET_ProgramUniform1i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1437]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11904:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4482:4: note: in expansion of macro ‘CALL_ProgramUniform1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4482:4: note: in expansion of macro ‘CALL_ProgramUniform1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4482:4: note: in expansion of macro ‘CALL_ProgramUniform1iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4482:4: note: in expansion of macro ‘CALL_ProgramUniform1iv’
#11902|   
#11903|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1iv)(GLuint, GLint, GLsizei, const GLint *);
#11904|-> #define CALL_ProgramUniform1iv(disp, parameters) (* GET_ProgramUniform1iv(disp)) parameters
#11905|   #define GET_ProgramUniform1iv(disp) ((_glptr_ProgramUniform1iv)(GET_by_offset((disp), _gloffset_ProgramUniform1iv)))
#11906|   #define SET_ProgramUniform1iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1438]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11912:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4217:4: note: in expansion of macro ‘CALL_ProgramUniform1ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4217:4: note: in expansion of macro ‘CALL_ProgramUniform1ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4217:4: note: in expansion of macro ‘CALL_ProgramUniform1ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4217:4: note: in expansion of macro ‘CALL_ProgramUniform1ui’
#11910|   
#11911|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1ui)(GLuint, GLint, GLuint);
#11912|-> #define CALL_ProgramUniform1ui(disp, parameters) (* GET_ProgramUniform1ui(disp)) parameters
#11913|   #define GET_ProgramUniform1ui(disp) ((_glptr_ProgramUniform1ui)(GET_by_offset((disp), _gloffset_ProgramUniform1ui)))
#11914|   #define SET_ProgramUniform1ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1439]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11920:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4650:4: note: in expansion of macro ‘CALL_ProgramUniform1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4650:4: note: in expansion of macro ‘CALL_ProgramUniform1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4650:4: note: in expansion of macro ‘CALL_ProgramUniform1uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4650:4: note: in expansion of macro ‘CALL_ProgramUniform1uiv’
#11918|   
#11919|   typedef void (GLAPIENTRYP _glptr_ProgramUniform1uiv)(GLuint, GLint, GLsizei, const GLuint *);
#11920|-> #define CALL_ProgramUniform1uiv(disp, parameters) (* GET_ProgramUniform1uiv(disp)) parameters
#11921|   #define GET_ProgramUniform1uiv(disp) ((_glptr_ProgramUniform1uiv)(GET_by_offset((disp), _gloffset_ProgramUniform1uiv)))
#11922|   #define SET_ProgramUniform1uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1440]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11928:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3172:4: note: in expansion of macro ‘CALL_ProgramUniform2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3172:4: note: in expansion of macro ‘CALL_ProgramUniform2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3172:4: note: in expansion of macro ‘CALL_ProgramUniform2d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3172:4: note: in expansion of macro ‘CALL_ProgramUniform2d’
#11926|   
#11927|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2d)(GLuint, GLint, GLdouble, GLdouble);
#11928|-> #define CALL_ProgramUniform2d(disp, parameters) (* GET_ProgramUniform2d(disp)) parameters
#11929|   #define GET_ProgramUniform2d(disp) ((_glptr_ProgramUniform2d)(GET_by_offset((disp), _gloffset_ProgramUniform2d)))
#11930|   #define SET_ProgramUniform2d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1441]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11936:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3319:4: note: in expansion of macro ‘CALL_ProgramUniform2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3319:4: note: in expansion of macro ‘CALL_ProgramUniform2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3319:4: note: in expansion of macro ‘CALL_ProgramUniform2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3319:4: note: in expansion of macro ‘CALL_ProgramUniform2dv’
#11934|   
#11935|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2dv)(GLuint, GLint, GLsizei, const GLdouble *);
#11936|-> #define CALL_ProgramUniform2dv(disp, parameters) (* GET_ProgramUniform2dv(disp)) parameters
#11937|   #define GET_ProgramUniform2dv(disp) ((_glptr_ProgramUniform2dv)(GET_by_offset((disp), _gloffset_ProgramUniform2dv)))
#11938|   #define SET_ProgramUniform2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1442]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11944:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4377:4: note: in expansion of macro ‘CALL_ProgramUniform2f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4377:4: note: in expansion of macro ‘CALL_ProgramUniform2f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4377:4: note: in expansion of macro ‘CALL_ProgramUniform2f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4377:4: note: in expansion of macro ‘CALL_ProgramUniform2f’
#11942|   
#11943|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2f)(GLuint, GLint, GLfloat, GLfloat);
#11944|-> #define CALL_ProgramUniform2f(disp, parameters) (* GET_ProgramUniform2f(disp)) parameters
#11945|   #define GET_ProgramUniform2f(disp) ((_glptr_ProgramUniform2f)(GET_by_offset((disp), _gloffset_ProgramUniform2f)))
#11946|   #define SET_ProgramUniform2f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1443]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11952:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4860:4: note: in expansion of macro ‘CALL_ProgramUniform2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4860:4: note: in expansion of macro ‘CALL_ProgramUniform2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4860:4: note: in expansion of macro ‘CALL_ProgramUniform2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4860:4: note: in expansion of macro ‘CALL_ProgramUniform2fv’
#11950|   
#11951|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2fv)(GLuint, GLint, GLsizei, const GLfloat *);
#11952|-> #define CALL_ProgramUniform2fv(disp, parameters) (* GET_ProgramUniform2fv(disp)) parameters
#11953|   #define GET_ProgramUniform2fv(disp) ((_glptr_ProgramUniform2fv)(GET_by_offset((disp), _gloffset_ProgramUniform2fv)))
#11954|   #define SET_ProgramUniform2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1444]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11960:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4117:4: note: in expansion of macro ‘CALL_ProgramUniform2i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4117:4: note: in expansion of macro ‘CALL_ProgramUniform2i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4117:4: note: in expansion of macro ‘CALL_ProgramUniform2i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4117:4: note: in expansion of macro ‘CALL_ProgramUniform2i’
#11958|   
#11959|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2i)(GLuint, GLint, GLint, GLint);
#11960|-> #define CALL_ProgramUniform2i(disp, parameters) (* GET_ProgramUniform2i(disp)) parameters
#11961|   #define GET_ProgramUniform2i(disp) ((_glptr_ProgramUniform2i)(GET_by_offset((disp), _gloffset_ProgramUniform2i)))
#11962|   #define SET_ProgramUniform2i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1445]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11968:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4524:4: note: in expansion of macro ‘CALL_ProgramUniform2iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4524:4: note: in expansion of macro ‘CALL_ProgramUniform2iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4524:4: note: in expansion of macro ‘CALL_ProgramUniform2iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4524:4: note: in expansion of macro ‘CALL_ProgramUniform2iv’
#11966|   
#11967|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2iv)(GLuint, GLint, GLsizei, const GLint *);
#11968|-> #define CALL_ProgramUniform2iv(disp, parameters) (* GET_ProgramUniform2iv(disp)) parameters
#11969|   #define GET_ProgramUniform2iv(disp) ((_glptr_ProgramUniform2iv)(GET_by_offset((disp), _gloffset_ProgramUniform2iv)))
#11970|   #define SET_ProgramUniform2iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1446]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11976:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4247:4: note: in expansion of macro ‘CALL_ProgramUniform2ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4247:4: note: in expansion of macro ‘CALL_ProgramUniform2ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4247:4: note: in expansion of macro ‘CALL_ProgramUniform2ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4247:4: note: in expansion of macro ‘CALL_ProgramUniform2ui’
#11974|   
#11975|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2ui)(GLuint, GLint, GLuint, GLuint);
#11976|-> #define CALL_ProgramUniform2ui(disp, parameters) (* GET_ProgramUniform2ui(disp)) parameters
#11977|   #define GET_ProgramUniform2ui(disp) ((_glptr_ProgramUniform2ui)(GET_by_offset((disp), _gloffset_ProgramUniform2ui)))
#11978|   #define SET_ProgramUniform2ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1447]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform2uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11984:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4692:4: note: in expansion of macro ‘CALL_ProgramUniform2uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4692:4: note: in expansion of macro ‘CALL_ProgramUniform2uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4692:4: note: in expansion of macro ‘CALL_ProgramUniform2uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4692:4: note: in expansion of macro ‘CALL_ProgramUniform2uiv’
#11982|   
#11983|   typedef void (GLAPIENTRYP _glptr_ProgramUniform2uiv)(GLuint, GLint, GLsizei, const GLuint *);
#11984|-> #define CALL_ProgramUniform2uiv(disp, parameters) (* GET_ProgramUniform2uiv(disp)) parameters
#11985|   #define GET_ProgramUniform2uiv(disp) ((_glptr_ProgramUniform2uiv)(GET_by_offset((disp), _gloffset_ProgramUniform2uiv)))
#11986|   #define SET_ProgramUniform2uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1448]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:11992:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3205:4: note: in expansion of macro ‘CALL_ProgramUniform3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3205:4: note: in expansion of macro ‘CALL_ProgramUniform3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3205:4: note: in expansion of macro ‘CALL_ProgramUniform3d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3205:4: note: in expansion of macro ‘CALL_ProgramUniform3d’
#11990|   
#11991|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3d)(GLuint, GLint, GLdouble, GLdouble, GLdouble);
#11992|-> #define CALL_ProgramUniform3d(disp, parameters) (* GET_ProgramUniform3d(disp)) parameters
#11993|   #define GET_ProgramUniform3d(disp) ((_glptr_ProgramUniform3d)(GET_by_offset((disp), _gloffset_ProgramUniform3d)))
#11994|   #define SET_ProgramUniform3d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1449]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12000:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3361:4: note: in expansion of macro ‘CALL_ProgramUniform3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3361:4: note: in expansion of macro ‘CALL_ProgramUniform3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3361:4: note: in expansion of macro ‘CALL_ProgramUniform3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3361:4: note: in expansion of macro ‘CALL_ProgramUniform3dv’
#11998|   
#11999|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3dv)(GLuint, GLint, GLsizei, const GLdouble *);
#12000|-> #define CALL_ProgramUniform3dv(disp, parameters) (* GET_ProgramUniform3dv(disp)) parameters
#12001|   #define GET_ProgramUniform3dv(disp) ((_glptr_ProgramUniform3dv)(GET_by_offset((disp), _gloffset_ProgramUniform3dv)))
#12002|   #define SET_ProgramUniform3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1450]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12008:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4410:4: note: in expansion of macro ‘CALL_ProgramUniform3f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4410:4: note: in expansion of macro ‘CALL_ProgramUniform3f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4410:4: note: in expansion of macro ‘CALL_ProgramUniform3f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4410:4: note: in expansion of macro ‘CALL_ProgramUniform3f’
#12006|   
#12007|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3f)(GLuint, GLint, GLfloat, GLfloat, GLfloat);
#12008|-> #define CALL_ProgramUniform3f(disp, parameters) (* GET_ProgramUniform3f(disp)) parameters
#12009|   #define GET_ProgramUniform3f(disp) ((_glptr_ProgramUniform3f)(GET_by_offset((disp), _gloffset_ProgramUniform3f)))
#12010|   #define SET_ProgramUniform3f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1451]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12016:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4902:4: note: in expansion of macro ‘CALL_ProgramUniform3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4902:4: note: in expansion of macro ‘CALL_ProgramUniform3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4902:4: note: in expansion of macro ‘CALL_ProgramUniform3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4902:4: note: in expansion of macro ‘CALL_ProgramUniform3fv’
#12014|   
#12015|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3fv)(GLuint, GLint, GLsizei, const GLfloat *);
#12016|-> #define CALL_ProgramUniform3fv(disp, parameters) (* GET_ProgramUniform3fv(disp)) parameters
#12017|   #define GET_ProgramUniform3fv(disp) ((_glptr_ProgramUniform3fv)(GET_by_offset((disp), _gloffset_ProgramUniform3fv)))
#12018|   #define SET_ProgramUniform3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1452]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12024:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4150:4: note: in expansion of macro ‘CALL_ProgramUniform3i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4150:4: note: in expansion of macro ‘CALL_ProgramUniform3i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4150:4: note: in expansion of macro ‘CALL_ProgramUniform3i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4150:4: note: in expansion of macro ‘CALL_ProgramUniform3i’
#12022|   
#12023|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3i)(GLuint, GLint, GLint, GLint, GLint);
#12024|-> #define CALL_ProgramUniform3i(disp, parameters) (* GET_ProgramUniform3i(disp)) parameters
#12025|   #define GET_ProgramUniform3i(disp) ((_glptr_ProgramUniform3i)(GET_by_offset((disp), _gloffset_ProgramUniform3i)))
#12026|   #define SET_ProgramUniform3i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1453]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12032:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4566:4: note: in expansion of macro ‘CALL_ProgramUniform3iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4566:4: note: in expansion of macro ‘CALL_ProgramUniform3iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4566:4: note: in expansion of macro ‘CALL_ProgramUniform3iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4566:4: note: in expansion of macro ‘CALL_ProgramUniform3iv’
#12030|   
#12031|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3iv)(GLuint, GLint, GLsizei, const GLint *);
#12032|-> #define CALL_ProgramUniform3iv(disp, parameters) (* GET_ProgramUniform3iv(disp)) parameters
#12033|   #define GET_ProgramUniform3iv(disp) ((_glptr_ProgramUniform3iv)(GET_by_offset((disp), _gloffset_ProgramUniform3iv)))
#12034|   #define SET_ProgramUniform3iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1454]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12040:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4280:4: note: in expansion of macro ‘CALL_ProgramUniform3ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4280:4: note: in expansion of macro ‘CALL_ProgramUniform3ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4280:4: note: in expansion of macro ‘CALL_ProgramUniform3ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4280:4: note: in expansion of macro ‘CALL_ProgramUniform3ui’
#12038|   
#12039|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3ui)(GLuint, GLint, GLuint, GLuint, GLuint);
#12040|-> #define CALL_ProgramUniform3ui(disp, parameters) (* GET_ProgramUniform3ui(disp)) parameters
#12041|   #define GET_ProgramUniform3ui(disp) ((_glptr_ProgramUniform3ui)(GET_by_offset((disp), _gloffset_ProgramUniform3ui)))
#12042|   #define SET_ProgramUniform3ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1455]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform3uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12048:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4734:4: note: in expansion of macro ‘CALL_ProgramUniform3uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4734:4: note: in expansion of macro ‘CALL_ProgramUniform3uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4734:4: note: in expansion of macro ‘CALL_ProgramUniform3uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4734:4: note: in expansion of macro ‘CALL_ProgramUniform3uiv’
#12046|   
#12047|   typedef void (GLAPIENTRYP _glptr_ProgramUniform3uiv)(GLuint, GLint, GLsizei, const GLuint *);
#12048|-> #define CALL_ProgramUniform3uiv(disp, parameters) (* GET_ProgramUniform3uiv(disp)) parameters
#12049|   #define GET_ProgramUniform3uiv(disp) ((_glptr_ProgramUniform3uiv)(GET_by_offset((disp), _gloffset_ProgramUniform3uiv)))
#12050|   #define SET_ProgramUniform3uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1456]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12056:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3241:4: note: in expansion of macro ‘CALL_ProgramUniform4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3241:4: note: in expansion of macro ‘CALL_ProgramUniform4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3241:4: note: in expansion of macro ‘CALL_ProgramUniform4d’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3241:4: note: in expansion of macro ‘CALL_ProgramUniform4d’
#12054|   
#12055|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4d)(GLuint, GLint, GLdouble, GLdouble, GLdouble, GLdouble);
#12056|-> #define CALL_ProgramUniform4d(disp, parameters) (* GET_ProgramUniform4d(disp)) parameters
#12057|   #define GET_ProgramUniform4d(disp) ((_glptr_ProgramUniform4d)(GET_by_offset((disp), _gloffset_ProgramUniform4d)))
#12058|   #define SET_ProgramUniform4d(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1457]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12064:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3403:4: note: in expansion of macro ‘CALL_ProgramUniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3403:4: note: in expansion of macro ‘CALL_ProgramUniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3403:4: note: in expansion of macro ‘CALL_ProgramUniform4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3403:4: note: in expansion of macro ‘CALL_ProgramUniform4dv’
#12062|   
#12063|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4dv)(GLuint, GLint, GLsizei, const GLdouble *);
#12064|-> #define CALL_ProgramUniform4dv(disp, parameters) (* GET_ProgramUniform4dv(disp)) parameters
#12065|   #define GET_ProgramUniform4dv(disp) ((_glptr_ProgramUniform4dv)(GET_by_offset((disp), _gloffset_ProgramUniform4dv)))
#12066|   #define SET_ProgramUniform4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1458]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12072:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4446:4: note: in expansion of macro ‘CALL_ProgramUniform4f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4446:4: note: in expansion of macro ‘CALL_ProgramUniform4f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4446:4: note: in expansion of macro ‘CALL_ProgramUniform4f’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4446:4: note: in expansion of macro ‘CALL_ProgramUniform4f’
#12070|   
#12071|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4f)(GLuint, GLint, GLfloat, GLfloat, GLfloat, GLfloat);
#12072|-> #define CALL_ProgramUniform4f(disp, parameters) (* GET_ProgramUniform4f(disp)) parameters
#12073|   #define GET_ProgramUniform4f(disp) ((_glptr_ProgramUniform4f)(GET_by_offset((disp), _gloffset_ProgramUniform4f)))
#12074|   #define SET_ProgramUniform4f(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1459]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12080:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4944:4: note: in expansion of macro ‘CALL_ProgramUniform4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4944:4: note: in expansion of macro ‘CALL_ProgramUniform4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4944:4: note: in expansion of macro ‘CALL_ProgramUniform4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4944:4: note: in expansion of macro ‘CALL_ProgramUniform4fv’
#12078|   
#12079|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4fv)(GLuint, GLint, GLsizei, const GLfloat *);
#12080|-> #define CALL_ProgramUniform4fv(disp, parameters) (* GET_ProgramUniform4fv(disp)) parameters
#12081|   #define GET_ProgramUniform4fv(disp) ((_glptr_ProgramUniform4fv)(GET_by_offset((disp), _gloffset_ProgramUniform4fv)))
#12082|   #define SET_ProgramUniform4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1460]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12088:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4186:4: note: in expansion of macro ‘CALL_ProgramUniform4i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4186:4: note: in expansion of macro ‘CALL_ProgramUniform4i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4186:4: note: in expansion of macro ‘CALL_ProgramUniform4i’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4186:4: note: in expansion of macro ‘CALL_ProgramUniform4i’
#12086|   
#12087|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4i)(GLuint, GLint, GLint, GLint, GLint, GLint);
#12088|-> #define CALL_ProgramUniform4i(disp, parameters) (* GET_ProgramUniform4i(disp)) parameters
#12089|   #define GET_ProgramUniform4i(disp) ((_glptr_ProgramUniform4i)(GET_by_offset((disp), _gloffset_ProgramUniform4i)))
#12090|   #define SET_ProgramUniform4i(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1461]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12096:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4608:4: note: in expansion of macro ‘CALL_ProgramUniform4iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4608:4: note: in expansion of macro ‘CALL_ProgramUniform4iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4608:4: note: in expansion of macro ‘CALL_ProgramUniform4iv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4608:4: note: in expansion of macro ‘CALL_ProgramUniform4iv’
#12094|   
#12095|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4iv)(GLuint, GLint, GLsizei, const GLint *);
#12096|-> #define CALL_ProgramUniform4iv(disp, parameters) (* GET_ProgramUniform4iv(disp)) parameters
#12097|   #define GET_ProgramUniform4iv(disp) ((_glptr_ProgramUniform4iv)(GET_by_offset((disp), _gloffset_ProgramUniform4iv)))
#12098|   #define SET_ProgramUniform4iv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1462]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12104:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4316:4: note: in expansion of macro ‘CALL_ProgramUniform4ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4316:4: note: in expansion of macro ‘CALL_ProgramUniform4ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4316:4: note: in expansion of macro ‘CALL_ProgramUniform4ui’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4316:4: note: in expansion of macro ‘CALL_ProgramUniform4ui’
#12102|   
#12103|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4ui)(GLuint, GLint, GLuint, GLuint, GLuint, GLuint);
#12104|-> #define CALL_ProgramUniform4ui(disp, parameters) (* GET_ProgramUniform4ui(disp)) parameters
#12105|   #define GET_ProgramUniform4ui(disp) ((_glptr_ProgramUniform4ui)(GET_by_offset((disp), _gloffset_ProgramUniform4ui)))
#12106|   #define SET_ProgramUniform4ui(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1463]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniform4uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12112:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4776:4: note: in expansion of macro ‘CALL_ProgramUniform4uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4776:4: note: in expansion of macro ‘CALL_ProgramUniform4uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4776:4: note: in expansion of macro ‘CALL_ProgramUniform4uiv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4776:4: note: in expansion of macro ‘CALL_ProgramUniform4uiv’
#12110|   
#12111|   typedef void (GLAPIENTRYP _glptr_ProgramUniform4uiv)(GLuint, GLint, GLsizei, const GLuint *);
#12112|-> #define CALL_ProgramUniform4uiv(disp, parameters) (* GET_ProgramUniform4uiv(disp)) parameters
#12113|   #define GET_ProgramUniform4uiv(disp) ((_glptr_ProgramUniform4uiv)(GET_by_offset((disp), _gloffset_ProgramUniform4uiv)))
#12114|   #define SET_ProgramUniform4uiv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1464]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12120:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3447:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3447:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3447:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3447:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2dv’
#12118|   
#12119|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12120|-> #define CALL_ProgramUniformMatrix2dv(disp, parameters) (* GET_ProgramUniformMatrix2dv(disp)) parameters
#12121|   #define GET_ProgramUniformMatrix2dv(disp) ((_glptr_ProgramUniformMatrix2dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2dv)))
#12122|   #define SET_ProgramUniformMatrix2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1465]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12128:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4988:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4988:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4988:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:4988:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2fv’
#12126|   
#12127|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12128|-> #define CALL_ProgramUniformMatrix2fv(disp, parameters) (* GET_ProgramUniformMatrix2fv(disp)) parameters
#12129|   #define GET_ProgramUniformMatrix2fv(disp) ((_glptr_ProgramUniformMatrix2fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2fv)))
#12130|   #define SET_ProgramUniformMatrix2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1466]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12136:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3582:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3582:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3582:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3582:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3dv’
#12134|   
#12135|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2x3dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12136|-> #define CALL_ProgramUniformMatrix2x3dv(disp, parameters) (* GET_ProgramUniformMatrix2x3dv(disp)) parameters
#12137|   #define GET_ProgramUniformMatrix2x3dv(disp) ((_glptr_ProgramUniformMatrix2x3dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2x3dv)))
#12138|   #define SET_ProgramUniformMatrix2x3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1467]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12144:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5123:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5123:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5123:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5123:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x3fv’
#12142|   
#12143|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2x3fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12144|-> #define CALL_ProgramUniformMatrix2x3fv(disp, parameters) (* GET_ProgramUniformMatrix2x3fv(disp)) parameters
#12145|   #define GET_ProgramUniformMatrix2x3fv(disp) ((_glptr_ProgramUniformMatrix2x3fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2x3fv)))
#12146|   #define SET_ProgramUniformMatrix2x3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1468]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12152:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3627:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3627:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3627:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3627:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4dv’
#12150|   
#12151|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2x4dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12152|-> #define CALL_ProgramUniformMatrix2x4dv(disp, parameters) (* GET_ProgramUniformMatrix2x4dv(disp)) parameters
#12153|   #define GET_ProgramUniformMatrix2x4dv(disp) ((_glptr_ProgramUniformMatrix2x4dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2x4dv)))
#12154|   #define SET_ProgramUniformMatrix2x4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1469]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix2x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12160:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5213:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5213:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5213:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5213:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix2x4fv’
#12158|   
#12159|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix2x4fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12160|-> #define CALL_ProgramUniformMatrix2x4fv(disp, parameters) (* GET_ProgramUniformMatrix2x4fv(disp)) parameters
#12161|   #define GET_ProgramUniformMatrix2x4fv(disp) ((_glptr_ProgramUniformMatrix2x4fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix2x4fv)))
#12162|   #define SET_ProgramUniformMatrix2x4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1470]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12168:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3492:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3492:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3492:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3492:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3dv’
#12166|   
#12167|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12168|-> #define CALL_ProgramUniformMatrix3dv(disp, parameters) (* GET_ProgramUniformMatrix3dv(disp)) parameters
#12169|   #define GET_ProgramUniformMatrix3dv(disp) ((_glptr_ProgramUniformMatrix3dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3dv)))
#12170|   #define SET_ProgramUniformMatrix3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1471]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12176:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5033:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5033:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5033:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5033:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3fv’
#12174|   
#12175|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12176|-> #define CALL_ProgramUniformMatrix3fv(disp, parameters) (* GET_ProgramUniformMatrix3fv(disp)) parameters
#12177|   #define GET_ProgramUniformMatrix3fv(disp) ((_glptr_ProgramUniformMatrix3fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3fv)))
#12178|   #define SET_ProgramUniformMatrix3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1472]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12184:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3672:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3672:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3672:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3672:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2dv’
#12182|   
#12183|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3x2dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12184|-> #define CALL_ProgramUniformMatrix3x2dv(disp, parameters) (* GET_ProgramUniformMatrix3x2dv(disp)) parameters
#12185|   #define GET_ProgramUniformMatrix3x2dv(disp) ((_glptr_ProgramUniformMatrix3x2dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3x2dv)))
#12186|   #define SET_ProgramUniformMatrix3x2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1473]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12192:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5168:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5168:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5168:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5168:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x2fv’
#12190|   
#12191|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3x2fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12192|-> #define CALL_ProgramUniformMatrix3x2fv(disp, parameters) (* GET_ProgramUniformMatrix3x2fv(disp)) parameters
#12193|   #define GET_ProgramUniformMatrix3x2fv(disp) ((_glptr_ProgramUniformMatrix3x2fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3x2fv)))
#12194|   #define SET_ProgramUniformMatrix3x2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1474]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12200:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3717:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3717:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3717:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3717:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4dv’
#12198|   
#12199|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3x4dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12200|-> #define CALL_ProgramUniformMatrix3x4dv(disp, parameters) (* GET_ProgramUniformMatrix3x4dv(disp)) parameters
#12201|   #define GET_ProgramUniformMatrix3x4dv(disp) ((_glptr_ProgramUniformMatrix3x4dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3x4dv)))
#12202|   #define SET_ProgramUniformMatrix3x4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1475]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix3x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12208:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5303:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5303:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5303:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5303:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix3x4fv’
#12206|   
#12207|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix3x4fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12208|-> #define CALL_ProgramUniformMatrix3x4fv(disp, parameters) (* GET_ProgramUniformMatrix3x4fv(disp)) parameters
#12209|   #define GET_ProgramUniformMatrix3x4fv(disp) ((_glptr_ProgramUniformMatrix3x4fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix3x4fv)))
#12210|   #define SET_ProgramUniformMatrix3x4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1476]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12216:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3537:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3537:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3537:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3537:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4dv’
#12214|   
#12215|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12216|-> #define CALL_ProgramUniformMatrix4dv(disp, parameters) (* GET_ProgramUniformMatrix4dv(disp)) parameters
#12217|   #define GET_ProgramUniformMatrix4dv(disp) ((_glptr_ProgramUniformMatrix4dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4dv)))
#12218|   #define SET_ProgramUniformMatrix4dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1477]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12224:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5078:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5078:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5078:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5078:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4fv’
#12222|   
#12223|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12224|-> #define CALL_ProgramUniformMatrix4fv(disp, parameters) (* GET_ProgramUniformMatrix4fv(disp)) parameters
#12225|   #define GET_ProgramUniformMatrix4fv(disp) ((_glptr_ProgramUniformMatrix4fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4fv)))
#12226|   #define SET_ProgramUniformMatrix4fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1478]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12232:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3762:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3762:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3762:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3762:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2dv’
#12230|   
#12231|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4x2dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12232|-> #define CALL_ProgramUniformMatrix4x2dv(disp, parameters) (* GET_ProgramUniformMatrix4x2dv(disp)) parameters
#12233|   #define GET_ProgramUniformMatrix4x2dv(disp) ((_glptr_ProgramUniformMatrix4x2dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4x2dv)))
#12234|   #define SET_ProgramUniformMatrix4x2dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1479]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12240:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5258:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5258:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5258:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5258:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x2fv’
#12238|   
#12239|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4x2fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12240|-> #define CALL_ProgramUniformMatrix4x2fv(disp, parameters) (* GET_ProgramUniformMatrix4x2fv(disp)) parameters
#12241|   #define GET_ProgramUniformMatrix4x2fv(disp) ((_glptr_ProgramUniformMatrix4x2fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4x2fv)))
#12242|   #define SET_ProgramUniformMatrix4x2fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1480]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12248:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3807:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3807:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3807:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3dv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3807:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3dv’
#12246|   
#12247|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4x3dv)(GLuint, GLint, GLsizei, GLboolean, const GLdouble *);
#12248|-> #define CALL_ProgramUniformMatrix4x3dv(disp, parameters) (* GET_ProgramUniformMatrix4x3dv(disp)) parameters
#12249|   #define GET_ProgramUniformMatrix4x3dv(disp) ((_glptr_ProgramUniformMatrix4x3dv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4x3dv)))
#12250|   #define SET_ProgramUniformMatrix4x3dv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1481]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ProgramUniformMatrix4x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12256:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5348:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5348:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5348:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3fv’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5348:4: note: in expansion of macro ‘CALL_ProgramUniformMatrix4x3fv’
#12254|   
#12255|   typedef void (GLAPIENTRYP _glptr_ProgramUniformMatrix4x3fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#12256|-> #define CALL_ProgramUniformMatrix4x3fv(disp, parameters) (* GET_ProgramUniformMatrix4x3fv(disp)) parameters
#12257|   #define GET_ProgramUniformMatrix4x3fv(disp) ((_glptr_ProgramUniformMatrix4x3fv)(GET_by_offset((disp), _gloffset_ProgramUniformMatrix4x3fv)))
#12258|   #define SET_ProgramUniformMatrix4x3fv(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1482]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_UnlockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12264:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2542:4: note: in expansion of macro ‘CALL_UnlockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2542:4: note: in expansion of macro ‘CALL_UnlockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2542:4: note: in expansion of macro ‘CALL_UnlockArraysEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2542:4: note: in expansion of macro ‘CALL_UnlockArraysEXT’
#12262|   
#12263|   typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT)(void);
#12264|-> #define CALL_UnlockArraysEXT(disp, parameters) (* GET_UnlockArraysEXT(disp)) parameters
#12265|   #define GET_UnlockArraysEXT(disp) ((_glptr_UnlockArraysEXT)(GET_by_offset((disp), _gloffset_UnlockArraysEXT)))
#12266|   #define SET_UnlockArraysEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1483]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_UseProgramStages’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12272:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3936:4: note: in expansion of macro ‘CALL_UseProgramStages’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3936:4: note: in expansion of macro ‘CALL_UseProgramStages’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3936:4: note: in expansion of macro ‘CALL_UseProgramStages’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3936:4: note: in expansion of macro ‘CALL_UseProgramStages’
#12270|   
#12271|   typedef void (GLAPIENTRYP _glptr_UseProgramStages)(GLuint, GLbitfield, GLuint);
#12272|-> #define CALL_UseProgramStages(disp, parameters) (* GET_UseProgramStages(disp)) parameters
#12273|   #define GET_UseProgramStages(disp) ((_glptr_UseProgramStages)(GET_by_offset((disp), _gloffset_UseProgramStages)))
#12274|   #define SET_UseProgramStages(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1484]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c: scope_hint: In function ‘_mesa_unmarshal_ValidateProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12280:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5382:4: note: in expansion of macro ‘CALL_ValidateProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5382:4: note: in expansion of macro ‘CALL_ValidateProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5382:4: note: in expansion of macro ‘CALL_ValidateProgramPipeline’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:5382:4: note: in expansion of macro ‘CALL_ValidateProgramPipeline’
#12278|   
#12279|   typedef void (GLAPIENTRYP _glptr_ValidateProgramPipeline)(GLuint);
#12280|-> #define CALL_ValidateProgramPipeline(disp, parameters) (* GET_ValidateProgramPipeline(disp)) parameters
#12281|   #define GET_ValidateProgramPipeline(disp) ((_glptr_ValidateProgramPipeline)(GET_by_offset((disp), _gloffset_ValidateProgramPipeline)))
#12282|   #define SET_ValidateProgramPipeline(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1499]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4dMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12424:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2955:4: note: in expansion of macro ‘CALL_WindowPos4dMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2955:4: note: in expansion of macro ‘CALL_WindowPos4dMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2955:4: note: in expansion of macro ‘CALL_WindowPos4dMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2955:4: note: in expansion of macro ‘CALL_WindowPos4dMESA’
#12422|   
#12423|   typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA)(GLdouble, GLdouble, GLdouble, GLdouble);
#12424|-> #define CALL_WindowPos4dMESA(disp, parameters) (* GET_WindowPos4dMESA(disp)) parameters
#12425|   #define GET_WindowPos4dMESA(disp) ((_glptr_WindowPos4dMESA)(GET_by_offset((disp), _gloffset_WindowPos4dMESA)))
#12426|   #define SET_WindowPos4dMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1500]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4dvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12432:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2980:4: note: in expansion of macro ‘CALL_WindowPos4dvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2980:4: note: in expansion of macro ‘CALL_WindowPos4dvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2980:4: note: in expansion of macro ‘CALL_WindowPos4dvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2980:4: note: in expansion of macro ‘CALL_WindowPos4dvMESA’
#12430|   
#12431|   typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA)(const GLdouble *);
#12432|-> #define CALL_WindowPos4dvMESA(disp, parameters) (* GET_WindowPos4dvMESA(disp)) parameters
#12433|   #define GET_WindowPos4dvMESA(disp) ((_glptr_WindowPos4dvMESA)(GET_by_offset((disp), _gloffset_WindowPos4dvMESA)))
#12434|   #define SET_WindowPos4dvMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1501]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4fMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12440:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3008:4: note: in expansion of macro ‘CALL_WindowPos4fMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3008:4: note: in expansion of macro ‘CALL_WindowPos4fMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3008:4: note: in expansion of macro ‘CALL_WindowPos4fMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3008:4: note: in expansion of macro ‘CALL_WindowPos4fMESA’
#12438|   
#12439|   typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA)(GLfloat, GLfloat, GLfloat, GLfloat);
#12440|-> #define CALL_WindowPos4fMESA(disp, parameters) (* GET_WindowPos4fMESA(disp)) parameters
#12441|   #define GET_WindowPos4fMESA(disp) ((_glptr_WindowPos4fMESA)(GET_by_offset((disp), _gloffset_WindowPos4fMESA)))
#12442|   #define SET_WindowPos4fMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1502]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4fvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12448:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3033:4: note: in expansion of macro ‘CALL_WindowPos4fvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3033:4: note: in expansion of macro ‘CALL_WindowPos4fvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3033:4: note: in expansion of macro ‘CALL_WindowPos4fvMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3033:4: note: in expansion of macro ‘CALL_WindowPos4fvMESA’
#12446|   
#12447|   typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA)(const GLfloat *);
#12448|-> #define CALL_WindowPos4fvMESA(disp, parameters) (* GET_WindowPos4fvMESA(disp)) parameters
#12449|   #define GET_WindowPos4fvMESA(disp) ((_glptr_WindowPos4fvMESA)(GET_by_offset((disp), _gloffset_WindowPos4fvMESA)))
#12450|   #define SET_WindowPos4fvMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1503]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4iMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12456:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3061:4: note: in expansion of macro ‘CALL_WindowPos4iMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3061:4: note: in expansion of macro ‘CALL_WindowPos4iMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3061:4: note: in expansion of macro ‘CALL_WindowPos4iMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3061:4: note: in expansion of macro ‘CALL_WindowPos4iMESA’
#12454|   
#12455|   typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA)(GLint, GLint, GLint, GLint);
#12456|-> #define CALL_WindowPos4iMESA(disp, parameters) (* GET_WindowPos4iMESA(disp)) parameters
#12457|   #define GET_WindowPos4iMESA(disp) ((_glptr_WindowPos4iMESA)(GET_by_offset((disp), _gloffset_WindowPos4iMESA)))
#12458|   #define SET_WindowPos4iMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1504]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4ivMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12464:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3086:4: note: in expansion of macro ‘CALL_WindowPos4ivMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3086:4: note: in expansion of macro ‘CALL_WindowPos4ivMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3086:4: note: in expansion of macro ‘CALL_WindowPos4ivMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3086:4: note: in expansion of macro ‘CALL_WindowPos4ivMESA’
#12462|   
#12463|   typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA)(const GLint *);
#12464|-> #define CALL_WindowPos4ivMESA(disp, parameters) (* GET_WindowPos4ivMESA(disp)) parameters
#12465|   #define GET_WindowPos4ivMESA(disp) ((_glptr_WindowPos4ivMESA)(GET_by_offset((disp), _gloffset_WindowPos4ivMESA)))
#12466|   #define SET_WindowPos4ivMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1505]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4sMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12472:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3114:4: note: in expansion of macro ‘CALL_WindowPos4sMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3114:4: note: in expansion of macro ‘CALL_WindowPos4sMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3114:4: note: in expansion of macro ‘CALL_WindowPos4sMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3114:4: note: in expansion of macro ‘CALL_WindowPos4sMESA’
#12470|   
#12471|   typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort);
#12472|-> #define CALL_WindowPos4sMESA(disp, parameters) (* GET_WindowPos4sMESA(disp)) parameters
#12473|   #define GET_WindowPos4sMESA(disp) ((_glptr_WindowPos4sMESA)(GET_by_offset((disp), _gloffset_WindowPos4sMESA)))
#12474|   #define SET_WindowPos4sMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1506]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_WindowPos4svMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12480:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3139:4: note: in expansion of macro ‘CALL_WindowPos4svMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3139:4: note: in expansion of macro ‘CALL_WindowPos4svMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3139:4: note: in expansion of macro ‘CALL_WindowPos4svMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3139:4: note: in expansion of macro ‘CALL_WindowPos4svMESA’
#12478|   
#12479|   typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA)(const GLshort *);
#12480|-> #define CALL_WindowPos4svMESA(disp, parameters) (* GET_WindowPos4svMESA(disp)) parameters
#12481|   #define GET_WindowPos4svMESA(disp) ((_glptr_WindowPos4svMESA)(GET_by_offset((disp), _gloffset_WindowPos4svMESA)))
#12482|   #define SET_WindowPos4svMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1507]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12624:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3599:4: note: in expansion of macro ‘CALL_VertexAttrib1dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3599:4: note: in expansion of macro ‘CALL_VertexAttrib1dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3599:4: note: in expansion of macro ‘CALL_VertexAttrib1dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3599:4: note: in expansion of macro ‘CALL_VertexAttrib1dNV’
#12622|   
#12623|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV)(GLuint, GLdouble);
#12624|-> #define CALL_VertexAttrib1dNV(disp, parameters) (* GET_VertexAttrib1dNV(disp)) parameters
#12625|   #define GET_VertexAttrib1dNV(disp) ((_glptr_VertexAttrib1dNV)(GET_by_offset((disp), _gloffset_VertexAttrib1dNV)))
#12626|   #define SET_VertexAttrib1dNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1508]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12632:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3624:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3624:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3624:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3624:4: note: in expansion of macro ‘CALL_VertexAttrib1dvNV’
#12630|   
#12631|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *);
#12632|-> #define CALL_VertexAttrib1dvNV(disp, parameters) (* GET_VertexAttrib1dvNV(disp)) parameters
#12633|   #define GET_VertexAttrib1dvNV(disp) ((_glptr_VertexAttrib1dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib1dvNV)))
#12634|   #define SET_VertexAttrib1dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1509]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12640:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3381:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3381:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3381:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3381:4: note: in expansion of macro ‘CALL_VertexAttrib1fNV’
#12638|   
#12639|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat);
#12640|-> #define CALL_VertexAttrib1fNV(disp, parameters) (* GET_VertexAttrib1fNV(disp)) parameters
#12641|   #define GET_VertexAttrib1fNV(disp) ((_glptr_VertexAttrib1fNV)(GET_by_offset((disp), _gloffset_VertexAttrib1fNV)))
#12642|   #define SET_VertexAttrib1fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1510]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12648:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3406:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3406:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3406:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3406:4: note: in expansion of macro ‘CALL_VertexAttrib1fvNV’
#12646|   
#12647|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *);
#12648|-> #define CALL_VertexAttrib1fvNV(disp, parameters) (* GET_VertexAttrib1fvNV(disp)) parameters
#12649|   #define GET_VertexAttrib1fvNV(disp) ((_glptr_VertexAttrib1fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib1fvNV)))
#12650|   #define SET_VertexAttrib1fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1511]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12656:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3163:4: note: in expansion of macro ‘CALL_VertexAttrib1sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3163:4: note: in expansion of macro ‘CALL_VertexAttrib1sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3163:4: note: in expansion of macro ‘CALL_VertexAttrib1sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3163:4: note: in expansion of macro ‘CALL_VertexAttrib1sNV’
#12654|   
#12655|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV)(GLuint, GLshort);
#12656|-> #define CALL_VertexAttrib1sNV(disp, parameters) (* GET_VertexAttrib1sNV(disp)) parameters
#12657|   #define GET_VertexAttrib1sNV(disp) ((_glptr_VertexAttrib1sNV)(GET_by_offset((disp), _gloffset_VertexAttrib1sNV)))
#12658|   #define SET_VertexAttrib1sNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1512]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12664:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3188:4: note: in expansion of macro ‘CALL_VertexAttrib1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3188:4: note: in expansion of macro ‘CALL_VertexAttrib1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3188:4: note: in expansion of macro ‘CALL_VertexAttrib1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3188:4: note: in expansion of macro ‘CALL_VertexAttrib1svNV’
#12662|   
#12663|   typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV)(GLuint, const GLshort *);
#12664|-> #define CALL_VertexAttrib1svNV(disp, parameters) (* GET_VertexAttrib1svNV(disp)) parameters
#12665|   #define GET_VertexAttrib1svNV(disp) ((_glptr_VertexAttrib1svNV)(GET_by_offset((disp), _gloffset_VertexAttrib1svNV)))
#12666|   #define SET_VertexAttrib1svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1513]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12672:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3651:4: note: in expansion of macro ‘CALL_VertexAttrib2dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3651:4: note: in expansion of macro ‘CALL_VertexAttrib2dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3651:4: note: in expansion of macro ‘CALL_VertexAttrib2dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3651:4: note: in expansion of macro ‘CALL_VertexAttrib2dNV’
#12670|   
#12671|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV)(GLuint, GLdouble, GLdouble);
#12672|-> #define CALL_VertexAttrib2dNV(disp, parameters) (* GET_VertexAttrib2dNV(disp)) parameters
#12673|   #define GET_VertexAttrib2dNV(disp) ((_glptr_VertexAttrib2dNV)(GET_by_offset((disp), _gloffset_VertexAttrib2dNV)))
#12674|   #define SET_VertexAttrib2dNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1514]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12680:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3677:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3677:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3677:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3677:4: note: in expansion of macro ‘CALL_VertexAttrib2dvNV’
#12678|   
#12679|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *);
#12680|-> #define CALL_VertexAttrib2dvNV(disp, parameters) (* GET_VertexAttrib2dvNV(disp)) parameters
#12681|   #define GET_VertexAttrib2dvNV(disp) ((_glptr_VertexAttrib2dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib2dvNV)))
#12682|   #define SET_VertexAttrib2dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1515]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12688:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3433:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3433:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3433:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3433:4: note: in expansion of macro ‘CALL_VertexAttrib2fNV’
#12686|   
#12687|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat);
#12688|-> #define CALL_VertexAttrib2fNV(disp, parameters) (* GET_VertexAttrib2fNV(disp)) parameters
#12689|   #define GET_VertexAttrib2fNV(disp) ((_glptr_VertexAttrib2fNV)(GET_by_offset((disp), _gloffset_VertexAttrib2fNV)))
#12690|   #define SET_VertexAttrib2fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1516]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12696:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3459:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3459:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3459:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3459:4: note: in expansion of macro ‘CALL_VertexAttrib2fvNV’
#12694|   
#12695|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *);
#12696|-> #define CALL_VertexAttrib2fvNV(disp, parameters) (* GET_VertexAttrib2fvNV(disp)) parameters
#12697|   #define GET_VertexAttrib2fvNV(disp) ((_glptr_VertexAttrib2fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib2fvNV)))
#12698|   #define SET_VertexAttrib2fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1517]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12704:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3215:4: note: in expansion of macro ‘CALL_VertexAttrib2sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3215:4: note: in expansion of macro ‘CALL_VertexAttrib2sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3215:4: note: in expansion of macro ‘CALL_VertexAttrib2sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3215:4: note: in expansion of macro ‘CALL_VertexAttrib2sNV’
#12702|   
#12703|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV)(GLuint, GLshort, GLshort);
#12704|-> #define CALL_VertexAttrib2sNV(disp, parameters) (* GET_VertexAttrib2sNV(disp)) parameters
#12705|   #define GET_VertexAttrib2sNV(disp) ((_glptr_VertexAttrib2sNV)(GET_by_offset((disp), _gloffset_VertexAttrib2sNV)))
#12706|   #define SET_VertexAttrib2sNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1518]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12712:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3241:4: note: in expansion of macro ‘CALL_VertexAttrib2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3241:4: note: in expansion of macro ‘CALL_VertexAttrib2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3241:4: note: in expansion of macro ‘CALL_VertexAttrib2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3241:4: note: in expansion of macro ‘CALL_VertexAttrib2svNV’
#12710|   
#12711|   typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV)(GLuint, const GLshort *);
#12712|-> #define CALL_VertexAttrib2svNV(disp, parameters) (* GET_VertexAttrib2svNV(disp)) parameters
#12713|   #define GET_VertexAttrib2svNV(disp) ((_glptr_VertexAttrib2svNV)(GET_by_offset((disp), _gloffset_VertexAttrib2svNV)))
#12714|   #define SET_VertexAttrib2svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1519]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12720:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3706:4: note: in expansion of macro ‘CALL_VertexAttrib3dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3706:4: note: in expansion of macro ‘CALL_VertexAttrib3dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3706:4: note: in expansion of macro ‘CALL_VertexAttrib3dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3706:4: note: in expansion of macro ‘CALL_VertexAttrib3dNV’
#12718|   
#12719|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV)(GLuint, GLdouble, GLdouble, GLdouble);
#12720|-> #define CALL_VertexAttrib3dNV(disp, parameters) (* GET_VertexAttrib3dNV(disp)) parameters
#12721|   #define GET_VertexAttrib3dNV(disp) ((_glptr_VertexAttrib3dNV)(GET_by_offset((disp), _gloffset_VertexAttrib3dNV)))
#12722|   #define SET_VertexAttrib3dNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1520]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12728:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3733:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3733:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3733:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3733:4: note: in expansion of macro ‘CALL_VertexAttrib3dvNV’
#12726|   
#12727|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *);
#12728|-> #define CALL_VertexAttrib3dvNV(disp, parameters) (* GET_VertexAttrib3dvNV(disp)) parameters
#12729|   #define GET_VertexAttrib3dvNV(disp) ((_glptr_VertexAttrib3dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib3dvNV)))
#12730|   #define SET_VertexAttrib3dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1521]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12736:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3488:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3488:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3488:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3488:4: note: in expansion of macro ‘CALL_VertexAttrib3fNV’
#12734|   
#12735|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat);
#12736|-> #define CALL_VertexAttrib3fNV(disp, parameters) (* GET_VertexAttrib3fNV(disp)) parameters
#12737|   #define GET_VertexAttrib3fNV(disp) ((_glptr_VertexAttrib3fNV)(GET_by_offset((disp), _gloffset_VertexAttrib3fNV)))
#12738|   #define SET_VertexAttrib3fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1522]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12744:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3515:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3515:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3515:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3515:4: note: in expansion of macro ‘CALL_VertexAttrib3fvNV’
#12742|   
#12743|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *);
#12744|-> #define CALL_VertexAttrib3fvNV(disp, parameters) (* GET_VertexAttrib3fvNV(disp)) parameters
#12745|   #define GET_VertexAttrib3fvNV(disp) ((_glptr_VertexAttrib3fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib3fvNV)))
#12746|   #define SET_VertexAttrib3fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1523]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12752:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3270:4: note: in expansion of macro ‘CALL_VertexAttrib3sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3270:4: note: in expansion of macro ‘CALL_VertexAttrib3sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3270:4: note: in expansion of macro ‘CALL_VertexAttrib3sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3270:4: note: in expansion of macro ‘CALL_VertexAttrib3sNV’
#12750|   
#12751|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV)(GLuint, GLshort, GLshort, GLshort);
#12752|-> #define CALL_VertexAttrib3sNV(disp, parameters) (* GET_VertexAttrib3sNV(disp)) parameters
#12753|   #define GET_VertexAttrib3sNV(disp) ((_glptr_VertexAttrib3sNV)(GET_by_offset((disp), _gloffset_VertexAttrib3sNV)))
#12754|   #define SET_VertexAttrib3sNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1524]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12760:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3297:4: note: in expansion of macro ‘CALL_VertexAttrib3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3297:4: note: in expansion of macro ‘CALL_VertexAttrib3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3297:4: note: in expansion of macro ‘CALL_VertexAttrib3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3297:4: note: in expansion of macro ‘CALL_VertexAttrib3svNV’
#12758|   
#12759|   typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV)(GLuint, const GLshort *);
#12760|-> #define CALL_VertexAttrib3svNV(disp, parameters) (* GET_VertexAttrib3svNV(disp)) parameters
#12761|   #define GET_VertexAttrib3svNV(disp) ((_glptr_VertexAttrib3svNV)(GET_by_offset((disp), _gloffset_VertexAttrib3svNV)))
#12762|   #define SET_VertexAttrib3svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1525]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12768:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3764:4: note: in expansion of macro ‘CALL_VertexAttrib4dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3764:4: note: in expansion of macro ‘CALL_VertexAttrib4dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3764:4: note: in expansion of macro ‘CALL_VertexAttrib4dNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3764:4: note: in expansion of macro ‘CALL_VertexAttrib4dNV’
#12766|   
#12767|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
#12768|-> #define CALL_VertexAttrib4dNV(disp, parameters) (* GET_VertexAttrib4dNV(disp)) parameters
#12769|   #define GET_VertexAttrib4dNV(disp) ((_glptr_VertexAttrib4dNV)(GET_by_offset((disp), _gloffset_VertexAttrib4dNV)))
#12770|   #define SET_VertexAttrib4dNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1526]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12776:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3792:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3792:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3792:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3792:4: note: in expansion of macro ‘CALL_VertexAttrib4dvNV’
#12774|   
#12775|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *);
#12776|-> #define CALL_VertexAttrib4dvNV(disp, parameters) (* GET_VertexAttrib4dvNV(disp)) parameters
#12777|   #define GET_VertexAttrib4dvNV(disp) ((_glptr_VertexAttrib4dvNV)(GET_by_offset((disp), _gloffset_VertexAttrib4dvNV)))
#12778|   #define SET_VertexAttrib4dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1527]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12784:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3546:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3546:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3546:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3546:4: note: in expansion of macro ‘CALL_VertexAttrib4fNV’
#12782|   
#12783|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
#12784|-> #define CALL_VertexAttrib4fNV(disp, parameters) (* GET_VertexAttrib4fNV(disp)) parameters
#12785|   #define GET_VertexAttrib4fNV(disp) ((_glptr_VertexAttrib4fNV)(GET_by_offset((disp), _gloffset_VertexAttrib4fNV)))
#12786|   #define SET_VertexAttrib4fNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1528]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12792:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3574:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3574:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3574:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3574:4: note: in expansion of macro ‘CALL_VertexAttrib4fvNV’
#12790|   
#12791|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *);
#12792|-> #define CALL_VertexAttrib4fvNV(disp, parameters) (* GET_VertexAttrib4fvNV(disp)) parameters
#12793|   #define GET_VertexAttrib4fvNV(disp) ((_glptr_VertexAttrib4fvNV)(GET_by_offset((disp), _gloffset_VertexAttrib4fvNV)))
#12794|   #define SET_VertexAttrib4fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1529]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12800:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3328:4: note: in expansion of macro ‘CALL_VertexAttrib4sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3328:4: note: in expansion of macro ‘CALL_VertexAttrib4sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3328:4: note: in expansion of macro ‘CALL_VertexAttrib4sNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3328:4: note: in expansion of macro ‘CALL_VertexAttrib4sNV’
#12798|   
#12799|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV)(GLuint, GLshort, GLshort, GLshort, GLshort);
#12800|-> #define CALL_VertexAttrib4sNV(disp, parameters) (* GET_VertexAttrib4sNV(disp)) parameters
#12801|   #define GET_VertexAttrib4sNV(disp) ((_glptr_VertexAttrib4sNV)(GET_by_offset((disp), _gloffset_VertexAttrib4sNV)))
#12802|   #define SET_VertexAttrib4sNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1530]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12808:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3356:4: note: in expansion of macro ‘CALL_VertexAttrib4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3356:4: note: in expansion of macro ‘CALL_VertexAttrib4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3356:4: note: in expansion of macro ‘CALL_VertexAttrib4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3356:4: note: in expansion of macro ‘CALL_VertexAttrib4svNV’
#12806|   
#12807|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV)(GLuint, const GLshort *);
#12808|-> #define CALL_VertexAttrib4svNV(disp, parameters) (* GET_VertexAttrib4svNV(disp)) parameters
#12809|   #define GET_VertexAttrib4svNV(disp) ((_glptr_VertexAttrib4svNV)(GET_by_offset((disp), _gloffset_VertexAttrib4svNV)))
#12810|   #define SET_VertexAttrib4svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1531]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4ubNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12816:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3823:4: note: in expansion of macro ‘CALL_VertexAttrib4ubNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3823:4: note: in expansion of macro ‘CALL_VertexAttrib4ubNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3823:4: note: in expansion of macro ‘CALL_VertexAttrib4ubNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3823:4: note: in expansion of macro ‘CALL_VertexAttrib4ubNV’
#12814|   
#12815|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
#12816|-> #define CALL_VertexAttrib4ubNV(disp, parameters) (* GET_VertexAttrib4ubNV(disp)) parameters
#12817|   #define GET_VertexAttrib4ubNV(disp) ((_glptr_VertexAttrib4ubNV)(GET_by_offset((disp), _gloffset_VertexAttrib4ubNV)))
#12818|   #define SET_VertexAttrib4ubNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1532]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttrib4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12824:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3851:4: note: in expansion of macro ‘CALL_VertexAttrib4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3851:4: note: in expansion of macro ‘CALL_VertexAttrib4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3851:4: note: in expansion of macro ‘CALL_VertexAttrib4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3851:4: note: in expansion of macro ‘CALL_VertexAttrib4ubvNV’
#12822|   
#12823|   typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV)(GLuint, const GLubyte *);
#12824|-> #define CALL_VertexAttrib4ubvNV(disp, parameters) (* GET_VertexAttrib4ubvNV(disp)) parameters
#12825|   #define GET_VertexAttrib4ubvNV(disp) ((_glptr_VertexAttrib4ubvNV)(GET_by_offset((disp), _gloffset_VertexAttrib4ubvNV)))
#12826|   #define SET_VertexAttrib4ubvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1533]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12840:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4193:4: note: in expansion of macro ‘CALL_VertexAttribs1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4193:4: note: in expansion of macro ‘CALL_VertexAttribs1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4193:4: note: in expansion of macro ‘CALL_VertexAttribs1dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4193:4: note: in expansion of macro ‘CALL_VertexAttribs1dvNV’
#12838|   
#12839|   typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV)(GLuint, GLsizei, const GLdouble *);
#12840|-> #define CALL_VertexAttribs1dvNV(disp, parameters) (* GET_VertexAttribs1dvNV(disp)) parameters
#12841|   #define GET_VertexAttribs1dvNV(disp) ((_glptr_VertexAttribs1dvNV)(GET_by_offset((disp), _gloffset_VertexAttribs1dvNV)))
#12842|   #define SET_VertexAttribs1dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1534]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12848:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4037:4: note: in expansion of macro ‘CALL_VertexAttribs1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4037:4: note: in expansion of macro ‘CALL_VertexAttribs1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4037:4: note: in expansion of macro ‘CALL_VertexAttribs1fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4037:4: note: in expansion of macro ‘CALL_VertexAttribs1fvNV’
#12846|   
#12847|   typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV)(GLuint, GLsizei, const GLfloat *);
#12848|-> #define CALL_VertexAttribs1fvNV(disp, parameters) (* GET_VertexAttribs1fvNV(disp)) parameters
#12849|   #define GET_VertexAttribs1fvNV(disp) ((_glptr_VertexAttribs1fvNV)(GET_by_offset((disp), _gloffset_VertexAttribs1fvNV)))
#12850|   #define SET_VertexAttribs1fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1535]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12856:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3881:4: note: in expansion of macro ‘CALL_VertexAttribs1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3881:4: note: in expansion of macro ‘CALL_VertexAttribs1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3881:4: note: in expansion of macro ‘CALL_VertexAttribs1svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3881:4: note: in expansion of macro ‘CALL_VertexAttribs1svNV’
#12854|   
#12855|   typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV)(GLuint, GLsizei, const GLshort *);
#12856|-> #define CALL_VertexAttribs1svNV(disp, parameters) (* GET_VertexAttribs1svNV(disp)) parameters
#12857|   #define GET_VertexAttribs1svNV(disp) ((_glptr_VertexAttribs1svNV)(GET_by_offset((disp), _gloffset_VertexAttribs1svNV)))
#12858|   #define SET_VertexAttribs1svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1536]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12864:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4232:4: note: in expansion of macro ‘CALL_VertexAttribs2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4232:4: note: in expansion of macro ‘CALL_VertexAttribs2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4232:4: note: in expansion of macro ‘CALL_VertexAttribs2dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4232:4: note: in expansion of macro ‘CALL_VertexAttribs2dvNV’
#12862|   
#12863|   typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV)(GLuint, GLsizei, const GLdouble *);
#12864|-> #define CALL_VertexAttribs2dvNV(disp, parameters) (* GET_VertexAttribs2dvNV(disp)) parameters
#12865|   #define GET_VertexAttribs2dvNV(disp) ((_glptr_VertexAttribs2dvNV)(GET_by_offset((disp), _gloffset_VertexAttribs2dvNV)))
#12866|   #define SET_VertexAttribs2dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1537]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12872:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4076:4: note: in expansion of macro ‘CALL_VertexAttribs2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4076:4: note: in expansion of macro ‘CALL_VertexAttribs2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4076:4: note: in expansion of macro ‘CALL_VertexAttribs2fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4076:4: note: in expansion of macro ‘CALL_VertexAttribs2fvNV’
#12870|   
#12871|   typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV)(GLuint, GLsizei, const GLfloat *);
#12872|-> #define CALL_VertexAttribs2fvNV(disp, parameters) (* GET_VertexAttribs2fvNV(disp)) parameters
#12873|   #define GET_VertexAttribs2fvNV(disp) ((_glptr_VertexAttribs2fvNV)(GET_by_offset((disp), _gloffset_VertexAttribs2fvNV)))
#12874|   #define SET_VertexAttribs2fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1538]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12880:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3920:4: note: in expansion of macro ‘CALL_VertexAttribs2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3920:4: note: in expansion of macro ‘CALL_VertexAttribs2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3920:4: note: in expansion of macro ‘CALL_VertexAttribs2svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3920:4: note: in expansion of macro ‘CALL_VertexAttribs2svNV’
#12878|   
#12879|   typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV)(GLuint, GLsizei, const GLshort *);
#12880|-> #define CALL_VertexAttribs2svNV(disp, parameters) (* GET_VertexAttribs2svNV(disp)) parameters
#12881|   #define GET_VertexAttribs2svNV(disp) ((_glptr_VertexAttribs2svNV)(GET_by_offset((disp), _gloffset_VertexAttribs2svNV)))
#12882|   #define SET_VertexAttribs2svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1539]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12888:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4271:4: note: in expansion of macro ‘CALL_VertexAttribs3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4271:4: note: in expansion of macro ‘CALL_VertexAttribs3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4271:4: note: in expansion of macro ‘CALL_VertexAttribs3dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4271:4: note: in expansion of macro ‘CALL_VertexAttribs3dvNV’
#12886|   
#12887|   typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV)(GLuint, GLsizei, const GLdouble *);
#12888|-> #define CALL_VertexAttribs3dvNV(disp, parameters) (* GET_VertexAttribs3dvNV(disp)) parameters
#12889|   #define GET_VertexAttribs3dvNV(disp) ((_glptr_VertexAttribs3dvNV)(GET_by_offset((disp), _gloffset_VertexAttribs3dvNV)))
#12890|   #define SET_VertexAttribs3dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1540]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12896:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4115:4: note: in expansion of macro ‘CALL_VertexAttribs3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4115:4: note: in expansion of macro ‘CALL_VertexAttribs3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4115:4: note: in expansion of macro ‘CALL_VertexAttribs3fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4115:4: note: in expansion of macro ‘CALL_VertexAttribs3fvNV’
#12894|   
#12895|   typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV)(GLuint, GLsizei, const GLfloat *);
#12896|-> #define CALL_VertexAttribs3fvNV(disp, parameters) (* GET_VertexAttribs3fvNV(disp)) parameters
#12897|   #define GET_VertexAttribs3fvNV(disp) ((_glptr_VertexAttribs3fvNV)(GET_by_offset((disp), _gloffset_VertexAttribs3fvNV)))
#12898|   #define SET_VertexAttribs3fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1541]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12904:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3959:4: note: in expansion of macro ‘CALL_VertexAttribs3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3959:4: note: in expansion of macro ‘CALL_VertexAttribs3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3959:4: note: in expansion of macro ‘CALL_VertexAttribs3svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3959:4: note: in expansion of macro ‘CALL_VertexAttribs3svNV’
#12902|   
#12903|   typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV)(GLuint, GLsizei, const GLshort *);
#12904|-> #define CALL_VertexAttribs3svNV(disp, parameters) (* GET_VertexAttribs3svNV(disp)) parameters
#12905|   #define GET_VertexAttribs3svNV(disp) ((_glptr_VertexAttribs3svNV)(GET_by_offset((disp), _gloffset_VertexAttribs3svNV)))
#12906|   #define SET_VertexAttribs3svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1542]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12912:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4310:4: note: in expansion of macro ‘CALL_VertexAttribs4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4310:4: note: in expansion of macro ‘CALL_VertexAttribs4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4310:4: note: in expansion of macro ‘CALL_VertexAttribs4dvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4310:4: note: in expansion of macro ‘CALL_VertexAttribs4dvNV’
#12910|   
#12911|   typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV)(GLuint, GLsizei, const GLdouble *);
#12912|-> #define CALL_VertexAttribs4dvNV(disp, parameters) (* GET_VertexAttribs4dvNV(disp)) parameters
#12913|   #define GET_VertexAttribs4dvNV(disp) ((_glptr_VertexAttribs4dvNV)(GET_by_offset((disp), _gloffset_VertexAttribs4dvNV)))
#12914|   #define SET_VertexAttribs4dvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1543]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12920:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4154:4: note: in expansion of macro ‘CALL_VertexAttribs4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4154:4: note: in expansion of macro ‘CALL_VertexAttribs4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4154:4: note: in expansion of macro ‘CALL_VertexAttribs4fvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4154:4: note: in expansion of macro ‘CALL_VertexAttribs4fvNV’
#12918|   
#12919|   typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV)(GLuint, GLsizei, const GLfloat *);
#12920|-> #define CALL_VertexAttribs4fvNV(disp, parameters) (* GET_VertexAttribs4fvNV(disp)) parameters
#12921|   #define GET_VertexAttribs4fvNV(disp) ((_glptr_VertexAttribs4fvNV)(GET_by_offset((disp), _gloffset_VertexAttribs4fvNV)))
#12922|   #define SET_VertexAttribs4fvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1544]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12928:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3998:4: note: in expansion of macro ‘CALL_VertexAttribs4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3998:4: note: in expansion of macro ‘CALL_VertexAttribs4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3998:4: note: in expansion of macro ‘CALL_VertexAttribs4svNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:3998:4: note: in expansion of macro ‘CALL_VertexAttribs4svNV’
#12926|   
#12927|   typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV)(GLuint, GLsizei, const GLshort *);
#12928|-> #define CALL_VertexAttribs4svNV(disp, parameters) (* GET_VertexAttribs4svNV(disp)) parameters
#12929|   #define GET_VertexAttribs4svNV(disp) ((_glptr_VertexAttribs4svNV)(GET_by_offset((disp), _gloffset_VertexAttribs4svNV)))
#12930|   #define SET_VertexAttribs4svNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1545]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribs4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12936:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4349:4: note: in expansion of macro ‘CALL_VertexAttribs4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4349:4: note: in expansion of macro ‘CALL_VertexAttribs4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4349:4: note: in expansion of macro ‘CALL_VertexAttribs4ubvNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4349:4: note: in expansion of macro ‘CALL_VertexAttribs4ubvNV’
#12934|   
#12935|   typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *);
#12936|-> #define CALL_VertexAttribs4ubvNV(disp, parameters) (* GET_VertexAttribs4ubvNV(disp)) parameters
#12937|   #define GET_VertexAttribs4ubvNV(disp) ((_glptr_VertexAttribs4ubvNV)(GET_by_offset((disp), _gloffset_VertexAttribs4ubvNV)))
#12938|   #define SET_VertexAttribs4ubvNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1546]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_AlphaFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12976:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4686:4: note: in expansion of macro ‘CALL_AlphaFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4686:4: note: in expansion of macro ‘CALL_AlphaFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4686:4: note: in expansion of macro ‘CALL_AlphaFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4686:4: note: in expansion of macro ‘CALL_AlphaFragmentOp1ATI’
#12974|   
#12975|   typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
#12976|-> #define CALL_AlphaFragmentOp1ATI(disp, parameters) (* GET_AlphaFragmentOp1ATI(disp)) parameters
#12977|   #define GET_AlphaFragmentOp1ATI(disp) ((_glptr_AlphaFragmentOp1ATI)(GET_by_offset((disp), _gloffset_AlphaFragmentOp1ATI)))
#12978|   #define SET_AlphaFragmentOp1ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1547]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_AlphaFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12984:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4729:4: note: in expansion of macro ‘CALL_AlphaFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4729:4: note: in expansion of macro ‘CALL_AlphaFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4729:4: note: in expansion of macro ‘CALL_AlphaFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4729:4: note: in expansion of macro ‘CALL_AlphaFragmentOp2ATI’
#12982|   
#12983|   typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#12984|-> #define CALL_AlphaFragmentOp2ATI(disp, parameters) (* GET_AlphaFragmentOp2ATI(disp)) parameters
#12985|   #define GET_AlphaFragmentOp2ATI(disp) ((_glptr_AlphaFragmentOp2ATI)(GET_by_offset((disp), _gloffset_AlphaFragmentOp2ATI)))
#12986|   #define SET_AlphaFragmentOp2ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1548]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_AlphaFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:12992:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4781:4: note: in expansion of macro ‘CALL_AlphaFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4781:4: note: in expansion of macro ‘CALL_AlphaFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4781:4: note: in expansion of macro ‘CALL_AlphaFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4781:4: note: in expansion of macro ‘CALL_AlphaFragmentOp3ATI’
#12990|   
#12991|   typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#12992|-> #define CALL_AlphaFragmentOp3ATI(disp, parameters) (* GET_AlphaFragmentOp3ATI(disp)) parameters
#12993|   #define GET_AlphaFragmentOp3ATI(disp) ((_glptr_AlphaFragmentOp3ATI)(GET_by_offset((disp), _gloffset_AlphaFragmentOp3ATI)))
#12994|   #define SET_AlphaFragmentOp3ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1549]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BeginFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13000:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4433:4: note: in expansion of macro ‘CALL_BeginFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4433:4: note: in expansion of macro ‘CALL_BeginFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4433:4: note: in expansion of macro ‘CALL_BeginFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4433:4: note: in expansion of macro ‘CALL_BeginFragmentShaderATI’
#12998|   
#12999|   typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI)(void);
#13000|-> #define CALL_BeginFragmentShaderATI(disp, parameters) (* GET_BeginFragmentShaderATI(disp)) parameters
#13001|   #define GET_BeginFragmentShaderATI(disp) ((_glptr_BeginFragmentShaderATI)(GET_by_offset((disp), _gloffset_BeginFragmentShaderATI)))
#13002|   #define SET_BeginFragmentShaderATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1550]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BindFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13008:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4391:4: note: in expansion of macro ‘CALL_BindFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4391:4: note: in expansion of macro ‘CALL_BindFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4391:4: note: in expansion of macro ‘CALL_BindFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4391:4: note: in expansion of macro ‘CALL_BindFragmentShaderATI’
#13006|   
#13007|   typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI)(GLuint);
#13008|-> #define CALL_BindFragmentShaderATI(disp, parameters) (* GET_BindFragmentShaderATI(disp)) parameters
#13009|   #define GET_BindFragmentShaderATI(disp) ((_glptr_BindFragmentShaderATI)(GET_by_offset((disp), _gloffset_BindFragmentShaderATI)))
#13010|   #define SET_BindFragmentShaderATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1551]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ColorFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13016:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4541:4: note: in expansion of macro ‘CALL_ColorFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4541:4: note: in expansion of macro ‘CALL_ColorFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4541:4: note: in expansion of macro ‘CALL_ColorFragmentOp1ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4541:4: note: in expansion of macro ‘CALL_ColorFragmentOp1ATI’
#13014|   
#13015|   typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#13016|-> #define CALL_ColorFragmentOp1ATI(disp, parameters) (* GET_ColorFragmentOp1ATI(disp)) parameters
#13017|   #define GET_ColorFragmentOp1ATI(disp) ((_glptr_ColorFragmentOp1ATI)(GET_by_offset((disp), _gloffset_ColorFragmentOp1ATI)))
#13018|   #define SET_ColorFragmentOp1ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1552]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ColorFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13024:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4587:4: note: in expansion of macro ‘CALL_ColorFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4587:4: note: in expansion of macro ‘CALL_ColorFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4587:4: note: in expansion of macro ‘CALL_ColorFragmentOp2ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4587:4: note: in expansion of macro ‘CALL_ColorFragmentOp2ATI’
#13022|   
#13023|   typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#13024|-> #define CALL_ColorFragmentOp2ATI(disp, parameters) (* GET_ColorFragmentOp2ATI(disp)) parameters
#13025|   #define GET_ColorFragmentOp2ATI(disp) ((_glptr_ColorFragmentOp2ATI)(GET_by_offset((disp), _gloffset_ColorFragmentOp2ATI)))
#13026|   #define SET_ColorFragmentOp2ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1553]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ColorFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13032:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4642:4: note: in expansion of macro ‘CALL_ColorFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4642:4: note: in expansion of macro ‘CALL_ColorFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4642:4: note: in expansion of macro ‘CALL_ColorFragmentOp3ATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4642:4: note: in expansion of macro ‘CALL_ColorFragmentOp3ATI’
#13030|   
#13031|   typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#13032|-> #define CALL_ColorFragmentOp3ATI(disp, parameters) (* GET_ColorFragmentOp3ATI(disp)) parameters
#13033|   #define GET_ColorFragmentOp3ATI(disp) ((_glptr_ColorFragmentOp3ATI)(GET_by_offset((disp), _gloffset_ColorFragmentOp3ATI)))
#13034|   #define SET_ColorFragmentOp3ATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1554]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DeleteFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13040:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4413:4: note: in expansion of macro ‘CALL_DeleteFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4413:4: note: in expansion of macro ‘CALL_DeleteFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4413:4: note: in expansion of macro ‘CALL_DeleteFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4413:4: note: in expansion of macro ‘CALL_DeleteFragmentShaderATI’
#13038|   
#13039|   typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI)(GLuint);
#13040|-> #define CALL_DeleteFragmentShaderATI(disp, parameters) (* GET_DeleteFragmentShaderATI(disp)) parameters
#13041|   #define GET_DeleteFragmentShaderATI(disp) ((_glptr_DeleteFragmentShaderATI)(GET_by_offset((disp), _gloffset_DeleteFragmentShaderATI)))
#13042|   #define SET_DeleteFragmentShaderATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1555]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_EndFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13048:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4452:4: note: in expansion of macro ‘CALL_EndFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4452:4: note: in expansion of macro ‘CALL_EndFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4452:4: note: in expansion of macro ‘CALL_EndFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4452:4: note: in expansion of macro ‘CALL_EndFragmentShaderATI’
#13046|   
#13047|   typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI)(void);
#13048|-> #define CALL_EndFragmentShaderATI(disp, parameters) (* GET_EndFragmentShaderATI(disp)) parameters
#13049|   #define GET_EndFragmentShaderATI(disp) ((_glptr_EndFragmentShaderATI)(GET_by_offset((disp), _gloffset_EndFragmentShaderATI)))
#13050|   #define SET_EndFragmentShaderATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1556]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GenFragmentShadersATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13056:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4378:11: note: in expansion of macro ‘CALL_GenFragmentShadersATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4378:11: note: in expansion of macro ‘CALL_GenFragmentShadersATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4378:11: note: in expansion of macro ‘CALL_GenFragmentShadersATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4378:11: note: in expansion of macro ‘CALL_GenFragmentShadersATI’
#13054|   
#13055|   typedef GLuint (GLAPIENTRYP _glptr_GenFragmentShadersATI)(GLuint);
#13056|-> #define CALL_GenFragmentShadersATI(disp, parameters) (* GET_GenFragmentShadersATI(disp)) parameters
#13057|   #define GET_GenFragmentShadersATI(disp) ((_glptr_GenFragmentShadersATI)(GET_by_offset((disp), _gloffset_GenFragmentShadersATI)))
#13058|   #define SET_GenFragmentShadersATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1557]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_PassTexCoordATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13064:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4477:4: note: in expansion of macro ‘CALL_PassTexCoordATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4477:4: note: in expansion of macro ‘CALL_PassTexCoordATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4477:4: note: in expansion of macro ‘CALL_PassTexCoordATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4477:4: note: in expansion of macro ‘CALL_PassTexCoordATI’
#13062|   
#13063|   typedef void (GLAPIENTRYP _glptr_PassTexCoordATI)(GLuint, GLuint, GLenum);
#13064|-> #define CALL_PassTexCoordATI(disp, parameters) (* GET_PassTexCoordATI(disp)) parameters
#13065|   #define GET_PassTexCoordATI(disp) ((_glptr_PassTexCoordATI)(GET_by_offset((disp), _gloffset_PassTexCoordATI)))
#13066|   #define SET_PassTexCoordATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1558]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_SampleMapATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13072:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4505:4: note: in expansion of macro ‘CALL_SampleMapATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4505:4: note: in expansion of macro ‘CALL_SampleMapATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4505:4: note: in expansion of macro ‘CALL_SampleMapATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4505:4: note: in expansion of macro ‘CALL_SampleMapATI’
#13070|   
#13071|   typedef void (GLAPIENTRYP _glptr_SampleMapATI)(GLuint, GLuint, GLenum);
#13072|-> #define CALL_SampleMapATI(disp, parameters) (* GET_SampleMapATI(disp)) parameters
#13073|   #define GET_SampleMapATI(disp) ((_glptr_SampleMapATI)(GET_by_offset((disp), _gloffset_SampleMapATI)))
#13074|   #define SET_SampleMapATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1559]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_SetFragmentShaderConstantATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13080:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4816:4: note: in expansion of macro ‘CALL_SetFragmentShaderConstantATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4816:4: note: in expansion of macro ‘CALL_SetFragmentShaderConstantATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4816:4: note: in expansion of macro ‘CALL_SetFragmentShaderConstantATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4816:4: note: in expansion of macro ‘CALL_SetFragmentShaderConstantATI’
#13078|   
#13079|   typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI)(GLuint, const GLfloat *);
#13080|-> #define CALL_SetFragmentShaderConstantATI(disp, parameters) (* GET_SetFragmentShaderConstantATI(disp)) parameters
#13081|   #define GET_SetFragmentShaderConstantATI(disp) ((_glptr_SetFragmentShaderConstantATI)(GET_by_offset((disp), _gloffset_SetFragmentShaderConstantATI)))
#13082|   #define SET_SetFragmentShaderConstantATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1560]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ActiveStencilFaceEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13104:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4839:4: note: in expansion of macro ‘CALL_ActiveStencilFaceEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4839:4: note: in expansion of macro ‘CALL_ActiveStencilFaceEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4839:4: note: in expansion of macro ‘CALL_ActiveStencilFaceEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4839:4: note: in expansion of macro ‘CALL_ActiveStencilFaceEXT’
#13102|   
#13103|   typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT)(GLenum);
#13104|-> #define CALL_ActiveStencilFaceEXT(disp, parameters) (* GET_ActiveStencilFaceEXT(disp)) parameters
#13105|   #define GET_ActiveStencilFaceEXT(disp) ((_glptr_ActiveStencilFaceEXT)(GET_by_offset((disp), _gloffset_ActiveStencilFaceEXT)))
#13106|   #define SET_ActiveStencilFaceEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1561]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DepthBoundsEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13192:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4863:4: note: in expansion of macro ‘CALL_DepthBoundsEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4863:4: note: in expansion of macro ‘CALL_DepthBoundsEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4863:4: note: in expansion of macro ‘CALL_DepthBoundsEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4863:4: note: in expansion of macro ‘CALL_DepthBoundsEXT’
#13190|   
#13191|   typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT)(GLclampd, GLclampd);
#13192|-> #define CALL_DepthBoundsEXT(disp, parameters) (* GET_DepthBoundsEXT(disp)) parameters
#13193|   #define GET_DepthBoundsEXT(disp) ((_glptr_DepthBoundsEXT)(GET_by_offset((disp), _gloffset_DepthBoundsEXT)))
#13194|   #define SET_DepthBoundsEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1562]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BindFramebufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13200:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4913:4: note: in expansion of macro ‘CALL_BindFramebufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4913:4: note: in expansion of macro ‘CALL_BindFramebufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4913:4: note: in expansion of macro ‘CALL_BindFramebufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4913:4: note: in expansion of macro ‘CALL_BindFramebufferEXT’
#13198|   
#13199|   typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT)(GLenum, GLuint);
#13200|-> #define CALL_BindFramebufferEXT(disp, parameters) (* GET_BindFramebufferEXT(disp)) parameters
#13201|   #define GET_BindFramebufferEXT(disp) ((_glptr_BindFramebufferEXT)(GET_by_offset((disp), _gloffset_BindFramebufferEXT)))
#13202|   #define SET_BindFramebufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1563]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BindRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13208:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4888:4: note: in expansion of macro ‘CALL_BindRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4888:4: note: in expansion of macro ‘CALL_BindRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4888:4: note: in expansion of macro ‘CALL_BindRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4888:4: note: in expansion of macro ‘CALL_BindRenderbufferEXT’
#13206|   
#13207|   typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT)(GLenum, GLuint);
#13208|-> #define CALL_BindRenderbufferEXT(disp, parameters) (* GET_BindRenderbufferEXT(disp)) parameters
#13209|   #define GET_BindRenderbufferEXT(disp) ((_glptr_BindRenderbufferEXT)(GET_by_offset((disp), _gloffset_BindRenderbufferEXT)))
#13210|   #define SET_BindRenderbufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1564]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_StringMarkerGREMEDY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13216:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4934:4: note: in expansion of macro ‘CALL_StringMarkerGREMEDY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4934:4: note: in expansion of macro ‘CALL_StringMarkerGREMEDY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4934:4: note: in expansion of macro ‘CALL_StringMarkerGREMEDY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:4934:4: note: in expansion of macro ‘CALL_StringMarkerGREMEDY’
#13214|   
#13215|   typedef void (GLAPIENTRYP _glptr_StringMarkerGREMEDY)(GLsizei, const GLvoid *);
#13216|-> #define CALL_StringMarkerGREMEDY(disp, parameters) (* GET_StringMarkerGREMEDY(disp)) parameters
#13217|   #define GET_StringMarkerGREMEDY(disp) ((_glptr_StringMarkerGREMEDY)(GET_by_offset((disp), _gloffset_StringMarkerGREMEDY)))
#13218|   #define SET_StringMarkerGREMEDY(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1565]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI1iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13240:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5741:4: note: in expansion of macro ‘CALL_VertexAttribI1iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5741:4: note: in expansion of macro ‘CALL_VertexAttribI1iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5741:4: note: in expansion of macro ‘CALL_VertexAttribI1iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5741:4: note: in expansion of macro ‘CALL_VertexAttribI1iEXT’
#13238|   
#13239|   typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT)(GLuint, GLint);
#13240|-> #define CALL_VertexAttribI1iEXT(disp, parameters) (* GET_VertexAttribI1iEXT(disp)) parameters
#13241|   #define GET_VertexAttribI1iEXT(disp) ((_glptr_VertexAttribI1iEXT)(GET_by_offset((disp), _gloffset_VertexAttribI1iEXT)))
#13242|   #define SET_VertexAttribI1iEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1566]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI1uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13248:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5859:4: note: in expansion of macro ‘CALL_VertexAttribI1uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5859:4: note: in expansion of macro ‘CALL_VertexAttribI1uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5859:4: note: in expansion of macro ‘CALL_VertexAttribI1uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5859:4: note: in expansion of macro ‘CALL_VertexAttribI1uiEXT’
#13246|   
#13247|   typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT)(GLuint, GLuint);
#13248|-> #define CALL_VertexAttribI1uiEXT(disp, parameters) (* GET_VertexAttribI1uiEXT(disp)) parameters
#13249|   #define GET_VertexAttribI1uiEXT(disp) ((_glptr_VertexAttribI1uiEXT)(GET_by_offset((disp), _gloffset_VertexAttribI1uiEXT)))
#13250|   #define SET_VertexAttribI1uiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1567]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI2iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13256:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5768:4: note: in expansion of macro ‘CALL_VertexAttribI2iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5768:4: note: in expansion of macro ‘CALL_VertexAttribI2iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5768:4: note: in expansion of macro ‘CALL_VertexAttribI2iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5768:4: note: in expansion of macro ‘CALL_VertexAttribI2iEXT’
#13254|   
#13255|   typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT)(GLuint, GLint, GLint);
#13256|-> #define CALL_VertexAttribI2iEXT(disp, parameters) (* GET_VertexAttribI2iEXT(disp)) parameters
#13257|   #define GET_VertexAttribI2iEXT(disp) ((_glptr_VertexAttribI2iEXT)(GET_by_offset((disp), _gloffset_VertexAttribI2iEXT)))
#13258|   #define SET_VertexAttribI2iEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1568]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI2ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13264:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6002:4: note: in expansion of macro ‘CALL_VertexAttribI2ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6002:4: note: in expansion of macro ‘CALL_VertexAttribI2ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6002:4: note: in expansion of macro ‘CALL_VertexAttribI2ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6002:4: note: in expansion of macro ‘CALL_VertexAttribI2ivEXT’
#13262|   
#13263|   typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT)(GLuint, const GLint *);
#13264|-> #define CALL_VertexAttribI2ivEXT(disp, parameters) (* GET_VertexAttribI2ivEXT(disp)) parameters
#13265|   #define GET_VertexAttribI2ivEXT(disp) ((_glptr_VertexAttribI2ivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI2ivEXT)))
#13266|   #define SET_VertexAttribI2ivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1569]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI2uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13272:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5886:4: note: in expansion of macro ‘CALL_VertexAttribI2uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5886:4: note: in expansion of macro ‘CALL_VertexAttribI2uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5886:4: note: in expansion of macro ‘CALL_VertexAttribI2uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5886:4: note: in expansion of macro ‘CALL_VertexAttribI2uiEXT’
#13270|   
#13271|   typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT)(GLuint, GLuint, GLuint);
#13272|-> #define CALL_VertexAttribI2uiEXT(disp, parameters) (* GET_VertexAttribI2uiEXT(disp)) parameters
#13273|   #define GET_VertexAttribI2uiEXT(disp) ((_glptr_VertexAttribI2uiEXT)(GET_by_offset((disp), _gloffset_VertexAttribI2uiEXT)))
#13274|   #define SET_VertexAttribI2uiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1570]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI2uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13280:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6102:4: note: in expansion of macro ‘CALL_VertexAttribI2uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6102:4: note: in expansion of macro ‘CALL_VertexAttribI2uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6102:4: note: in expansion of macro ‘CALL_VertexAttribI2uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6102:4: note: in expansion of macro ‘CALL_VertexAttribI2uivEXT’
#13278|   
#13279|   typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT)(GLuint, const GLuint *);
#13280|-> #define CALL_VertexAttribI2uivEXT(disp, parameters) (* GET_VertexAttribI2uivEXT(disp)) parameters
#13281|   #define GET_VertexAttribI2uivEXT(disp) ((_glptr_VertexAttribI2uivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI2uivEXT)))
#13282|   #define SET_VertexAttribI2uivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1571]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI3iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13288:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5798:4: note: in expansion of macro ‘CALL_VertexAttribI3iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5798:4: note: in expansion of macro ‘CALL_VertexAttribI3iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5798:4: note: in expansion of macro ‘CALL_VertexAttribI3iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5798:4: note: in expansion of macro ‘CALL_VertexAttribI3iEXT’
#13286|   
#13287|   typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT)(GLuint, GLint, GLint, GLint);
#13288|-> #define CALL_VertexAttribI3iEXT(disp, parameters) (* GET_VertexAttribI3iEXT(disp)) parameters
#13289|   #define GET_VertexAttribI3iEXT(disp) ((_glptr_VertexAttribI3iEXT)(GET_by_offset((disp), _gloffset_VertexAttribI3iEXT)))
#13290|   #define SET_VertexAttribI3iEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1572]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI3ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13296:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6027:4: note: in expansion of macro ‘CALL_VertexAttribI3ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6027:4: note: in expansion of macro ‘CALL_VertexAttribI3ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6027:4: note: in expansion of macro ‘CALL_VertexAttribI3ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6027:4: note: in expansion of macro ‘CALL_VertexAttribI3ivEXT’
#13294|   
#13295|   typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT)(GLuint, const GLint *);
#13296|-> #define CALL_VertexAttribI3ivEXT(disp, parameters) (* GET_VertexAttribI3ivEXT(disp)) parameters
#13297|   #define GET_VertexAttribI3ivEXT(disp) ((_glptr_VertexAttribI3ivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI3ivEXT)))
#13298|   #define SET_VertexAttribI3ivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1573]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI3uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13304:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5916:4: note: in expansion of macro ‘CALL_VertexAttribI3uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5916:4: note: in expansion of macro ‘CALL_VertexAttribI3uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5916:4: note: in expansion of macro ‘CALL_VertexAttribI3uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5916:4: note: in expansion of macro ‘CALL_VertexAttribI3uiEXT’
#13302|   
#13303|   typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT)(GLuint, GLuint, GLuint, GLuint);
#13304|-> #define CALL_VertexAttribI3uiEXT(disp, parameters) (* GET_VertexAttribI3uiEXT(disp)) parameters
#13305|   #define GET_VertexAttribI3uiEXT(disp) ((_glptr_VertexAttribI3uiEXT)(GET_by_offset((disp), _gloffset_VertexAttribI3uiEXT)))
#13306|   #define SET_VertexAttribI3uiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1574]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI3uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13312:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6127:4: note: in expansion of macro ‘CALL_VertexAttribI3uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6127:4: note: in expansion of macro ‘CALL_VertexAttribI3uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6127:4: note: in expansion of macro ‘CALL_VertexAttribI3uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6127:4: note: in expansion of macro ‘CALL_VertexAttribI3uivEXT’
#13310|   
#13311|   typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT)(GLuint, const GLuint *);
#13312|-> #define CALL_VertexAttribI3uivEXT(disp, parameters) (* GET_VertexAttribI3uivEXT(disp)) parameters
#13313|   #define GET_VertexAttribI3uivEXT(disp) ((_glptr_VertexAttribI3uivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI3uivEXT)))
#13314|   #define SET_VertexAttribI3uivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1575]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13320:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5831:4: note: in expansion of macro ‘CALL_VertexAttribI4iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5831:4: note: in expansion of macro ‘CALL_VertexAttribI4iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5831:4: note: in expansion of macro ‘CALL_VertexAttribI4iEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5831:4: note: in expansion of macro ‘CALL_VertexAttribI4iEXT’
#13318|   
#13319|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT)(GLuint, GLint, GLint, GLint, GLint);
#13320|-> #define CALL_VertexAttribI4iEXT(disp, parameters) (* GET_VertexAttribI4iEXT(disp)) parameters
#13321|   #define GET_VertexAttribI4iEXT(disp) ((_glptr_VertexAttribI4iEXT)(GET_by_offset((disp), _gloffset_VertexAttribI4iEXT)))
#13322|   #define SET_VertexAttribI4iEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1576]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13328:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6052:4: note: in expansion of macro ‘CALL_VertexAttribI4ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6052:4: note: in expansion of macro ‘CALL_VertexAttribI4ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6052:4: note: in expansion of macro ‘CALL_VertexAttribI4ivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6052:4: note: in expansion of macro ‘CALL_VertexAttribI4ivEXT’
#13326|   
#13327|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT)(GLuint, const GLint *);
#13328|-> #define CALL_VertexAttribI4ivEXT(disp, parameters) (* GET_VertexAttribI4ivEXT(disp)) parameters
#13329|   #define GET_VertexAttribI4ivEXT(disp) ((_glptr_VertexAttribI4ivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI4ivEXT)))
#13330|   #define SET_VertexAttribI4ivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1577]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13336:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5949:4: note: in expansion of macro ‘CALL_VertexAttribI4uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5949:4: note: in expansion of macro ‘CALL_VertexAttribI4uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5949:4: note: in expansion of macro ‘CALL_VertexAttribI4uiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5949:4: note: in expansion of macro ‘CALL_VertexAttribI4uiEXT’
#13334|   
#13335|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT)(GLuint, GLuint, GLuint, GLuint, GLuint);
#13336|-> #define CALL_VertexAttribI4uiEXT(disp, parameters) (* GET_VertexAttribI4uiEXT(disp)) parameters
#13337|   #define GET_VertexAttribI4uiEXT(disp) ((_glptr_VertexAttribI4uiEXT)(GET_by_offset((disp), _gloffset_VertexAttribI4uiEXT)))
#13338|   #define SET_VertexAttribI4uiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1578]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexAttribI4uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13344:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6152:4: note: in expansion of macro ‘CALL_VertexAttribI4uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6152:4: note: in expansion of macro ‘CALL_VertexAttribI4uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6152:4: note: in expansion of macro ‘CALL_VertexAttribI4uivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:6152:4: note: in expansion of macro ‘CALL_VertexAttribI4uivEXT’
#13342|   
#13343|   typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT)(GLuint, const GLuint *);
#13344|-> #define CALL_VertexAttribI4uivEXT(disp, parameters) (* GET_VertexAttribI4uivEXT(disp)) parameters
#13345|   #define GET_VertexAttribI4uivEXT(disp) ((_glptr_VertexAttribI4uivEXT)(GET_by_offset((disp), _gloffset_VertexAttribI4uivEXT)))
#13346|   #define SET_VertexAttribI4uivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1579]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ClearColorIiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13352:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5593:4: note: in expansion of macro ‘CALL_ClearColorIiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5593:4: note: in expansion of macro ‘CALL_ClearColorIiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5593:4: note: in expansion of macro ‘CALL_ClearColorIiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5593:4: note: in expansion of macro ‘CALL_ClearColorIiEXT’
#13350|   
#13351|   typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT)(GLint, GLint, GLint, GLint);
#13352|-> #define CALL_ClearColorIiEXT(disp, parameters) (* GET_ClearColorIiEXT(disp)) parameters
#13353|   #define GET_ClearColorIiEXT(disp) ((_glptr_ClearColorIiEXT)(GET_by_offset((disp), _gloffset_ClearColorIiEXT)))
#13354|   #define SET_ClearColorIiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1580]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ClearColorIuiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13360:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5624:4: note: in expansion of macro ‘CALL_ClearColorIuiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5624:4: note: in expansion of macro ‘CALL_ClearColorIuiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5624:4: note: in expansion of macro ‘CALL_ClearColorIuiEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5624:4: note: in expansion of macro ‘CALL_ClearColorIuiEXT’
#13358|   
#13359|   typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT)(GLuint, GLuint, GLuint, GLuint);
#13360|-> #define CALL_ClearColorIuiEXT(disp, parameters) (* GET_ClearColorIuiEXT(disp)) parameters
#13361|   #define GET_ClearColorIuiEXT(disp) ((_glptr_ClearColorIuiEXT)(GET_by_offset((disp), _gloffset_ClearColorIuiEXT)))
#13362|   #define SET_ClearColorIuiEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1581]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_BeginPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13376:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5224:4: note: in expansion of macro ‘CALL_BeginPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5224:4: note: in expansion of macro ‘CALL_BeginPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5224:4: note: in expansion of macro ‘CALL_BeginPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5224:4: note: in expansion of macro ‘CALL_BeginPerfMonitorAMD’
#13374|   
#13375|   typedef void (GLAPIENTRYP _glptr_BeginPerfMonitorAMD)(GLuint);
#13376|-> #define CALL_BeginPerfMonitorAMD(disp, parameters) (* GET_BeginPerfMonitorAMD(disp)) parameters
#13377|   #define GET_BeginPerfMonitorAMD(disp) ((_glptr_BeginPerfMonitorAMD)(GET_by_offset((disp), _gloffset_BeginPerfMonitorAMD)))
#13378|   #define SET_BeginPerfMonitorAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1582]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_DeletePerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13384:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5148:4: note: in expansion of macro ‘CALL_DeletePerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5148:4: note: in expansion of macro ‘CALL_DeletePerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5148:4: note: in expansion of macro ‘CALL_DeletePerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5148:4: note: in expansion of macro ‘CALL_DeletePerfMonitorsAMD’
#13382|   
#13383|   typedef void (GLAPIENTRYP _glptr_DeletePerfMonitorsAMD)(GLsizei, GLuint *);
#13384|-> #define CALL_DeletePerfMonitorsAMD(disp, parameters) (* GET_DeletePerfMonitorsAMD(disp)) parameters
#13385|   #define GET_DeletePerfMonitorsAMD(disp) ((_glptr_DeletePerfMonitorsAMD)(GET_by_offset((disp), _gloffset_DeletePerfMonitorsAMD)))
#13386|   #define SET_DeletePerfMonitorsAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1583]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_EndPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13392:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5246:4: note: in expansion of macro ‘CALL_EndPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5246:4: note: in expansion of macro ‘CALL_EndPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5246:4: note: in expansion of macro ‘CALL_EndPerfMonitorAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5246:4: note: in expansion of macro ‘CALL_EndPerfMonitorAMD’
#13390|   
#13391|   typedef void (GLAPIENTRYP _glptr_EndPerfMonitorAMD)(GLuint);
#13392|-> #define CALL_EndPerfMonitorAMD(disp, parameters) (* GET_EndPerfMonitorAMD(disp)) parameters
#13393|   #define GET_EndPerfMonitorAMD(disp) ((_glptr_EndPerfMonitorAMD)(GET_by_offset((disp), _gloffset_EndPerfMonitorAMD)))
#13394|   #define SET_EndPerfMonitorAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1584]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GenPerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13400:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5130:4: note: in expansion of macro ‘CALL_GenPerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5130:4: note: in expansion of macro ‘CALL_GenPerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5130:4: note: in expansion of macro ‘CALL_GenPerfMonitorsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5130:4: note: in expansion of macro ‘CALL_GenPerfMonitorsAMD’
#13398|   
#13399|   typedef void (GLAPIENTRYP _glptr_GenPerfMonitorsAMD)(GLsizei, GLuint *);
#13400|-> #define CALL_GenPerfMonitorsAMD(disp, parameters) (* GET_GenPerfMonitorsAMD(disp)) parameters
#13401|   #define GET_GenPerfMonitorsAMD(disp) ((_glptr_GenPerfMonitorsAMD)(GET_by_offset((disp), _gloffset_GenPerfMonitorsAMD)))
#13402|   #define SET_GenPerfMonitorsAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1585]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorCounterDataAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13408:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5265:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterDataAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5265:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterDataAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5265:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterDataAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5265:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterDataAMD’
#13406|   
#13407|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorCounterDataAMD)(GLuint, GLenum, GLsizei, GLuint *, GLint *);
#13408|-> #define CALL_GetPerfMonitorCounterDataAMD(disp, parameters) (* GET_GetPerfMonitorCounterDataAMD(disp)) parameters
#13409|   #define GET_GetPerfMonitorCounterDataAMD(disp) ((_glptr_GetPerfMonitorCounterDataAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorCounterDataAMD)))
#13410|   #define SET_GetPerfMonitorCounterDataAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1586]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorCounterInfoAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13416:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5120:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterInfoAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5120:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterInfoAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5120:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterInfoAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5120:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterInfoAMD’
#13414|   
#13415|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorCounterInfoAMD)(GLuint, GLuint, GLenum, GLvoid *);
#13416|-> #define CALL_GetPerfMonitorCounterInfoAMD(disp, parameters) (* GET_GetPerfMonitorCounterInfoAMD(disp)) parameters
#13417|   #define GET_GetPerfMonitorCounterInfoAMD(disp) ((_glptr_GetPerfMonitorCounterInfoAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorCounterInfoAMD)))
#13418|   #define SET_GetPerfMonitorCounterInfoAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1587]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorCounterStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13424:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5110:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5110:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5110:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5110:4: note: in expansion of macro ‘CALL_GetPerfMonitorCounterStringAMD’
#13422|   
#13423|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorCounterStringAMD)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *);
#13424|-> #define CALL_GetPerfMonitorCounterStringAMD(disp, parameters) (* GET_GetPerfMonitorCounterStringAMD(disp)) parameters
#13425|   #define GET_GetPerfMonitorCounterStringAMD(disp) ((_glptr_GetPerfMonitorCounterStringAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorCounterStringAMD)))
#13426|   #define SET_GetPerfMonitorCounterStringAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1588]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13432:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5090:4: note: in expansion of macro ‘CALL_GetPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5090:4: note: in expansion of macro ‘CALL_GetPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5090:4: note: in expansion of macro ‘CALL_GetPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5090:4: note: in expansion of macro ‘CALL_GetPerfMonitorCountersAMD’
#13430|   
#13431|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorCountersAMD)(GLuint, GLint *, GLint *, GLsizei, GLuint *);
#13432|-> #define CALL_GetPerfMonitorCountersAMD(disp, parameters) (* GET_GetPerfMonitorCountersAMD(disp)) parameters
#13433|   #define GET_GetPerfMonitorCountersAMD(disp) ((_glptr_GetPerfMonitorCountersAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorCountersAMD)))
#13434|   #define SET_GetPerfMonitorCountersAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1589]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorGroupStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13440:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5100:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5100:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5100:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupStringAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5100:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupStringAMD’
#13438|   
#13439|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorGroupStringAMD)(GLuint, GLsizei, GLsizei *, GLchar *);
#13440|-> #define CALL_GetPerfMonitorGroupStringAMD(disp, parameters) (* GET_GetPerfMonitorGroupStringAMD(disp)) parameters
#13441|   #define GET_GetPerfMonitorGroupStringAMD(disp) ((_glptr_GetPerfMonitorGroupStringAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorGroupStringAMD)))
#13442|   #define SET_GetPerfMonitorGroupStringAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1590]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetPerfMonitorGroupsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13448:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5080:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5080:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5080:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupsAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5080:4: note: in expansion of macro ‘CALL_GetPerfMonitorGroupsAMD’
#13446|   
#13447|   typedef void (GLAPIENTRYP _glptr_GetPerfMonitorGroupsAMD)(GLint *, GLsizei, GLuint *);
#13448|-> #define CALL_GetPerfMonitorGroupsAMD(disp, parameters) (* GET_GetPerfMonitorGroupsAMD(disp)) parameters
#13449|   #define GET_GetPerfMonitorGroupsAMD(disp) ((_glptr_GetPerfMonitorGroupsAMD)(GET_by_offset((disp), _gloffset_GetPerfMonitorGroupsAMD)))
#13450|   #define SET_GetPerfMonitorGroupsAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1591]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_SelectPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13456:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5190:4: note: in expansion of macro ‘CALL_SelectPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5190:4: note: in expansion of macro ‘CALL_SelectPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5190:4: note: in expansion of macro ‘CALL_SelectPerfMonitorCountersAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5190:4: note: in expansion of macro ‘CALL_SelectPerfMonitorCountersAMD’
#13454|   
#13455|   typedef void (GLAPIENTRYP _glptr_SelectPerfMonitorCountersAMD)(GLuint, GLboolean, GLuint, GLint, GLuint *);
#13456|-> #define CALL_SelectPerfMonitorCountersAMD(disp, parameters) (* GET_SelectPerfMonitorCountersAMD(disp)) parameters
#13457|   #define GET_SelectPerfMonitorCountersAMD(disp) ((_glptr_SelectPerfMonitorCountersAMD)(GET_by_offset((disp), _gloffset_SelectPerfMonitorCountersAMD)))
#13458|   #define SET_SelectPerfMonitorCountersAMD(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1593]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_BeginPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13600:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5004:4: note: in expansion of macro ‘CALL_BeginPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5004:4: note: in expansion of macro ‘CALL_BeginPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5004:4: note: in expansion of macro ‘CALL_BeginPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5004:4: note: in expansion of macro ‘CALL_BeginPerfQueryINTEL’
#13598|   
#13599|   typedef void (GLAPIENTRYP _glptr_BeginPerfQueryINTEL)(GLuint);
#13600|-> #define CALL_BeginPerfQueryINTEL(disp, parameters) (* GET_BeginPerfQueryINTEL(disp)) parameters
#13601|   #define GET_BeginPerfQueryINTEL(disp) ((_glptr_BeginPerfQueryINTEL)(GET_by_offset((disp), _gloffset_BeginPerfQueryINTEL)))
#13602|   #define SET_BeginPerfQueryINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1594]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_CreatePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13608:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4969:4: note: in expansion of macro ‘CALL_CreatePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4969:4: note: in expansion of macro ‘CALL_CreatePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4969:4: note: in expansion of macro ‘CALL_CreatePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4969:4: note: in expansion of macro ‘CALL_CreatePerfQueryINTEL’
#13606|   
#13607|   typedef void (GLAPIENTRYP _glptr_CreatePerfQueryINTEL)(GLuint, GLuint *);
#13608|-> #define CALL_CreatePerfQueryINTEL(disp, parameters) (* GET_CreatePerfQueryINTEL(disp)) parameters
#13609|   #define GET_CreatePerfQueryINTEL(disp) ((_glptr_CreatePerfQueryINTEL)(GET_by_offset((disp), _gloffset_CreatePerfQueryINTEL)))
#13610|   #define SET_CreatePerfQueryINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1595]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_DeletePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13616:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4982:4: note: in expansion of macro ‘CALL_DeletePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4982:4: note: in expansion of macro ‘CALL_DeletePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4982:4: note: in expansion of macro ‘CALL_DeletePerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4982:4: note: in expansion of macro ‘CALL_DeletePerfQueryINTEL’
#13614|   
#13615|   typedef void (GLAPIENTRYP _glptr_DeletePerfQueryINTEL)(GLuint);
#13616|-> #define CALL_DeletePerfQueryINTEL(disp, parameters) (* GET_DeletePerfQueryINTEL(disp)) parameters
#13617|   #define GET_DeletePerfQueryINTEL(disp) ((_glptr_DeletePerfQueryINTEL)(GET_by_offset((disp), _gloffset_DeletePerfQueryINTEL)))
#13618|   #define SET_DeletePerfQueryINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1596]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_EndPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13624:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5026:4: note: in expansion of macro ‘CALL_EndPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5026:4: note: in expansion of macro ‘CALL_EndPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5026:4: note: in expansion of macro ‘CALL_EndPerfQueryINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5026:4: note: in expansion of macro ‘CALL_EndPerfQueryINTEL’
#13622|   
#13623|   typedef void (GLAPIENTRYP _glptr_EndPerfQueryINTEL)(GLuint);
#13624|-> #define CALL_EndPerfQueryINTEL(disp, parameters) (* GET_EndPerfQueryINTEL(disp)) parameters
#13625|   #define GET_EndPerfQueryINTEL(disp) ((_glptr_EndPerfQueryINTEL)(GET_by_offset((disp), _gloffset_EndPerfQueryINTEL)))
#13626|   #define SET_EndPerfQueryINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1597]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetFirstPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13632:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4919:4: note: in expansion of macro ‘CALL_GetFirstPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4919:4: note: in expansion of macro ‘CALL_GetFirstPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4919:4: note: in expansion of macro ‘CALL_GetFirstPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4919:4: note: in expansion of macro ‘CALL_GetFirstPerfQueryIdINTEL’
#13630|   
#13631|   typedef void (GLAPIENTRYP _glptr_GetFirstPerfQueryIdINTEL)(GLuint *);
#13632|-> #define CALL_GetFirstPerfQueryIdINTEL(disp, parameters) (* GET_GetFirstPerfQueryIdINTEL(disp)) parameters
#13633|   #define GET_GetFirstPerfQueryIdINTEL(disp) ((_glptr_GetFirstPerfQueryIdINTEL)(GET_by_offset((disp), _gloffset_GetFirstPerfQueryIdINTEL)))
#13634|   #define SET_GetFirstPerfQueryIdINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1598]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNextPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13640:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4929:4: note: in expansion of macro ‘CALL_GetNextPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4929:4: note: in expansion of macro ‘CALL_GetNextPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4929:4: note: in expansion of macro ‘CALL_GetNextPerfQueryIdINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4929:4: note: in expansion of macro ‘CALL_GetNextPerfQueryIdINTEL’
#13638|   
#13639|   typedef void (GLAPIENTRYP _glptr_GetNextPerfQueryIdINTEL)(GLuint, GLuint *);
#13640|-> #define CALL_GetNextPerfQueryIdINTEL(disp, parameters) (* GET_GetNextPerfQueryIdINTEL(disp)) parameters
#13641|   #define GET_GetNextPerfQueryIdINTEL(disp) ((_glptr_GetNextPerfQueryIdINTEL)(GET_by_offset((disp), _gloffset_GetNextPerfQueryIdINTEL)))
#13642|   #define SET_GetNextPerfQueryIdINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1599]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetPerfCounterInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13648:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4959:4: note: in expansion of macro ‘CALL_GetPerfCounterInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4959:4: note: in expansion of macro ‘CALL_GetPerfCounterInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4959:4: note: in expansion of macro ‘CALL_GetPerfCounterInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4959:4: note: in expansion of macro ‘CALL_GetPerfCounterInfoINTEL’
#13646|   
#13647|   typedef void (GLAPIENTRYP _glptr_GetPerfCounterInfoINTEL)(GLuint, GLuint, GLuint, GLchar *, GLuint, GLchar *, GLuint *, GLuint *, GLuint *, GLuint *, GLuint64 *);
#13648|-> #define CALL_GetPerfCounterInfoINTEL(disp, parameters) (* GET_GetPerfCounterInfoINTEL(disp)) parameters
#13649|   #define GET_GetPerfCounterInfoINTEL(disp) ((_glptr_GetPerfCounterInfoINTEL)(GET_by_offset((disp), _gloffset_GetPerfCounterInfoINTEL)))
#13650|   #define SET_GetPerfCounterInfoINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1600]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetPerfQueryDataINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13656:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5045:4: note: in expansion of macro ‘CALL_GetPerfQueryDataINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5045:4: note: in expansion of macro ‘CALL_GetPerfQueryDataINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5045:4: note: in expansion of macro ‘CALL_GetPerfQueryDataINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5045:4: note: in expansion of macro ‘CALL_GetPerfQueryDataINTEL’
#13654|   
#13655|   typedef void (GLAPIENTRYP _glptr_GetPerfQueryDataINTEL)(GLuint, GLuint, GLsizei, GLvoid *, GLuint *);
#13656|-> #define CALL_GetPerfQueryDataINTEL(disp, parameters) (* GET_GetPerfQueryDataINTEL(disp)) parameters
#13657|   #define GET_GetPerfQueryDataINTEL(disp) ((_glptr_GetPerfQueryDataINTEL)(GET_by_offset((disp), _gloffset_GetPerfQueryDataINTEL)))
#13658|   #define SET_GetPerfQueryDataINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1601]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetPerfQueryIdByNameINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13664:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4939:4: note: in expansion of macro ‘CALL_GetPerfQueryIdByNameINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4939:4: note: in expansion of macro ‘CALL_GetPerfQueryIdByNameINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4939:4: note: in expansion of macro ‘CALL_GetPerfQueryIdByNameINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4939:4: note: in expansion of macro ‘CALL_GetPerfQueryIdByNameINTEL’
#13662|   
#13663|   typedef void (GLAPIENTRYP _glptr_GetPerfQueryIdByNameINTEL)(GLchar *, GLuint *);
#13664|-> #define CALL_GetPerfQueryIdByNameINTEL(disp, parameters) (* GET_GetPerfQueryIdByNameINTEL(disp)) parameters
#13665|   #define GET_GetPerfQueryIdByNameINTEL(disp) ((_glptr_GetPerfQueryIdByNameINTEL)(GET_by_offset((disp), _gloffset_GetPerfQueryIdByNameINTEL)))
#13666|   #define SET_GetPerfQueryIdByNameINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1602]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetPerfQueryInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13672:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4949:4: note: in expansion of macro ‘CALL_GetPerfQueryInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4949:4: note: in expansion of macro ‘CALL_GetPerfQueryInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4949:4: note: in expansion of macro ‘CALL_GetPerfQueryInfoINTEL’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4949:4: note: in expansion of macro ‘CALL_GetPerfQueryInfoINTEL’
#13670|   
#13671|   typedef void (GLAPIENTRYP _glptr_GetPerfQueryInfoINTEL)(GLuint, GLuint, GLchar *, GLuint *, GLuint *, GLuint *, GLuint *);
#13672|-> #define CALL_GetPerfQueryInfoINTEL(disp, parameters) (* GET_GetPerfQueryInfoINTEL(disp)) parameters
#13673|   #define GET_GetPerfQueryInfoINTEL(disp) ((_glptr_GetPerfQueryInfoINTEL)(GET_by_offset((disp), _gloffset_GetPerfQueryInfoINTEL)))
#13674|   #define SET_GetPerfQueryInfoINTEL(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1603]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_PolygonOffsetClampEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13680:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5084:4: note: in expansion of macro ‘CALL_PolygonOffsetClampEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5084:4: note: in expansion of macro ‘CALL_PolygonOffsetClampEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5084:4: note: in expansion of macro ‘CALL_PolygonOffsetClampEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5084:4: note: in expansion of macro ‘CALL_PolygonOffsetClampEXT’
#13678|   
#13679|   typedef void (GLAPIENTRYP _glptr_PolygonOffsetClampEXT)(GLfloat, GLfloat, GLfloat);
#13680|-> #define CALL_PolygonOffsetClampEXT(disp, parameters) (* GET_PolygonOffsetClampEXT(disp)) parameters
#13681|   #define GET_PolygonOffsetClampEXT(disp) ((_glptr_PolygonOffsetClampEXT)(GET_by_offset((disp), _gloffset_PolygonOffsetClampEXT)))
#13682|   #define SET_PolygonOffsetClampEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1604]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_SubpixelPrecisionBiasNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13688:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4849:4: note: in expansion of macro ‘CALL_SubpixelPrecisionBiasNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4849:4: note: in expansion of macro ‘CALL_SubpixelPrecisionBiasNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4849:4: note: in expansion of macro ‘CALL_SubpixelPrecisionBiasNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4849:4: note: in expansion of macro ‘CALL_SubpixelPrecisionBiasNV’
#13686|   
#13687|   typedef void (GLAPIENTRYP _glptr_SubpixelPrecisionBiasNV)(GLuint, GLuint);
#13688|-> #define CALL_SubpixelPrecisionBiasNV(disp, parameters) (* GET_SubpixelPrecisionBiasNV(disp)) parameters
#13689|   #define GET_SubpixelPrecisionBiasNV(disp) ((_glptr_SubpixelPrecisionBiasNV)(GET_by_offset((disp), _gloffset_SubpixelPrecisionBiasNV)))
#13690|   #define SET_SubpixelPrecisionBiasNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1605]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ConservativeRasterParameterfNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13696:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4874:4: note: in expansion of macro ‘CALL_ConservativeRasterParameterfNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4874:4: note: in expansion of macro ‘CALL_ConservativeRasterParameterfNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4874:4: note: in expansion of macro ‘CALL_ConservativeRasterParameterfNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4874:4: note: in expansion of macro ‘CALL_ConservativeRasterParameterfNV’
#13694|   
#13695|   typedef void (GLAPIENTRYP _glptr_ConservativeRasterParameterfNV)(GLenum, GLfloat);
#13696|-> #define CALL_ConservativeRasterParameterfNV(disp, parameters) (* GET_ConservativeRasterParameterfNV(disp)) parameters
#13697|   #define GET_ConservativeRasterParameterfNV(disp) ((_glptr_ConservativeRasterParameterfNV)(GET_by_offset((disp), _gloffset_ConservativeRasterParameterfNV)))
#13698|   #define SET_ConservativeRasterParameterfNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1606]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ConservativeRasterParameteriNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13704:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4899:4: note: in expansion of macro ‘CALL_ConservativeRasterParameteriNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4899:4: note: in expansion of macro ‘CALL_ConservativeRasterParameteriNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4899:4: note: in expansion of macro ‘CALL_ConservativeRasterParameteriNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4899:4: note: in expansion of macro ‘CALL_ConservativeRasterParameteriNV’
#13702|   
#13703|   typedef void (GLAPIENTRYP _glptr_ConservativeRasterParameteriNV)(GLenum, GLint);
#13704|-> #define CALL_ConservativeRasterParameteriNV(disp, parameters) (* GET_ConservativeRasterParameteriNV(disp)) parameters
#13705|   #define GET_ConservativeRasterParameteriNV(disp) ((_glptr_ConservativeRasterParameteriNV)(GET_by_offset((disp), _gloffset_ConservativeRasterParameteriNV)))
#13706|   #define SET_ConservativeRasterParameteriNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1607]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_WindowRectanglesEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13712:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5115:4: note: in expansion of macro ‘CALL_WindowRectanglesEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5115:4: note: in expansion of macro ‘CALL_WindowRectanglesEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5115:4: note: in expansion of macro ‘CALL_WindowRectanglesEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5115:4: note: in expansion of macro ‘CALL_WindowRectanglesEXT’
#13710|   
#13711|   typedef void (GLAPIENTRYP _glptr_WindowRectanglesEXT)(GLenum, GLsizei, const GLint *);
#13712|-> #define CALL_WindowRectanglesEXT(disp, parameters) (* GET_WindowRectanglesEXT(disp)) parameters
#13713|   #define GET_WindowRectanglesEXT(disp) ((_glptr_WindowRectanglesEXT)(GET_by_offset((disp), _gloffset_WindowRectanglesEXT)))
#13714|   #define SET_WindowRectanglesEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1608]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferFetchBarrierEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13944:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5145:4: note: in expansion of macro ‘CALL_FramebufferFetchBarrierEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5145:4: note: in expansion of macro ‘CALL_FramebufferFetchBarrierEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5145:4: note: in expansion of macro ‘CALL_FramebufferFetchBarrierEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5145:4: note: in expansion of macro ‘CALL_FramebufferFetchBarrierEXT’
#13942|   
#13943|   typedef void (GLAPIENTRYP _glptr_FramebufferFetchBarrierEXT)(void);
#13944|-> #define CALL_FramebufferFetchBarrierEXT(disp, parameters) (* GET_FramebufferFetchBarrierEXT(disp)) parameters
#13945|   #define GET_FramebufferFetchBarrierEXT(disp) ((_glptr_FramebufferFetchBarrierEXT)(GET_by_offset((disp), _gloffset_FramebufferFetchBarrierEXT)))
#13946|   #define SET_FramebufferFetchBarrierEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1609]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedRenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13952:80: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5324:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5324:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5324:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5324:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleAdvancedAMD’
#13950|   
#13951|   typedef void (GLAPIENTRYP _glptr_NamedRenderbufferStorageMultisampleAdvancedAMD)(GLuint, GLsizei, GLsizei, GLenum, GLsizei, GLsizei);
#13952|-> #define CALL_NamedRenderbufferStorageMultisampleAdvancedAMD(disp, parameters) (* GET_NamedRenderbufferStorageMultisampleAdvancedAMD(disp)) parameters
#13953|   #define GET_NamedRenderbufferStorageMultisampleAdvancedAMD(disp) ((_glptr_NamedRenderbufferStorageMultisampleAdvancedAMD)(GET_by_offset((disp), _gloffset_NamedRenderbufferStorageMultisampleAdvancedAMD)))
#13954|   #define SET_NamedRenderbufferStorageMultisampleAdvancedAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1610]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_RenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13960:75: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5287:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5287:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5287:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisampleAdvancedAMD’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5287:4: note: in expansion of macro ‘CALL_RenderbufferStorageMultisampleAdvancedAMD’
#13958|   
#13959|   typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisampleAdvancedAMD)(GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei);
#13960|-> #define CALL_RenderbufferStorageMultisampleAdvancedAMD(disp, parameters) (* GET_RenderbufferStorageMultisampleAdvancedAMD(disp)) parameters
#13961|   #define GET_RenderbufferStorageMultisampleAdvancedAMD(disp) ((_glptr_RenderbufferStorageMultisampleAdvancedAMD)(GET_by_offset((disp), _gloffset_RenderbufferStorageMultisampleAdvancedAMD)))
#13962|   #define SET_RenderbufferStorageMultisampleAdvancedAMD(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1611]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_StencilFuncSeparateATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13968:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5357:4: note: in expansion of macro ‘CALL_StencilFuncSeparateATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5357:4: note: in expansion of macro ‘CALL_StencilFuncSeparateATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5357:4: note: in expansion of macro ‘CALL_StencilFuncSeparateATI’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5357:4: note: in expansion of macro ‘CALL_StencilFuncSeparateATI’
#13966|   
#13967|   typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint);
#13968|-> #define CALL_StencilFuncSeparateATI(disp, parameters) (* GET_StencilFuncSeparateATI(disp)) parameters
#13969|   #define GET_StencilFuncSeparateATI(disp) ((_glptr_StencilFuncSeparateATI)(GET_by_offset((disp), _gloffset_StencilFuncSeparateATI)))
#13970|   #define SET_StencilFuncSeparateATI(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1612]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ProgramEnvParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13976:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5391:4: note: in expansion of macro ‘CALL_ProgramEnvParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5391:4: note: in expansion of macro ‘CALL_ProgramEnvParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5391:4: note: in expansion of macro ‘CALL_ProgramEnvParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5391:4: note: in expansion of macro ‘CALL_ProgramEnvParameters4fvEXT’
#13974|   
#13975|   typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
#13976|-> #define CALL_ProgramEnvParameters4fvEXT(disp, parameters) (* GET_ProgramEnvParameters4fvEXT(disp)) parameters
#13977|   #define GET_ProgramEnvParameters4fvEXT(disp) ((_glptr_ProgramEnvParameters4fvEXT)(GET_by_offset((disp), _gloffset_ProgramEnvParameters4fvEXT)))
#13978|   #define SET_ProgramEnvParameters4fvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1613]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_ProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13984:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5433:4: note: in expansion of macro ‘CALL_ProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5433:4: note: in expansion of macro ‘CALL_ProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5433:4: note: in expansion of macro ‘CALL_ProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5433:4: note: in expansion of macro ‘CALL_ProgramLocalParameters4fvEXT’
#13982|   
#13983|   typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
#13984|-> #define CALL_ProgramLocalParameters4fvEXT(disp, parameters) (* GET_ProgramLocalParameters4fvEXT(disp)) parameters
#13985|   #define GET_ProgramLocalParameters4fvEXT(disp) ((_glptr_ProgramLocalParameters4fvEXT)(GET_by_offset((disp), _gloffset_ProgramLocalParameters4fvEXT)))
#13986|   #define SET_ProgramLocalParameters4fvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1614]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_EGLImageTargetRenderbufferStorageOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:13992:70: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5554:4: note: in expansion of macro ‘CALL_EGLImageTargetRenderbufferStorageOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5554:4: note: in expansion of macro ‘CALL_EGLImageTargetRenderbufferStorageOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5554:4: note: in expansion of macro ‘CALL_EGLImageTargetRenderbufferStorageOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5554:4: note: in expansion of macro ‘CALL_EGLImageTargetRenderbufferStorageOES’
#13990|   
#13991|   typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *);
#13992|-> #define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) (* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters
#13993|   #define GET_EGLImageTargetRenderbufferStorageOES(disp) ((_glptr_EGLImageTargetRenderbufferStorageOES)(GET_by_offset((disp), _gloffset_EGLImageTargetRenderbufferStorageOES)))
#13994|   #define SET_EGLImageTargetRenderbufferStorageOES(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1615]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_EGLImageTargetTexture2DOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14000:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5544:4: note: in expansion of macro ‘CALL_EGLImageTargetTexture2DOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5544:4: note: in expansion of macro ‘CALL_EGLImageTargetTexture2DOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5544:4: note: in expansion of macro ‘CALL_EGLImageTargetTexture2DOES’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5544:4: note: in expansion of macro ‘CALL_EGLImageTargetTexture2DOES’
#13998|   
#13999|   typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *);
#14000|-> #define CALL_EGLImageTargetTexture2DOES(disp, parameters) (* GET_EGLImageTargetTexture2DOES(disp)) parameters
#14001|   #define GET_EGLImageTargetTexture2DOES(disp) ((_glptr_EGLImageTargetTexture2DOES)(GET_by_offset((disp), _gloffset_EGLImageTargetTexture2DOES)))
#14002|   #define SET_EGLImageTargetTexture2DOES(disp, func) do { \

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1618]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MaxShaderCompilerThreadsKHR’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14368:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2086:4: note: in expansion of macro ‘CALL_MaxShaderCompilerThreadsKHR’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2086:4: note: in expansion of macro ‘CALL_MaxShaderCompilerThreadsKHR’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2086:4: note: in expansion of macro ‘CALL_MaxShaderCompilerThreadsKHR’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:2086:4: note: in expansion of macro ‘CALL_MaxShaderCompilerThreadsKHR’
#14366|   
#14367|   typedef void (GLAPIENTRYP _glptr_MaxShaderCompilerThreadsKHR)(GLuint);
#14368|-> #define CALL_MaxShaderCompilerThreadsKHR(disp, parameters) (* GET_MaxShaderCompilerThreadsKHR(disp)) parameters
#14369|   #define GET_MaxShaderCompilerThreadsKHR(disp) ((_glptr_MaxShaderCompilerThreadsKHR)(GET_by_offset((disp), _gloffset_MaxShaderCompilerThreadsKHR)))
#14370|   #define SET_MaxShaderCompilerThreadsKHR(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1619]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixLoadfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14376:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5344:4: note: in expansion of macro ‘CALL_MatrixLoadfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5344:4: note: in expansion of macro ‘CALL_MatrixLoadfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5344:4: note: in expansion of macro ‘CALL_MatrixLoadfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5344:4: note: in expansion of macro ‘CALL_MatrixLoadfEXT’
#14374|   
#14375|   typedef void (GLAPIENTRYP _glptr_MatrixLoadfEXT)(GLenum, const GLfloat *);
#14376|-> #define CALL_MatrixLoadfEXT(disp, parameters) (* GET_MatrixLoadfEXT(disp)) parameters
#14377|   #define GET_MatrixLoadfEXT(disp) ((_glptr_MatrixLoadfEXT)(GET_by_offset((disp), _gloffset_MatrixLoadfEXT)))
#14378|   #define SET_MatrixLoadfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1620]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixLoaddEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14384:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5369:4: note: in expansion of macro ‘CALL_MatrixLoaddEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5369:4: note: in expansion of macro ‘CALL_MatrixLoaddEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5369:4: note: in expansion of macro ‘CALL_MatrixLoaddEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5369:4: note: in expansion of macro ‘CALL_MatrixLoaddEXT’
#14382|   
#14383|   typedef void (GLAPIENTRYP _glptr_MatrixLoaddEXT)(GLenum, const GLdouble *);
#14384|-> #define CALL_MatrixLoaddEXT(disp, parameters) (* GET_MatrixLoaddEXT(disp)) parameters
#14385|   #define GET_MatrixLoaddEXT(disp) ((_glptr_MatrixLoaddEXT)(GET_by_offset((disp), _gloffset_MatrixLoaddEXT)))
#14386|   #define SET_MatrixLoaddEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1621]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixMultfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14392:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5394:4: note: in expansion of macro ‘CALL_MatrixMultfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5394:4: note: in expansion of macro ‘CALL_MatrixMultfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5394:4: note: in expansion of macro ‘CALL_MatrixMultfEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5394:4: note: in expansion of macro ‘CALL_MatrixMultfEXT’
#14390|   
#14391|   typedef void (GLAPIENTRYP _glptr_MatrixMultfEXT)(GLenum, const GLfloat *);
#14392|-> #define CALL_MatrixMultfEXT(disp, parameters) (* GET_MatrixMultfEXT(disp)) parameters
#14393|   #define GET_MatrixMultfEXT(disp) ((_glptr_MatrixMultfEXT)(GET_by_offset((disp), _gloffset_MatrixMultfEXT)))
#14394|   #define SET_MatrixMultfEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1622]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixMultdEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14400:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5420:4: note: in expansion of macro ‘CALL_MatrixMultdEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5420:4: note: in expansion of macro ‘CALL_MatrixMultdEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5420:4: note: in expansion of macro ‘CALL_MatrixMultdEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5420:4: note: in expansion of macro ‘CALL_MatrixMultdEXT’
#14398|   
#14399|   typedef void (GLAPIENTRYP _glptr_MatrixMultdEXT)(GLenum, const GLdouble *);
#14400|-> #define CALL_MatrixMultdEXT(disp, parameters) (* GET_MatrixMultdEXT(disp)) parameters
#14401|   #define GET_MatrixMultdEXT(disp) ((_glptr_MatrixMultdEXT)(GET_by_offset((disp), _gloffset_MatrixMultdEXT)))
#14402|   #define SET_MatrixMultdEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1623]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixLoadIdentityEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14408:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5443:4: note: in expansion of macro ‘CALL_MatrixLoadIdentityEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5443:4: note: in expansion of macro ‘CALL_MatrixLoadIdentityEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5443:4: note: in expansion of macro ‘CALL_MatrixLoadIdentityEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5443:4: note: in expansion of macro ‘CALL_MatrixLoadIdentityEXT’
#14406|   
#14407|   typedef void (GLAPIENTRYP _glptr_MatrixLoadIdentityEXT)(GLenum);
#14408|-> #define CALL_MatrixLoadIdentityEXT(disp, parameters) (* GET_MatrixLoadIdentityEXT(disp)) parameters
#14409|   #define GET_MatrixLoadIdentityEXT(disp) ((_glptr_MatrixLoadIdentityEXT)(GET_by_offset((disp), _gloffset_MatrixLoadIdentityEXT)))
#14410|   #define SET_MatrixLoadIdentityEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1624]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixRotatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14416:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5473:4: note: in expansion of macro ‘CALL_MatrixRotatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5473:4: note: in expansion of macro ‘CALL_MatrixRotatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5473:4: note: in expansion of macro ‘CALL_MatrixRotatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5473:4: note: in expansion of macro ‘CALL_MatrixRotatefEXT’
#14414|   
#14415|   typedef void (GLAPIENTRYP _glptr_MatrixRotatefEXT)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
#14416|-> #define CALL_MatrixRotatefEXT(disp, parameters) (* GET_MatrixRotatefEXT(disp)) parameters
#14417|   #define GET_MatrixRotatefEXT(disp) ((_glptr_MatrixRotatefEXT)(GET_by_offset((disp), _gloffset_MatrixRotatefEXT)))
#14418|   #define SET_MatrixRotatefEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1625]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixRotatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14424:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5507:4: note: in expansion of macro ‘CALL_MatrixRotatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5507:4: note: in expansion of macro ‘CALL_MatrixRotatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5507:4: note: in expansion of macro ‘CALL_MatrixRotatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5507:4: note: in expansion of macro ‘CALL_MatrixRotatedEXT’
#14422|   
#14423|   typedef void (GLAPIENTRYP _glptr_MatrixRotatedEXT)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
#14424|-> #define CALL_MatrixRotatedEXT(disp, parameters) (* GET_MatrixRotatedEXT(disp)) parameters
#14425|   #define GET_MatrixRotatedEXT(disp) ((_glptr_MatrixRotatedEXT)(GET_by_offset((disp), _gloffset_MatrixRotatedEXT)))
#14426|   #define SET_MatrixRotatedEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1626]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixScalefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14432:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5539:4: note: in expansion of macro ‘CALL_MatrixScalefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5539:4: note: in expansion of macro ‘CALL_MatrixScalefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5539:4: note: in expansion of macro ‘CALL_MatrixScalefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5539:4: note: in expansion of macro ‘CALL_MatrixScalefEXT’
#14430|   
#14431|   typedef void (GLAPIENTRYP _glptr_MatrixScalefEXT)(GLenum, GLfloat, GLfloat, GLfloat);
#14432|-> #define CALL_MatrixScalefEXT(disp, parameters) (* GET_MatrixScalefEXT(disp)) parameters
#14433|   #define GET_MatrixScalefEXT(disp) ((_glptr_MatrixScalefEXT)(GET_by_offset((disp), _gloffset_MatrixScalefEXT)))
#14434|   #define SET_MatrixScalefEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1627]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixScaledEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14440:49: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5570:4: note: in expansion of macro ‘CALL_MatrixScaledEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5570:4: note: in expansion of macro ‘CALL_MatrixScaledEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5570:4: note: in expansion of macro ‘CALL_MatrixScaledEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5570:4: note: in expansion of macro ‘CALL_MatrixScaledEXT’
#14438|   
#14439|   typedef void (GLAPIENTRYP _glptr_MatrixScaledEXT)(GLenum, GLdouble, GLdouble, GLdouble);
#14440|-> #define CALL_MatrixScaledEXT(disp, parameters) (* GET_MatrixScaledEXT(disp)) parameters
#14441|   #define GET_MatrixScaledEXT(disp) ((_glptr_MatrixScaledEXT)(GET_by_offset((disp), _gloffset_MatrixScaledEXT)))
#14442|   #define SET_MatrixScaledEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1628]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixTranslatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14448:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5601:4: note: in expansion of macro ‘CALL_MatrixTranslatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5601:4: note: in expansion of macro ‘CALL_MatrixTranslatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5601:4: note: in expansion of macro ‘CALL_MatrixTranslatefEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5601:4: note: in expansion of macro ‘CALL_MatrixTranslatefEXT’
#14446|   
#14447|   typedef void (GLAPIENTRYP _glptr_MatrixTranslatefEXT)(GLenum, GLfloat, GLfloat, GLfloat);
#14448|-> #define CALL_MatrixTranslatefEXT(disp, parameters) (* GET_MatrixTranslatefEXT(disp)) parameters
#14449|   #define GET_MatrixTranslatefEXT(disp) ((_glptr_MatrixTranslatefEXT)(GET_by_offset((disp), _gloffset_MatrixTranslatefEXT)))
#14450|   #define SET_MatrixTranslatefEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1629]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixTranslatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14456:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5632:4: note: in expansion of macro ‘CALL_MatrixTranslatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5632:4: note: in expansion of macro ‘CALL_MatrixTranslatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5632:4: note: in expansion of macro ‘CALL_MatrixTranslatedEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5632:4: note: in expansion of macro ‘CALL_MatrixTranslatedEXT’
#14454|   
#14455|   typedef void (GLAPIENTRYP _glptr_MatrixTranslatedEXT)(GLenum, GLdouble, GLdouble, GLdouble);
#14456|-> #define CALL_MatrixTranslatedEXT(disp, parameters) (* GET_MatrixTranslatedEXT(disp)) parameters
#14457|   #define GET_MatrixTranslatedEXT(disp) ((_glptr_MatrixTranslatedEXT)(GET_by_offset((disp), _gloffset_MatrixTranslatedEXT)))
#14458|   #define SET_MatrixTranslatedEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1630]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixOrthoEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14464:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5669:4: note: in expansion of macro ‘CALL_MatrixOrthoEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5669:4: note: in expansion of macro ‘CALL_MatrixOrthoEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5669:4: note: in expansion of macro ‘CALL_MatrixOrthoEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5669:4: note: in expansion of macro ‘CALL_MatrixOrthoEXT’
#14462|   
#14463|   typedef void (GLAPIENTRYP _glptr_MatrixOrthoEXT)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
#14464|-> #define CALL_MatrixOrthoEXT(disp, parameters) (* GET_MatrixOrthoEXT(disp)) parameters
#14465|   #define GET_MatrixOrthoEXT(disp) ((_glptr_MatrixOrthoEXT)(GET_by_offset((disp), _gloffset_MatrixOrthoEXT)))
#14466|   #define SET_MatrixOrthoEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1631]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixFrustumEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14472:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5709:4: note: in expansion of macro ‘CALL_MatrixFrustumEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5709:4: note: in expansion of macro ‘CALL_MatrixFrustumEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5709:4: note: in expansion of macro ‘CALL_MatrixFrustumEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5709:4: note: in expansion of macro ‘CALL_MatrixFrustumEXT’
#14470|   
#14471|   typedef void (GLAPIENTRYP _glptr_MatrixFrustumEXT)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
#14472|-> #define CALL_MatrixFrustumEXT(disp, parameters) (* GET_MatrixFrustumEXT(disp)) parameters
#14473|   #define GET_MatrixFrustumEXT(disp) ((_glptr_MatrixFrustumEXT)(GET_by_offset((disp), _gloffset_MatrixFrustumEXT)))
#14474|   #define SET_MatrixFrustumEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1632]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixPushEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14480:47: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5737:4: note: in expansion of macro ‘CALL_MatrixPushEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5737:4: note: in expansion of macro ‘CALL_MatrixPushEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5737:4: note: in expansion of macro ‘CALL_MatrixPushEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5737:4: note: in expansion of macro ‘CALL_MatrixPushEXT’
#14478|   
#14479|   typedef void (GLAPIENTRYP _glptr_MatrixPushEXT)(GLenum);
#14480|-> #define CALL_MatrixPushEXT(disp, parameters) (* GET_MatrixPushEXT(disp)) parameters
#14481|   #define GET_MatrixPushEXT(disp) ((_glptr_MatrixPushEXT)(GET_by_offset((disp), _gloffset_MatrixPushEXT)))
#14482|   #define SET_MatrixPushEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1633]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_MatrixPopEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14488:46: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5760:4: note: in expansion of macro ‘CALL_MatrixPopEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5760:4: note: in expansion of macro ‘CALL_MatrixPopEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5760:4: note: in expansion of macro ‘CALL_MatrixPopEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5760:4: note: in expansion of macro ‘CALL_MatrixPopEXT’
#14486|   
#14487|   typedef void (GLAPIENTRYP _glptr_MatrixPopEXT)(GLenum);
#14488|-> #define CALL_MatrixPopEXT(disp, parameters) (* GET_MatrixPopEXT(disp)) parameters
#14489|   #define GET_MatrixPopEXT(disp) ((_glptr_MatrixPopEXT)(GET_by_offset((disp), _gloffset_MatrixPopEXT)))
#14490|   #define SET_MatrixPopEXT(disp, func) do { \

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1640]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_MapNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14560:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2934:11: note: in expansion of macro ‘CALL_MapNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2934:11: note: in expansion of macro ‘CALL_MapNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2934:11: note: in expansion of macro ‘CALL_MapNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2934:11: note: in expansion of macro ‘CALL_MapNamedBufferRangeEXT’
#14558|   
#14559|   typedef GLvoid * (GLAPIENTRYP _glptr_MapNamedBufferRangeEXT)(GLuint, GLintptr, GLsizeiptr, GLbitfield);
#14560|-> #define CALL_MapNamedBufferRangeEXT(disp, parameters) (* GET_MapNamedBufferRangeEXT(disp)) parameters
#14561|   #define GET_MapNamedBufferRangeEXT(disp) ((_glptr_MapNamedBufferRangeEXT)(GET_by_offset((disp), _gloffset_MapNamedBufferRangeEXT)))
#14562|   #define SET_MapNamedBufferRangeEXT(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1652]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_MapNamedBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14656:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2866:11: note: in expansion of macro ‘CALL_MapNamedBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2866:11: note: in expansion of macro ‘CALL_MapNamedBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2866:11: note: in expansion of macro ‘CALL_MapNamedBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2866:11: note: in expansion of macro ‘CALL_MapNamedBufferEXT’
#14654|   
#14655|   typedef GLvoid * (GLAPIENTRYP _glptr_MapNamedBufferEXT)(GLuint, GLenum);
#14656|-> #define CALL_MapNamedBufferEXT(disp, parameters) (* GET_MapNamedBufferEXT(disp)) parameters
#14657|   #define GET_MapNamedBufferEXT(disp) ((_glptr_MapNamedBufferEXT)(GET_by_offset((disp), _gloffset_MapNamedBufferEXT)))
#14658|   #define SET_MapNamedBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1653]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14664:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5826:4: note: in expansion of macro ‘CALL_GetTextureParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5826:4: note: in expansion of macro ‘CALL_GetTextureParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5826:4: note: in expansion of macro ‘CALL_GetTextureParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5826:4: note: in expansion of macro ‘CALL_GetTextureParameterivEXT’
#14662|   
#14663|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterivEXT)(GLuint, GLenum, GLenum, GLint *);
#14664|-> #define CALL_GetTextureParameterivEXT(disp, parameters) (* GET_GetTextureParameterivEXT(disp)) parameters
#14665|   #define GET_GetTextureParameterivEXT(disp) ((_glptr_GetTextureParameterivEXT)(GET_by_offset((disp), _gloffset_GetTextureParameterivEXT)))
#14666|   #define SET_GetTextureParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1654]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14672:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5836:4: note: in expansion of macro ‘CALL_GetTextureParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5836:4: note: in expansion of macro ‘CALL_GetTextureParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5836:4: note: in expansion of macro ‘CALL_GetTextureParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5836:4: note: in expansion of macro ‘CALL_GetTextureParameterfvEXT’
#14670|   
#14671|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterfvEXT)(GLuint, GLenum, GLenum, float *);
#14672|-> #define CALL_GetTextureParameterfvEXT(disp, parameters) (* GET_GetTextureParameterfvEXT(disp)) parameters
#14673|   #define GET_GetTextureParameterfvEXT(disp) ((_glptr_GetTextureParameterfvEXT)(GET_by_offset((disp), _gloffset_GetTextureParameterfvEXT)))
#14674|   #define SET_GetTextureParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1655]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameteriEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14680:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5875:4: note: in expansion of macro ‘CALL_TextureParameteriEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5875:4: note: in expansion of macro ‘CALL_TextureParameteriEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5875:4: note: in expansion of macro ‘CALL_TextureParameteriEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5875:4: note: in expansion of macro ‘CALL_TextureParameteriEXT’
#14678|   
#14679|   typedef void (GLAPIENTRYP _glptr_TextureParameteriEXT)(GLuint, GLenum, GLenum, int);
#14680|-> #define CALL_TextureParameteriEXT(disp, parameters) (* GET_TextureParameteriEXT(disp)) parameters
#14681|   #define GET_TextureParameteriEXT(disp) ((_glptr_TextureParameteriEXT)(GET_by_offset((disp), _gloffset_TextureParameteriEXT)))
#14682|   #define SET_TextureParameteriEXT(disp, func) do { \

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1660]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetTextureLevelParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14720:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5846:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5846:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5846:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5846:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterivEXT’
#14718|   
#14719|   typedef void (GLAPIENTRYP _glptr_GetTextureLevelParameterivEXT)(GLuint, GLenum, GLint, GLenum, GLint *);
#14720|-> #define CALL_GetTextureLevelParameterivEXT(disp, parameters) (* GET_GetTextureLevelParameterivEXT(disp)) parameters
#14721|   #define GET_GetTextureLevelParameterivEXT(disp) ((_glptr_GetTextureLevelParameterivEXT)(GET_by_offset((disp), _gloffset_GetTextureLevelParameterivEXT)))
#14722|   #define SET_GetTextureLevelParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1661]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_marshal_GetTextureLevelParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14728:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5856:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5856:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5856:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5856:4: note: in expansion of macro ‘CALL_GetTextureLevelParameterfvEXT’
#14726|   
#14727|   typedef void (GLAPIENTRYP _glptr_GetTextureLevelParameterfvEXT)(GLuint, GLenum, GLint, GLenum, float *);
#14728|-> #define CALL_GetTextureLevelParameterfvEXT(disp, parameters) (* GET_GetTextureLevelParameterfvEXT(disp)) parameters
#14729|   #define GET_GetTextureLevelParameterfvEXT(disp) ((_glptr_GetTextureLevelParameterfvEXT)(GET_by_offset((disp), _gloffset_GetTextureLevelParameterfvEXT)))
#14730|   #define SET_GetTextureLevelParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1662]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14736:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2876:4: note: in expansion of macro ‘CALL_GetNamedBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2876:4: note: in expansion of macro ‘CALL_GetNamedBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2876:4: note: in expansion of macro ‘CALL_GetNamedBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2876:4: note: in expansion of macro ‘CALL_GetNamedBufferSubDataEXT’
#14734|   
#14735|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferSubDataEXT)(GLuint, GLintptr, GLsizeiptr, GLvoid *);
#14736|-> #define CALL_GetNamedBufferSubDataEXT(disp, parameters) (* GET_GetNamedBufferSubDataEXT(disp)) parameters
#14737|   #define GET_GetNamedBufferSubDataEXT(disp) ((_glptr_GetNamedBufferSubDataEXT)(GET_by_offset((disp), _gloffset_GetNamedBufferSubDataEXT)))
#14738|   #define SET_GetNamedBufferSubDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1663]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14744:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2886:4: note: in expansion of macro ‘CALL_GetNamedBufferPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2886:4: note: in expansion of macro ‘CALL_GetNamedBufferPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2886:4: note: in expansion of macro ‘CALL_GetNamedBufferPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2886:4: note: in expansion of macro ‘CALL_GetNamedBufferPointervEXT’
#14742|   
#14743|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferPointervEXT)(GLuint, GLenum, GLvoid **);
#14744|-> #define CALL_GetNamedBufferPointervEXT(disp, parameters) (* GET_GetNamedBufferPointervEXT(disp)) parameters
#14745|   #define GET_GetNamedBufferPointervEXT(disp) ((_glptr_GetNamedBufferPointervEXT)(GET_by_offset((disp), _gloffset_GetNamedBufferPointervEXT)))
#14746|   #define SET_GetNamedBufferPointervEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1664]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedBufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14752:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2896:4: note: in expansion of macro ‘CALL_GetNamedBufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2896:4: note: in expansion of macro ‘CALL_GetNamedBufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2896:4: note: in expansion of macro ‘CALL_GetNamedBufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2896:4: note: in expansion of macro ‘CALL_GetNamedBufferParameterivEXT’
#14750|   
#14751|   typedef void (GLAPIENTRYP _glptr_GetNamedBufferParameterivEXT)(GLuint, GLenum, GLint *);
#14752|-> #define CALL_GetNamedBufferParameterivEXT(disp, parameters) (* GET_GetNamedBufferParameterivEXT(disp)) parameters
#14753|   #define GET_GetNamedBufferParameterivEXT(disp) ((_glptr_GetNamedBufferParameterivEXT)(GET_by_offset((disp), _gloffset_GetNamedBufferParameterivEXT)))
#14754|   #define SET_GetNamedBufferParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1665]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_FlushMappedNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14760:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2913:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2913:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2913:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRangeEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2913:4: note: in expansion of macro ‘CALL_FlushMappedNamedBufferRangeEXT’
#14758|   
#14759|   typedef void (GLAPIENTRYP _glptr_FlushMappedNamedBufferRangeEXT)(GLuint, GLintptr, GLsizeiptr);
#14760|-> #define CALL_FlushMappedNamedBufferRangeEXT(disp, parameters) (* GET_FlushMappedNamedBufferRangeEXT(disp)) parameters
#14761|   #define GET_FlushMappedNamedBufferRangeEXT(disp) ((_glptr_FlushMappedNamedBufferRangeEXT)(GET_by_offset((disp), _gloffset_FlushMappedNamedBufferRangeEXT)))
#14762|   #define SET_FlushMappedNamedBufferRangeEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1666]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferDrawBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14768:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2949:4: note: in expansion of macro ‘CALL_FramebufferDrawBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2949:4: note: in expansion of macro ‘CALL_FramebufferDrawBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2949:4: note: in expansion of macro ‘CALL_FramebufferDrawBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2949:4: note: in expansion of macro ‘CALL_FramebufferDrawBufferEXT’
#14766|   
#14767|   typedef void (GLAPIENTRYP _glptr_FramebufferDrawBufferEXT)(GLuint, GLenum);
#14768|-> #define CALL_FramebufferDrawBufferEXT(disp, parameters) (* GET_FramebufferDrawBufferEXT(disp)) parameters
#14769|   #define GET_FramebufferDrawBufferEXT(disp) ((_glptr_FramebufferDrawBufferEXT)(GET_by_offset((disp), _gloffset_FramebufferDrawBufferEXT)))
#14770|   #define SET_FramebufferDrawBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1667]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferDrawBuffersEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14776:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2979:4: note: in expansion of macro ‘CALL_FramebufferDrawBuffersEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2979:4: note: in expansion of macro ‘CALL_FramebufferDrawBuffersEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2979:4: note: in expansion of macro ‘CALL_FramebufferDrawBuffersEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2979:4: note: in expansion of macro ‘CALL_FramebufferDrawBuffersEXT’
#14774|   
#14775|   typedef void (GLAPIENTRYP _glptr_FramebufferDrawBuffersEXT)(GLuint, GLsizei, const GLenum *);
#14776|-> #define CALL_FramebufferDrawBuffersEXT(disp, parameters) (* GET_FramebufferDrawBuffersEXT(disp)) parameters
#14777|   #define GET_FramebufferDrawBuffersEXT(disp) ((_glptr_FramebufferDrawBuffersEXT)(GET_by_offset((disp), _gloffset_FramebufferDrawBuffersEXT)))
#14778|   #define SET_FramebufferDrawBuffersEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1668]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_FramebufferReadBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14784:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3013:4: note: in expansion of macro ‘CALL_FramebufferReadBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3013:4: note: in expansion of macro ‘CALL_FramebufferReadBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3013:4: note: in expansion of macro ‘CALL_FramebufferReadBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3013:4: note: in expansion of macro ‘CALL_FramebufferReadBufferEXT’
#14782|   
#14783|   typedef void (GLAPIENTRYP _glptr_FramebufferReadBufferEXT)(GLuint, GLenum);
#14784|-> #define CALL_FramebufferReadBufferEXT(disp, parameters) (* GET_FramebufferReadBufferEXT(disp)) parameters
#14785|   #define GET_FramebufferReadBufferEXT(disp) ((_glptr_FramebufferReadBufferEXT)(GET_by_offset((disp), _gloffset_FramebufferReadBufferEXT)))
#14786|   #define SET_FramebufferReadBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1669]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetFramebufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14792:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3033:4: note: in expansion of macro ‘CALL_GetFramebufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3033:4: note: in expansion of macro ‘CALL_GetFramebufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3033:4: note: in expansion of macro ‘CALL_GetFramebufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3033:4: note: in expansion of macro ‘CALL_GetFramebufferParameterivEXT’
#14790|   
#14791|   typedef void (GLAPIENTRYP _glptr_GetFramebufferParameterivEXT)(GLuint, GLenum, GLint *);
#14792|-> #define CALL_GetFramebufferParameterivEXT(disp, parameters) (* GET_GetFramebufferParameterivEXT(disp)) parameters
#14793|   #define GET_GetFramebufferParameterivEXT(disp) ((_glptr_GetFramebufferParameterivEXT)(GET_by_offset((disp), _gloffset_GetFramebufferParameterivEXT)))
#14794|   #define SET_GetFramebufferParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1670]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_CheckNamedFramebufferStatusEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14800:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3043:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatusEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3043:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatusEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3043:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatusEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3043:11: note: in expansion of macro ‘CALL_CheckNamedFramebufferStatusEXT’
#14798|   
#14799|   typedef GLenum (GLAPIENTRYP _glptr_CheckNamedFramebufferStatusEXT)(GLuint, GLenum);
#14800|-> #define CALL_CheckNamedFramebufferStatusEXT(disp, parameters) (* GET_CheckNamedFramebufferStatusEXT(disp)) parameters
#14801|   #define GET_CheckNamedFramebufferStatusEXT(disp) ((_glptr_CheckNamedFramebufferStatusEXT)(GET_by_offset((disp), _gloffset_CheckNamedFramebufferStatusEXT)))
#14802|   #define SET_CheckNamedFramebufferStatusEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1671]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferTexture1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14808:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3064:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3064:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3064:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3064:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture1DEXT’
#14806|   
#14807|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferTexture1DEXT)(GLuint, GLenum, GLenum, GLuint, GLint);
#14808|-> #define CALL_NamedFramebufferTexture1DEXT(disp, parameters) (* GET_NamedFramebufferTexture1DEXT(disp)) parameters
#14809|   #define GET_NamedFramebufferTexture1DEXT(disp) ((_glptr_NamedFramebufferTexture1DEXT)(GET_by_offset((disp), _gloffset_NamedFramebufferTexture1DEXT)))
#14810|   #define SET_NamedFramebufferTexture1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1672]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferTexture2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14816:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3098:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3098:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3098:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3098:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture2DEXT’
#14814|   
#14815|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferTexture2DEXT)(GLuint, GLenum, GLenum, GLuint, GLint);
#14816|-> #define CALL_NamedFramebufferTexture2DEXT(disp, parameters) (* GET_NamedFramebufferTexture2DEXT(disp)) parameters
#14817|   #define GET_NamedFramebufferTexture2DEXT(disp) ((_glptr_NamedFramebufferTexture2DEXT)(GET_by_offset((disp), _gloffset_NamedFramebufferTexture2DEXT)))
#14818|   #define SET_NamedFramebufferTexture2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1673]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferTexture3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14824:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3134:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3134:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3134:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3134:4: note: in expansion of macro ‘CALL_NamedFramebufferTexture3DEXT’
#14822|   
#14823|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferTexture3DEXT)(GLuint, GLenum, GLenum, GLuint, GLint, GLint);
#14824|-> #define CALL_NamedFramebufferTexture3DEXT(disp, parameters) (* GET_NamedFramebufferTexture3DEXT(disp)) parameters
#14825|   #define GET_NamedFramebufferTexture3DEXT(disp) ((_glptr_NamedFramebufferTexture3DEXT)(GET_by_offset((disp), _gloffset_NamedFramebufferTexture3DEXT)))
#14826|   #define SET_NamedFramebufferTexture3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1674]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedFramebufferRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14832:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3167:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3167:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3167:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3167:4: note: in expansion of macro ‘CALL_NamedFramebufferRenderbufferEXT’
#14830|   
#14831|   typedef void (GLAPIENTRYP _glptr_NamedFramebufferRenderbufferEXT)(GLuint, GLenum, GLenum, GLuint);
#14832|-> #define CALL_NamedFramebufferRenderbufferEXT(disp, parameters) (* GET_NamedFramebufferRenderbufferEXT(disp)) parameters
#14833|   #define GET_NamedFramebufferRenderbufferEXT(disp) ((_glptr_NamedFramebufferRenderbufferEXT)(GET_by_offset((disp), _gloffset_NamedFramebufferRenderbufferEXT)))
#14834|   #define SET_NamedFramebufferRenderbufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1675]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedFramebufferAttachmentParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:14840:77: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3189:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3189:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3189:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3189:4: note: in expansion of macro ‘CALL_GetNamedFramebufferAttachmentParameterivEXT’
#14838|   
#14839|   typedef void (GLAPIENTRYP _glptr_GetNamedFramebufferAttachmentParameterivEXT)(GLuint, GLenum, GLenum, GLint *);
#14840|-> #define CALL_GetNamedFramebufferAttachmentParameterivEXT(disp, parameters) (* GET_GetNamedFramebufferAttachmentParameterivEXT(disp)) parameters
#14841|   #define GET_GetNamedFramebufferAttachmentParameterivEXT(disp) ((_glptr_GetNamedFramebufferAttachmentParameterivEXT)(GET_by_offset((disp), _gloffset_GetNamedFramebufferAttachmentParameterivEXT)))
#14842|   #define SET_GetNamedFramebufferAttachmentParameterivEXT(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1713]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_BindImageTextureEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15144:53: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4799:4: note: in expansion of macro ‘CALL_BindImageTextureEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4799:4: note: in expansion of macro ‘CALL_BindImageTextureEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4799:4: note: in expansion of macro ‘CALL_BindImageTextureEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4799:4: note: in expansion of macro ‘CALL_BindImageTextureEXT’
#15142|   
#15143|   typedef void (GLAPIENTRYP _glptr_BindImageTextureEXT)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLint);
#15144|-> #define CALL_BindImageTextureEXT(disp, parameters) (* GET_BindImageTextureEXT(disp)) parameters
#15145|   #define GET_BindImageTextureEXT(disp) ((_glptr_BindImageTextureEXT)(GET_by_offset((disp), _gloffset_BindImageTextureEXT)))
#15146|   #define SET_BindImageTextureEXT(disp, func) do { \

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1715]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15160:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2231:4: note: in expansion of macro ‘CALL_CompressedTextureImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2231:4: note: in expansion of macro ‘CALL_CompressedTextureImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2231:4: note: in expansion of macro ‘CALL_CompressedTextureImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2231:4: note: in expansion of macro ‘CALL_CompressedTextureImage2DEXT’
#15158|   
#15159|   typedef void (GLAPIENTRYP _glptr_CompressedTextureImage2DEXT)(GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15160|-> #define CALL_CompressedTextureImage2DEXT(disp, parameters) (* GET_CompressedTextureImage2DEXT(disp)) parameters
#15161|   #define GET_CompressedTextureImage2DEXT(disp) ((_glptr_CompressedTextureImage2DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureImage2DEXT)))
#15162|   #define SET_CompressedTextureImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1716]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15168:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2284:4: note: in expansion of macro ‘CALL_CompressedTextureImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2284:4: note: in expansion of macro ‘CALL_CompressedTextureImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2284:4: note: in expansion of macro ‘CALL_CompressedTextureImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2284:4: note: in expansion of macro ‘CALL_CompressedTextureImage3DEXT’
#15166|   
#15167|   typedef void (GLAPIENTRYP _glptr_CompressedTextureImage3DEXT)(GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15168|-> #define CALL_CompressedTextureImage3DEXT(disp, parameters) (* GET_CompressedTextureImage3DEXT(disp)) parameters
#15169|   #define GET_CompressedTextureImage3DEXT(disp) ((_glptr_CompressedTextureImage3DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureImage3DEXT)))
#15170|   #define SET_CompressedTextureImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1717]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15176:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2334:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2334:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2334:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2334:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage1DEXT’
#15174|   
#15175|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage1DEXT)(GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
#15176|-> #define CALL_CompressedTextureSubImage1DEXT(disp, parameters) (* GET_CompressedTextureSubImage1DEXT(disp)) parameters
#15177|   #define GET_CompressedTextureSubImage1DEXT(disp) ((_glptr_CompressedTextureSubImage1DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage1DEXT)))
#15178|   #define SET_CompressedTextureSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1718]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15184:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2386:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2386:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2386:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2386:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage2DEXT’
#15182|   
#15183|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage2DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#15184|-> #define CALL_CompressedTextureSubImage2DEXT(disp, parameters) (* GET_CompressedTextureSubImage2DEXT(disp)) parameters
#15185|   #define GET_CompressedTextureSubImage2DEXT(disp) ((_glptr_CompressedTextureSubImage2DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage2DEXT)))
#15186|   #define SET_CompressedTextureSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1719]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedTextureSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15192:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2444:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2444:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2444:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2444:4: note: in expansion of macro ‘CALL_CompressedTextureSubImage3DEXT’
#15190|   
#15191|   typedef void (GLAPIENTRYP _glptr_CompressedTextureSubImage3DEXT)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#15192|-> #define CALL_CompressedTextureSubImage3DEXT(disp, parameters) (* GET_CompressedTextureSubImage3DEXT(disp)) parameters
#15193|   #define GET_CompressedTextureSubImage3DEXT(disp) ((_glptr_CompressedTextureSubImage3DEXT)(GET_by_offset((disp), _gloffset_CompressedTextureSubImage3DEXT)))
#15194|   #define SET_CompressedTextureSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1720]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GetCompressedTextureImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15200:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2488:4: note: in expansion of macro ‘CALL_GetCompressedTextureImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2488:4: note: in expansion of macro ‘CALL_GetCompressedTextureImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2488:4: note: in expansion of macro ‘CALL_GetCompressedTextureImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2488:4: note: in expansion of macro ‘CALL_GetCompressedTextureImageEXT’
#15198|   
#15199|   typedef void (GLAPIENTRYP _glptr_GetCompressedTextureImageEXT)(GLuint, GLenum, GLint, GLvoid *);
#15200|-> #define CALL_GetCompressedTextureImageEXT(disp, parameters) (* GET_GetCompressedTextureImageEXT(disp)) parameters
#15201|   #define GET_GetCompressedTextureImageEXT(disp) ((_glptr_GetCompressedTextureImageEXT)(GET_by_offset((disp), _gloffset_GetCompressedTextureImageEXT)))
#15202|   #define SET_GetCompressedTextureImageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1721]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15208:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2532:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2532:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2532:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2532:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage1DEXT’
#15206|   
#15207|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexImage1DEXT)(GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15208|-> #define CALL_CompressedMultiTexImage1DEXT(disp, parameters) (* GET_CompressedMultiTexImage1DEXT(disp)) parameters
#15209|   #define GET_CompressedMultiTexImage1DEXT(disp) ((_glptr_CompressedMultiTexImage1DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexImage1DEXT)))
#15210|   #define SET_CompressedMultiTexImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1722]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15216:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2582:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2582:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2582:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2582:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage2DEXT’
#15214|   
#15215|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexImage2DEXT)(GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15216|-> #define CALL_CompressedMultiTexImage2DEXT(disp, parameters) (* GET_CompressedMultiTexImage2DEXT(disp)) parameters
#15217|   #define GET_CompressedMultiTexImage2DEXT(disp) ((_glptr_CompressedMultiTexImage2DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexImage2DEXT)))
#15218|   #define SET_CompressedMultiTexImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1723]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15224:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2635:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2635:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2635:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2635:4: note: in expansion of macro ‘CALL_CompressedMultiTexImage3DEXT’
#15222|   
#15223|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexImage3DEXT)(GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLsizei, const GLvoid *);
#15224|-> #define CALL_CompressedMultiTexImage3DEXT(disp, parameters) (* GET_CompressedMultiTexImage3DEXT(disp)) parameters
#15225|   #define GET_CompressedMultiTexImage3DEXT(disp) ((_glptr_CompressedMultiTexImage3DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexImage3DEXT)))
#15226|   #define SET_CompressedMultiTexImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1724]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15232:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2685:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2685:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2685:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage1DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2685:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage1DEXT’
#15230|   
#15231|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexSubImage1DEXT)(GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
#15232|-> #define CALL_CompressedMultiTexSubImage1DEXT(disp, parameters) (* GET_CompressedMultiTexSubImage1DEXT(disp)) parameters
#15233|   #define GET_CompressedMultiTexSubImage1DEXT(disp) ((_glptr_CompressedMultiTexSubImage1DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexSubImage1DEXT)))
#15234|   #define SET_CompressedMultiTexSubImage1DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1725]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15240:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2737:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2737:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2737:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage2DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2737:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage2DEXT’
#15238|   
#15239|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexSubImage2DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#15240|-> #define CALL_CompressedMultiTexSubImage2DEXT(disp, parameters) (* GET_CompressedMultiTexSubImage2DEXT(disp)) parameters
#15241|   #define GET_CompressedMultiTexSubImage2DEXT(disp) ((_glptr_CompressedMultiTexSubImage2DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexSubImage2DEXT)))
#15242|   #define SET_CompressedMultiTexSubImage2DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1726]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_CompressedMultiTexSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15248:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2795:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2795:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2795:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage3DEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2795:4: note: in expansion of macro ‘CALL_CompressedMultiTexSubImage3DEXT’
#15246|   
#15247|   typedef void (GLAPIENTRYP _glptr_CompressedMultiTexSubImage3DEXT)(GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
#15248|-> #define CALL_CompressedMultiTexSubImage3DEXT(disp, parameters) (* GET_CompressedMultiTexSubImage3DEXT(disp)) parameters
#15249|   #define GET_CompressedMultiTexSubImage3DEXT(disp) ((_glptr_CompressedMultiTexSubImage3DEXT)(GET_by_offset((disp), _gloffset_CompressedMultiTexSubImage3DEXT)))
#15250|   #define SET_CompressedMultiTexSubImage3DEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1727]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GetCompressedMultiTexImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15256:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2839:4: note: in expansion of macro ‘CALL_GetCompressedMultiTexImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2839:4: note: in expansion of macro ‘CALL_GetCompressedMultiTexImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2839:4: note: in expansion of macro ‘CALL_GetCompressedMultiTexImageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:2839:4: note: in expansion of macro ‘CALL_GetCompressedMultiTexImageEXT’
#15254|   
#15255|   typedef void (GLAPIENTRYP _glptr_GetCompressedMultiTexImageEXT)(GLenum, GLenum, GLint, GLvoid *);
#15256|-> #define CALL_GetCompressedMultiTexImageEXT(disp, parameters) (* GET_GetCompressedMultiTexImageEXT(disp)) parameters
#15257|   #define GET_GetCompressedMultiTexImageEXT(disp) ((_glptr_GetCompressedMultiTexImageEXT)(GET_by_offset((disp), _gloffset_GetCompressedMultiTexImageEXT)))
#15258|   #define SET_GetCompressedMultiTexImageEXT(disp, func) do { \

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1730]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedRenderbufferStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15296:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3208:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3208:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3208:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3208:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageEXT’
#15294|   
#15295|   typedef void (GLAPIENTRYP _glptr_NamedRenderbufferStorageEXT)(GLuint, GLenum, GLsizei, GLsizei);
#15296|-> #define CALL_NamedRenderbufferStorageEXT(disp, parameters) (* GET_NamedRenderbufferStorageEXT(disp)) parameters
#15297|   #define GET_NamedRenderbufferStorageEXT(disp) ((_glptr_NamedRenderbufferStorageEXT)(GET_by_offset((disp), _gloffset_NamedRenderbufferStorageEXT)))
#15298|   #define SET_NamedRenderbufferStorageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1731]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedRenderbufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15304:68: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3230:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3230:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3230:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameterivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3230:4: note: in expansion of macro ‘CALL_GetNamedRenderbufferParameterivEXT’
#15302|   
#15303|   typedef void (GLAPIENTRYP _glptr_GetNamedRenderbufferParameterivEXT)(GLuint, GLenum, GLint *);
#15304|-> #define CALL_GetNamedRenderbufferParameterivEXT(disp, parameters) (* GET_GetNamedRenderbufferParameterivEXT(disp)) parameters
#15305|   #define GET_GetNamedRenderbufferParameterivEXT(disp) ((_glptr_GetNamedRenderbufferParameterivEXT)(GET_by_offset((disp), _gloffset_GetNamedRenderbufferParameterivEXT)))
#15306|   #define SET_GetNamedRenderbufferParameterivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1732]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_ClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15312:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5783:4: note: in expansion of macro ‘CALL_ClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5783:4: note: in expansion of macro ‘CALL_ClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5783:4: note: in expansion of macro ‘CALL_ClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5783:4: note: in expansion of macro ‘CALL_ClientAttribDefaultEXT’
#15310|   
#15311|   typedef void (GLAPIENTRYP _glptr_ClientAttribDefaultEXT)(GLbitfield);
#15312|-> #define CALL_ClientAttribDefaultEXT(disp, parameters) (* GET_ClientAttribDefaultEXT(disp)) parameters
#15313|   #define GET_ClientAttribDefaultEXT(disp) ((_glptr_ClientAttribDefaultEXT)(GET_by_offset((disp), _gloffset_ClientAttribDefaultEXT)))
#15314|   #define SET_ClientAttribDefaultEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1733]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_PushClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15320:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5806:4: note: in expansion of macro ‘CALL_PushClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5806:4: note: in expansion of macro ‘CALL_PushClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5806:4: note: in expansion of macro ‘CALL_PushClientAttribDefaultEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5806:4: note: in expansion of macro ‘CALL_PushClientAttribDefaultEXT’
#15318|   
#15319|   typedef void (GLAPIENTRYP _glptr_PushClientAttribDefaultEXT)(GLbitfield);
#15320|-> #define CALL_PushClientAttribDefaultEXT(disp, parameters) (* GET_PushClientAttribDefaultEXT(disp)) parameters
#15321|   #define GET_PushClientAttribDefaultEXT(disp) ((_glptr_PushClientAttribDefaultEXT)(GET_by_offset((disp), _gloffset_PushClientAttribDefaultEXT)))
#15322|   #define SET_PushClientAttribDefaultEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1734]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15328:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4272:4: note: in expansion of macro ‘CALL_NamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4272:4: note: in expansion of macro ‘CALL_NamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4272:4: note: in expansion of macro ‘CALL_NamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4272:4: note: in expansion of macro ‘CALL_NamedProgramStringEXT’
#15326|   
#15327|   typedef void (GLAPIENTRYP _glptr_NamedProgramStringEXT)(GLuint, GLenum, GLenum, GLsizei, const GLvoid*);
#15328|-> #define CALL_NamedProgramStringEXT(disp, parameters) (* GET_NamedProgramStringEXT(disp)) parameters
#15329|   #define GET_NamedProgramStringEXT(disp) ((_glptr_NamedProgramStringEXT)(GET_by_offset((disp), _gloffset_NamedProgramStringEXT)))
#15330|   #define SET_NamedProgramStringEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1735]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15336:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4303:4: note: in expansion of macro ‘CALL_GetNamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4303:4: note: in expansion of macro ‘CALL_GetNamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4303:4: note: in expansion of macro ‘CALL_GetNamedProgramStringEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4303:4: note: in expansion of macro ‘CALL_GetNamedProgramStringEXT’
#15334|   
#15335|   typedef void (GLAPIENTRYP _glptr_GetNamedProgramStringEXT)(GLuint, GLenum, GLenum, GLvoid*);
#15336|-> #define CALL_GetNamedProgramStringEXT(disp, parameters) (* GET_GetNamedProgramStringEXT(disp)) parameters
#15337|   #define GET_GetNamedProgramStringEXT(disp) ((_glptr_GetNamedProgramStringEXT)(GET_by_offset((disp), _gloffset_GetNamedProgramStringEXT)))
#15338|   #define SET_GetNamedProgramStringEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1736]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramLocalParameter4fEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15344:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4328:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4328:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4328:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4328:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fEXT’
#15342|   
#15343|   typedef void (GLAPIENTRYP _glptr_NamedProgramLocalParameter4fEXT)(GLuint, GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
#15344|-> #define CALL_NamedProgramLocalParameter4fEXT(disp, parameters) (* GET_NamedProgramLocalParameter4fEXT(disp)) parameters
#15345|   #define GET_NamedProgramLocalParameter4fEXT(disp) ((_glptr_NamedProgramLocalParameter4fEXT)(GET_by_offset((disp), _gloffset_NamedProgramLocalParameter4fEXT)))
#15346|   #define SET_NamedProgramLocalParameter4fEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1737]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramLocalParameter4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15352:66: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4362:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4362:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4362:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4362:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4fvEXT’
#15350|   
#15351|   typedef void (GLAPIENTRYP _glptr_NamedProgramLocalParameter4fvEXT)(GLuint, GLenum, GLuint, const GLfloat*);
#15352|-> #define CALL_NamedProgramLocalParameter4fvEXT(disp, parameters) (* GET_NamedProgramLocalParameter4fvEXT(disp)) parameters
#15353|   #define GET_NamedProgramLocalParameter4fvEXT(disp) ((_glptr_NamedProgramLocalParameter4fvEXT)(GET_by_offset((disp), _gloffset_NamedProgramLocalParameter4fvEXT)))
#15354|   #define SET_NamedProgramLocalParameter4fvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1738]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedProgramLocalParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15360:68: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4384:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4384:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4384:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterfvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4384:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterfvEXT’
#15358|   
#15359|   typedef void (GLAPIENTRYP _glptr_GetNamedProgramLocalParameterfvEXT)(GLuint, GLenum, GLuint, GLfloat*);
#15360|-> #define CALL_GetNamedProgramLocalParameterfvEXT(disp, parameters) (* GET_GetNamedProgramLocalParameterfvEXT(disp)) parameters
#15361|   #define GET_GetNamedProgramLocalParameterfvEXT(disp) ((_glptr_GetNamedProgramLocalParameterfvEXT)(GET_by_offset((disp), _gloffset_GetNamedProgramLocalParameterfvEXT)))
#15362|   #define SET_GetNamedProgramLocalParameterfvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1739]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramLocalParameter4dEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15368:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4409:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4409:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4409:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4409:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dEXT’
#15366|   
#15367|   typedef void (GLAPIENTRYP _glptr_NamedProgramLocalParameter4dEXT)(GLuint, GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
#15368|-> #define CALL_NamedProgramLocalParameter4dEXT(disp, parameters) (* GET_NamedProgramLocalParameter4dEXT(disp)) parameters
#15369|   #define GET_NamedProgramLocalParameter4dEXT(disp) ((_glptr_NamedProgramLocalParameter4dEXT)(GET_by_offset((disp), _gloffset_NamedProgramLocalParameter4dEXT)))
#15370|   #define SET_NamedProgramLocalParameter4dEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1740]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramLocalParameter4dvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15376:66: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4443:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4443:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4443:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4443:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameter4dvEXT’
#15374|   
#15375|   typedef void (GLAPIENTRYP _glptr_NamedProgramLocalParameter4dvEXT)(GLuint, GLenum, GLuint, const GLdouble*);
#15376|-> #define CALL_NamedProgramLocalParameter4dvEXT(disp, parameters) (* GET_NamedProgramLocalParameter4dvEXT(disp)) parameters
#15377|   #define GET_NamedProgramLocalParameter4dvEXT(disp) ((_glptr_NamedProgramLocalParameter4dvEXT)(GET_by_offset((disp), _gloffset_NamedProgramLocalParameter4dvEXT)))
#15378|   #define SET_NamedProgramLocalParameter4dvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1741]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedProgramLocalParameterdvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15384:68: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4465:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterdvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4465:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterdvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4465:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterdvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4465:4: note: in expansion of macro ‘CALL_GetNamedProgramLocalParameterdvEXT’
#15382|   
#15383|   typedef void (GLAPIENTRYP _glptr_GetNamedProgramLocalParameterdvEXT)(GLuint, GLenum, GLuint, GLdouble*);
#15384|-> #define CALL_GetNamedProgramLocalParameterdvEXT(disp, parameters) (* GET_GetNamedProgramLocalParameterdvEXT(disp)) parameters
#15385|   #define GET_GetNamedProgramLocalParameterdvEXT(disp) ((_glptr_GetNamedProgramLocalParameterdvEXT)(GET_by_offset((disp), _gloffset_GetNamedProgramLocalParameterdvEXT)))
#15386|   #define SET_GetNamedProgramLocalParameterdvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1742]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetNamedProgramivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15392:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4475:4: note: in expansion of macro ‘CALL_GetNamedProgramivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4475:4: note: in expansion of macro ‘CALL_GetNamedProgramivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4475:4: note: in expansion of macro ‘CALL_GetNamedProgramivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4475:4: note: in expansion of macro ‘CALL_GetNamedProgramivEXT’
#15390|   
#15391|   typedef void (GLAPIENTRYP _glptr_GetNamedProgramivEXT)(GLuint, GLenum, GLenum, GLint*);
#15392|-> #define CALL_GetNamedProgramivEXT(disp, parameters) (* GET_GetNamedProgramivEXT(disp)) parameters
#15393|   #define GET_GetNamedProgramivEXT(disp) ((_glptr_GetNamedProgramivEXT)(GET_by_offset((disp), _gloffset_GetNamedProgramivEXT)))
#15394|   #define SET_GetNamedProgramivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1743]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15400:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4494:4: note: in expansion of macro ‘CALL_TextureBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4494:4: note: in expansion of macro ‘CALL_TextureBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4494:4: note: in expansion of macro ‘CALL_TextureBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4494:4: note: in expansion of macro ‘CALL_TextureBufferEXT’
#15398|   
#15399|   typedef void (GLAPIENTRYP _glptr_TextureBufferEXT)(GLuint, GLenum, GLenum, GLuint);
#15400|-> #define CALL_TextureBufferEXT(disp, parameters) (* GET_TextureBufferEXT(disp)) parameters
#15401|   #define GET_TextureBufferEXT(disp) ((_glptr_TextureBufferEXT)(GET_by_offset((disp), _gloffset_TextureBufferEXT)))
#15402|   #define SET_TextureBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1744]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15408:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4525:4: note: in expansion of macro ‘CALL_MultiTexBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4525:4: note: in expansion of macro ‘CALL_MultiTexBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4525:4: note: in expansion of macro ‘CALL_MultiTexBufferEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4525:4: note: in expansion of macro ‘CALL_MultiTexBufferEXT’
#15406|   
#15407|   typedef void (GLAPIENTRYP _glptr_MultiTexBufferEXT)(GLenum, GLenum, GLenum, GLuint);
#15408|-> #define CALL_MultiTexBufferEXT(disp, parameters) (* GET_MultiTexBufferEXT(disp)) parameters
#15409|   #define GET_MultiTexBufferEXT(disp) ((_glptr_MultiTexBufferEXT)(GET_by_offset((disp), _gloffset_MultiTexBufferEXT)))
#15410|   #define SET_MultiTexBufferEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1745]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15416:56: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4559:4: note: in expansion of macro ‘CALL_TextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4559:4: note: in expansion of macro ‘CALL_TextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4559:4: note: in expansion of macro ‘CALL_TextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4559:4: note: in expansion of macro ‘CALL_TextureParameterIivEXT’
#15414|   
#15415|   typedef void (GLAPIENTRYP _glptr_TextureParameterIivEXT)(GLuint, GLenum, GLenum, const GLint*);
#15416|-> #define CALL_TextureParameterIivEXT(disp, parameters) (* GET_TextureParameterIivEXT(disp)) parameters
#15417|   #define GET_TextureParameterIivEXT(disp) ((_glptr_TextureParameterIivEXT)(GET_by_offset((disp), _gloffset_TextureParameterIivEXT)))
#15418|   #define SET_TextureParameterIivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1746]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_TextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15424:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4597:4: note: in expansion of macro ‘CALL_TextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4597:4: note: in expansion of macro ‘CALL_TextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4597:4: note: in expansion of macro ‘CALL_TextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4597:4: note: in expansion of macro ‘CALL_TextureParameterIuivEXT’
#15422|   
#15423|   typedef void (GLAPIENTRYP _glptr_TextureParameterIuivEXT)(GLuint, GLenum, GLenum, const GLuint*);
#15424|-> #define CALL_TextureParameterIuivEXT(disp, parameters) (* GET_TextureParameterIuivEXT(disp)) parameters
#15425|   #define GET_TextureParameterIuivEXT(disp) ((_glptr_TextureParameterIuivEXT)(GET_by_offset((disp), _gloffset_TextureParameterIuivEXT)))
#15426|   #define SET_TextureParameterIuivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1747]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15432:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4623:4: note: in expansion of macro ‘CALL_GetTextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4623:4: note: in expansion of macro ‘CALL_GetTextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4623:4: note: in expansion of macro ‘CALL_GetTextureParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4623:4: note: in expansion of macro ‘CALL_GetTextureParameterIivEXT’
#15430|   
#15431|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterIivEXT)(GLuint, GLenum, GLenum, GLint*);
#15432|-> #define CALL_GetTextureParameterIivEXT(disp, parameters) (* GET_GetTextureParameterIivEXT(disp)) parameters
#15433|   #define GET_GetTextureParameterIivEXT(disp) ((_glptr_GetTextureParameterIivEXT)(GET_by_offset((disp), _gloffset_GetTextureParameterIivEXT)))
#15434|   #define SET_GetTextureParameterIivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1748]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetTextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15440:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4633:4: note: in expansion of macro ‘CALL_GetTextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4633:4: note: in expansion of macro ‘CALL_GetTextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4633:4: note: in expansion of macro ‘CALL_GetTextureParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4633:4: note: in expansion of macro ‘CALL_GetTextureParameterIuivEXT’
#15438|   
#15439|   typedef void (GLAPIENTRYP _glptr_GetTextureParameterIuivEXT)(GLuint, GLenum, GLenum, GLuint*);
#15440|-> #define CALL_GetTextureParameterIuivEXT(disp, parameters) (* GET_GetTextureParameterIuivEXT(disp)) parameters
#15441|   #define GET_GetTextureParameterIuivEXT(disp) ((_glptr_GetTextureParameterIuivEXT)(GET_by_offset((disp), _gloffset_GetTextureParameterIuivEXT)))
#15442|   #define SET_GetTextureParameterIuivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1749]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15448:57: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4655:4: note: in expansion of macro ‘CALL_MultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4655:4: note: in expansion of macro ‘CALL_MultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4655:4: note: in expansion of macro ‘CALL_MultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4655:4: note: in expansion of macro ‘CALL_MultiTexParameterIivEXT’
#15446|   
#15447|   typedef void (GLAPIENTRYP _glptr_MultiTexParameterIivEXT)(GLenum, GLenum, GLenum, const GLint*);
#15448|-> #define CALL_MultiTexParameterIivEXT(disp, parameters) (* GET_MultiTexParameterIivEXT(disp)) parameters
#15449|   #define GET_MultiTexParameterIivEXT(disp) ((_glptr_MultiTexParameterIivEXT)(GET_by_offset((disp), _gloffset_MultiTexParameterIivEXT)))
#15450|   #define SET_MultiTexParameterIivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1750]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_MultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15456:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4693:4: note: in expansion of macro ‘CALL_MultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4693:4: note: in expansion of macro ‘CALL_MultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4693:4: note: in expansion of macro ‘CALL_MultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4693:4: note: in expansion of macro ‘CALL_MultiTexParameterIuivEXT’
#15454|   
#15455|   typedef void (GLAPIENTRYP _glptr_MultiTexParameterIuivEXT)(GLenum, GLenum, GLenum, const GLuint*);
#15456|-> #define CALL_MultiTexParameterIuivEXT(disp, parameters) (* GET_MultiTexParameterIuivEXT(disp)) parameters
#15457|   #define GET_MultiTexParameterIuivEXT(disp) ((_glptr_MultiTexParameterIuivEXT)(GET_by_offset((disp), _gloffset_MultiTexParameterIuivEXT)))
#15458|   #define SET_MultiTexParameterIuivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1751]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15464:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4719:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4719:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4719:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4719:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIivEXT’
#15462|   
#15463|   typedef void (GLAPIENTRYP _glptr_GetMultiTexParameterIivEXT)(GLenum, GLenum, GLenum, GLint*);
#15464|-> #define CALL_GetMultiTexParameterIivEXT(disp, parameters) (* GET_GetMultiTexParameterIivEXT(disp)) parameters
#15465|   #define GET_GetMultiTexParameterIivEXT(disp) ((_glptr_GetMultiTexParameterIivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexParameterIivEXT)))
#15466|   #define SET_GetMultiTexParameterIivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1752]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetMultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15472:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4729:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4729:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4729:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIuivEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4729:4: note: in expansion of macro ‘CALL_GetMultiTexParameterIuivEXT’
#15470|   
#15471|   typedef void (GLAPIENTRYP _glptr_GetMultiTexParameterIuivEXT)(GLenum, GLenum, GLenum, GLuint*);
#15472|-> #define CALL_GetMultiTexParameterIuivEXT(disp, parameters) (* GET_GetMultiTexParameterIuivEXT(disp)) parameters
#15473|   #define GET_GetMultiTexParameterIuivEXT(disp) ((_glptr_GetMultiTexParameterIuivEXT)(GET_by_offset((disp), _gloffset_GetMultiTexParameterIuivEXT)))
#15474|   #define SET_GetMultiTexParameterIuivEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1753]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15480:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4753:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4753:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4753:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameters4fvEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4753:4: note: in expansion of macro ‘CALL_NamedProgramLocalParameters4fvEXT’
#15478|   
#15479|   typedef void (GLAPIENTRYP _glptr_NamedProgramLocalParameters4fvEXT)(GLuint, GLenum, GLuint, GLsizei, const GLfloat*);
#15480|-> #define CALL_NamedProgramLocalParameters4fvEXT(disp, parameters) (* GET_NamedProgramLocalParameters4fvEXT(disp)) parameters
#15481|   #define GET_NamedProgramLocalParameters4fvEXT(disp) ((_glptr_NamedProgramLocalParameters4fvEXT)(GET_by_offset((disp), _gloffset_NamedProgramLocalParameters4fvEXT)))
#15482|   #define SET_NamedProgramLocalParameters4fvEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1754]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GenerateTextureMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15488:58: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3245:4: note: in expansion of macro ‘CALL_GenerateTextureMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3245:4: note: in expansion of macro ‘CALL_GenerateTextureMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3245:4: note: in expansion of macro ‘CALL_GenerateTextureMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3245:4: note: in expansion of macro ‘CALL_GenerateTextureMipmapEXT’
#15486|   
#15487|   typedef void (GLAPIENTRYP _glptr_GenerateTextureMipmapEXT)(GLuint, GLenum);
#15488|-> #define CALL_GenerateTextureMipmapEXT(disp, parameters) (* GET_GenerateTextureMipmapEXT(disp)) parameters
#15489|   #define GET_GenerateTextureMipmapEXT(disp) ((_glptr_GenerateTextureMipmapEXT)(GET_by_offset((disp), _gloffset_GenerateTextureMipmapEXT)))
#15490|   #define SET_GenerateTextureMipmapEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1755]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_GenerateMultiTexMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15496:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3270:4: note: in expansion of macro ‘CALL_GenerateMultiTexMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3270:4: note: in expansion of macro ‘CALL_GenerateMultiTexMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3270:4: note: in expansion of macro ‘CALL_GenerateMultiTexMipmapEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3270:4: note: in expansion of macro ‘CALL_GenerateMultiTexMipmapEXT’
#15494|   
#15495|   typedef void (GLAPIENTRYP _glptr_GenerateMultiTexMipmapEXT)(GLenum, GLenum);
#15496|-> #define CALL_GenerateMultiTexMipmapEXT(disp, parameters) (* GET_GenerateMultiTexMipmapEXT(disp)) parameters
#15497|   #define GET_GenerateMultiTexMipmapEXT(disp) ((_glptr_GenerateMultiTexMipmapEXT)(GET_by_offset((disp), _gloffset_GenerateMultiTexMipmapEXT)))
#15498|   #define SET_GenerateMultiTexMipmapEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1756]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedRenderbufferStorageMultisampleEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15504:72: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3301:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3301:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3301:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3301:4: note: in expansion of macro ‘CALL_NamedRenderbufferStorageMultisampleEXT’
#15502|   
#15503|   typedef void (GLAPIENTRYP _glptr_NamedRenderbufferStorageMultisampleEXT)(GLuint, GLsizei, GLenum, GLsizei, GLsizei);
#15504|-> #define CALL_NamedRenderbufferStorageMultisampleEXT(disp, parameters) (* GET_NamedRenderbufferStorageMultisampleEXT(disp)) parameters
#15505|   #define GET_NamedRenderbufferStorageMultisampleEXT(disp) ((_glptr_NamedRenderbufferStorageMultisampleEXT)(GET_by_offset((disp), _gloffset_NamedRenderbufferStorageMultisampleEXT)))
#15506|   #define SET_NamedRenderbufferStorageMultisampleEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1757]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_NamedCopyBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15512:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3335:4: note: in expansion of macro ‘CALL_NamedCopyBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3335:4: note: in expansion of macro ‘CALL_NamedCopyBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3335:4: note: in expansion of macro ‘CALL_NamedCopyBufferSubDataEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3335:4: note: in expansion of macro ‘CALL_NamedCopyBufferSubDataEXT’
#15510|   
#15511|   typedef void (GLAPIENTRYP _glptr_NamedCopyBufferSubDataEXT)(GLuint, GLuint, GLintptr, GLintptr, GLsizeiptr);
#15512|-> #define CALL_NamedCopyBufferSubDataEXT(disp, parameters) (* GET_NamedCopyBufferSubDataEXT(disp)) parameters
#15513|   #define GET_NamedCopyBufferSubDataEXT(disp) ((_glptr_NamedCopyBufferSubDataEXT)(GET_by_offset((disp), _gloffset_NamedCopyBufferSubDataEXT)))
#15514|   #define SET_NamedCopyBufferSubDataEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1758]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15520:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3380:4: note: in expansion of macro ‘CALL_VertexArrayVertexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3380:4: note: in expansion of macro ‘CALL_VertexArrayVertexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3380:4: note: in expansion of macro ‘CALL_VertexArrayVertexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3380:4: note: in expansion of macro ‘CALL_VertexArrayVertexOffsetEXT’
#15518|   
#15519|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexOffsetEXT)(GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15520|-> #define CALL_VertexArrayVertexOffsetEXT(disp, parameters) (* GET_VertexArrayVertexOffsetEXT(disp)) parameters
#15521|   #define GET_VertexArrayVertexOffsetEXT(disp) ((_glptr_VertexArrayVertexOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexOffsetEXT)))
#15522|   #define SET_VertexArrayVertexOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1759]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15528:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3448:4: note: in expansion of macro ‘CALL_VertexArrayColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3448:4: note: in expansion of macro ‘CALL_VertexArrayColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3448:4: note: in expansion of macro ‘CALL_VertexArrayColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3448:4: note: in expansion of macro ‘CALL_VertexArrayColorOffsetEXT’
#15526|   
#15527|   typedef void (GLAPIENTRYP _glptr_VertexArrayColorOffsetEXT)(GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15528|-> #define CALL_VertexArrayColorOffsetEXT(disp, parameters) (* GET_VertexArrayColorOffsetEXT(disp)) parameters
#15529|   #define GET_VertexArrayColorOffsetEXT(disp) ((_glptr_VertexArrayColorOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayColorOffsetEXT)))
#15530|   #define SET_VertexArrayColorOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1760]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayEdgeFlagOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15536:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3511:4: note: in expansion of macro ‘CALL_VertexArrayEdgeFlagOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3511:4: note: in expansion of macro ‘CALL_VertexArrayEdgeFlagOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3511:4: note: in expansion of macro ‘CALL_VertexArrayEdgeFlagOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3511:4: note: in expansion of macro ‘CALL_VertexArrayEdgeFlagOffsetEXT’
#15534|   
#15535|   typedef void (GLAPIENTRYP _glptr_VertexArrayEdgeFlagOffsetEXT)(GLuint, GLuint, GLsizei, GLintptr);
#15536|-> #define CALL_VertexArrayEdgeFlagOffsetEXT(disp, parameters) (* GET_VertexArrayEdgeFlagOffsetEXT(disp)) parameters
#15537|   #define GET_VertexArrayEdgeFlagOffsetEXT(disp) ((_glptr_VertexArrayEdgeFlagOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayEdgeFlagOffsetEXT)))
#15538|   #define SET_VertexArrayEdgeFlagOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1761]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayIndexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15544:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3572:4: note: in expansion of macro ‘CALL_VertexArrayIndexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3572:4: note: in expansion of macro ‘CALL_VertexArrayIndexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3572:4: note: in expansion of macro ‘CALL_VertexArrayIndexOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3572:4: note: in expansion of macro ‘CALL_VertexArrayIndexOffsetEXT’
#15542|   
#15543|   typedef void (GLAPIENTRYP _glptr_VertexArrayIndexOffsetEXT)(GLuint, GLuint, GLenum, GLsizei, GLintptr);
#15544|-> #define CALL_VertexArrayIndexOffsetEXT(disp, parameters) (* GET_VertexArrayIndexOffsetEXT(disp)) parameters
#15545|   #define GET_VertexArrayIndexOffsetEXT(disp) ((_glptr_VertexArrayIndexOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayIndexOffsetEXT)))
#15546|   #define SET_VertexArrayIndexOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1762]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayNormalOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15552:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3636:4: note: in expansion of macro ‘CALL_VertexArrayNormalOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3636:4: note: in expansion of macro ‘CALL_VertexArrayNormalOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3636:4: note: in expansion of macro ‘CALL_VertexArrayNormalOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3636:4: note: in expansion of macro ‘CALL_VertexArrayNormalOffsetEXT’
#15550|   
#15551|   typedef void (GLAPIENTRYP _glptr_VertexArrayNormalOffsetEXT)(GLuint, GLuint, GLenum, GLsizei, GLintptr);
#15552|-> #define CALL_VertexArrayNormalOffsetEXT(disp, parameters) (* GET_VertexArrayNormalOffsetEXT(disp)) parameters
#15553|   #define GET_VertexArrayNormalOffsetEXT(disp) ((_glptr_VertexArrayNormalOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayNormalOffsetEXT)))
#15554|   #define SET_VertexArrayNormalOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1763]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15560:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3702:4: note: in expansion of macro ‘CALL_VertexArrayTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3702:4: note: in expansion of macro ‘CALL_VertexArrayTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3702:4: note: in expansion of macro ‘CALL_VertexArrayTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3702:4: note: in expansion of macro ‘CALL_VertexArrayTexCoordOffsetEXT’
#15558|   
#15559|   typedef void (GLAPIENTRYP _glptr_VertexArrayTexCoordOffsetEXT)(GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15560|-> #define CALL_VertexArrayTexCoordOffsetEXT(disp, parameters) (* GET_VertexArrayTexCoordOffsetEXT(disp)) parameters
#15561|   #define GET_VertexArrayTexCoordOffsetEXT(disp) ((_glptr_VertexArrayTexCoordOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayTexCoordOffsetEXT)))
#15562|   #define SET_VertexArrayTexCoordOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1764]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayMultiTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15568:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3774:4: note: in expansion of macro ‘CALL_VertexArrayMultiTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3774:4: note: in expansion of macro ‘CALL_VertexArrayMultiTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3774:4: note: in expansion of macro ‘CALL_VertexArrayMultiTexCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3774:4: note: in expansion of macro ‘CALL_VertexArrayMultiTexCoordOffsetEXT’
#15566|   
#15567|   typedef void (GLAPIENTRYP _glptr_VertexArrayMultiTexCoordOffsetEXT)(GLuint, GLuint, GLenum, GLint, GLenum, GLsizei, GLintptr);
#15568|-> #define CALL_VertexArrayMultiTexCoordOffsetEXT(disp, parameters) (* GET_VertexArrayMultiTexCoordOffsetEXT(disp)) parameters
#15569|   #define GET_VertexArrayMultiTexCoordOffsetEXT(disp) ((_glptr_VertexArrayMultiTexCoordOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayMultiTexCoordOffsetEXT)))
#15570|   #define SET_VertexArrayMultiTexCoordOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1765]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayFogCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15576:62: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3844:4: note: in expansion of macro ‘CALL_VertexArrayFogCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3844:4: note: in expansion of macro ‘CALL_VertexArrayFogCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3844:4: note: in expansion of macro ‘CALL_VertexArrayFogCoordOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3844:4: note: in expansion of macro ‘CALL_VertexArrayFogCoordOffsetEXT’
#15574|   
#15575|   typedef void (GLAPIENTRYP _glptr_VertexArrayFogCoordOffsetEXT)(GLuint, GLuint, GLenum, GLsizei, GLintptr);
#15576|-> #define CALL_VertexArrayFogCoordOffsetEXT(disp, parameters) (* GET_VertexArrayFogCoordOffsetEXT(disp)) parameters
#15577|   #define GET_VertexArrayFogCoordOffsetEXT(disp) ((_glptr_VertexArrayFogCoordOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayFogCoordOffsetEXT)))
#15578|   #define SET_VertexArrayFogCoordOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1766]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArraySecondaryColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15584:68: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3910:4: note: in expansion of macro ‘CALL_VertexArraySecondaryColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3910:4: note: in expansion of macro ‘CALL_VertexArraySecondaryColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3910:4: note: in expansion of macro ‘CALL_VertexArraySecondaryColorOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3910:4: note: in expansion of macro ‘CALL_VertexArraySecondaryColorOffsetEXT’
#15582|   
#15583|   typedef void (GLAPIENTRYP _glptr_VertexArraySecondaryColorOffsetEXT)(GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15584|-> #define CALL_VertexArraySecondaryColorOffsetEXT(disp, parameters) (* GET_VertexArraySecondaryColorOffsetEXT(disp)) parameters
#15585|   #define GET_VertexArraySecondaryColorOffsetEXT(disp) ((_glptr_VertexArraySecondaryColorOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArraySecondaryColorOffsetEXT)))
#15586|   #define SET_VertexArraySecondaryColorOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1767]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15592:66: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3985:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3985:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3985:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:3985:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribOffsetEXT’
#15590|   
#15591|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribOffsetEXT)(GLuint, GLuint, GLuint, GLint, GLenum, GLboolean, GLsizei, GLintptr);
#15592|-> #define CALL_VertexArrayVertexAttribOffsetEXT(disp, parameters) (* GET_VertexArrayVertexAttribOffsetEXT(disp)) parameters
#15593|   #define GET_VertexArrayVertexAttribOffsetEXT(disp) ((_glptr_VertexArrayVertexAttribOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribOffsetEXT)))
#15594|   #define SET_VertexArrayVertexAttribOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1768]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_VertexArrayVertexAttribIOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15600:67: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4064:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4064:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4064:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIOffsetEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4064:4: note: in expansion of macro ‘CALL_VertexArrayVertexAttribIOffsetEXT’
#15598|   
#15599|   typedef void (GLAPIENTRYP _glptr_VertexArrayVertexAttribIOffsetEXT)(GLuint, GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr);
#15600|-> #define CALL_VertexArrayVertexAttribIOffsetEXT(disp, parameters) (* GET_VertexArrayVertexAttribIOffsetEXT(disp)) parameters
#15601|   #define GET_VertexArrayVertexAttribIOffsetEXT(disp) ((_glptr_VertexArrayVertexAttribIOffsetEXT)(GET_by_offset((disp), _gloffset_VertexArrayVertexAttribIOffsetEXT)))
#15602|   #define SET_VertexArrayVertexAttribIOffsetEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1769]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_EnableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15608:54: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4119:4: note: in expansion of macro ‘CALL_EnableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4119:4: note: in expansion of macro ‘CALL_EnableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4119:4: note: in expansion of macro ‘CALL_EnableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4119:4: note: in expansion of macro ‘CALL_EnableVertexArrayEXT’
#15606|   
#15607|   typedef void (GLAPIENTRYP _glptr_EnableVertexArrayEXT)(GLuint, GLenum);
#15608|-> #define CALL_EnableVertexArrayEXT(disp, parameters) (* GET_EnableVertexArrayEXT(disp)) parameters
#15609|   #define GET_EnableVertexArrayEXT(disp) ((_glptr_EnableVertexArrayEXT)(GET_by_offset((disp), _gloffset_EnableVertexArrayEXT)))
#15610|   #define SET_EnableVertexArrayEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1770]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_DisableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15616:55: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4145:4: note: in expansion of macro ‘CALL_DisableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4145:4: note: in expansion of macro ‘CALL_DisableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4145:4: note: in expansion of macro ‘CALL_DisableVertexArrayEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4145:4: note: in expansion of macro ‘CALL_DisableVertexArrayEXT’
#15614|   
#15615|   typedef void (GLAPIENTRYP _glptr_DisableVertexArrayEXT)(GLuint, GLenum);
#15616|-> #define CALL_DisableVertexArrayEXT(disp, parameters) (* GET_DisableVertexArrayEXT(disp)) parameters
#15617|   #define GET_DisableVertexArrayEXT(disp) ((_glptr_DisableVertexArrayEXT)(GET_by_offset((disp), _gloffset_DisableVertexArrayEXT)))
#15618|   #define SET_DisableVertexArrayEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1771]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_EnableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15624:60: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4171:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4171:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4171:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4171:4: note: in expansion of macro ‘CALL_EnableVertexArrayAttribEXT’
#15622|   
#15623|   typedef void (GLAPIENTRYP _glptr_EnableVertexArrayAttribEXT)(GLuint, GLuint);
#15624|-> #define CALL_EnableVertexArrayAttribEXT(disp, parameters) (* GET_EnableVertexArrayAttribEXT(disp)) parameters
#15625|   #define GET_EnableVertexArrayAttribEXT(disp) ((_glptr_EnableVertexArrayAttribEXT)(GET_by_offset((disp), _gloffset_EnableVertexArrayAttribEXT)))
#15626|   #define SET_EnableVertexArrayAttribEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1772]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_DisableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15632:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4197:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4197:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4197:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttribEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4197:4: note: in expansion of macro ‘CALL_DisableVertexArrayAttribEXT’
#15630|   
#15631|   typedef void (GLAPIENTRYP _glptr_DisableVertexArrayAttribEXT)(GLuint, GLuint);
#15632|-> #define CALL_DisableVertexArrayAttribEXT(disp, parameters) (* GET_DisableVertexArrayAttribEXT(disp)) parameters
#15633|   #define GET_DisableVertexArrayAttribEXT(disp) ((_glptr_DisableVertexArrayAttribEXT)(GET_by_offset((disp), _gloffset_DisableVertexArrayAttribEXT)))
#15634|   #define SET_DisableVertexArrayAttribEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1773]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayIntegervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15640:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4218:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4218:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4218:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4218:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegervEXT’
#15638|   
#15639|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayIntegervEXT)(GLuint, GLenum, GLint*);
#15640|-> #define CALL_GetVertexArrayIntegervEXT(disp, parameters) (* GET_GetVertexArrayIntegervEXT(disp)) parameters
#15641|   #define GET_GetVertexArrayIntegervEXT(disp) ((_glptr_GetVertexArrayIntegervEXT)(GET_by_offset((disp), _gloffset_GetVertexArrayIntegervEXT)))
#15642|   #define SET_GetVertexArrayIntegervEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1774]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15648:59: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4228:4: note: in expansion of macro ‘CALL_GetVertexArrayPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4228:4: note: in expansion of macro ‘CALL_GetVertexArrayPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4228:4: note: in expansion of macro ‘CALL_GetVertexArrayPointervEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4228:4: note: in expansion of macro ‘CALL_GetVertexArrayPointervEXT’
#15646|   
#15647|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayPointervEXT)(GLuint, GLenum, GLvoid**);
#15648|-> #define CALL_GetVertexArrayPointervEXT(disp, parameters) (* GET_GetVertexArrayPointervEXT(disp)) parameters
#15649|   #define GET_GetVertexArrayPointervEXT(disp) ((_glptr_GetVertexArrayPointervEXT)(GET_by_offset((disp), _gloffset_GetVertexArrayPointervEXT)))
#15650|   #define SET_GetVertexArrayPointervEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1775]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayIntegeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15656:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4238:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4238:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4238:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4238:4: note: in expansion of macro ‘CALL_GetVertexArrayIntegeri_vEXT’
#15654|   
#15655|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayIntegeri_vEXT)(GLuint, GLuint, GLenum, GLint*);
#15656|-> #define CALL_GetVertexArrayIntegeri_vEXT(disp, parameters) (* GET_GetVertexArrayIntegeri_vEXT(disp)) parameters
#15657|   #define GET_GetVertexArrayIntegeri_vEXT(disp) ((_glptr_GetVertexArrayIntegeri_vEXT)(GET_by_offset((disp), _gloffset_GetVertexArrayIntegeri_vEXT)))
#15658|   #define SET_GetVertexArrayIntegeri_vEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1776]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetVertexArrayPointeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15664:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4248:4: note: in expansion of macro ‘CALL_GetVertexArrayPointeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4248:4: note: in expansion of macro ‘CALL_GetVertexArrayPointeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4248:4: note: in expansion of macro ‘CALL_GetVertexArrayPointeri_vEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4248:4: note: in expansion of macro ‘CALL_GetVertexArrayPointeri_vEXT’
#15662|   
#15663|   typedef void (GLAPIENTRYP _glptr_GetVertexArrayPointeri_vEXT)(GLuint, GLuint, GLenum, GLvoid**);
#15664|-> #define CALL_GetVertexArrayPointeri_vEXT(disp, parameters) (* GET_GetVertexArrayPointeri_vEXT(disp)) parameters
#15665|   #define GET_GetVertexArrayPointeri_vEXT(disp) ((_glptr_GetVertexArrayPointeri_vEXT)(GET_by_offset((disp), _gloffset_GetVertexArrayPointeri_vEXT)))
#15666|   #define SET_GetVertexArrayPointeri_vEXT(disp, func) do { \

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1799]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_EGLImageTargetTexStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15848:61: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5564:4: note: in expansion of macro ‘CALL_EGLImageTargetTexStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5564:4: note: in expansion of macro ‘CALL_EGLImageTargetTexStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5564:4: note: in expansion of macro ‘CALL_EGLImageTargetTexStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5564:4: note: in expansion of macro ‘CALL_EGLImageTargetTexStorageEXT’
#15846|   
#15847|   typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexStorageEXT)(GLenum, GLvoid *, const GLint *);
#15848|-> #define CALL_EGLImageTargetTexStorageEXT(disp, parameters) (* GET_EGLImageTargetTexStorageEXT(disp)) parameters
#15849|   #define GET_EGLImageTargetTexStorageEXT(disp) ((_glptr_EGLImageTargetTexStorageEXT)(GET_by_offset((disp), _gloffset_EGLImageTargetTexStorageEXT)))
#15850|   #define SET_EGLImageTargetTexStorageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1800]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_EGLImageTargetTextureStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15856:65: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5574:4: note: in expansion of macro ‘CALL_EGLImageTargetTextureStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5574:4: note: in expansion of macro ‘CALL_EGLImageTargetTextureStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5574:4: note: in expansion of macro ‘CALL_EGLImageTargetTextureStorageEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5574:4: note: in expansion of macro ‘CALL_EGLImageTargetTextureStorageEXT’
#15854|   
#15855|   typedef void (GLAPIENTRYP _glptr_EGLImageTargetTextureStorageEXT)(GLuint, GLvoid *, const GLint *);
#15856|-> #define CALL_EGLImageTargetTextureStorageEXT(disp, parameters) (* GET_EGLImageTargetTextureStorageEXT(disp)) parameters
#15857|   #define GET_EGLImageTargetTextureStorageEXT(disp) ((_glptr_EGLImageTargetTextureStorageEXT)(GET_by_offset((disp), _gloffset_EGLImageTargetTextureStorageEXT)))
#15858|   #define SET_EGLImageTargetTextureStorageEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1801]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c: scope_hint: In function ‘_mesa_unmarshal_CopyImageSubDataNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15864:52: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5306:4: note: in expansion of macro ‘CALL_CopyImageSubDataNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5306:4: note: in expansion of macro ‘CALL_CopyImageSubDataNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5306:4: note: in expansion of macro ‘CALL_CopyImageSubDataNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated5.c:5306:4: note: in expansion of macro ‘CALL_CopyImageSubDataNV’
#15862|   
#15863|   typedef void (GLAPIENTRYP _glptr_CopyImageSubDataNV)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei);
#15864|-> #define CALL_CopyImageSubDataNV(disp, parameters) (* GET_CopyImageSubDataNV(disp)) parameters
#15865|   #define GET_CopyImageSubDataNV(disp) ((_glptr_CopyImageSubDataNV)(GET_by_offset((disp), _gloffset_CopyImageSubDataNV)))
#15866|   #define SET_CopyImageSubDataNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1802]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_AlphaToCoverageDitherControlNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15880:64: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5058:4: note: in expansion of macro ‘CALL_AlphaToCoverageDitherControlNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5058:4: note: in expansion of macro ‘CALL_AlphaToCoverageDitherControlNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5058:4: note: in expansion of macro ‘CALL_AlphaToCoverageDitherControlNV’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5058:4: note: in expansion of macro ‘CALL_AlphaToCoverageDitherControlNV’
#15878|   
#15879|   typedef void (GLAPIENTRYP _glptr_AlphaToCoverageDitherControlNV)(GLenum);
#15880|-> #define CALL_AlphaToCoverageDitherControlNV(disp, parameters) (* GET_AlphaToCoverageDitherControlNV(disp)) parameters
#15881|   #define GET_AlphaToCoverageDitherControlNV(disp) ((_glptr_AlphaToCoverageDitherControlNV)(GET_by_offset((disp), _gloffset_AlphaToCoverageDitherControlNV)))
#15882|   #define SET_AlphaToCoverageDitherControlNV(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1803]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_InternalBufferSubDataCopyMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:15888:63: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5478:4: note: in expansion of macro ‘CALL_InternalBufferSubDataCopyMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5478:4: note: in expansion of macro ‘CALL_InternalBufferSubDataCopyMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5478:4: note: in expansion of macro ‘CALL_InternalBufferSubDataCopyMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5478:4: note: in expansion of macro ‘CALL_InternalBufferSubDataCopyMESA’
#15886|   
#15887|   typedef void (GLAPIENTRYP _glptr_InternalBufferSubDataCopyMESA)(GLintptr, GLuint, GLuint, GLintptr, GLsizeiptr, GLboolean, GLboolean);
#15888|-> #define CALL_InternalBufferSubDataCopyMESA(disp, parameters) (* GET_InternalBufferSubDataCopyMESA(disp)) parameters
#15889|   #define GET_InternalBufferSubDataCopyMESA(disp) ((_glptr_InternalBufferSubDataCopyMESA)(GET_by_offset((disp), _gloffset_InternalBufferSubDataCopyMESA)))
#15890|   #define SET_InternalBufferSubDataCopyMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1804]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_InternalSetError’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:16152:50: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5506:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5506:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5506:4: note: in expansion of macro ‘CALL_InternalSetError’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5506:4: note: in expansion of macro ‘CALL_InternalSetError’
#16150|   
#16151|   typedef void (GLAPIENTRYP _glptr_InternalSetError)(GLenum);
#16152|-> #define CALL_InternalSetError(disp, parameters) (* GET_InternalSetError(disp)) parameters
#16153|   #define GET_InternalSetError(disp) ((_glptr_InternalSetError)(GET_by_offset((disp), _gloffset_InternalSetError)))
#16154|   #define SET_InternalSetError(disp, func) do { \

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

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1807]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_GetObjectLabelEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:16304:51: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4834:4: note: in expansion of macro ‘CALL_GetObjectLabelEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4834:4: note: in expansion of macro ‘CALL_GetObjectLabelEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4834:4: note: in expansion of macro ‘CALL_GetObjectLabelEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4834:4: note: in expansion of macro ‘CALL_GetObjectLabelEXT’
#16302|   
#16303|   typedef void (GLAPIENTRYP _glptr_GetObjectLabelEXT)(GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
#16304|-> #define CALL_GetObjectLabelEXT(disp, parameters) (* GET_GetObjectLabelEXT(disp)) parameters
#16305|   #define GET_GetObjectLabelEXT(disp) ((_glptr_GetObjectLabelEXT)(GET_by_offset((disp), _gloffset_GetObjectLabelEXT)))
#16306|   #define SET_GetObjectLabelEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1808]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_marshal_LabelObjectEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:16312:48: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4824:4: note: in expansion of macro ‘CALL_LabelObjectEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4824:4: note: in expansion of macro ‘CALL_LabelObjectEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4824:4: note: in expansion of macro ‘CALL_LabelObjectEXT’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:4824:4: note: in expansion of macro ‘CALL_LabelObjectEXT’
#16310|   
#16311|   typedef void (GLAPIENTRYP _glptr_LabelObjectEXT)(GLenum, GLuint, GLsizei, const GLchar *);
#16312|-> #define CALL_LabelObjectEXT(disp, parameters) (* GET_LabelObjectEXT(disp)) parameters
#16313|   #define GET_LabelObjectEXT(disp) ((_glptr_LabelObjectEXT)(GET_by_offset((disp), _gloffset_LabelObjectEXT)))
#16314|   #define SET_LabelObjectEXT(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1809]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c: scope_hint: In function ‘_mesa_unmarshal_InternalInvalidateFramebufferAncillaryMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/main/dispatch.h:16368:76: warning[-Wanalyzer-jump-through-null]: jump through null pointer
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5526:4: note: in expansion of macro ‘CALL_InternalInvalidateFramebufferAncillaryMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5526:4: note: in expansion of macro ‘CALL_InternalInvalidateFramebufferAncillaryMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5526:4: note: in expansion of macro ‘CALL_InternalInvalidateFramebufferAncillaryMESA’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mapi/glapi/gen/marshal_generated6.c:5526:4: note: in expansion of macro ‘CALL_InternalInvalidateFramebufferAncillaryMESA’
#16366|   
#16367|   typedef void (GLAPIENTRYP _glptr_InternalInvalidateFramebufferAncillaryMESA)(void);
#16368|-> #define CALL_InternalInvalidateFramebufferAncillaryMESA(disp, parameters) (* GET_InternalInvalidateFramebufferAncillaryMESA(disp)) parameters
#16369|   #define GET_InternalInvalidateFramebufferAncillaryMESA(disp) ((_glptr_InternalInvalidateFramebufferAncillaryMESA)(GET_by_offset((disp), _gloffset_InternalInvalidateFramebufferAncillaryMESA)))
#16370|   #define SET_InternalInvalidateFramebufferAncillaryMESA(disp, func) do { \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1810]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3022:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3008:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3012:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1811]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3064:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2943:10: note: in expansion of macro ‘yyrestart’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3008:21: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3027:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3056:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3085:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3027:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: note: in expansion of macro ‘yy_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3056:17: note: in expansion of macro ‘yy_init_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3062:2: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3085:10: note: in expansion of macro ‘yy_flush_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1812]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3282:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3275:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1813]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l:482:4: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3226:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2961:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2971:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1814]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l:482:4: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: note: in expansion of macro ‘yy_scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3275:24: note: in expansion of macro ‘yyalloc’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c: scope_hint: In function ‘_mesa_program_lexer__scan_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3216:17: note: in expansion of macro ‘yy_scan_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2961:10: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3166:13: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2970:2: note: in expansion of macro ‘yyensure_buffer_stack’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:2971:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:3240:2: note: in expansion of macro ‘yy_switch_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1815]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:746:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2089:20: note: in expansion of macro ‘YYSTACK_ALLOC’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2162:17: note: in expansion of macro ‘YYTRANSLATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2089:20: note: in expansion of macro ‘YYSTACK_ALLOC’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:809:25: note: in definition of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c: scope_hint: In function ‘yyparse’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:207:40: note: in definition of macro ‘YY_CAST’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:732:25: note: in expansion of macro ‘YYMALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def1816]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:794:9: note: in expansion of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:809:25: note: in definition of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/program_parse.tab.c:794:9: note: in expansion of macro ‘YYCOPY’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def1817]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/compiler/valhall/valhall_disasm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1818]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:3528:46: warning[core.NullDereference]: Access to field 'pClearValues' results in a dereference of a null pointer (loaded from field 'render_pass_begin')
# 3526|      else
# 3527|         vk_free(queue->alloc, cmd->driver_data);
# 3528|->    vk_free(queue->alloc, ( VkClearValue*    )cmd->u.begin_render_pass2.render_pass_begin->pClearValues);
# 3529|         vk_free(queue->alloc, ( VkRenderPassBeginInfo*      )cmd->u.begin_render_pass2.render_pass_begin);
# 3530|   

Error: CLANG_WARNING: [#def1819]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/addrinterface.cpp:824:9: warning[deadcode.DeadStores]: Value stored to 'returnCode' is never read
#  822|       else
#  823|       {
#  824|->         returnCode = ADDR_ERROR;
#  825|       }
#  826|   

Error: CPPCHECK_WARNING: [#def1820]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1821]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp:215:29: warning[deadcode.DeadStores]: Value stored to 'final' is never read
#  213|                           if (final > mask)
#  214|                           {
#  215|->                             final = mask;
#  216|                           }
#  217|   

Error: CLANG_WARNING: [#def1822]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp:344:78: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
#  342|               for (j = 0; j < size; j++)
#  343|               {
#  344|->                 pPixel[(j+start)^elementXor] = static_cast<UINT_8>(pComps[i] >> (8*j));
#  345|               }
#  346|           }

Error: CLANG_WARNING: [#def1823]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp:355:33: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
#  353|               compMask = (1 << pCompBits[i]) - 1;
#  354|               elemMask |= compMask << pCompStart[i];
#  355|->             value |= (pComps[i] & compMask) << pCompStart[i];
#  356|           }
#  357|   

Error: CLANG_WARNING: [#def1824]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp:1282:13: warning[deadcode.DeadStores]: Value stored to 'bBCnFormat' is never read
# 1280|           case ADDR_PACKED_BC4:
# 1281|               originalBits = 64;
# 1282|->             bBCnFormat = TRUE;
# 1283|               break;
# 1284|           case ADDR_PACKED_BC2: // Fall through

Error: CLANG_WARNING: [#def1825]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrelemlib.cpp:1287:13: warning[deadcode.DeadStores]: Value stored to 'bBCnFormat' is never read
# 1285|           case ADDR_PACKED_BC3: // Fall through
# 1286|           case ADDR_PACKED_BC5:
# 1287|->             bBCnFormat = TRUE;
# 1288|               // fall through
# 1289|           case ADDR_PACKED_ASTC:

Error: CPPCHECK_WARNING: [#def1826]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def1827]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib1.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1828]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib1.cpp:367:17: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  365|                   // nearest power-of-two for mipmaps), which results in the original pitch.
#  366|                   //
#  367|->                 GetElemLib()->RestoreSurfaceInfo(elemMode,
#  368|                                                    expandX,
#  369|                                                    expandY,

Error: CLANG_WARNING: [#def1829]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib1.cpp:2218:5: warning[deadcode.DeadStores]: Value stored to 'numGroupBits' is never read
# 2216|       // Compute the number of group and pipe bits.
# 2217|       //
# 2218|->     numGroupBits = Log2(m_pipeInterleaveBytes);
# 2219|       numPipeBits  = Log2(numPipes);
# 2220|   

Error: CLANG_WARNING: [#def1830]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib1.cpp:3536:5: warning[deadcode.DeadStores]: Value stored to 'hwlHandled' is never read
# 3534|       }
# 3535|   
# 3536|->     hwlHandled = HwlComputeMipLevel(pIn);
# 3537|   }
# 3538|   

Error: CPPCHECK_WARNING: [#def1831]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib2.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1832]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib2.cpp:1541:55: warning[core.BitwiseShift]: Left shift by '1431655762' overflows the capacity of 'unsigned int'
# 1539|       const UINT_32 restAmp          = log2blkSizeIn1KB % 3;
# 1540|   
# 1541|->     *pWidth  = Block1K_3d[microBlockSizeTableIndex].w << averageAmp;
# 1542|       *pHeight = Block1K_3d[microBlockSizeTableIndex].h << (averageAmp + (restAmp / 2));
# 1543|       *pDepth  = Block1K_3d[microBlockSizeTableIndex].d << (averageAmp + ((restAmp != 0) ? 1 : 0));

Error: CLANG_WARNING: [#def1833]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrlib2.cpp:1541:55: warning[core.BitwiseShift]: Left shift by '1431655764' overflows the capacity of 'unsigned int'
# 1539|       const UINT_32 restAmp          = log2blkSizeIn1KB % 3;
# 1540|   
# 1541|->     *pWidth  = Block1K_3d[microBlockSizeTableIndex].w << averageAmp;
# 1542|       *pHeight = Block1K_3d[microBlockSizeTableIndex].h << (averageAmp + (restAmp / 2));
# 1543|       *pDepth  = Block1K_3d[microBlockSizeTableIndex].d << (averageAmp + ((restAmp != 0) ? 1 : 0));

Error: CPPCHECK_WARNING (CWE-562): [#def1834]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrobject.cpp:90: error[returnDanglingLifetime]: Returning pointer to local variable 'allocInput' that will be invalid when returning.
#   88|       }
#   89|   
#   90|->     return pObjMem;
#   91|   }
#   92|   

Error: COMPILER_WARNING (CWE-457): [#def1835]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/core/addrobject.cpp:120:28: warning[-Wuninitialized]: ‘*(const Addr::Client*)((char*)this + 8).Addr::Client::callbacks._ADDR_CALLBACKS::freeSysMem’ is used uninitialized
#  120 |     if (pClient->callbacks.freeSysMem != NULL)
#      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
#  118|       const Client*  pClient)    ///< [in] Client pointer
#  119|   {
#  120|->     if (pClient->callbacks.freeSysMem != NULL)
#  121|       {
#  122|           if (pObjMem != NULL)

Error: CPPCHECK_WARNING: [#def1836]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1837]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1508:23: warning[deadcode.DeadStores]: Value stored to 'blkXLog2' during its initialization is never read
# 1506|           ComputeThinBlockDimension(&dim.w, &dim.h, &dim.d, 8u << elemLog2, 0, rsrcType, swMode);
# 1507|   
# 1508|->         const UINT_32 blkXLog2 = Log2(dim.w);
# 1509|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1510|           const UINT_32 blkXMask = dim.w - 1;

Error: CLANG_WARNING: [#def1838]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1509:23: warning[deadcode.DeadStores]: Value stored to 'blkYLog2' during its initialization is never read
# 1507|   
# 1508|           const UINT_32 blkXLog2 = Log2(dim.w);
# 1509|->         const UINT_32 blkYLog2 = Log2(dim.h);
# 1510|           const UINT_32 blkXMask = dim.w - 1;
# 1511|           const UINT_32 blkYMask = dim.h - 1;

Error: CLANG_WARNING: [#def1839]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1613:23: warning[deadcode.DeadStores]: Value stored to 'pipeIntMask' during its initialization is never read
# 1611|           }
# 1612|   
# 1613|->         const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1;
# 1614|           const UINT_32 blockMask   = (1 << blockSizeLog2) - 1;
# 1615|   

Error: CLANG_WARNING: [#def1840]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1842:23: warning[deadcode.DeadStores]: Value stored to 'pipeIntMask' during its initialization is never read
# 1840|           }
# 1841|   
# 1842|->         const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1;
# 1843|           const UINT_32 blockMask   = (1 << blockSizeLog2) - 1;
# 1844|   

Error: CLANG_WARNING: [#def1841]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:2154:44: warning[core.BitwiseShift]: Left shift by '4294967287' overflows the capacity of 'int'
# 2152|       }
# 2153|   
# 2154|->     return (effectiveLog2 <= 11) ? (1 + (1 << (effectiveLog2 - 9))) : (effectiveLog2 - 4);
# 2155|   }
# 2156|   

Error: CLANG_WARNING: [#def1842]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:2154:44: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
# 2152|       }
# 2153|   
# 2154|->     return (effectiveLog2 <= 11) ? (1 + (1 << (effectiveLog2 - 9))) : (effectiveLog2 - 4);
# 2155|   }
# 2156|   

Error: CLANG_WARNING: [#def1843]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:2598:31: warning[deadcode.DeadStores]: Value stored to 'isNonPrtXor' during its initialization is never read
# 2596|       const BOOL_32             blk256B     = IsBlock256b(swizzle);
# 2597|       const BOOL_32             blkVar      = IsBlockVariable(swizzle);
# 2598|->     const BOOL_32             isNonPrtXor = IsNonPrtXor(swizzle);
# 2599|       const BOOL_32             prt         = flags.prt;
# 2600|       const BOOL_32             fmask       = flags.fmask;

Error: CLANG_WARNING: [#def1844]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:3115:39: warning[deadcode.DeadStores]: Value stored to 'sizeAlignInElement' during its initialization is never read
# 3113|                           const UINT_32 ratioLow           = computeMinSize ? 1 : (pIn->flags.opt4space ? 3 : 2);
# 3114|                           const UINT_32 ratioHi            = computeMinSize ? 1 : (pIn->flags.opt4space ? 2 : 1);
# 3115|->                         const UINT_64 sizeAlignInElement = Max(NextPow2(pIn->minSizeAlign) / (bpp >> 3), 1u);
# 3116|                           UINT_32       minSizeBlk         = AddrBlockMicro; // Tracks the most optimal block to use
# 3117|                           UINT_64       minSize            = 0;              // Tracks the minimum acceptable block type

Error: CPPCHECK_WARNING: [#def1845]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1846]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:377:27: warning[deadcode.DeadStores]: Value stored to 'numPipeLog2' during its initialization is never read
#  375|               // Get the DCC address equation (copied from DccAddrFromCoord)
#  376|               const UINT_32 elemLog2    = Log2(pIn->bpp >> 3);
#  377|->             const UINT_32 numPipeLog2 = m_pipesLog2;
#  378|               UINT_32       index       = m_dccBaseIndex + elemLog2;
#  379|               const UINT_8* patIdxTable = (pIn->swizzleMode == ADDR_SW_64KB_R_X) ?

Error: CLANG_WARNING: [#def1847]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1157:23: warning[deadcode.DeadStores]: Value stored to 'blkXLog2' during its initialization is never read
# 1155|           ComputeThinBlockDimension(&dim.w, &dim.h, &dim.d, 8u << elemLog2, 0, rsrcType, swMode);
# 1156|   
# 1157|->         const UINT_32 blkXLog2 = Log2(dim.w);
# 1158|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1159|           const UINT_32 blkXMask = dim.w - 1;

Error: CLANG_WARNING: [#def1848]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1158:23: warning[deadcode.DeadStores]: Value stored to 'blkYLog2' during its initialization is never read
# 1156|   
# 1157|           const UINT_32 blkXLog2 = Log2(dim.w);
# 1158|->         const UINT_32 blkYLog2 = Log2(dim.h);
# 1159|           const UINT_32 blkXMask = dim.w - 1;
# 1160|           const UINT_32 blkYMask = dim.h - 1;

Error: CLANG_WARNING: [#def1849]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1262:23: warning[deadcode.DeadStores]: Value stored to 'pipeIntMask' during its initialization is never read
# 1260|           }
# 1261|   
# 1262|->         const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1;
# 1263|           const UINT_32 blockMask   = (1 << blockSizeLog2) - 1;
# 1264|   

Error: CLANG_WARNING: [#def1850]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1495:23: warning[deadcode.DeadStores]: Value stored to 'pipeIntMask' during its initialization is never read
# 1493|           }
# 1494|   
# 1495|->         const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1;
# 1496|           const UINT_32 blockMask   = (1 << blockSizeLog2) - 1;
# 1497|   

Error: CLANG_WARNING: [#def1851]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1742:27: warning[deadcode.DeadStores]: Value stored to 'family' during its initialization is never read
# 1740|       if (bpp <= 64)
# 1741|       {
# 1742|->         const ChipFamily  family = GetChipFamily();
# 1743|   
# 1744|           swModeMask = Dcn32SwModeMask;

Error: CLANG_WARNING: [#def1852]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1803:44: warning[core.BitwiseShift]: Left shift by '4294967287' overflows the capacity of 'int'
# 1801|       }
# 1802|   
# 1803|->     return (effectiveLog2 <= 11) ? (1 + (1 << (effectiveLog2 - 9))) : (effectiveLog2 - 4);
# 1804|   }
# 1805|   

Error: CLANG_WARNING: [#def1853]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1803:44: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
# 1801|       }
# 1802|   
# 1803|->     return (effectiveLog2 <= 11) ? (1 + (1 << (effectiveLog2 - 9))) : (effectiveLog2 - 4);
# 1804|   }
# 1805|   

Error: CLANG_WARNING: [#def1854]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:2234:31: warning[deadcode.DeadStores]: Value stored to 'isNonPrtXor' during its initialization is never read
# 2232|       const BOOL_32             linear      = IsLinear(swizzle);
# 2233|       const BOOL_32             blk256B     = IsBlock256b(swizzle);
# 2234|->     const BOOL_32             isNonPrtXor = IsNonPrtXor(swizzle);
# 2235|       const BOOL_32             prt         = flags.prt;
# 2236|   

Error: CLANG_WARNING: [#def1855]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:2646:39: warning[deadcode.DeadStores]: Value stored to 'sizeAlignInElement' during its initialization is never read
# 2644|                           const UINT_32 ratioLow           = computeMinSize ? 1 : (pIn->flags.opt4space ? 3 : 2);
# 2645|                           const UINT_32 ratioHi            = computeMinSize ? 1 : (pIn->flags.opt4space ? 2 : 1);
# 2646|->                         const UINT_64 sizeAlignInElement = Max(NextPow2(pIn->minSizeAlign) / (bpp >> 3), 1u);
# 2647|                           UINT_32       minSizeBlk         = AddrBlockMicro;
# 2648|                           UINT_64       minSize            = 0;

Error: CPPCHECK_WARNING: [#def1856]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def1857]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/ciaddrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1858]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/ciaddrlib.cpp:117:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned long long'
#  115|       {
#  116|           ret = GetBits(bits, lsb - 1, 0) // low bits
#  117|->             | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits
#  118|       }
#  119|       return ret;

Error: CLANG_WARNING: [#def1859]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/ciaddrlib.cpp:143:48: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned long long'
#  141|       {
#  142|           ret = GetBits(bits, lsb - 1, 0) // old low bitss
#  143|->              | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits
#  144|                | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits
#  145|       }

Error: CLANG_WARNING: [#def1860]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/ciaddrlib.cpp:144:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned long long'
#  142|           ret = GetBits(bits, lsb - 1, 0) // old low bitss
#  143|                | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits
#  144|->              | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits
#  145|       }
#  146|       return ret;

Error: CPPCHECK_WARNING (CWE-562): [#def1861]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def1862]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/ciaddrlib.cpp:1483:21: warning[deadcode.DeadStores]: Value stored to 'macroTileBytes' is never read
# 1481|                       tileInfo.pipeConfig = m_tileTable[index].info.pipeConfig;
# 1482|   
# 1483|->                     macroTileBytes = (bpp >> 3) * 64 * numSamples * thickness *
# 1484|                                        HwlGetPipes(&tileInfo) * tileInfo.banks *
# 1485|                                        tileInfo.bankWidth * tileInfo.bankHeight;

Error: CPPCHECK_WARNING: [#def1863]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/egbaddrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1864]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/egbaddrlib.cpp:1084:5: warning[deadcode.DeadStores]: Value stored to 'bytesPerSlice' is never read
# 1082|       // Compute the size of a slice.
# 1083|       //
# 1084|->     bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples);
# 1085|       bytesPerTile = BITS_TO_BYTES(MicroTilePixels * microTileThickness * NextPow2(bpp) * numSamples);
# 1086|   

Error: CLANG_WARNING: [#def1865]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/egbaddrlib.cpp:2515:9: warning[deadcode.DeadStores]: Value stored to 'pipe' is never read
# 2513|           bank ^= bankRotation * (slice / microTileThickness) + bankSwizzle;
# 2514|           bank %= pTileInfo->banks;
# 2515|->         pipe ^= pipeSwizzle;
# 2516|       }
# 2517|       else

Error: CLANG_WARNING: [#def1866]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/egbaddrlib.cpp:2521:9: warning[deadcode.DeadStores]: Value stored to 'pipe' is never read
# 2519|           bank ^= bankRotation * (slice / microTileThickness) / numPipes + bankSwizzle;
# 2520|           bank %= pTileInfo->banks;
# 2521|->         pipe ^= pipeRotation * (slice / microTileThickness) + pipeSwizzle;
# 2522|       }
# 2523|   

Error: CPPCHECK_WARNING (CWE-562): [#def1867]
mesa-24.1.2-build/mesa-24.1.2/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): [#def1868]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def1869]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/egbaddrlib.cpp:4099:5: warning[deadcode.DeadStores]: Value stored to 'physicalSliceSize' is never read
# 4097|   
# 4098|       // Physical slice: multiplied by thickness
# 4099|->     physicalSliceSize =  logicalSliceSize * thickness;
# 4100|   
# 4101|       //

Error: CPPCHECK_WARNING: [#def1870]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1871]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp:918:17: warning[deadcode.DeadStores]: Value stored to 'x5' is never read
#  916|               {  //even
#  917|                   y5 = _BIT(y,5);
#  918|->                 x5 = _BIT(x,5);
#  919|                   x5 = pipebit2 ^ y5;
#  920|                   y3 = pipebit0 ^ x4 ^ x5;

Error: CLANG_WARNING: [#def1872]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp:1363:81: warning[core.UndefinedBinaryOperatorResult]: The right operand of '<<' is a garbage value
# 1361|           microX = tx / 4; // Macro Tile is 4x4
# 1362|           microY = ty / 4 ;
# 1363|->         microNumber = static_cast<UINT_64>(microX + microY * (pitchInTile / 4)) << microShift;
# 1364|   
# 1365|           UINT_32 sliceBits = pitchInTile * heightInTile;

Error: CLANG_WARNING: [#def1873]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp:1388:97: warning[core.UndefinedBinaryOperatorResult]: The right operand of '<<' is a garbage value
# 1386|           microX = (x % macroWidth) / MicroTileWidth / 4; // Macro Tile is 4x4
# 1387|           microY = (y % macroHeight) / MicroTileHeight / 4 ;
# 1388|->         microNumber = static_cast<UINT_64>(microX + microY * (macroWidth / MicroTileWidth / 4)) << microShift;
# 1389|   
# 1390|           macroOffset = macroNumber * tileNumPerPipe * elemBits;

Error: CLANG_WARNING: [#def1874]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp:1555:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1553|   
# 1554|       UINT_32 elemIdx = macroOffset & 7;
# 1555|->     macroOffset >>= elemIdxBits;
# 1556|   
# 1557|       if (elemIdxBits != macroShift)

Error: CLANG_WARNING: [#def1875]
mesa-24.1.2-build/mesa-24.1.2/src/amd/addrlib/src/r800/siaddrlib.cpp:2516:20: warning[core.BitwiseShift]: Right shift by '4294967295' overflows the capacity of 'unsigned int'
# 2514|           ADDR_ASSERT(yBitToCheck <= 3);
# 2515|   
# 2516|->         yBitTemp = _BIT(yBit, yBitToCheck);
# 2517|   
# 2518|           xBit3 = 0;

Error: CPPCHECK_WARNING: [#def1876]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_debug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1877]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_gather_context_rolls.c: scope_hint: In function ‘ac_ib_gather_context_rolls’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_gather_context_rolls.c:109:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx.cur’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_gather_context_rolls.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def1878]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.c:653:68: warning[core.NullDereference]: Array access (from variable 'output_type') results in a null pointer dereference
#  651|                  assert(output_type);
#  652|   
#  653|->                nir_alu_type base_type = nir_alu_type_get_base_type(output_type[j]);
#  654|                  data = nir_convert_to_bit_size(b, data, base_type, 32);
#  655|               }

Error: CLANG_WARNING: [#def1879]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_tex.c:136:54: warning[core.NullDereference]: Access to field 'ssa' results in a dereference of a null pointer (loaded from variable 'ddx')
#  134|             */
#  135|            nir_def *deriv_ma, *deriv_sc, *deriv_tc;
#  136|->          build_cube_select(b, ma, id, i ? ddy->ssa : ddx->ssa, &deriv_ma, &deriv_sc, &deriv_tc);
#  137|   
#  138|            deriv_ma = nir_fmul(b, deriv_ma, invma);

Error: CLANG_WARNING: [#def1880]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_perfcounter.c:1147:16: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 1145|   
# 1146|               if (per_instance_groups)
# 1147|->                p += sprintf(p, "%d", k);
# 1148|   
# 1149|               groupname += block->group_name_stride;

Error: CLANG_WARNING: [#def1881]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_rgp.c:191:16: warning[deadcode.DeadStores]: Value stored to 'v' during its initialization is never read
#  189|         if (str) {
#  190|            char *ptr = (char *)chunk->vendor_id;
#  191|->          char *v = strtok(str, ":");
#  192|            v = strtok(NULL, ":");
#  193|            strncpy(ptr, v + 1, sizeof(chunk->vendor_id) - 1);

Error: CLANG_WARNING: [#def1882]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_rgp.c:201:16: warning[deadcode.DeadStores]: Value stored to 'v' during its initialization is never read
#  199|         if (str) {
#  200|            char *ptr = (char *)chunk->processor_brand;
#  201|->          char *v = strtok(str, ":");
#  202|            v = strtok(NULL, ":");
#  203|            strncpy(ptr, v + 1, sizeof(chunk->processor_brand) - 1);

Error: CLANG_WARNING: [#def1883]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_rgp_elf_object_pack.c:323:21: warning[core.NullDereference]: Access to field 'code_size' results in a dereference of a null pointer (loaded from variable '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-476): [#def1884]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_rgp_elf_object_pack.c: scope_hint: In function ‘ac_rgp_file_write_elf_text’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def1885]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/amd_family.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def1886]
mesa-24.1.2-build/mesa-24.1.2/src/amd/compiler/aco_optimizer.cpp:4669:7: warning[cplusplus.Move]: Method called on moved-from object 'instructions' of type 'std::vector'
# 4667|            constants.clear();
# 4668|   
# 4669|->       ctx.instructions.reserve(block.instructions.size());
# 4670|   
# 4671|         for (aco_ptr<Instruction>& instr : block.instructions) {

Error: CLANG_WARNING: [#def1887]
mesa-24.1.2-build/mesa-24.1.2/src/amd/compiler/aco_optimizer.cpp:5405:7: warning[cplusplus.Move]: Method called on moved-from object 'instructions' of type 'std::vector'
# 5403|      /* 5. Add literals to instructions */
# 5404|      for (Block& block : program->blocks) {
# 5405|->       ctx.instructions.reserve(block.instructions.size());
# 5406|         ctx.fp_mode = block.fp_mode;
# 5407|         for (aco_ptr<Instruction>& instr : block.instructions)

Error: CLANG_WARNING: [#def1888]
mesa-24.1.2-build/mesa-24.1.2/src/amd/compiler/aco_print_ir.cpp:217:7: warning[deadcode.DeadStores]: Value stored to 'printed' is never read
#  215|         printed += fprintf(output, "%sscratch", printed ? "," : "");
#  216|      if (storage & storage_vgpr_spill)
#  217|->       printed += fprintf(output, "%svgpr_spill", printed ? "," : "");
#  218|   }
#  219|   

Error: CLANG_WARNING: [#def1889]
mesa-24.1.2-build/mesa-24.1.2/src/amd/compiler/aco_print_ir.cpp:238:7: warning[deadcode.DeadStores]: Value stored to 'printed' is never read
#  236|         printed += fprintf(output, "%satomic", printed ? "," : "");
#  237|      if (sem & semantic_rmw)
#  238|->       printed += fprintf(output, "%srmw", printed ? "," : "");
#  239|   }
#  240|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1890]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_llvm_build.c: scope_hint: In function ‘ac_build_gather_values_extended’
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_llvm_build.c:556:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_llvm_build.c: scope_hint: In function ‘ac_build_gather_values_extended’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def1891]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:553:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  551|      switch (instr->op) {
#  552|      case nir_op_mov:
#  553|->       result = src[0];
#  554|         break;
#  555|      case nir_op_fneg:

Error: CLANG_WARNING: [#def1892]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:556:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  554|         break;
#  555|      case nir_op_fneg:
#  556|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  557|         result = LLVMBuildFNeg(ctx->ac.builder, src[0], "");
#  558|         break;

Error: CLANG_WARNING: [#def1893]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:560:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  558|         break;
#  559|      case nir_op_inot:
#  560|->       result = LLVMBuildNot(ctx->ac.builder, src[0], "");
#  561|         break;
#  562|      case nir_op_iadd:

Error: CLANG_WARNING: [#def1894]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:564:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  562|      case nir_op_iadd:
#  563|         if (instr->no_unsigned_wrap)
#  564|->          result = LLVMBuildNUWAdd(ctx->ac.builder, src[0], src[1], "");
#  565|         else if (instr->no_signed_wrap)
#  566|            result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1895]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:564:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  562|      case nir_op_iadd:
#  563|         if (instr->no_unsigned_wrap)
#  564|->          result = LLVMBuildNUWAdd(ctx->ac.builder, src[0], src[1], "");
#  565|         else if (instr->no_signed_wrap)
#  566|            result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1896]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:566:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  564|            result = LLVMBuildNUWAdd(ctx->ac.builder, src[0], src[1], "");
#  565|         else if (instr->no_signed_wrap)
#  566|->          result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");
#  567|         else
#  568|            result = LLVMBuildAdd(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1897]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:566:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  564|            result = LLVMBuildNUWAdd(ctx->ac.builder, src[0], src[1], "");
#  565|         else if (instr->no_signed_wrap)
#  566|->          result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");
#  567|         else
#  568|            result = LLVMBuildAdd(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1898]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:568:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  566|            result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");
#  567|         else
#  568|->          result = LLVMBuildAdd(ctx->ac.builder, src[0], src[1], "");
#  569|         break;
#  570|      case nir_op_uadd_sat:

Error: CLANG_WARNING: [#def1899]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:568:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  566|            result = LLVMBuildNSWAdd(ctx->ac.builder, src[0], src[1], "");
#  567|         else
#  568|->          result = LLVMBuildAdd(ctx->ac.builder, src[0], src[1], "");
#  569|         break;
#  570|      case nir_op_uadd_sat:

Error: CLANG_WARNING: [#def1900]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:589:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  587|      }
#  588|      case nir_op_fadd:
#  589|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  590|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  591|         result = LLVMBuildFAdd(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1901]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:590:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  588|      case nir_op_fadd:
#  589|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  590|->       src[1] = ac_to_float(&ctx->ac, src[1]);
#  591|         result = LLVMBuildFAdd(ctx->ac.builder, src[0], src[1], "");
#  592|         break;

Error: CLANG_WARNING: [#def1902]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:594:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  592|         break;
#  593|      case nir_op_fsub:
#  594|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  595|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  596|         result = LLVMBuildFSub(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1903]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:595:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  593|      case nir_op_fsub:
#  594|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  595|->       src[1] = ac_to_float(&ctx->ac, src[1]);
#  596|         result = LLVMBuildFSub(ctx->ac.builder, src[0], src[1], "");
#  597|         break;

Error: CLANG_WARNING: [#def1904]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:600:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  598|      case nir_op_isub:
#  599|         if (instr->no_unsigned_wrap)
#  600|->          result = LLVMBuildNUWSub(ctx->ac.builder, src[0], src[1], "");
#  601|         else if (instr->no_signed_wrap)
#  602|            result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1905]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:600:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  598|      case nir_op_isub:
#  599|         if (instr->no_unsigned_wrap)
#  600|->          result = LLVMBuildNUWSub(ctx->ac.builder, src[0], src[1], "");
#  601|         else if (instr->no_signed_wrap)
#  602|            result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1906]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:602:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  600|            result = LLVMBuildNUWSub(ctx->ac.builder, src[0], src[1], "");
#  601|         else if (instr->no_signed_wrap)
#  602|->          result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");
#  603|         else
#  604|            result = LLVMBuildSub(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1907]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:602:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  600|            result = LLVMBuildNUWSub(ctx->ac.builder, src[0], src[1], "");
#  601|         else if (instr->no_signed_wrap)
#  602|->          result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");
#  603|         else
#  604|            result = LLVMBuildSub(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1908]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:604:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  602|            result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");
#  603|         else
#  604|->          result = LLVMBuildSub(ctx->ac.builder, src[0], src[1], "");
#  605|         break;
#  606|      case nir_op_imul:

Error: CLANG_WARNING: [#def1909]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:604:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  602|            result = LLVMBuildNSWSub(ctx->ac.builder, src[0], src[1], "");
#  603|         else
#  604|->          result = LLVMBuildSub(ctx->ac.builder, src[0], src[1], "");
#  605|         break;
#  606|      case nir_op_imul:

Error: CLANG_WARNING: [#def1910]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:608:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  606|      case nir_op_imul:
#  607|         if (instr->no_unsigned_wrap)
#  608|->          result = LLVMBuildNUWMul(ctx->ac.builder, src[0], src[1], "");
#  609|         else if (instr->no_signed_wrap)
#  610|            result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1911]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:608:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  606|      case nir_op_imul:
#  607|         if (instr->no_unsigned_wrap)
#  608|->          result = LLVMBuildNUWMul(ctx->ac.builder, src[0], src[1], "");
#  609|         else if (instr->no_signed_wrap)
#  610|            result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1912]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:610:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  608|            result = LLVMBuildNUWMul(ctx->ac.builder, src[0], src[1], "");
#  609|         else if (instr->no_signed_wrap)
#  610|->          result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");
#  611|         else
#  612|            result = LLVMBuildMul(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1913]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:610:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  608|            result = LLVMBuildNUWMul(ctx->ac.builder, src[0], src[1], "");
#  609|         else if (instr->no_signed_wrap)
#  610|->          result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");
#  611|         else
#  612|            result = LLVMBuildMul(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1914]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:612:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  610|            result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");
#  611|         else
#  612|->          result = LLVMBuildMul(ctx->ac.builder, src[0], src[1], "");
#  613|         break;
#  614|      case nir_op_fmul:

Error: CLANG_WARNING: [#def1915]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:612:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  610|            result = LLVMBuildNSWMul(ctx->ac.builder, src[0], src[1], "");
#  611|         else
#  612|->          result = LLVMBuildMul(ctx->ac.builder, src[0], src[1], "");
#  613|         break;
#  614|      case nir_op_fmul:

Error: CLANG_WARNING: [#def1916]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:615:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  613|         break;
#  614|      case nir_op_fmul:
#  615|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  616|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  617|         result = LLVMBuildFMul(ctx->ac.builder, src[0], src[1], "");

Error: CLANG_WARNING: [#def1917]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:616:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  614|      case nir_op_fmul:
#  615|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  616|->       src[1] = ac_to_float(&ctx->ac, src[1]);
#  617|         result = LLVMBuildFMul(ctx->ac.builder, src[0], src[1], "");
#  618|         break;

Error: CLANG_WARNING: [#def1918]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:620:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  618|         break;
#  619|      case nir_op_fmulz:
#  620|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  621|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  622|         result = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.fmul.legacy", ctx->ac.f32,

Error: CLANG_WARNING: [#def1919]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:621:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  619|      case nir_op_fmulz:
#  620|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  621|->       src[1] = ac_to_float(&ctx->ac, src[1]);
#  622|         result = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.fmul.legacy", ctx->ac.f32,
#  623|                                     src, 2, 0);

Error: CLANG_WARNING: [#def1920]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:626:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  624|         break;
#  625|      case nir_op_frcp:
#  626|->       result = emit_intrin_1f_param_scalar(&ctx->ac, "llvm.amdgcn.rcp",
#  627|                                              ac_to_float_type(&ctx->ac, def_type), src[0]);
#  628|         if (ctx->abi->clamp_div_by_zero)

Error: CLANG_WARNING: [#def1921]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:633:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  631|         break;
#  632|      case nir_op_iand:
#  633|->       result = LLVMBuildAnd(ctx->ac.builder, src[0], src[1], "");
#  634|         break;
#  635|      case nir_op_ior:

Error: CLANG_WARNING: [#def1922]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:633:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  631|         break;
#  632|      case nir_op_iand:
#  633|->       result = LLVMBuildAnd(ctx->ac.builder, src[0], src[1], "");
#  634|         break;
#  635|      case nir_op_ior:

Error: CLANG_WARNING: [#def1923]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:636:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  634|         break;
#  635|      case nir_op_ior:
#  636|->       result = LLVMBuildOr(ctx->ac.builder, src[0], src[1], "");
#  637|         break;
#  638|      case nir_op_ixor:

Error: CLANG_WARNING: [#def1924]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:636:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  634|         break;
#  635|      case nir_op_ior:
#  636|->       result = LLVMBuildOr(ctx->ac.builder, src[0], src[1], "");
#  637|         break;
#  638|      case nir_op_ixor:

Error: CLANG_WARNING: [#def1925]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:639:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  637|         break;
#  638|      case nir_op_ixor:
#  639|->       result = LLVMBuildXor(ctx->ac.builder, src[0], src[1], "");
#  640|         break;
#  641|      case nir_op_ishl:

Error: CLANG_WARNING: [#def1926]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:639:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  637|         break;
#  638|      case nir_op_ixor:
#  639|->       result = LLVMBuildXor(ctx->ac.builder, src[0], src[1], "");
#  640|         break;
#  641|      case nir_op_ishl:

Error: CLANG_WARNING: [#def1927]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:644:38: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  642|      case nir_op_ishr:
#  643|      case nir_op_ushr: {
#  644|->       if (ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[1])) <
#  645|             ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])))
#  646|            src[1] = LLVMBuildZExt(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), "");

Error: CLANG_WARNING: [#def1928]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:669:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  667|      }
#  668|      case nir_op_ilt:
#  669|->       result = emit_int_cmp(&ctx->ac, LLVMIntSLT, src[0], src[1]);
#  670|         break;
#  671|      case nir_op_ine:

Error: CLANG_WARNING: [#def1929]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:669:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  667|      }
#  668|      case nir_op_ilt:
#  669|->       result = emit_int_cmp(&ctx->ac, LLVMIntSLT, src[0], src[1]);
#  670|         break;
#  671|      case nir_op_ine:

Error: CLANG_WARNING: [#def1930]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:672:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  670|         break;
#  671|      case nir_op_ine:
#  672|->       result = emit_int_cmp(&ctx->ac, LLVMIntNE, src[0], src[1]);
#  673|         break;
#  674|      case nir_op_ieq:

Error: CLANG_WARNING: [#def1931]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:672:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  670|         break;
#  671|      case nir_op_ine:
#  672|->       result = emit_int_cmp(&ctx->ac, LLVMIntNE, src[0], src[1]);
#  673|         break;
#  674|      case nir_op_ieq:

Error: CLANG_WARNING: [#def1932]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:675:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  673|         break;
#  674|      case nir_op_ieq:
#  675|->       result = emit_int_cmp(&ctx->ac, LLVMIntEQ, src[0], src[1]);
#  676|         break;
#  677|      case nir_op_ige:

Error: CLANG_WARNING: [#def1933]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:675:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  673|         break;
#  674|      case nir_op_ieq:
#  675|->       result = emit_int_cmp(&ctx->ac, LLVMIntEQ, src[0], src[1]);
#  676|         break;
#  677|      case nir_op_ige:

Error: CLANG_WARNING: [#def1934]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:678:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  676|         break;
#  677|      case nir_op_ige:
#  678|->       result = emit_int_cmp(&ctx->ac, LLVMIntSGE, src[0], src[1]);
#  679|         break;
#  680|      case nir_op_ult:

Error: CLANG_WARNING: [#def1935]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:678:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  676|         break;
#  677|      case nir_op_ige:
#  678|->       result = emit_int_cmp(&ctx->ac, LLVMIntSGE, src[0], src[1]);
#  679|         break;
#  680|      case nir_op_ult:

Error: CLANG_WARNING: [#def1936]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:681:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  679|         break;
#  680|      case nir_op_ult:
#  681|->       result = emit_int_cmp(&ctx->ac, LLVMIntULT, src[0], src[1]);
#  682|         break;
#  683|      case nir_op_uge:

Error: CLANG_WARNING: [#def1937]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:681:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  679|         break;
#  680|      case nir_op_ult:
#  681|->       result = emit_int_cmp(&ctx->ac, LLVMIntULT, src[0], src[1]);
#  682|         break;
#  683|      case nir_op_uge:

Error: CLANG_WARNING: [#def1938]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:684:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  682|         break;
#  683|      case nir_op_uge:
#  684|->       result = emit_int_cmp(&ctx->ac, LLVMIntUGE, src[0], src[1]);
#  685|         break;
#  686|      case nir_op_feq:

Error: CLANG_WARNING: [#def1939]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:684:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  682|         break;
#  683|      case nir_op_uge:
#  684|->       result = emit_int_cmp(&ctx->ac, LLVMIntUGE, src[0], src[1]);
#  685|         break;
#  686|      case nir_op_feq:

Error: CLANG_WARNING: [#def1940]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:687:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  685|         break;
#  686|      case nir_op_feq:
#  687|->       result = emit_float_cmp(&ctx->ac, LLVMRealOEQ, src[0], src[1]);
#  688|         break;
#  689|      case nir_op_fneu:

Error: CLANG_WARNING: [#def1941]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:687:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  685|         break;
#  686|      case nir_op_feq:
#  687|->       result = emit_float_cmp(&ctx->ac, LLVMRealOEQ, src[0], src[1]);
#  688|         break;
#  689|      case nir_op_fneu:

Error: CLANG_WARNING: [#def1942]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:690:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  688|         break;
#  689|      case nir_op_fneu:
#  690|->       result = emit_float_cmp(&ctx->ac, LLVMRealUNE, src[0], src[1]);
#  691|         break;
#  692|      case nir_op_flt:

Error: CLANG_WARNING: [#def1943]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:690:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  688|         break;
#  689|      case nir_op_fneu:
#  690|->       result = emit_float_cmp(&ctx->ac, LLVMRealUNE, src[0], src[1]);
#  691|         break;
#  692|      case nir_op_flt:

Error: CLANG_WARNING: [#def1944]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:693:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  691|         break;
#  692|      case nir_op_flt:
#  693|->       result = emit_float_cmp(&ctx->ac, LLVMRealOLT, src[0], src[1]);
#  694|         break;
#  695|      case nir_op_fge:

Error: CLANG_WARNING: [#def1945]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:693:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  691|         break;
#  692|      case nir_op_flt:
#  693|->       result = emit_float_cmp(&ctx->ac, LLVMRealOLT, src[0], src[1]);
#  694|         break;
#  695|      case nir_op_fge:

Error: CLANG_WARNING: [#def1946]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:696:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  694|         break;
#  695|      case nir_op_fge:
#  696|->       result = emit_float_cmp(&ctx->ac, LLVMRealOGE, src[0], src[1]);
#  697|         break;
#  698|      case nir_op_fabs:

Error: CLANG_WARNING: [#def1947]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:696:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  694|         break;
#  695|      case nir_op_fge:
#  696|->       result = emit_float_cmp(&ctx->ac, LLVMRealOGE, src[0], src[1]);
#  697|         break;
#  698|      case nir_op_fabs:

Error: CLANG_WARNING: [#def1948]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:700:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  698|      case nir_op_fabs:
#  699|         result =
#  700|->          emit_intrin_1f_param(&ctx->ac, "llvm.fabs", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  701|         break;
#  702|      case nir_op_fsat:

Error: CLANG_WARNING: [#def1949]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:703:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  701|         break;
#  702|      case nir_op_fsat:
#  703|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  704|         result = ac_build_fsat(&ctx->ac, src[0],
#  705|                                ac_to_float_type(&ctx->ac, def_type));

Error: CLANG_WARNING: [#def1950]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:708:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  706|         break;
#  707|      case nir_op_iabs:
#  708|->       result = emit_iabs(&ctx->ac, src[0]);
#  709|         break;
#  710|      case nir_op_imax:

Error: CLANG_WARNING: [#def1951]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:711:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  709|         break;
#  710|      case nir_op_imax:
#  711|->       result = ac_build_imax(&ctx->ac, src[0], src[1]);
#  712|         break;
#  713|      case nir_op_imin:

Error: CLANG_WARNING: [#def1952]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:711:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  709|         break;
#  710|      case nir_op_imax:
#  711|->       result = ac_build_imax(&ctx->ac, src[0], src[1]);
#  712|         break;
#  713|      case nir_op_imin:

Error: CLANG_WARNING: [#def1953]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:714:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  712|         break;
#  713|      case nir_op_imin:
#  714|->       result = ac_build_imin(&ctx->ac, src[0], src[1]);
#  715|         break;
#  716|      case nir_op_umax:

Error: CLANG_WARNING: [#def1954]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:714:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  712|         break;
#  713|      case nir_op_imin:
#  714|->       result = ac_build_imin(&ctx->ac, src[0], src[1]);
#  715|         break;
#  716|      case nir_op_umax:

Error: CLANG_WARNING: [#def1955]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:717:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  715|         break;
#  716|      case nir_op_umax:
#  717|->       result = ac_build_umax(&ctx->ac, src[0], src[1]);
#  718|         break;
#  719|      case nir_op_umin:

Error: CLANG_WARNING: [#def1956]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:717:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  715|         break;
#  716|      case nir_op_umax:
#  717|->       result = ac_build_umax(&ctx->ac, src[0], src[1]);
#  718|         break;
#  719|      case nir_op_umin:

Error: CLANG_WARNING: [#def1957]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:720:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  718|         break;
#  719|      case nir_op_umin:
#  720|->       result = ac_build_umin(&ctx->ac, src[0], src[1]);
#  721|         break;
#  722|      case nir_op_isign:

Error: CLANG_WARNING: [#def1958]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:720:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  718|         break;
#  719|      case nir_op_umin:
#  720|->       result = ac_build_umin(&ctx->ac, src[0], src[1]);
#  721|         break;
#  722|      case nir_op_isign:

Error: CLANG_WARNING: [#def1959]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:723:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  721|         break;
#  722|      case nir_op_isign:
#  723|->       result = ac_build_isign(&ctx->ac, src[0]);
#  724|         break;
#  725|      case nir_op_fsign:

Error: CLANG_WARNING: [#def1960]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:726:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  724|         break;
#  725|      case nir_op_fsign:
#  726|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  727|         result = ac_build_fsign(&ctx->ac, src[0]);
#  728|         break;

Error: CLANG_WARNING: [#def1961]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:731:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  729|      case nir_op_ffloor:
#  730|         result =
#  731|->          emit_intrin_1f_param(&ctx->ac, "llvm.floor", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  732|         break;
#  733|      case nir_op_ftrunc:

Error: CLANG_WARNING: [#def1962]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:735:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  733|      case nir_op_ftrunc:
#  734|         result =
#  735|->          emit_intrin_1f_param(&ctx->ac, "llvm.trunc", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  736|         break;
#  737|      case nir_op_fceil:

Error: CLANG_WARNING: [#def1963]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:739:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  737|      case nir_op_fceil:
#  738|         result =
#  739|->          emit_intrin_1f_param(&ctx->ac, "llvm.ceil", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  740|         break;
#  741|      case nir_op_fround_even:

Error: CLANG_WARNING: [#def1964]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:743:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  741|      case nir_op_fround_even:
#  742|         result =
#  743|->          emit_intrin_1f_param(&ctx->ac, "llvm.rint", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  744|         break;
#  745|      case nir_op_ffract:

Error: CLANG_WARNING: [#def1965]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:746:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  744|         break;
#  745|      case nir_op_ffract:
#  746|->       result = emit_intrin_1f_param_scalar(&ctx->ac, "llvm.amdgcn.fract",
#  747|                                              ac_to_float_type(&ctx->ac, def_type), src[0]);
#  748|         break;

Error: CLANG_WARNING: [#def1966]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:753:19: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  751|         /* before GFX9, v_sin_f32 and v_cos_f32 had a valid input domain of [-256, +256] */
#  752|         if (ctx->ac.gfx_level < GFX9)
#  753|->          src[0] = emit_intrin_1f_param_scalar(&ctx->ac, "llvm.amdgcn.fract",
#  754|                                                 ac_to_float_type(&ctx->ac, def_type), src[0]);
#  755|         result =

Error: CLANG_WARNING: [#def1967]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:756:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  754|                                                 ac_to_float_type(&ctx->ac, def_type), src[0]);
#  755|         result =
#  756|->          emit_intrin_1f_param(&ctx->ac, instr->op == nir_op_fsin_amd ? "llvm.amdgcn.sin" : "llvm.amdgcn.cos",
#  757|                                 ac_to_float_type(&ctx->ac, def_type), src[0]);
#  758|         break;

Error: CLANG_WARNING: [#def1968]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:761:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  759|      case nir_op_fsqrt:
#  760|         result =
#  761|->          emit_intrin_1f_param(&ctx->ac, "llvm.sqrt", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  762|         LLVMSetMetadata(result, ctx->ac.fpmath_md_kind, ctx->ac.three_md);
#  763|         break;

Error: CLANG_WARNING: [#def1969]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:766:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  764|      case nir_op_fexp2:
#  765|         result =
#  766|->          emit_intrin_1f_param(&ctx->ac, "llvm.exp2", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  767|         break;
#  768|      case nir_op_flog2:

Error: CLANG_WARNING: [#def1970]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:770:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  768|      case nir_op_flog2:
#  769|         result =
#  770|->          emit_intrin_1f_param(&ctx->ac, "llvm.log2", ac_to_float_type(&ctx->ac, def_type), src[0]);
#  771|         break;
#  772|      case nir_op_frsq:

Error: CLANG_WARNING: [#def1971]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:773:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  771|         break;
#  772|      case nir_op_frsq:
#  773|->       result = emit_intrin_1f_param_scalar(&ctx->ac, "llvm.amdgcn.rsq",
#  774|                                              ac_to_float_type(&ctx->ac, def_type), src[0]);
#  775|         if (ctx->abi->clamp_div_by_zero)

Error: CLANG_WARNING: [#def1972]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:780:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  778|         break;
#  779|      case nir_op_frexp_exp:
#  780|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  781|         result = ac_build_frexp_exp(&ctx->ac, src[0], ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])));
#  782|         if (ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) == 16)

Error: CLANG_WARNING: [#def1973]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:786:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  784|         break;
#  785|      case nir_op_frexp_sig:
#  786|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  787|         result = ac_build_frexp_mant(&ctx->ac, src[0], instr->def.bit_size);
#  788|         break;

Error: CLANG_WARNING: [#def1974]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:790:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  788|         break;
#  789|      case nir_op_fmax:
#  790|->       result = emit_intrin_2f_param(&ctx->ac, "llvm.maxnum", ac_to_float_type(&ctx->ac, def_type),
#  791|                                       src[0], src[1]);
#  792|         if (ctx->ac.gfx_level < GFX9 && instr->def.bit_size == 32) {

Error: CLANG_WARNING: [#def1975]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:790:16: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
#  788|         break;
#  789|      case nir_op_fmax:
#  790|->       result = emit_intrin_2f_param(&ctx->ac, "llvm.maxnum", ac_to_float_type(&ctx->ac, def_type),
#  791|                                       src[0], src[1]);
#  792|         if (ctx->ac.gfx_level < GFX9 && instr->def.bit_size == 32) {

Error: CLANG_WARNING: [#def1976]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:798:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  796|         break;
#  797|      case nir_op_fmin:
#  798|->       result = emit_intrin_2f_param(&ctx->ac, "llvm.minnum", ac_to_float_type(&ctx->ac, def_type),
#  799|                                       src[0], src[1]);
#  800|         if (ctx->ac.gfx_level < GFX9 && instr->def.bit_size == 32) {

Error: CLANG_WARNING: [#def1977]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:798:16: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
#  796|         break;
#  797|      case nir_op_fmin:
#  798|->       result = emit_intrin_2f_param(&ctx->ac, "llvm.minnum", ac_to_float_type(&ctx->ac, def_type),
#  799|                                       src[0], src[1]);
#  800|         if (ctx->ac.gfx_level < GFX9 && instr->def.bit_size == 32) {

Error: CLANG_WARNING: [#def1978]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:808:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  806|         /* FMA is slow on gfx6-8, so it shouldn't be used. */
#  807|         assert(instr->def.bit_size != 32 || ctx->ac.gfx_level >= GFX9);
#  808|->       result = emit_intrin_3f_param(&ctx->ac, "llvm.fma", ac_to_float_type(&ctx->ac, def_type),
#  809|                                       src[0], src[1], src[2]);
#  810|         break;

Error: CLANG_WARNING: [#def1979]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:808:16: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
#  806|         /* FMA is slow on gfx6-8, so it shouldn't be used. */
#  807|         assert(instr->def.bit_size != 32 || ctx->ac.gfx_level >= GFX9);
#  808|->       result = emit_intrin_3f_param(&ctx->ac, "llvm.fma", ac_to_float_type(&ctx->ac, def_type),
#  809|                                       src[0], src[1], src[2]);
#  810|         break;

Error: CLANG_WARNING: [#def1980]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:808:16: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
#  806|         /* FMA is slow on gfx6-8, so it shouldn't be used. */
#  807|         assert(instr->def.bit_size != 32 || ctx->ac.gfx_level >= GFX9);
#  808|->       result = emit_intrin_3f_param(&ctx->ac, "llvm.fma", ac_to_float_type(&ctx->ac, def_type),
#  809|                                       src[0], src[1], src[2]);
#  810|         break;

Error: CLANG_WARNING: [#def1981]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:813:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  811|      case nir_op_ffmaz:
#  812|         assert(ctx->ac.gfx_level >= GFX10_3);
#  813|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  814|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  815|         src[2] = ac_to_float(&ctx->ac, src[2]);

Error: CLANG_WARNING: [#def1982]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:814:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  812|         assert(ctx->ac.gfx_level >= GFX10_3);
#  813|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  814|->       src[1] = ac_to_float(&ctx->ac, src[1]);
#  815|         src[2] = ac_to_float(&ctx->ac, src[2]);
#  816|         result = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.fma.legacy", ctx->ac.f32,

Error: CLANG_WARNING: [#def1983]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:815:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  813|         src[0] = ac_to_float(&ctx->ac, src[0]);
#  814|         src[1] = ac_to_float(&ctx->ac, src[1]);
#  815|->       src[2] = ac_to_float(&ctx->ac, src[2]);
#  816|         result = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.fma.legacy", ctx->ac.f32,
#  817|                                     src, 3, 0);

Error: CLANG_WARNING: [#def1984]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:820:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  818|         break;
#  819|      case nir_op_ldexp:
#  820|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  821|         if (ac_get_elem_bits(&ctx->ac, def_type) == 32)
#  822|            result = ac_build_intrinsic(&ctx->ac,

Error: CLANG_WARNING: [#def1985]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:838:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  836|         break;
#  837|      case nir_op_bfm:
#  838|->       result = emit_bfm(&ctx->ac, src[0], src[1]);
#  839|         break;
#  840|      case nir_op_bitfield_select:

Error: CLANG_WARNING: [#def1986]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:838:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  836|         break;
#  837|      case nir_op_bfm:
#  838|->       result = emit_bfm(&ctx->ac, src[0], src[1]);
#  839|         break;
#  840|      case nir_op_bitfield_select:

Error: CLANG_WARNING: [#def1987]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:841:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  839|         break;
#  840|      case nir_op_bitfield_select:
#  841|->       result = emit_bitfield_select(&ctx->ac, src[0], src[1], src[2]);
#  842|         break;
#  843|      case nir_op_ubfe:

Error: CLANG_WARNING: [#def1988]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:841:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  839|         break;
#  840|      case nir_op_bitfield_select:
#  841|->       result = emit_bitfield_select(&ctx->ac, src[0], src[1], src[2]);
#  842|         break;
#  843|      case nir_op_ubfe:

Error: CLANG_WARNING: [#def1989]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:841:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  839|         break;
#  840|      case nir_op_bitfield_select:
#  841|->       result = emit_bitfield_select(&ctx->ac, src[0], src[1], src[2]);
#  842|         break;
#  843|      case nir_op_ubfe:

Error: CLANG_WARNING: [#def1990]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:844:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  842|         break;
#  843|      case nir_op_ubfe:
#  844|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], false);
#  845|         break;
#  846|      case nir_op_ibfe:

Error: CLANG_WARNING: [#def1991]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:844:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  842|         break;
#  843|      case nir_op_ubfe:
#  844|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], false);
#  845|         break;
#  846|      case nir_op_ibfe:

Error: CLANG_WARNING: [#def1992]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:844:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  842|         break;
#  843|      case nir_op_ubfe:
#  844|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], false);
#  845|         break;
#  846|      case nir_op_ibfe:

Error: CLANG_WARNING: [#def1993]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:847:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  845|         break;
#  846|      case nir_op_ibfe:
#  847|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], true);
#  848|         break;
#  849|      case nir_op_bitfield_reverse:

Error: CLANG_WARNING: [#def1994]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:847:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  845|         break;
#  846|      case nir_op_ibfe:
#  847|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], true);
#  848|         break;
#  849|      case nir_op_bitfield_reverse:

Error: CLANG_WARNING: [#def1995]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:847:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  845|         break;
#  846|      case nir_op_ibfe:
#  847|->       result = ac_build_bfe(&ctx->ac, src[0], src[1], src[2], true);
#  848|         break;
#  849|      case nir_op_bitfield_reverse:

Error: CLANG_WARNING: [#def1996]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:850:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  848|         break;
#  849|      case nir_op_bitfield_reverse:
#  850|->       result = ac_build_bitfield_reverse(&ctx->ac, src[0]);
#  851|         break;
#  852|      case nir_op_bit_count:

Error: CLANG_WARNING: [#def1997]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:853:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  851|         break;
#  852|      case nir_op_bit_count:
#  853|->       result = ac_build_bit_count(&ctx->ac, src[0]);
#  854|         break;
#  855|      case nir_op_vec2:

Error: CLANG_WARNING: [#def1998]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:862:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  860|      case nir_op_vec16:
#  861|         for (unsigned i = 0; i < nir_op_infos[instr->op].num_inputs; i++)
#  862|->          src[i] = ac_to_integer(&ctx->ac, src[i]);
#  863|         result = ac_build_gather_values(&ctx->ac, src, num_components);
#  864|         break;

Error: CLANG_WARNING: [#def1999]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:869:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  867|      case nir_op_f2i32:
#  868|      case nir_op_f2i64:
#  869|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  870|         result = LLVMBuildFPToSI(ctx->ac.builder, src[0], def_type, "");
#  871|         break;

Error: CLANG_WARNING: [#def2000]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:876:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  874|      case nir_op_f2u32:
#  875|      case nir_op_f2u64:
#  876|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  877|         result = LLVMBuildFPToUI(ctx->ac.builder, src[0], def_type, "");
#  878|         break;

Error: CLANG_WARNING: [#def2001]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:882:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  880|      case nir_op_i2f32:
#  881|      case nir_op_i2f64:
#  882|->       result = LLVMBuildSIToFP(ctx->ac.builder, src[0], ac_to_float_type(&ctx->ac, def_type), "");
#  883|         break;
#  884|      case nir_op_u2f16:

Error: CLANG_WARNING: [#def2002]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:887:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  885|      case nir_op_u2f32:
#  886|      case nir_op_u2f64:
#  887|->       result = LLVMBuildUIToFP(ctx->ac.builder, src[0], ac_to_float_type(&ctx->ac, def_type), "");
#  888|         break;
#  889|      case nir_op_f2f16_rtz: {

Error: CLANG_WARNING: [#def2003]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:890:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  888|         break;
#  889|      case nir_op_f2f16_rtz: {
#  890|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  891|   
#  892|         if (LLVMTypeOf(src[0]) == ctx->ac.f64)

Error: CLANG_WARNING: [#def2004]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:917:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  915|      case nir_op_f2f32:
#  916|      case nir_op_f2f64:
#  917|->       src[0] = ac_to_float(&ctx->ac, src[0]);
#  918|         if (ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) < ac_get_elem_bits(&ctx->ac, def_type))
#  919|            result = LLVMBuildFPExt(ctx->ac.builder, src[0], ac_to_float_type(&ctx->ac, def_type), "");

Error: CLANG_WARNING: [#def2005]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:928:38: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  926|      case nir_op_u2u32:
#  927|      case nir_op_u2u64:
#  928|->       if (ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) < ac_get_elem_bits(&ctx->ac, def_type))
#  929|            result = LLVMBuildZExt(ctx->ac.builder, src[0], def_type, "");
#  930|         else

Error: CLANG_WARNING: [#def2006]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:937:38: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  935|      case nir_op_i2i32:
#  936|      case nir_op_i2i64:
#  937|->       if (ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) < ac_get_elem_bits(&ctx->ac, def_type))
#  938|            result = LLVMBuildSExt(ctx->ac.builder, src[0], def_type, "");
#  939|         else

Error: CLANG_WARNING: [#def2007]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:943:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  941|         break;
#  942|      case nir_op_bcsel:
#  943|->       result = emit_bcsel(&ctx->ac, src[0], src[1], src[2]);
#  944|         break;
#  945|      case nir_op_find_lsb:

Error: CLANG_WARNING: [#def2008]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:943:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  941|         break;
#  942|      case nir_op_bcsel:
#  943|->       result = emit_bcsel(&ctx->ac, src[0], src[1], src[2]);
#  944|         break;
#  945|      case nir_op_find_lsb:

Error: CLANG_WARNING: [#def2009]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:943:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  941|         break;
#  942|      case nir_op_bcsel:
#  943|->       result = emit_bcsel(&ctx->ac, src[0], src[1], src[2]);
#  944|         break;
#  945|      case nir_op_find_lsb:

Error: CLANG_WARNING: [#def2010]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:946:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  944|         break;
#  945|      case nir_op_find_lsb:
#  946|->       result = ac_find_lsb(&ctx->ac, ctx->ac.i32, src[0]);
#  947|         break;
#  948|      case nir_op_ufind_msb:

Error: CLANG_WARNING: [#def2011]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:949:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  947|         break;
#  948|      case nir_op_ufind_msb:
#  949|->       result = ac_build_umsb(&ctx->ac, src[0], ctx->ac.i32, false);
#  950|         break;
#  951|      case nir_op_ifind_msb:

Error: CLANG_WARNING: [#def2012]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:952:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  950|         break;
#  951|      case nir_op_ifind_msb:
#  952|->       result = ac_build_imsb(&ctx->ac, src[0], ctx->ac.i32);
#  953|         break;
#  954|      case nir_op_ufind_msb_rev:

Error: CLANG_WARNING: [#def2013]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:955:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  953|         break;
#  954|      case nir_op_ufind_msb_rev:
#  955|->       result = ac_build_umsb(&ctx->ac, src[0], ctx->ac.i32, true);
#  956|         break;
#  957|      case nir_op_ifind_msb_rev:

Error: CLANG_WARNING: [#def2014]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:970:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  968|      }
#  969|      case nir_op_uadd_carry:
#  970|->       result = emit_uint_carry(&ctx->ac, "llvm.uadd.with.overflow.i32", src[0], src[1]);
#  971|         break;
#  972|      case nir_op_usub_borrow:

Error: CLANG_WARNING: [#def2015]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:970:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  968|      }
#  969|      case nir_op_uadd_carry:
#  970|->       result = emit_uint_carry(&ctx->ac, "llvm.uadd.with.overflow.i32", src[0], src[1]);
#  971|         break;
#  972|      case nir_op_usub_borrow:

Error: CLANG_WARNING: [#def2016]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:973:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  971|         break;
#  972|      case nir_op_usub_borrow:
#  973|->       result = emit_uint_carry(&ctx->ac, "llvm.usub.with.overflow.i32", src[0], src[1]);
#  974|         break;
#  975|      case nir_op_b2f16:

Error: CLANG_WARNING: [#def2017]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:973:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  971|         break;
#  972|      case nir_op_usub_borrow:
#  973|->       result = emit_uint_carry(&ctx->ac, "llvm.usub.with.overflow.i32", src[0], src[1]);
#  974|         break;
#  975|      case nir_op_b2f16:

Error: CLANG_WARNING: [#def2018]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:978:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  976|      case nir_op_b2f32:
#  977|      case nir_op_b2f64:
#  978|->       result = emit_b2f(&ctx->ac, src[0], instr->def.bit_size);
#  979|         break;
#  980|      case nir_op_b2i8:

Error: CLANG_WARNING: [#def2019]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:984:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  982|      case nir_op_b2i32:
#  983|      case nir_op_b2i64:
#  984|->       result = emit_b2i(&ctx->ac, src[0], instr->def.bit_size);
#  985|         break;
#  986|      case nir_op_b2b1: /* after loads */

Error: CLANG_WARNING: [#def2020]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:987:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  985|         break;
#  986|      case nir_op_b2b1: /* after loads */
#  987|->       result = emit_i2b(&ctx->ac, src[0]);
#  988|         break;
#  989|      case nir_op_b2b16: /* before stores */

Error: CLANG_WARNING: [#def2021]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:990:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  988|         break;
#  989|      case nir_op_b2b16: /* before stores */
#  990|->       result = LLVMBuildZExt(ctx->ac.builder, src[0], ctx->ac.i16, "");
#  991|         break;
#  992|      case nir_op_b2b32: /* before stores */

Error: CLANG_WARNING: [#def2022]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:993:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  991|         break;
#  992|      case nir_op_b2b32: /* before stores */
#  993|->       result = LLVMBuildZExt(ctx->ac.builder, src[0], ctx->ac.i32, "");
#  994|         break;
#  995|      case nir_op_fquantize2f16:

Error: CLANG_WARNING: [#def2023]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:996:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  994|         break;
#  995|      case nir_op_fquantize2f16:
#  996|->       result = emit_f2f16(&ctx->ac, src[0]);
#  997|         break;
#  998|      case nir_op_umul_high:

Error: CLANG_WARNING: [#def2024]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:999:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  997|         break;
#  998|      case nir_op_umul_high:
#  999|->       result = emit_umul_high(&ctx->ac, src[0], src[1]);
# 1000|         break;
# 1001|      case nir_op_imul_high:

Error: CLANG_WARNING: [#def2025]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:999:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  997|         break;
#  998|      case nir_op_umul_high:
#  999|->       result = emit_umul_high(&ctx->ac, src[0], src[1]);
# 1000|         break;
# 1001|      case nir_op_imul_high:

Error: CLANG_WARNING: [#def2026]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1002:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1000|         break;
# 1001|      case nir_op_imul_high:
# 1002|->       result = emit_imul_high(&ctx->ac, src[0], src[1]);
# 1003|         break;
# 1004|      case nir_op_pack_half_2x16_rtz_split:

Error: CLANG_WARNING: [#def2027]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1002:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1000|         break;
# 1001|      case nir_op_imul_high:
# 1002|->       result = emit_imul_high(&ctx->ac, src[0], src[1]);
# 1003|         break;
# 1004|      case nir_op_pack_half_2x16_rtz_split:

Error: CLANG_WARNING: [#def2028]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1006:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1004|      case nir_op_pack_half_2x16_rtz_split:
# 1005|      case nir_op_pack_half_2x16_split:
# 1006|->       src[0] = ac_to_float(&ctx->ac, src[0]);
# 1007|         src[1] = ac_to_float(&ctx->ac, src[1]);
# 1008|         result = LLVMBuildBitCast(ctx->ac.builder,

Error: CLANG_WARNING: [#def2029]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1007:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1005|      case nir_op_pack_half_2x16_split:
# 1006|         src[0] = ac_to_float(&ctx->ac, src[0]);
# 1007|->       src[1] = ac_to_float(&ctx->ac, src[1]);
# 1008|         result = LLVMBuildBitCast(ctx->ac.builder,
# 1009|                                   ac_build_cvt_pkrtz_f16(&ctx->ac, src),

Error: CLANG_WARNING: [#def2030]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1018:7: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1016|         assert(bit_size == 16 || bit_size == 32);
# 1017|   
# 1018|->       LLVMValueRef data = src[0];
# 1019|         /* Work around for pre-GFX9 GPU which don't have fp16 pknorm instruction. */
# 1020|         if (bit_size == 16 && ctx->ac.gfx_level < GFX9) {

Error: CLANG_WARNING: [#def2031]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1039:17: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1037|         LLVMValueRef comp[2];
# 1038|   
# 1039|->       comp[0] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_0, "");
# 1040|         comp[1] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_1, "");
# 1041|   

Error: CLANG_WARNING: [#def2032]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1048:17: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1046|         LLVMValueRef comp[2];
# 1047|   
# 1048|->       comp[0] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_0, "");
# 1049|         comp[1] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_1, "");
# 1050|   

Error: CLANG_WARNING: [#def2033]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1056:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1054|      case nir_op_unpack_half_2x16_split_x: {
# 1055|         assert(ac_get_llvm_num_components(src[0]) == 1);
# 1056|->       LLVMValueRef tmp = emit_unpack_half_2x16(&ctx->ac, src[0]);
# 1057|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, "");
# 1058|         break;

Error: CLANG_WARNING: [#def2034]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1062:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1060|      case nir_op_unpack_half_2x16_split_y: {
# 1061|         assert(ac_get_llvm_num_components(src[0]) == 1);
# 1062|->       LLVMValueRef tmp = emit_unpack_half_2x16(&ctx->ac, src[0]);
# 1063|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, "");
# 1064|         break;

Error: CLANG_WARNING: [#def2035]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1072:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1070|      case nir_op_fddx_coarse:
# 1071|      case nir_op_fddy_coarse:
# 1072|->       result = emit_ddxy(ctx, instr->op, src[0]);
# 1073|         break;
# 1074|   

Error: CLANG_WARNING: [#def2036]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1076:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1074|   
# 1075|      case nir_op_unpack_64_4x16: {
# 1076|->       result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v4i16, "");
# 1077|         break;
# 1078|      }

Error: CLANG_WARNING: [#def2037]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1081:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1079|   
# 1080|      case nir_op_unpack_64_2x32: {
# 1081|->       result = LLVMBuildBitCast(ctx->ac.builder, src[0],
# 1082|               ctx->ac.v2i32, "");
# 1083|         break;

Error: CLANG_WARNING: [#def2038]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1087:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1085|      case nir_op_unpack_64_2x32_split_x: {
# 1086|         assert(ac_get_llvm_num_components(src[0]) == 1);
# 1087|->       LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, "");
# 1088|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, "");
# 1089|         break;

Error: CLANG_WARNING: [#def2039]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1093:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1091|      case nir_op_unpack_64_2x32_split_y: {
# 1092|         assert(ac_get_llvm_num_components(src[0]) == 1);
# 1093|->       LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, "");
# 1094|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, "");
# 1095|         break;

Error: CLANG_WARNING: [#def2040]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1105:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1103|   
# 1104|      case nir_op_pack_32_4x8: {
# 1105|->       result = LLVMBuildBitCast(ctx->ac.builder, src[0],
# 1106|               ctx->ac.i32, "");
# 1107|         break;

Error: CLANG_WARNING: [#def2041]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1116:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1114|   
# 1115|      case nir_op_unpack_32_4x8:
# 1116|->       result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v4i8, "");
# 1117|         break;
# 1118|      case nir_op_unpack_32_2x16: {

Error: CLANG_WARNING: [#def2042]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1119:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1117|         break;
# 1118|      case nir_op_unpack_32_2x16: {
# 1119|->       result = LLVMBuildBitCast(ctx->ac.builder, src[0],
# 1120|               ctx->ac.v2i16, "");
# 1121|         break;

Error: CLANG_WARNING: [#def2043]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1124:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1122|      }
# 1123|      case nir_op_unpack_32_2x16_split_x: {
# 1124|->       LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i16, "");
# 1125|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, "");
# 1126|         break;

Error: CLANG_WARNING: [#def2044]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1129:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1127|      }
# 1128|      case nir_op_unpack_32_2x16_split_y: {
# 1129|->       LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i16, "");
# 1130|         result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, "");
# 1131|         break;

Error: CLANG_WARNING: [#def2045]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1135:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1133|   
# 1134|      case nir_op_cube_amd: {
# 1135|->       src[0] = ac_to_float(&ctx->ac, src[0]);
# 1136|         LLVMValueRef results[4];
# 1137|         LLVMValueRef in[3];

Error: CLANG_WARNING: [#def2046]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1154:42: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1152|         bool is_signed = instr->op == nir_op_extract_i16 || instr->op == nir_op_extract_i8;
# 1153|         unsigned size = instr->op == nir_op_extract_u8 || instr->op == nir_op_extract_i8 ? 8 : 16;
# 1154|->       LLVMValueRef offset = LLVMConstInt(LLVMTypeOf(src[0]), nir_src_as_uint(instr->src[1].src) * size, false);
# 1155|         result = LLVMBuildLShr(ctx->ac.builder, src[0], offset, "");
# 1156|         result = LLVMBuildTrunc(ctx->ac.builder, result, LLVMIntTypeInContext(ctx->ac.context, size), "");

Error: CLANG_WARNING: [#def2047]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1167:42: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1165|      case nir_op_insert_u16: {
# 1166|         unsigned size = instr->op == nir_op_insert_u8 ? 8 : 16;
# 1167|->       LLVMValueRef offset = LLVMConstInt(LLVMTypeOf(src[0]), nir_src_as_uint(instr->src[1].src) * size, false);
# 1168|         LLVMValueRef mask = LLVMConstInt(LLVMTypeOf(src[0]), u_bit_consecutive(0, size), false);
# 1169|         result = LLVMBuildShl(ctx->ac.builder, LLVMBuildAnd(ctx->ac.builder, src[0], mask, ""), offset, "");

Error: CLANG_WARNING: [#def2048]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1176:19: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1174|      case nir_op_sdot_4x8_iadd_sat: {
# 1175|         if (ctx->ac.gfx_level >= GFX11) {
# 1176|->          result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1177|                                        instr->op == nir_op_sdot_4x8_iadd_sat, 0x3);
# 1178|         } else {

Error: CLANG_WARNING: [#def2049]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1176:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1174|      case nir_op_sdot_4x8_iadd_sat: {
# 1175|         if (ctx->ac.gfx_level >= GFX11) {
# 1176|->          result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1177|                                        instr->op == nir_op_sdot_4x8_iadd_sat, 0x3);
# 1178|         } else {

Error: CLANG_WARNING: [#def2050]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1176:19: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1174|      case nir_op_sdot_4x8_iadd_sat: {
# 1175|         if (ctx->ac.gfx_level >= GFX11) {
# 1176|->          result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1177|                                        instr->op == nir_op_sdot_4x8_iadd_sat, 0x3);
# 1178|         } else {

Error: CLANG_WARNING: [#def2051]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1187:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1185|      case nir_op_sudot_4x8_iadd:
# 1186|      case nir_op_sudot_4x8_iadd_sat: {
# 1187|->       result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1188|                                     instr->op == nir_op_sudot_4x8_iadd_sat, 0x1);
# 1189|         break;

Error: CLANG_WARNING: [#def2052]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1187:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1185|      case nir_op_sudot_4x8_iadd:
# 1186|      case nir_op_sudot_4x8_iadd_sat: {
# 1187|->       result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1188|                                     instr->op == nir_op_sudot_4x8_iadd_sat, 0x1);
# 1189|         break;

Error: CLANG_WARNING: [#def2053]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1187:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1185|      case nir_op_sudot_4x8_iadd:
# 1186|      case nir_op_sudot_4x8_iadd_sat: {
# 1187|->       result = ac_build_sudot_4x8(&ctx->ac, src[0], src[1], src[2],
# 1188|                                     instr->op == nir_op_sudot_4x8_iadd_sat, 0x1);
# 1189|         break;

Error: CLANG_WARNING: [#def2054]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1206:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1204|                            instr->op == nir_op_sdot_2x16_iadd_sat
# 1205|                            ? "llvm.amdgcn.sdot2" : "llvm.amdgcn.udot2";
# 1206|->       src[0] = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i16, "");
# 1207|         src[1] = LLVMBuildBitCast(ctx->ac.builder, src[1], ctx->ac.v2i16, "");
# 1208|         src[3] = LLVMConstInt(ctx->ac.i1, instr->op == nir_op_sdot_2x16_iadd_sat ||

Error: CLANG_WARNING: [#def2055]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1207:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1205|                            ? "llvm.amdgcn.sdot2" : "llvm.amdgcn.udot2";
# 1206|         src[0] = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i16, "");
# 1207|->       src[1] = LLVMBuildBitCast(ctx->ac.builder, src[1], ctx->ac.v2i16, "");
# 1208|         src[3] = LLVMConstInt(ctx->ac.i1, instr->op == nir_op_sdot_2x16_iadd_sat ||
# 1209|                                           instr->op == nir_op_udot_2x16_uadd_sat, false);

Error: CLANG_WARNING: [#def2056]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1220:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1218|   
# 1219|      case nir_op_mqsad_4x8:
# 1220|->       src[1] = LLVMBuildBitCast(ctx->ac.builder, src[1], ctx->ac.i64, "");
# 1221|         result = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.mqsad.u32.u8", ctx->ac.v4i32,
# 1222|                                     (LLVMValueRef[]){src[1], src[0], src[2]}, 3, 0);

Error: CLANG_WARNING: [#def2057]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:1279:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1277|         value = LLVMConstVector(values, instr->def.num_components);
# 1278|      } else
# 1279|->       value = values[0];
# 1280|   
# 1281|      ctx->ssa_defs[instr->def.index] = value;

Error: COMPILER_WARNING (CWE-563): [#def2058]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c: scope_hint: In function ‘visit_load’
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:2881:12: warning[-Wunused-variable]: unused variable ‘offset’
# 2881 |    nir_src offset = *nir_get_io_offset_src(instr);
#      |            ^~~~~~
# 2879|      unsigned component = nir_intrinsic_component(instr);
# 2880|      unsigned count = instr->def.num_components;
# 2881|->    nir_src offset = *nir_get_io_offset_src(instr);
# 2882|   
# 2883|      assert(instr->def.bit_size == 16 || instr->def.bit_size == 32);

Error: CLANG_WARNING: [#def2059]
mesa-24.1.2-build/mesa-24.1.2/src/amd/llvm/ac_nir_to_llvm.c:2881:12: warning[deadcode.DeadStores]: Value stored to 'offset' during its initialization is never read
# 2879|      unsigned component = nir_intrinsic_component(instr);
# 2880|      unsigned count = instr->def.num_components;
# 2881|->    nir_src offset = *nir_get_io_offset_src(instr);
# 2882|   
# 2883|      assert(instr->def.bit_size == 16 || instr->def.bit_size == 32);

Error: CPPCHECK_WARNING: [#def2060]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_cm_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2061]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2062]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c: scope_hint: In function ‘vpe10_build_vpe_cmd’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2063]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:146:54: warning[core.NullDereference]: Access to field 'pipe_idx' results in a dereference of a null pointer (loaded from variable '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): [#def2064]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2065]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:155:54: warning[core.NullDereference]: Access to field 'pipe_idx' results in a dereference of a null pointer (loaded from variable 'pipe_ctx')
#  153|           }
#  154|   
#  155|->         vpe_priv->resource.program_backend(vpe_priv, pipe_ctx->pipe_idx, cmd_idx, true);
#  156|       }
#  157|   

Error: CPPCHECK_WARNING: [#def2066]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_dpp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2067]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_dpp.c:70:22: warning[deadcode.DeadStores]: Value stored to 'vpe_priv' during its initialization is never read
#   68|       struct dpp *dpp, struct scaler_data *scl_data, const struct vpe_scaling_taps *in_taps)
#   69|   {
#   70|->     struct vpe_priv *vpe_priv   = dpp->vpe_priv;
#   71|       uint32_t         h_taps_min = 0, v_taps_min = 0;
#   72|       /*

Error: CPPCHECK_WARNING: [#def2068]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_dpp_cm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2069]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_dpp_dscl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2070]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_mpc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2071]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_resource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2072]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/chip/vpe10/vpe10_resource.c:500:25: warning[deadcode.DeadStores]: Value stored to 'max_lb_size' during its initialization is never read
#  498|       const uint32_t      max_downscale_factor = vpe_priv->pub.caps->plane_caps.max_downscale_factor;
#  499|       struct dpp         *dpp                  = vpe_priv->resource.dpp[0];
#  500|->     const uint32_t      max_lb_size          = dpp->funcs->get_line_buffer_size();
#  501|   
#  502|       for (stream_idx = 0; stream_idx < params->num_streams; stream_idx++) {

Error: CLANG_WARNING: [#def2073]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/background.c:138:40: warning[core.DivideZero]: Division by zero
#  136|   
#  137|       last_covered  = target_rect->x;
#  138|->     gap_width     = target_rect->width / max_gaps;
#  139|       gap_remainder = target_rect->width % max_gaps;
#  140|   

Error: CPPCHECK_WARNING: [#def2074]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2075]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color.c:1016:35: warning[deadcode.DeadStores]: Value stored to 'output_ctx' during its initialization is never read
# 1014|   
# 1015|       struct stream_ctx            *stream       = vpe_priv->stream_ctx;
# 1016|->     const struct output_ctx      *output_ctx   = &vpe_priv->output_ctx;
# 1017|       const struct vpe_color_space *vpe_cs       = &stream->stream.surface_info.cs;
# 1018|       bool                          output_isHDR = vpe_is_HDR(vpe_priv->output_ctx.tf);

Error: CPPCHECK_WARNING: [#def2076]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_cs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2077]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_gamma.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2078]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_gamut.c:292:30: warning[deadcode.DeadStores]: Value stored to 'pColorTransformXYZ' during its initialization is never read
#  290|       const struct fixed31_32 *pRefXYZofRGB = matrices->rgbCoeffSrc;   /*source gamut*/
#  291|       const struct fixed31_32 *pRefXYZofWhite     = matrices->whiteCoeffSrc; /*source of white point*/
#  292|->     const struct fixed31_32 *pColorTransformXYZ = matrices->xyzMatrix; /*additional XYZ->XYZ tfm*/
#  293|       const struct fixed31_32 *pColorTransformXYZOffset = matrices->xyzOffset; /*XYZ tfm offset*/
#  294|       const struct fixed31_32 *pBradford = matrices->bradford; /*Bradford chromatic adaptation*/

Error: CLANG_WARNING: [#def2079]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_gamut.c:293:30: warning[deadcode.DeadStores]: Value stored to 'pColorTransformXYZOffset' during its initialization is never read
#  291|       const struct fixed31_32 *pRefXYZofWhite     = matrices->whiteCoeffSrc; /*source of white point*/
#  292|       const struct fixed31_32 *pColorTransformXYZ = matrices->xyzMatrix; /*additional XYZ->XYZ tfm*/
#  293|->     const struct fixed31_32 *pColorTransformXYZOffset = matrices->xyzOffset; /*XYZ tfm offset*/
#  294|       const struct fixed31_32 *pBradford = matrices->bradford; /*Bradford chromatic adaptation*/
#  295|   

Error: CLANG_WARNING: [#def2080]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_gamut.c:294:30: warning[deadcode.DeadStores]: Value stored to 'pBradford' during its initialization is never read
#  292|       const struct fixed31_32 *pColorTransformXYZ = matrices->xyzMatrix; /*additional XYZ->XYZ tfm*/
#  293|       const struct fixed31_32 *pColorTransformXYZOffset = matrices->xyzOffset; /*XYZ tfm offset*/
#  294|->     const struct fixed31_32 *pBradford = matrices->bradford; /*Bradford chromatic adaptation*/
#  295|   
#  296|       struct fixed31_32 *pXYZtoRGB_Temp;

Error: CLANG_WARNING: [#def2081]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/color_gamut.c:434:29: warning[deadcode.DeadStores]: Value stored to 'output_ctx' during its initialization is never read
#  432|       enum color_space outColor, struct colorspace_transform *gamut_remap, bool bypass_remap)
#  433|   {
#  434|->     struct output_ctx      *output_ctx = &vpe_priv->output_ctx;
#  435|       struct color_gamut_data src_gamut;
#  436|       struct color_gamut_data dst_gamut;

Error: CPPCHECK_WARNING: [#def2082]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2083]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/common.c:313:5: warning[deadcode.DeadStores]: Value stored to 'dpp' is never read
#  311|   
#  312|       vpec = &vpe_priv->resource.vpec;
#  313|->     dpp  = vpe_priv->resource.dpp[0];
#  314|       cdc  = vpe_priv->resource.cdc[0];
#  315|   

Error: CLANG_WARNING: [#def2084]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/common.c:422:5: warning[deadcode.DeadStores]: Value stored to 'dpp' is never read
#  420|   
#  421|       vpec = &vpe_priv->resource.vpec;
#  422|->     dpp  = vpe_priv->resource.dpp[0];
#  423|       cdc  = vpe_priv->resource.cdc[0];
#  424|   

Error: CPPCHECK_WARNING: [#def2085]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/mpc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2086]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/plane_desc_writer.c:72:5: warning[deadcode.DeadStores]: Value stored to 'cmd_start' is never read
#   70|           return;
#   71|       }
#   72|->     cmd_start = cmd_space = (uint32_t *)(uintptr_t)writer->buf->cpu_va;
#   73|   
#   74|       if (is_plane0) {

Error: CLANG_WARNING: [#def2087]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/plane_desc_writer.c:117:5: warning[deadcode.DeadStores]: Value stored to 'cmd_start' is never read
#  115|       }
#  116|   
#  117|->     cmd_start = cmd_space = (uint32_t *)(uintptr_t)writer->buf->cpu_va;
#  118|   
#  119|       if (is_plane0) {

Error: CPPCHECK_WARNING: [#def2088]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/resource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2089]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/resource.c:470:30: warning[deadcode.DeadStores]: Value stored to 'dst_rect' during its initialization is never read
#  468|       struct vpe_surface_info *surface_info = &stream_ctx->stream.surface_info;
#  469|       struct vpe_rect          src_rect     = stream_ctx->stream.scaling_info.src_rect;
#  470|->     struct vpe_rect         *dst_rect     = &stream_ctx->stream.scaling_info.dst_rect;
#  471|       struct scaler_data      *data         = &segment_ctx->scaler_data;
#  472|       uint32_t                 vpc_div      = vpe_is_yuv420(data->format) ? 2 : 1;

Error: CLANG_WARNING: [#def2090]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/shaper_builder.c:127:12: warning[deadcode.DeadStores]: Value stored to 'divider' during its initialization is never read
#  125|       bool   ret            = false;
#  126|       int    isize          = 1 << 14;
#  127|->     double divider        = isize - 1;
#  128|       double x_double_begin = 0;
#  129|   

Error: CPPCHECK_WARNING: [#def2091]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2092]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c:368:5: warning[deadcode.DeadStores]: Value stored to 'vpec' is never read
#  366|   
#  367|       vpe_priv = container_of(vpe, struct vpe_priv, pub);
#  368|->     vpec     = &vpe_priv->resource.vpec;
#  369|       dpp      = vpe_priv->resource.dpp[0];
#  370|   

Error: CLANG_WARNING: [#def2093]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c:369:5: warning[deadcode.DeadStores]: Value stored to 'dpp' is never read
#  367|       vpe_priv = container_of(vpe, struct vpe_priv, pub);
#  368|       vpec     = &vpe_priv->resource.vpec;
#  369|->     dpp      = vpe_priv->resource.dpp[0];
#  370|   
#  371|       status = handle_zero_input(vpe, param, &param);

Error: CLANG_WARNING: [#def2094]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c:376:36: warning[core.NullDereference]: Access to field 'collaboration_mode' results in a dereference of a null pointer (loaded from variable 'param')
#  374|   
#  375|   #ifdef VPE_BUILD_1_1
#  376|->     vpe_priv->collaboration_mode = param->collaboration_mode;
#  377|       vpe_priv->vpe_num_instance   = param->num_instances;
#  378|       verify_collaboration_mode(vpe_priv);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2095]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c: scope_hint: In function ‘vpe_check_support’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c:376:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘param’
#  374|   
#  375|   #ifdef VPE_BUILD_1_1
#  376|->     vpe_priv->collaboration_mode = param->collaboration_mode;
#  377|       vpe_priv->vpe_num_instance   = param->num_instances;
#  378|       verify_collaboration_mode(vpe_priv);

Error: CLANG_WARNING: [#def2096]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/core/vpelib.c:644:21: warning[core.NullDereference]: Access to field 'num_streams' results in a dereference of a null pointer (loaded from variable 'param')
#  642|   
#  643|       // copy the param, reset saved configs
#  644|->     for (i = 0; i < param->num_streams; i++) {
#  645|           vpe_priv->stream_ctx[i].num_configs = 0;
#  646|           for (j = 0; j < VPE_CMD_TYPE_COUNT; j++)

Error: CPPCHECK_WARNING: [#def2097]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/utils/custom_float.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2098]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vpelib/src/utils/custom_fp16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2099]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/layers/radv_sqtt_layer.c: scope_hint: In function ‘radv_sqtt_reloc_graphics_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/layers/radv_sqtt_layer.c:174:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reloc’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_command_buffer.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/layers/radv_sqtt_layer.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:119:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
#  172|      if (device->shader_use_invisible_vram) {
#  173|         submission = radv_shader_dma_get_submission(device, reloc->bo, slab_va, code_size);
#  174|->       if (!submission)
#  175|            return VK_ERROR_UNKNOWN;
#  176|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2100]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/layers/radv_sqtt_layer.c:187:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:119:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
#  185|   
#  186|         if (device->shader_use_invisible_vram)
#  187|->          dest_ptr = submission->ptr + offset;
#  188|         else
#  189|            dest_ptr = slab_ptr + offset;

Error: CLANG_WARNING: [#def2101]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_blit2d.c:43:16: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'surf')
#   41|         format = depth_format;
#   42|      else
#   43|->       format = surf->format;
#   44|   
#   45|      radv_image_view_init(iview, device,

Error: CLANG_WARNING: [#def2102]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_blit2d.c:48:58: warning[core.NullDereference]: Access to field 'image' results in a dereference of a null pointer (loaded from variable 'surf')
#   46|                           &(VkImageViewCreateInfo){
#   47|                              .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
#   48|->                            .image = radv_image_to_handle(surf->image),
#   49|                              .viewType = radv_meta_get_view_type(surf->image),
#   50|                              .format = format,

Error: CLANG_WARNING: [#def2103]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_bufimage.c:290:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  288|      };
#  289|   
#  290|->    result = radv_compute_pipeline_create(radv_device_to_handle(device), device->meta_state.cache, &vk_pipeline_info_3d,
#  291|                                            NULL, &device->meta_state.btoi.pipeline_3d);
#  292|   

Error: CLANG_WARNING: [#def2104]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_bufimage.c:888:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  886|      };
#  887|   
#  888|->    result = radv_compute_pipeline_create(radv_device_to_handle(device), device->meta_state.cache, &vk_pipeline_info_3d,
#  889|                                            NULL, &device->meta_state.cleari.pipeline_3d);
#  890|      ralloc_free(cs_3d);

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

Error: CLANG_WARNING: [#def2106]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_clear.c:1327:39: warning[deadcode.DeadStores]: Value stored to 'pdev' during its initialization is never read
# 1325|   {
# 1326|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 1327|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 1328|      uint32_t level_count = vk_image_subresource_level_count(&image->vk, range);
# 1329|      uint32_t flush_bits = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2107]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_decompress.c: scope_hint: In function ‘radv_process_depth_stencil’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_decompress.c:441:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:566:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:566:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_decompress.c: scope_hint: In function ‘radv_process_depth_stencil’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_decompress.c:341:10: note: in expansion of macro ‘vk_command_buffer_set_error’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_decompress.c:341:10: note: in expansion of macro ‘vk_command_buffer_set_error’
#  439|      pipeline = radv_get_depth_pipeline(cmd_buffer, image, subresourceRange, op);
#  440|   
#  441|->    radv_CmdBindPipeline(radv_cmd_buffer_to_handle(cmd_buffer), VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline);
#  442|   
#  443|      if (sample_locs) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2108]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c: scope_hint: In function ‘emit_resolve’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:605:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:35:26: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘emit_resolve’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:35:26: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c: scope_hint: In function ‘emit_resolve’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:35:26: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:35:26: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:557:10: note: in expansion of macro ‘vk_command_buffer_set_error’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:557:10: note: in expansion of macro ‘vk_command_buffer_set_error’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta_resolve_fs.c:557:10: note: in expansion of macro ‘vk_command_buffer_set_error’
#  603|      pipeline = radv_get_resolve_pipeline(cmd_buffer, src_iview, dst_iview);
#  604|   
#  605|->    radv_CmdBindPipeline(cmd_buffer_h, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline);
#  606|   
#  607|      radv_CmdDraw(cmd_buffer_h, 3, 1, 0, 0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2109]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:272:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:505:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:505:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:515:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:516:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:516:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:516:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:516:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:516:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:27: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_sampler_desc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c: scope_hint: In function ‘get_sampler_desc’
#  270|         nir_def *tmp = nir_imul_imm(b, deref->arr.index.ssa, array_size);
#  271|         if (tmp != deref->arr.index.ssa)
#  272|->          nir_instr_as_alu(tmp->parent_instr)->no_unsigned_wrap = true;
#  273|   
#  274|         if (index) {

Error: CLANG_WARNING: [#def2110]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:15:56: warning[core.DivideZero]: Division by zero
#   13|      return desc.use != GLSL_CMAT_USE_ACCUMULATOR
#   14|                ? 16
#   15|->              : (desc.cols * desc.rows / wave_size * 32 / glsl_base_type_bit_size(desc.element_type));
#   16|   }
#   17|   

Error: CLANG_WARNING: [#def2111]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:25:55: warning[core.DivideZero]: Division by zero
#   23|   radv_nir_cmat_length_mul(struct glsl_cmat_description desc)
#   24|   {
#   25|->    return desc.use == GLSL_CMAT_USE_ACCUMULATOR ? (32 / glsl_base_type_bit_size(desc.element_type)) : 1;
#   26|   }
#   27|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2112]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c: scope_hint: In function ‘radv_nir_translate_matrix_type.part.0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2113]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:214:48: warning[core.DivideZero]: Division by zero
#  212|                     desc.use == GLSL_CMAT_USE_ACCUMULATOR ? nir_udiv_imm(&b, local_idx, 16) : nir_imm_int(&b, 0);
#  213|   
#  214|->                for (unsigned i = 0; i < length / mul; ++i) {
#  215|                     nir_def *col_offset = inner_idx;
#  216|                     nir_def *row_offset = nir_iadd_imm(&b, base_row, i * lanes_per_iter / 16);

Error: CLANG_WARNING: [#def2114]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:278:48: warning[core.DivideZero]: Division by zero
#  276|                     desc.use == GLSL_CMAT_USE_ACCUMULATOR ? nir_udiv_imm(&b, local_idx, 16) : nir_imm_int(&b, 0);
#  277|   
#  278|->                for (unsigned i = 0; i < length / mul; ++i) {
#  279|                     nir_def *col_offset = inner_idx;
#  280|                     nir_def *row_offset = nir_iadd_imm(&b, base_row, i * lanes_per_iter / 16);

Error: CLANG_WARNING: [#def2115]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:80:48: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned int'
#   78|   calc_vs_input_index(nir_builder *b, unsigned location, lower_vs_inputs_state *s)
#   79|   {
#   80|->    if (s->gfx_state->vi.instance_rate_inputs & BITFIELD_BIT(location))
#   81|         return calc_vs_input_index_instance_rate(b, location, s);
#   82|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2116]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radix_sort/radix_sort_vk.c: scope_hint: In function ‘radix_sort_vk_create’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2117]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_epilog’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c:1856:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 1856 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 1854|   {
# 1855|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 1856|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 1857|      struct radeon_cmdbuf *cs = cmd_buffer->cs;
# 1858|   

Error: COMPILER_WARNING (CWE-563): [#def2118]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_fragment_shading_rate’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c:2408:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 2408 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 2406|   {
# 2407|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 2408|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 2409|      const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
# 2410|   

Error: COMPILER_WARNING (CWE-563): [#def2119]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘lookup_ps_epilog’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c:4389:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 4389 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 4387|      const struct radv_rendering_state *render = &cmd_buffer->state.render;
# 4388|      const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
# 4389|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 4390|      struct radv_ps_epilog_state state = {0};
# 4391|   

Error: COMPILER_WARNING (CWE-563): [#def2120]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirectKHR’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c:11066:24: warning[-Wunused-variable]: unused variable ‘device’
#11066 |    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#      |                        ^~~~~~
#11064|   {
#11065|      VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
#11066|->    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#11067|   
#11068|      assert(device->use_global_bo_list);

Error: COMPILER_WARNING (CWE-563): [#def2121]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirect2KHR’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.c:11091:24: warning[-Wunused-variable]: unused variable ‘device’
#11091 |    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#      |                        ^~~~~~
#11089|   {
#11090|      VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
#11091|->    struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
#11092|   
#11093|      assert(device->use_global_bo_list);

Error: COMPILER_WARNING (CWE-563): [#def2122]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/layers/radv_rage2.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h: scope_hint: In function ‘radv_emit_shader_pointer_body’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:632:39: warning[-Wunused-variable]: unused variable ‘pdev’
#  632 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
#  630|                                 bool use_32bit_pointers)
#  631|   {
#  632|->    const struct radv_physical_device *pdev = radv_device_physical(device);
#  633|   
#  634|      radeon_emit(cs, va);

Error: CLANG_WARNING: [#def2123]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/amd/vulkan/layers/radv_annotate_layer.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:632:39: warning[deadcode.DeadStores]: Value stored to 'pdev' during its initialization is never read
#  630|                                 bool use_32bit_pointers)
#  631|   {
#  632|->    const struct radv_physical_device *pdev = radv_device_physical(device);
#  633|   
#  634|      radeon_emit(cs, va);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2124]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_debug.c: scope_hint: In function ‘radv_add_split_disasm’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_debug.c:272:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
#  270|         memcpy(inst->text, disasm, len);
#  271|         inst->text[len] = 0;
#  272|->       inst->offset = last_inst ? last_inst->offset + last_inst->size : 0;
#  273|   
#  274|         const char *semicolon = strchr(disasm, ';');

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2125]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1141:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1139:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1139:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
# 1139|         vk_find_struct_const(writeset->pNext, WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK);
# 1140|   
# 1141|->    memcpy(dst, inline_ub->pData, inline_ub->dataSize);
# 1142|   }
# 1143|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2126]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1347:82: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘accel_structs’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c: scope_hint: In function ‘radv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1292:26: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_descriptor_set.c:1292:26: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
# 1345|               break;
# 1346|            case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR: {
# 1347|->             VK_FROM_HANDLE(vk_acceleration_structure, accel_struct, accel_structs->pAccelerationStructures[j]);
# 1348|   
# 1349|               write_accel_struct(device, ptr, accel_struct ? vk_acceleration_structure_get_va(accel_struct) : 0);

Error: CLANG_WARNING: [#def2127]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.c:380:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  378|   radv_parse_vrs_rates(const char *str)
#  379|   {
#  380|->    if (!strcmp(str, "2x2")) {
#  381|         return RADV_FORCE_VRS_2x2;
#  382|      } else if (!strcmp(str, "2x1")) {

Error: CLANG_WARNING: [#def2128]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.c:1193:38: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct radeon_cmdbuf *', which is incompatible with sizeof operand type 'struct radeon_winsys_cs *'
# 1191|            goto fail_cache;
# 1192|   
# 1193|->       device->perf_counter_lock_cs = calloc(sizeof(struct radeon_winsys_cs *), 2 * PERF_CTR_MAX_PASSES);
# 1194|         if (!device->perf_counter_lock_cs) {
# 1195|            result = VK_ERROR_OUT_OF_HOST_MEMORY;

Error: COMPILER_WARNING (CWE-563): [#def2129]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device_generated_commands.c: scope_hint: In function ‘radv_prepare_dgc_compute’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device_generated_commands.c:2064:39: warning[-Wunused-variable]: unused variable ‘pdev’
# 2064 |    const struct radv_physical_device *pdev = radv_device_physical(device);
#      |                                       ^~~~
# 2062|      VK_FROM_HANDLE(radv_pipeline, pipeline, pGeneratedCommandsInfo->pipeline);
# 2063|      struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
# 2064|->    const struct radv_physical_device *pdev = radv_device_physical(device);
# 2065|   
# 2066|      *upload_size = MAX2(*upload_size, 16);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2130]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_formats.c: scope_hint: In function ‘radv_get_image_format_properties’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_formats.c:1406:76: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_debug.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_formats.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_formats.c:1397:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_formats.c:1397:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
# 1404|         format_feature_flags = format_props.optimalTilingFeatures;
# 1405|      } else if (tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
# 1406|->       format_feature_flags = radv_get_modifier_flags(pdev, format, mod_info->drmFormatModifier, &format_props);
# 1407|      } else {
# 1408|         unreachable("bad VkImageTiling");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2131]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:1729:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:1711:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:1711:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:1728:23: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c:1728:23: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_image.c: scope_hint: In function ‘radv_BindImageMemory2’
# 1727|         if (image->disjoint) {
# 1728|            plane_info = vk_find_struct_const(pBindInfos[i].pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 1729|->          bind_idx = radv_plane_from_aspect(plane_info->planeAspect);
# 1730|         }
# 1731|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2132]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_nir_to_llvm.c: scope_hint: In function ‘ac_compile_llvm_module’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2133]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2134]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:359:73: warning[core.NullDereference]: Access to field 'b' results in a dereference of a null pointer (loaded from variable 'ac_block')
#  357|         ++block_reg_count;
#  358|   
#  359|->       passes_needed = MAX2(passes_needed, DIV_ROUND_UP(block_reg_count, ac_block->b->b->num_counters));
#  360|      }
#  361|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2135]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_gpu_info.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_perfcounter.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c: scope_hint: In function ‘radv_get_num_counter_passes’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:359:81: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ac_block’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:359:43: note: in expansion of macro ‘DIV_ROUND_UP’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:87:27: note: in definition of macro ‘G_REG_BLOCK’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:359:43: note: in expansion of macro ‘DIV_ROUND_UP’
#  357|         ++block_reg_count;
#  358|   
#  359|->       passes_needed = MAX2(passes_needed, DIV_ROUND_UP(block_reg_count, ac_block->b->b->num_counters));
#  360|      }
#  361|   

Error: CLANG_WARNING: [#def2136]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_perfcounter.c:426:36: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  424|               if (pool->pc_regs[k] == reg)
#  425|                  break;
#  426|->          pool->counters[i].regs[j] = pc_reg_offsets[k];
#  427|         }
#  428|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2137]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:991:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  989|         desc_copy(s->description, "Code size in bytes");
#  990|         s->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
#  991|->       s->value.u64 = shader->exec_size;
#  992|      }
#  993|      ++s;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2138]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:1015:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1013|         desc_copy(s->description, "The maximum number of subgroups in flight on a SIMD unit");
# 1014|         s->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
# 1015|->       s->value.u64 = shader->max_waves;
# 1016|      }
# 1017|      ++s;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2139]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:1019:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1017|      ++s;
# 1018|   
# 1019|->    if (shader->statistics) {
# 1020|         for (unsigned i = 0; i < aco_num_statistics; i++) {
# 1021|            const struct aco_compiler_statistic_info *info = &aco_statistic_infos[i];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2140]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:1083:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1081|         desc_copy(p->name, "NIR Shader(s)");
# 1082|         desc_copy(p->description, "The optimized NIR shader(s)");
# 1083|->       if (radv_copy_representation(p->pData, &p->dataSize, shader->nir_string) != VK_SUCCESS)
# 1084|            result = VK_INCOMPLETE;
# 1085|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2141]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:1098:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1096|            desc_copy(p->description, "The ACO IR after some optimizations");
# 1097|         }
# 1098|->       if (radv_copy_representation(p->pData, &p->dataSize, shader->ir_string) != VK_SUCCESS)
# 1099|            result = VK_INCOMPLETE;
# 1100|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2142]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c:1104:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1102|   
# 1103|      /* Disassembler */
# 1104|->    if (p < end && shader->disasm_string) {
# 1105|         p->isText = true;
# 1106|         desc_copy(p->name, "Assembly");

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2143]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c: scope_hint: In function ‘radv_compile_cs’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c:191:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)*cs_stage.spirv.size)’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/meta/radv_meta.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:107:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c:315:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c:315:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline_compute.c: scope_hint: In function ‘radv_compile_cs’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:107:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  189|      if (keep_executable_info && cs_stage->spirv.size) {
#  190|         cs_shader->spirv = malloc(cs_stage->spirv.size);
#  191|->       memcpy(cs_shader->spirv, cs_stage->spirv.data, cs_stage->spirv.size);
#  192|         cs_shader->spirv_size = cs_stage->spirv.size;
#  193|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2144]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:141:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.h:20: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2145]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:149:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2146]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:152:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:114:28: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:132:22: note: in expansion of macro ‘nir_ballot’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘radv_build_printf’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2147]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c:259:10: warning[deadcode.DeadStores]: Value stored to 'spec_pos' is never read
#  257|            char *print_str = strndup(token, next_format - token);
#  258|            /* rebase spec_pos so we can use it with print_str */
#  259|->          spec_pos += format - token;
#  260|   
#  261|            size_t element_size = printf_format->element_sizes[i];

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2148]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_printf.c: scope_hint: In function ‘radv_dump_printf_data’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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): [#def2149]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_radeon_winsys.h:338:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘send_cmd’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2150]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_rmv.c:301:37: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  299|      }
#  300|      if (!device->memory_trace.num_cpus)
#  301|->       device->memory_trace.num_cpus = num_physical_cores;
#  302|      fclose(cpuinfo_file);
#  303|   

Error: CLANG_WARNING: [#def2151]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_rra.c:769:19: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'uint32_t', which is incompatible with sizeof operand type 'struct rra_geometry_info'
#  767|      rra_gather_bvh_info(data + header->bvh_offset, RADV_BVH_ROOT_NODE, &bvh_info);
#  768|   
#  769|->    leaf_indices = calloc(header->geometry_count, sizeof(struct rra_geometry_info));
#  770|      if (!leaf_indices) {
#  771|         result = VK_ERROR_OUT_OF_HOST_MEMORY;

Error: CLANG_WARNING: [#def2152]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_rra.c:1437:47: warning[core.NullDereference]: Array access (from variable 'dispatch_size') results in a null pointer dereference
# 1435|         uint32_t *dispatch_size = ray_history->metadata.dispatch_size.size;
# 1436|   
# 1437|->       uint32_t x = src->header.launch_index % dispatch_size[0];
# 1438|         uint32_t y = (src->header.launch_index / dispatch_size[0]) % dispatch_size[1];
# 1439|         uint32_t z = src->header.launch_index / (dispatch_size[0] * dispatch_size[1]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2153]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c:1991:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_dma_submit’
# 1989|                          uint64_t *upload_seq_out)
# 1990|   {
# 1991|->    struct radeon_cmdbuf *cs = submission->cs;
# 1992|      struct radeon_winsys *ws = device->ws;
# 1993|      VkResult result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2154]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_shader_create_uncached’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c:2131:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binary’
# 2129|      vk_pipeline_cache_object_init(&device->vk, &shader->base, &radv_shader_ops, shader->hash, sizeof(shader->hash));
# 2130|   
# 2131|->    shader->info = binary->info;
# 2132|      shader->config = binary->config;
# 2133|      shader->max_waves = radv_get_max_waves(device, &shader->config, &shader->info);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2155]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c:2158: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
# 2156|         if (bin->stats_size) {
# 2157|            shader->statistics = calloc(bin->stats_size, 1);
# 2158|->          memcpy(shader->statistics, bin->data, bin->stats_size);
# 2159|         }
# 2160|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2156]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_capture_shader_executable_info’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c:2467:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(disasm_size + 1)’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_capture_shader_executable_info’
mesa-24.1.2-build/mesa-24.1.2/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
# 2465|         shader->ir_string = bin->llvm_ir_size ? strdup((const char *)(bin->data + bin->elf_size)) : NULL;
# 2466|         shader->disasm_string = malloc(disasm_size + 1);
# 2467|->       memcpy(shader->disasm_string, disasm_data, disasm_size);
# 2468|         shader->disasm_string[disasm_size] = 0;
# 2469|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2157]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c: scope_hint: In function ‘radv_aco_build_shader_part’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader.c:2599:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘part_binary’
# 2597|      struct radv_shader_part_binary *part_binary = (struct radv_shader_part_binary *)calloc(size, 1);
# 2598|   
# 2599|->    part_binary->num_sgprs = num_sgprs;
# 2600|      part_binary->num_vgprs = num_vgprs;
# 2601|      part_binary->total_size = size;

Error: CLANG_WARNING: [#def2158]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader_args.c:46:19: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'unsigned long long'
#   44|         while (num_push_consts > MIN2(remaining_sgprs, AC_MAX_INLINE_PUSH_CONSTS_WITH_INDIRECT)) {
#   45|            num_push_consts--;
#   46|->          mask &= ~BITFIELD64_BIT(util_last_bit64(mask) - 1);
#   47|         }
#   48|      }

Error: CLANG_WARNING: [#def2159]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader_info.c:47:4: warning[deadcode.DeadStores]: Value stored to 'mask' is never read
#   45|      const unsigned component = nir_intrinsic_component(intrin);
#   46|      unsigned mask = nir_def_components_read(&intrin->def);
#   47|->    mask = (intrin->def.bit_size == 64 ? util_widen_mask(mask, 2) : mask) << component;
#   48|   
#   49|      if (location >= VERT_ATTRIB_GENERIC0) {

Error: CLANG_WARNING: [#def2160]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_shader_info.c:188:41: warning[core.NullDereference]: Array access (via field 'output_streams') results in a null pointer dereference
#  186|      if (nir->info.stage == MESA_SHADER_GEOMETRY) {
#  187|         const uint8_t gs_streams = nir_intrinsic_io_semantics(instr).gs_streams;
#  188|->       info->gs.output_streams[location] |= gs_streams << (component * 2);
#  189|      }
#  190|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2161]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1104:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cs.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:20: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
# 1102|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 1103|   
# 1104|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 1105|   
# 1106|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2162]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1104:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
# 1102|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 1103|   
# 1104|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 1105|   
# 1106|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2163]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1193:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1102:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1191:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1191:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h264_msg’
# 1191|            vk_find_struct_const(frame_info->pReferenceSlots[i].pNext, VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR);
# 1192|   
# 1193|->       result.frame_num_list[i] = dpb_slot->pStdReferenceInfo->FrameNum;
# 1194|         result.field_order_cnt_list[i][0] = dpb_slot->pStdReferenceInfo->PicOrderCnt[0];
# 1195|         result.field_order_cnt_list[i][1] = dpb_slot->pStdReferenceInfo->PicOrderCnt[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2164]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1256:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1252:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1252:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
# 1254|   
# 1255|      const StdVideoH265SequenceParameterSet *sps =
# 1256|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 1257|      const StdVideoH265PictureParameterSet *pps =
# 1258|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2165]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1256:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1252:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1252:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_h265_msg’
# 1254|   
# 1255|      const StdVideoH265SequenceParameterSet *sps =
# 1256|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 1257|      const StdVideoH265PictureParameterSet *pps =
# 1258|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2166]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1636:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1635:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1635:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
# 1634|      const struct VkVideoDecodeAV1PictureInfoKHR *av1_pic_info =
# 1635|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_AV1_PICTURE_INFO_KHR);
# 1636|->    const StdVideoDecodeAV1PictureInfo *pi = av1_pic_info->pStdPictureInfo;
# 1637|      const StdVideoAV1SequenceHeader *seq_hdr = &params->vk.av1_dec.seq_hdr.base;
# 1638|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2167]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1636:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘probs_ptr’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1635:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:1635:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_av1_msg’
# 1634|      const struct VkVideoDecodeAV1PictureInfoKHR *av1_pic_info =
# 1635|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_AV1_PICTURE_INFO_KHR);
# 1636|->    const StdVideoDecodeAV1PictureInfo *pi = av1_pic_info->pStdPictureInfo;
# 1637|      const StdVideoAV1SequenceHeader *seq_hdr = &params->vk.av1_dec.seq_hdr.base;
# 1638|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2168]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2365:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
# 2363|   
# 2364|      if (vid->dpb_type == DPB_DYNAMIC_TIER_2) {
# 2365|->       index_dynamic_dpb->message_id = RDECODE_MESSAGE_DYNAMIC_DPB;
# 2366|         index_dynamic_dpb->offset = offset_dynamic_dpb;
# 2367|         index_dynamic_dpb->filled = 0;

Error: CLANG_WARNING: [#def2169]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2485:30: warning[core.NullDereference]: Access to field 'dpbCurrLo' results in a dereference of a null pointer (loaded from variable 'dynamic_dpb_t2')
# 2483|   
# 2484|      addr += dpb_array_idx * (dpb->planes[0].surface.u.gfx9.surf_slice_size + dpb->planes[1].surface.u.gfx9.surf_slice_size);
# 2485|->    dynamic_dpb_t2->dpbCurrLo = addr;
# 2486|      dynamic_dpb_t2->dpbCurrHi = addr >> 32;
# 2487|   

Error: COMPILER_WARNING (CWE-563): [#def2170]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2501:15: warning[-Wunused-variable]: unused variable ‘slot_idx’
# 2501 |       int32_t slot_idx = frame_info->pReferenceSlots[i].slotIndex;
#      |               ^~~~~~~~
# 2499|   
# 2500|      for (int i = 0; i < frame_info->referenceSlotCount; i++) {
# 2501|->       int32_t slot_idx = frame_info->pReferenceSlots[i].slotIndex;
# 2502|         assert(slot_idx >= 0 && slot_idx < 16);
# 2503|         struct radv_image_view *f_dpb_iv =

Error: CLANG_WARNING: [#def2171]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2501:15: warning[deadcode.DeadStores]: Value stored to 'slot_idx' during its initialization is never read
# 2499|   
# 2500|      for (int i = 0; i < frame_info->referenceSlotCount; i++) {
# 2501|->       int32_t slot_idx = frame_info->pReferenceSlots[i].slotIndex;
# 2502|         assert(slot_idx >= 0 && slot_idx < 16);
# 2503|         struct radv_image_view *f_dpb_iv =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2172]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2548:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
# 2546|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 2547|   
# 2548|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 2549|   
# 2550|      memset(&result, 0, sizeof(result));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2173]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2548:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
# 2546|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
# 2547|   
# 2548|->    *slice_offset = h264_pic_info->pSliceOffsets[0];
# 2549|   
# 2550|      memset(&result, 0, sizeof(result));

Error: CLANG_WARNING: [#def2174]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2612:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2610|      update_h264_scaling(result.scaling_list_4x4, result.scaling_list_8x8, &scaling_lists);
# 2611|   
# 2612|->    memset(it_ptr, 0, IT_SCALING_TABLE_SIZE);
# 2613|      memcpy(it_ptr, result.scaling_list_4x4, 6 * 16);
# 2614|      memcpy((char *)it_ptr + 96, result.scaling_list_8x8, 2 * 64);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2175]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2632:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2546:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2630:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2630:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h264_msg’
# 2630|            vk_find_struct_const(frame_info->pReferenceSlots[i].pNext, VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR);
# 2631|   
# 2632|->       result.frame_num_list[i] = dpb_slot->pStdReferenceInfo->FrameNum;
# 2633|         result.field_order_cnt_list[i][0] = dpb_slot->pStdReferenceInfo->PicOrderCnt[0];
# 2634|         result.field_order_cnt_list[i][1] = dpb_slot->pStdReferenceInfo->PicOrderCnt[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2176]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2661:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2656:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2656:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
# 2659|   
# 2660|      const StdVideoH265SequenceParameterSet *sps =
# 2661|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 2662|      const StdVideoH265PictureParameterSet *pps =
# 2663|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2177]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2661:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2656:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:2656:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘get_uvd_h265_msg’
# 2659|   
# 2660|      const StdVideoH265SequenceParameterSet *sps =
# 2661|->       vk_video_find_h265_dec_std_sps(&params->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id);
# 2662|      const StdVideoH265PictureParameterSet *pps =
# 2663|         vk_video_find_h265_dec_std_pps(&params->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2178]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_vcn_decode_video’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:3191:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘slice_offset’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_vcn_decode_video’
# 3189|         send_cmd(cmd_buffer, RDECODE_CMD_CONTEXT_BUFFER, vid->ctx.mem->bo, vid->ctx.offset);
# 3190|   
# 3191|->    send_cmd(cmd_buffer, RDECODE_CMD_BITSTREAM_BUFFER, src_buffer->bo,
# 3192|               src_buffer->offset + frame_info->srcBufferOffset + slice_offset);
# 3193|   

Error: CLANG_WARNING: [#def2179]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:3192:62: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
# 3190|   
# 3191|      send_cmd(cmd_buffer, RDECODE_CMD_BITSTREAM_BUFFER, src_buffer->bo,
# 3192|->             src_buffer->offset + frame_info->srcBufferOffset + slice_offset);
# 3193|   
# 3194|      struct radv_image_view *dst_iv = radv_image_view_from_handle(frame_info->dstPictureResource.imageViewBinding);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2180]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_video_get_profile_alignments’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:3233:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:3232:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c:3232:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_video_get_profile_alignments’
# 3231|            const struct VkVideoDecodeH265ProfileInfoKHR *h265_profile =
# 3232|               vk_find_struct_const(profile_list->pProfiles[i].pNext, VIDEO_DECODE_H265_PROFILE_INFO_KHR);
# 3233|->          if (h265_profile->stdProfileIdc == STD_VIDEO_H265_PROFILE_IDC_MAIN_10)
# 3234|               is_h265_main_10 = true;
# 3235|         }

Error: CLANG_WARNING: [#def2181]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:310:56: warning[core.BitwiseShift]: Right shift by '33' overflows the capacity of 'unsigned int'
#  308|   
#  309|      while (num_bits > 0) {
#  310|->       unsigned int value_to_pack = value & (0xffffffff >> (32 - num_bits));
#  311|         bits_to_pack = num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits;
#  312|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2182]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_h264’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:533:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_device.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cmd_buffer.h:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_cs.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:532:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:532:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_h264’
#  531|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  532|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  533|->    const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  534|      const StdVideoH264SequenceParameterSet *sps =
#  535|         vk_video_find_h264_enc_std_sps(&cmd_buffer->video.params->vk, pic->seq_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2183]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:564:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:563:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:563:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_spec_misc_hevc’
#  562|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  563|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  564|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  565|      const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
#  566|      const StdVideoEncodeH265SliceSegmentHeader *slice = h265_slice->pStdSliceSegmentHeader;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2184]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_control_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:595:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_control_hevc’
#  593|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  594|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  595|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  596|      const StdVideoH265SequenceParameterSet *sps =
#  597|         vk_video_find_h265_enc_std_sps(&cmd_buffer->video.params->vk, pic->pps_seq_parameter_set_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2185]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:653:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:532:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:532:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:652:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:652:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_h264’
#  651|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  652|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  653|->    const VkVideoEncodeH264NaluSliceInfoKHR *h264_slice = &h264_picture_info->pNaluSliceEntries[0];
#  654|      const StdVideoEncodeH264SliceHeader *slice = h264_slice->pStdSliceHeader;
#  655|      ENC_BEGIN;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2186]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:673:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:594:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:563:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:563:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:672:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:672:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_deblocking_filter_hevc’
#  671|      const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
#  672|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
#  673|->    const StdVideoEncodeH265PictureInfo *pic = h265_picture_info->pStdPictureInfo;
#  674|      const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
#  675|      const StdVideoEncodeH265SliceSegmentHeader *slice = h265_slice->pStdSliceSegmentHeader;

Error: COMPILER_WARNING (CWE-563): [#def2187]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:717:8: warning[-Wunused-variable]: unused variable ‘slice_count’
#  717 |    int slice_count = h264_picture_info->naluSliceEntryCount;
#      |        ^~~~~~~~~~~
#  715|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  716|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  717|->    int slice_count = h264_picture_info->naluSliceEntryCount;
#  718|      const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  719|      const StdVideoH264SequenceParameterSet *sps =

Error: CLANG_WARNING: [#def2188]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:717:8: warning[deadcode.DeadStores]: Value stored to 'slice_count' during its initialization is never read
#  715|      const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
#  716|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  717|->    int slice_count = h264_picture_info->naluSliceEntryCount;
#  718|      const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  719|      const StdVideoH264SequenceParameterSet *sps =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2189]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:718:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:716:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:716:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
#  716|         vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
#  717|      int slice_count = h264_picture_info->naluSliceEntryCount;
#  718|->    const StdVideoEncodeH264PictureInfo *pic = h264_picture_info->pStdPictureInfo;
#  719|      const StdVideoH264SequenceParameterSet *sps =
#  720|         vk_video_find_h264_enc_std_sps(&cmd_buffer->video.params->vk, pic->seq_parameter_set_id);

Error: CLANG_WARNING: [#def2190]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:891:4: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
#  889|      instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
#  890|      num_bits[inst_index] = enc->bits_output - bits_copied;
#  891|->    bits_copied = enc->bits_output;
#  892|      inst_index++;
#  893|   

Error: CLANG_WARNING: [#def2191]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1104:10: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
# 1102|            instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
# 1103|            num_bits[inst_index] = enc->bits_output - bits_copied;
# 1104|->          bits_copied = enc->bits_output;
# 1105|            inst_index++;
# 1106|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2192]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1290:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1289:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1289:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
# 1288|            const struct VkVideoEncodeH264PictureInfoKHR *h264_picture_info =
# 1289|               vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H264_PICTURE_INFO_KHR);
# 1290|->          const VkVideoEncodeH264NaluSliceInfoKHR *h264_slice = &h264_picture_info->pNaluSliceEntries[0];
# 1291|            qp = h264_slice->constantQp;
# 1292|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2193]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1297:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1296:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1296:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_rc_per_pic’
# 1295|            const struct VkVideoEncodeH265PictureInfoKHR *h265_picture_info =
# 1296|               vk_find_struct_const(enc_info->pNext, VIDEO_ENCODE_H265_PICTURE_INFO_KHR);
# 1297|->          const VkVideoEncodeH265NaluSliceSegmentInfoKHR *h265_slice = &h265_picture_info->pNaluSliceSegmentEntries[0];
# 1298|            qp = h265_slice->constantQp;
# 1299|            break;

Error: CLANG_WARNING: [#def2194]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1503:10: warning[deadcode.DeadStores]: Value stored to 'preset_mode' is never read
# 1501|            vk_video_find_h265_enc_std_sps(&cmd_buffer->video.params->vk, pic->pps_seq_parameter_set_id);
# 1502|         if (sps->flags.sample_adaptive_offset_enabled_flag && vid->enc_preset_mode == RENCODE_PRESET_MODE_SPEED) {
# 1503|->          preset_mode = RENCODE_IB_OP_SET_BALANCE_ENCODING_MODE;
# 1504|            return;
# 1505|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2195]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1942:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1941:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1941:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
# 1940|         const struct VkVideoEncodeH264SessionParametersGetInfoKHR *h264_get_info =
# 1941|            vk_find_struct_const(pVideoSessionParametersInfo->pNext, VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR);
# 1942|->       if (h264_get_info->writeStdSPS) {
# 1943|            const StdVideoH264SequenceParameterSet *sps =
# 1944|               vk_video_find_h264_enc_std_sps(&templ->vk, h264_get_info->stdSPSId);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2196]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1960:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1959:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c:1959:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_GetEncodedVideoSessionParametersKHR’
# 1958|         const struct VkVideoEncodeH265SessionParametersGetInfoKHR *h265_get_info =
# 1959|            vk_find_struct_const(pVideoSessionParametersInfo->pNext, VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR);
# 1960|->       if (h265_get_info->writeStdVPS) {
# 1961|            const StdVideoH265VideoParameterSet *vps = vk_video_find_h265_enc_std_vps(&templ->vk, h265_get_info->stdVPSId);
# 1962|            assert(vps);

Error: CLANG_WARNING: [#def2197]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:500:4: warning[deadcode.DeadStores]: Value stored to 'r' is never read
#  498|      bo->cpu_map = NULL;
#  499|   
#  500|->    r = amdgpu_bo_export(buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
#  501|      assert(!r);
#  502|   

Error: CLANG_WARNING: [#def2198]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:757:4: warning[deadcode.DeadStores]: Value stored to 'r' is never read
#  755|      bo->cpu_map = NULL;
#  756|   
#  757|->    r = amdgpu_bo_export(result.buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
#  758|      assert(!r);
#  759|   

Error: CLANG_WARNING: [#def2199]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1162:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'handles'
# 1160|   
# 1161|   fail:
# 1162|->    u_rwlock_rdunlock(&ws->global_bo_list.lock);
# 1163|      STACK_ARRAY_FINISH(ibs);
# 1164|      return result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2200]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_winsys_cs_dump’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1463:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1461|               ac_parse_ib(&ib_parser, name);
# 1462|            } else {
# 1463|->             ibs[i] = mapped;
# 1464|               ib_dw_sizes[i] = ib->cdw;
# 1465|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2201]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1463:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 8’
# 1461|               ac_parse_ib(&ib_parser, name);
# 1462|            } else {
# 1463|->             ibs[i] = mapped;
# 1464|               ib_dw_sizes[i] = ib->cdw;
# 1465|            }

Error: CLANG_WARNING: [#def2202]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1463:20: warning[core.NullDereference]: Array access (from variable 'ibs') results in a null pointer dereference
# 1461|               ac_parse_ib(&ib_parser, name);
# 1462|            } else {
# 1463|->             ibs[i] = mapped;
# 1464|               ib_dw_sizes[i] = ib->cdw;
# 1465|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2203]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1464:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 4’
# 1462|            } else {
# 1463|               ibs[i] = mapped;
# 1464|->             ib_dw_sizes[i] = ib->cdw;
# 1465|            }
# 1466|         }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2204]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_winsys_cs_annotate’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1492: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
# 1490|         char *old_annotation = entry->data;
# 1491|         char *new_annotation = calloc(strlen(old_annotation) + strlen(annotation) + 5, 1);
# 1492|->       sprintf(new_annotation, "%s -> %s", old_annotation, annotation);
# 1493|         free(old_annotation);
# 1494|         _mesa_hash_table_insert(cs->annotations, _cs->buf + _cs->cdw, new_annotation);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def2205]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c: scope_hint: In function ‘radv_amdgpu_cs_alloc_timeline_syncobj_chunk’
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1697:33: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1695|   
# 1696|      if (queue_syncobj) {
# 1697|->       syncobj[count - 1].handle = queue_syncobj;
# 1698|         syncobj[count - 1].flags = 0;
# 1699|         syncobj[count - 1].point = 0;

Error: GCC_ANALYZER_WARNING (CWE-122): [#def2206]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1698:32: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1696|      if (queue_syncobj) {
# 1697|         syncobj[count - 1].handle = queue_syncobj;
# 1698|->       syncobj[count - 1].flags = 0;
# 1699|         syncobj[count - 1].point = 0;
# 1700|      }

Error: GCC_ANALYZER_WARNING (CWE-122): [#def2207]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1699:32: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
# 1697|         syncobj[count - 1].handle = queue_syncobj;
# 1698|         syncobj[count - 1].flags = 0;
# 1699|->       syncobj[count - 1].point = 0;
# 1700|      }
# 1701|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2208]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/null/radv_null_cs.c: scope_hint: In function ‘radv_null_cs_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2209]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/winsys/null/radv_null_winsys.c:69:12: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#   67|   
#   68|      for (i = CHIP_TAHITI; i < CHIP_LAST; i++) {
#   69|->       if (!strcasecmp(family, ac_get_family_name(i))) {
#   70|            /* Override family and gfx_level. */
#   71|            gpu_info->family = i;

Error: CLANG_WARNING: [#def2210]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/cle/v3d_decoder.c:170:29: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  168|   xstrdup(const char *s)
#  169|   {
#  170|->         return fail_on_null(strdup(s));
#  171|   }
#  172|   

Error: CLANG_WARNING: [#def2211]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/cle/v3d_decoder.c:265:35: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  263|           for (i = 0; atts[i]; i += 2) {
#  264|                   if (strcmp(atts[i], "num") == 0)
#  265|->                         *offset = strtoul(atts[i + 1], &p, 0);
#  266|           }
#  267|           return;

Error: CLANG_WARNING: [#def2212]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/cle/v3d_decoder.c:356:40: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  354|                           value->name = xstrdup(atts[i + 1]);
#  355|                   else if (strcmp(atts[i], "value") == 0)
#  356|->                         value->value = strtoul(atts[i + 1], NULL, 0);
#  357|           }
#  358|   

Error: CLANG_WARNING: [#def2213]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/cle/v3d_decoder.c:385:41: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  383|           for (i = 0; atts[i]; i += 2) {
#  384|                   if (strcmp(atts[i], "code") == 0)
#  385|->                         group->opcode = strtoul(atts[i + 1], &p, 0);
#  386|           }
#  387|           return;

Error: CLANG_WARNING: [#def2214]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/cle/v3d_decoder.c:669:9: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  667|   
#  668|           buf = XML_GetBuffer(ctx.parser, text_length);
#  669|->         memcpy(buf, &text_data[text_offset], text_length);
#  670|   
#  671|           if (XML_ParseBuffer(ctx.parser, text_length, true) == 0) {

Error: CPPCHECK_WARNING: [#def2215]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/clif/clif_dump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2216]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/clif/v3dx_dump.c: scope_hint: In function ‘clif_name’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2217]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/clif/v3dx_dump.c:52:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2218]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2219]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/nir_to_vir.c:3272:52: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3270|                           do {
# 3271|                                   struct qreg tmp;
# 3272|->                                 uint32_t mask = (1 << bit_size) - 1;
# 3273|                                   tmp = vir_AND(c, vir_MOV(c, data),
# 3274|                                                 vir_uniform_ui(c, mask));

Error: CLANG_WARNING: [#def2220]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/nir_to_vir.c:4747:38: warning[core.NullDereference]: Access to field 'is_last_thrsw' results in a dereference of a null pointer (loaded from field 'last_thrsw')
# 4745|   
# 4746|           assert(c->last_thrsw);
# 4747|->         c->last_thrsw->is_last_thrsw = true;
# 4748|   }
# 4749|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2221]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘process_mux_deps’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:162:53: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2222]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘process_mux_deps.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:165:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2223]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c: scope_hint: In function ‘calculate_deps’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:292:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:3015:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:514:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2224]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:2923:43: warning[core.NullDereference]: Dereference of null pointer
# 2921|                          block->branch_qpu_ip + 4);
# 2922|   
# 2923|->                 branch->qpu.branch.offset =
# 2924|                           ((block->successors[0]->start_qpu_ip -
# 2925|                             (block->branch_qpu_ip + 4)) *

Error: CLANG_WARNING: [#def2225]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/qpu_schedule.c:2958:33: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2956|                           while (slots_filled < delay_slot_count &&
# 2957|                                  qpu_inst_valid_in_branch_delay_slot(c, s_inst)) {
# 2958|->                                 memcpy(&slot->qpu, &s_inst->qpu,
# 2959|                                          sizeof(slot->qpu));
# 2960|                                   s_inst = (struct qinst *) s_inst->link.next;

Error: CLANG_WARNING: [#def2226]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/nir_to_vir.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1355:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1353|   #define VIR_A_NODST_0(name) VIR_NODST_0(name, vir_add_inst, V3D_QPU_A_##name)
# 1354|   
# 1355|-> VIR_A_ALU2(FADD)
# 1356|   VIR_A_ALU2(VFPACK)
# 1357|   VIR_A_ALU2(FSUB)

Error: CLANG_WARNING: [#def2227]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1356:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1354|   
# 1355|   VIR_A_ALU2(FADD)
# 1356|-> VIR_A_ALU2(VFPACK)
# 1357|   VIR_A_ALU2(FSUB)
# 1358|   VIR_A_ALU2(FMIN)

Error: CLANG_WARNING: [#def2228]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1357:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1355|   VIR_A_ALU2(FADD)
# 1356|   VIR_A_ALU2(VFPACK)
# 1357|-> VIR_A_ALU2(FSUB)
# 1358|   VIR_A_ALU2(FMIN)
# 1359|   VIR_A_ALU2(FMAX)

Error: CLANG_WARNING: [#def2229]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1358:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1356|   VIR_A_ALU2(VFPACK)
# 1357|   VIR_A_ALU2(FSUB)
# 1358|-> VIR_A_ALU2(FMIN)
# 1359|   VIR_A_ALU2(FMAX)
# 1360|   

Error: CLANG_WARNING: [#def2230]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1359:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1357|   VIR_A_ALU2(FSUB)
# 1358|   VIR_A_ALU2(FMIN)
# 1359|-> VIR_A_ALU2(FMAX)
# 1360|   
# 1361|   VIR_A_ALU2(ADD)

Error: CLANG_WARNING: [#def2231]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1361:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1359|   VIR_A_ALU2(FMAX)
# 1360|   
# 1361|-> VIR_A_ALU2(ADD)
# 1362|   VIR_A_ALU2(SUB)
# 1363|   VIR_A_ALU2(SHL)

Error: CLANG_WARNING: [#def2232]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1362:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1360|   
# 1361|   VIR_A_ALU2(ADD)
# 1362|-> VIR_A_ALU2(SUB)
# 1363|   VIR_A_ALU2(SHL)
# 1364|   VIR_A_ALU2(SHR)

Error: CLANG_WARNING: [#def2233]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1363:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1361|   VIR_A_ALU2(ADD)
# 1362|   VIR_A_ALU2(SUB)
# 1363|-> VIR_A_ALU2(SHL)
# 1364|   VIR_A_ALU2(SHR)
# 1365|   VIR_A_ALU2(ASR)

Error: CLANG_WARNING: [#def2234]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1364:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1362|   VIR_A_ALU2(SUB)
# 1363|   VIR_A_ALU2(SHL)
# 1364|-> VIR_A_ALU2(SHR)
# 1365|   VIR_A_ALU2(ASR)
# 1366|   VIR_A_ALU2(ROR)

Error: CLANG_WARNING: [#def2235]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1365:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1363|   VIR_A_ALU2(SHL)
# 1364|   VIR_A_ALU2(SHR)
# 1365|-> VIR_A_ALU2(ASR)
# 1366|   VIR_A_ALU2(ROR)
# 1367|   VIR_A_ALU2(MIN)

Error: CLANG_WARNING: [#def2236]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1367:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1365|   VIR_A_ALU2(ASR)
# 1366|   VIR_A_ALU2(ROR)
# 1367|-> VIR_A_ALU2(MIN)
# 1368|   VIR_A_ALU2(MAX)
# 1369|   VIR_A_ALU2(UMIN)

Error: CLANG_WARNING: [#def2237]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1368:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1366|   VIR_A_ALU2(ROR)
# 1367|   VIR_A_ALU2(MIN)
# 1368|-> VIR_A_ALU2(MAX)
# 1369|   VIR_A_ALU2(UMIN)
# 1370|   VIR_A_ALU2(UMAX)

Error: CLANG_WARNING: [#def2238]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1369:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1367|   VIR_A_ALU2(MIN)
# 1368|   VIR_A_ALU2(MAX)
# 1369|-> VIR_A_ALU2(UMIN)
# 1370|   VIR_A_ALU2(UMAX)
# 1371|   VIR_A_ALU2(AND)

Error: CLANG_WARNING: [#def2239]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1370:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1368|   VIR_A_ALU2(MAX)
# 1369|   VIR_A_ALU2(UMIN)
# 1370|-> VIR_A_ALU2(UMAX)
# 1371|   VIR_A_ALU2(AND)
# 1372|   VIR_A_ALU2(OR)

Error: CLANG_WARNING: [#def2240]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1371:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1369|   VIR_A_ALU2(UMIN)
# 1370|   VIR_A_ALU2(UMAX)
# 1371|-> VIR_A_ALU2(AND)
# 1372|   VIR_A_ALU2(OR)
# 1373|   VIR_A_ALU2(XOR)

Error: CLANG_WARNING: [#def2241]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1372:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1370|   VIR_A_ALU2(UMAX)
# 1371|   VIR_A_ALU2(AND)
# 1372|-> VIR_A_ALU2(OR)
# 1373|   VIR_A_ALU2(XOR)
# 1374|   VIR_A_ALU2(VADD)

Error: CLANG_WARNING: [#def2242]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1373:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1371|   VIR_A_ALU2(AND)
# 1372|   VIR_A_ALU2(OR)
# 1373|-> VIR_A_ALU2(XOR)
# 1374|   VIR_A_ALU2(VADD)
# 1375|   VIR_A_ALU2(VSUB)

Error: CLANG_WARNING: [#def2243]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1408:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1406|   VIR_A_NODST_1(VPMSETUP)
# 1407|   VIR_A_NODST_0(VPMWT)
# 1408|-> VIR_A_ALU2(FCMP)
# 1409|   VIR_A_ALU2(VFMAX)
# 1410|   

Error: CLANG_WARNING: [#def2244]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1428:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1426|   
# 1427|   VIR_M_ALU2(UMUL24)
# 1428|-> VIR_M_ALU2(FMUL)
# 1429|   VIR_M_ALU2(SMUL24)
# 1430|   VIR_M_NODST_2(MULTOP)

Error: CLANG_WARNING: [#def2245]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1430:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1428|   VIR_M_ALU2(FMUL)
# 1429|   VIR_M_ALU2(SMUL24)
# 1430|-> VIR_M_NODST_2(MULTOP)
# 1431|   
# 1432|   VIR_M_ALU1(MOV)

Error: CLANG_WARNING: [#def2246]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1432:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1430|   VIR_M_NODST_2(MULTOP)
# 1431|   
# 1432|-> VIR_M_ALU1(MOV)
# 1433|   VIR_M_ALU1(FMOV)
# 1434|   

Error: CLANG_WARNING: [#def2247]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1450:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1448|   VIR_SFU2(SHUFFLE)
# 1449|   
# 1450|-> VIR_A_ALU2(VPACK)
# 1451|   VIR_A_ALU2(V8PACK)
# 1452|   VIR_A_ALU2(V10PACK)

Error: CLANG_WARNING: [#def2248]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1451:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1449|   
# 1450|   VIR_A_ALU2(VPACK)
# 1451|-> VIR_A_ALU2(V8PACK)
# 1452|   VIR_A_ALU2(V10PACK)
# 1453|   VIR_A_ALU2(V11FPACK)

Error: CLANG_WARNING: [#def2249]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1452:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1450|   VIR_A_ALU2(VPACK)
# 1451|   VIR_A_ALU2(V8PACK)
# 1452|-> VIR_A_ALU2(V10PACK)
# 1453|   VIR_A_ALU2(V11FPACK)
# 1454|   

Error: CLANG_WARNING: [#def2250]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1453:1: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 1451|   VIR_A_ALU2(V8PACK)
# 1452|   VIR_A_ALU2(V10PACK)
# 1453|-> VIR_A_ALU2(V11FPACK)
# 1454|   
# 1455|   VIR_M_ALU1(FTOUNORM16)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2251]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir.c: scope_hint: In function ‘vir_add_inst’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2252]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir.c:2119:25: warning[unix.Malloc]: Use of memory after it is freed
# 2117|                                   list_first_entry(&block->instructions,
# 2118|                                                    struct qinst, link);
# 2119|->                         vir_remove_instruction(c, qinst);
# 2120|                   }
# 2121|           }

Error: CLANG_WARNING: [#def2253]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_dump.c:284:39: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  282|                   fprintf(stderr, ", ");
#  283|                   vir_print_reg(c, inst, inst->src[i]);
#  284|->                 fprintf(stderr, "%s", v3d_qpu_unpack_name(unpack[i]));
#  285|           }
#  286|   

Error: CLANG_WARNING: [#def2254]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_opt_constant_alu.c:70:55: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#   68|           case V3D_QPU_A_ADD:
#   69|                   c->cursor = vir_after_inst(inst);
#   70|->                 unif = vir_uniform_ui(c, values[0].ui + values[1].ui);
#   71|                   break;
#   72|   

Error: CLANG_WARNING: [#def2255]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_opt_constant_alu.c:77:37: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#   75|   
#   76|                   const uint32_t packed =
#   77|->                         (((uint32_t)_mesa_float_to_half(values[1].f)) << 16) |
#   78|                           _mesa_float_to_half(values[0].f);
#   79|   

Error: CLANG_WARNING: [#def2256]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_register_allocate.c:272:9: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  270|           const float tmu_scale = 10;
#  271|           float block_scale = 1.0;
#  272|->         float spill_costs[c->num_temps];
#  273|           bool in_tmu_operation = false;
#  274|           bool started_last_seg = false;

Error: CLANG_WARNING: [#def2257]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_register_allocate.c:1135:33: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1133|                   for (int i = 0; i < c->num_temps; i++) {
# 1134|                           if (c->temp_start[i] < ip && c->temp_end[i] > ip) {
# 1135|->                                 ra_add_node_interference(c->g,
# 1136|                                                            temp_to_node(c, i),
# 1137|                                                            acc_nodes[4]);

Error: CLANG_WARNING: [#def2258]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:336:50: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  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): [#def2259]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c: scope_hint: In function ‘v3d_generate_code_block’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1555:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2260]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:339:50: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  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): [#def2261]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1555:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2262]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:358:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1555:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2263]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:358:53: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  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): [#def2264]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:376:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1555:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2265]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:376:58: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  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): [#def2266]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:392:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:475:9: note: in expansion of macro ‘vir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1555:9: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:265:9: note: in expansion of macro ‘vir_for_each_inst_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2267]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir_to_qpu.c:392:58: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  390|                                   }
#  391|   
#  392|->                                 qinst->qpu.alu.mul.waddr = dst.index;
#  393|                                   qinst->qpu.alu.mul.magic_write = dst.magic;
#  394|   

Error: CPPCHECK_WARNING: [#def2268]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/qpu/qpu_disasm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2269]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/qpu/qpu_pack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2270]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/qpu/tests/qpu_disasm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2271]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_bo.c:260:10: warning[deadcode.DeadStores]: Value stored to 'cleared_and_retried' is never read
#  258|         if (!list_is_empty(&device->bo_cache.time_list) &&
#  259|             !cleared_and_retried) {
#  260|->          cleared_and_retried = true;
#  261|            bo_cache_free_all(device, true);
#  262|            goto retry;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2272]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cl.h:105:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/simulator/v3d_simulator.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:100: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1437:1: note: in expansion of macro ‘v3dX’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1469:7: note: in expansion of macro ‘v3dX’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1153:1: note: in expansion of macro ‘v3dX’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1171:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1171:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:194:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:194:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:224:7: note: in expansion of macro ‘cl_emit’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:235:10: note: in expansion of macro ‘cl_emit’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c: scope_hint: In function ‘v3d42_meta_emit_fill_buffer_rcl’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:1118:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_meta_common.c:254:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2273]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘job_destroy_cloned_gpu_cl_resources’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2274]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:1255:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4591:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4594:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4649:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1253|   
# 1254|      if (clear_depth)
# 1255|->       attachment_state->clear_value.z = ds->depth;
# 1256|   
# 1257|      if (clear_stencil)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2275]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:1258:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4591:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4594:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4649:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1256|   
# 1257|      if (clear_stencil)
# 1258|->       attachment_state->clear_value.s = ds->stencil;
# 1259|   
# 1260|      attachment_state->vk_clear_value.depthStencil = *ds;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2276]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:1260:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘cmd_buffer_state_set_clear_values’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4591:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4594:4: note: in expansion of macro ‘v3dv_return_if_oom’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_cmd_buffer.c:4649:4: note: in expansion of macro ‘v3dv_return_if_oom’
# 1258|         attachment_state->clear_value.s = ds->stencil;
# 1259|   
# 1260|->    attachment_state->vk_clear_value.depthStencil = *ds;
# 1261|   }
# 1262|   

Error: CLANG_WARNING: [#def2277]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c:100:23: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'dynamic_offset')
#   98|            binding_layout->dynamic_offset_index + array_index;
#   99|   
#  100|->       *dynamic_offset = descriptor_state->dynamic_offsets[dynamic_offset_index];
#  101|      }
#  102|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2278]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c: scope_hint: In function ‘write_image_descriptor’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2279]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c: scope_hint: In function ‘v3dv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c:1277:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c:1270:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_descriptor_set.c:1270:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2280]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘create_physical_device’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:859: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.1.2-build/mesa-24.1.2/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
#  857|         /* Open the primary node on the vc4 display device */
#  858|         assert(display_device);
#  859|->       display_fd = open(primary_path, O_RDWR | O_CLOEXEC);
#  860|   #else
#  861|         /* There is only one device with primary and render nodes.

Error: CLANG_WARNING: [#def2281]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:859:20: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  857|         /* Open the primary node on the vc4 display device */
#  858|         assert(display_device);
#  859|->       display_fd = open(primary_path, O_RDWR | O_CLOEXEC);
#  860|   #else
#  861|         /* There is only one device with primary and render nodes.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2282]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘bind_image_memory’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:2452:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:2434:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:2434:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘bind_image_memory’
# 2450|          * So planeAspect should only refer to one plane.
# 2451|          */
# 2452|->       uint8_t plane = v3dv_plane_from_aspect(plane_mem_info->planeAspect);
# 2453|         assert(offset % image->planes[plane].alignment == 0);
# 2454|         image->planes[plane].mem = mem;

Error: COMPILER_WARNING (CWE-563): [#def2283]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘v3dv_setup_dynamic_framebuffer’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:2779:29: warning[-Wunused-variable]: unused variable ‘pass’
# 2779 |    struct v3dv_render_pass *pass = &cmd_buffer->state.dynamic_pass;
#      |                             ^~~~
# 2777|      fb->layers = info->viewMask == 0 ? info->layerCount : 1;
# 2778|   
# 2779|->    struct v3dv_render_pass *pass = &cmd_buffer->state.dynamic_pass;
# 2780|      assert(pass->subpass_count == 1 && pass->subpasses);
# 2781|      assert(pass->subpasses[0].color_count == info->colorAttachmentCount);

Error: CLANG_WARNING: [#def2284]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_device.c:2779:29: warning[deadcode.DeadStores]: Value stored to 'pass' during its initialization is never read
# 2777|      fb->layers = info->viewMask == 0 ? info->layerCount : 1;
# 2778|   
# 2779|->    struct v3dv_render_pass *pass = &cmd_buffer->state.dynamic_pass;
# 2780|      assert(pass->subpass_count == 1 && pass->subpasses);
# 2781|      assert(pass->subpasses[0].color_count == info->colorAttachmentCount);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2285]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c: scope_hint: In function ‘v3dv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:445:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:665:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:665:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c: scope_hint: In function ‘v3dv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:425:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:425:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:428:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c:428:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_image.c: scope_hint: In function ‘v3dv_image_init’
#  443|            }
#  444|         } else {
#  445|->          modifier = explicit_mod_info->drmFormatModifier;
#  446|         }
#  447|         assert(modifier == DRM_FORMAT_MOD_LINEAR ||

Error: CLANG_WARNING: [#def2286]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_clear.c:763:4: warning[deadcode.DeadStores]: Value stored to 'bit_offset' is never read
#  761|   
#  762|      key |= (is_layered ? 1ull : 0ull) << bit_offset;
#  763|->    bit_offset += 1;
#  764|   
#  765|      assert(bit_offset <= 64);

Error: CLANG_WARNING: [#def2287]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_clear.c:793:4: warning[deadcode.DeadStores]: Value stored to 'bit_offset' is never read
#  791|   
#  792|      key |= (is_layered ? 1ull : 0ull) << bit_offset;
#  793|->    bit_offset += 1;
#  794|   
#  795|      assert(bit_offset <= 64);

Error: CLANG_WARNING: [#def2288]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c:1471:7: warning[deadcode.DeadStores]: Value stored to 'format' is never read
# 1469|         assert(src->planes[src_plane].cpp == dst->planes[dst_plane].cpp);
# 1470|   
# 1471|->       format = VK_FORMAT_R32G32_UINT;
# 1472|         switch (src->planes[src_plane].cpp) {
# 1473|         case 16:

Error: COMPILER_WARNING (CWE-563): [#def2289]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_image_linear_texel_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c:1596:12: warning[-Wunused-variable]: unused variable ‘dst_plane’
# 1596 |    uint8_t dst_plane =
#      |            ^~~~~~~~~
# 1594|      uint8_t src_plane =
# 1595|         v3dv_plane_from_aspect(region->srcSubresource.aspectMask);
# 1596|->    uint8_t dst_plane =
# 1597|         v3dv_plane_from_aspect(region->dstSubresource.aspectMask);
# 1598|   

Error: CLANG_WARNING: [#def2290]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c:1596:12: warning[deadcode.DeadStores]: Value stored to 'dst_plane' during its initialization is never read
# 1594|      uint8_t src_plane =
# 1595|         v3dv_plane_from_aspect(region->srcSubresource.aspectMask);
# 1596|->    uint8_t dst_plane =
# 1597|         v3dv_plane_from_aspect(region->dstSubresource.aspectMask);
# 1598|   

Error: CLANG_WARNING: [#def2291]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c:2127:4: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 2125|   
# 2126|      memcpy(p, cswizzle, sizeof(VkComponentMapping));
# 2127|->    p += sizeof(VkComponentMapping) / sizeof(uint32_t);
# 2128|   
# 2129|      assert(((uint8_t*)p - key) == V3DV_META_TEXEL_BUFFER_COPY_CACHE_KEY_SIZE);

Error: COMPILER_WARNING (CWE-563): [#def2292]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_buffer_to_image_shader’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_meta_copy.c:3092:9: warning[-Wunused-variable]: unused variable ‘is_plane_aspect’
# 3092 |    bool is_plane_aspect = aspect & any_plane_aspect;
#      |         ^~~~~~~~~~~~~~~
# 3090|         VK_IMAGE_ASPECT_PLANE_2_BIT;
# 3091|   
# 3092|->    bool is_plane_aspect = aspect & any_plane_aspect;
# 3093|   
# 3094|      /* Generally, the bpp of the data in the buffer matches that of the

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2293]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pass.c: scope_hint: In function ‘v3dv_CreateRenderPass2’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2294]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pass.c:230:43: warning[core.NullDereference]: Array access (via field 'input_attachments') results in a null pointer dereference
#  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): [#def2295]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2296]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pass.c:242:43: warning[core.NullDereference]: Array access (via field 'color_attachments') results in a null pointer dereference
#  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: CLANG_WARNING: [#def2297]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:775:7: warning[deadcode.DeadStores]: Value stored to 'index' is never read
#  773|   
#  774|      if (index)
#  775|->       index = nir_umin(b, index, nir_imm_int(b, array_elements - 1));
#  776|   
#  777|      uint32_t set = deref->var->data.descriptor_set;

Error: COMPILER_WARNING (CWE-563): [#def2298]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_fs_key’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1174:24: warning[-Wunused-variable]: unused variable ‘device’
# 1174 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1172|      memset(key, 0, sizeof(*key));
# 1173|   
# 1174|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1175|      assert(device);
# 1176|   

Error: CLANG_WARNING: [#def2299]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1174:24: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 1172|      memset(key, 0, sizeof(*key));
# 1173|   
# 1174|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1175|      assert(device);
# 1176|   

Error: COMPILER_WARNING (CWE-563): [#def2300]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_gs_key’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1262:24: warning[-Wunused-variable]: unused variable ‘device’
# 1262 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1260|             p_stage->stage == BROADCOM_SHADER_GEOMETRY_BIN);
# 1261|   
# 1262|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1263|      assert(device);
# 1264|   

Error: CLANG_WARNING: [#def2301]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1262:24: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 1260|             p_stage->stage == BROADCOM_SHADER_GEOMETRY_BIN);
# 1261|   
# 1262|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1263|      assert(device);
# 1264|   

Error: COMPILER_WARNING (CWE-563): [#def2302]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_vs_key’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1306:24: warning[-Wunused-variable]: unused variable ‘device’
# 1306 |    struct v3dv_device *device = p_stage->pipeline->device;
#      |                        ^~~~~~
# 1304|             p_stage->stage == BROADCOM_SHADER_VERTEX_BIN);
# 1305|   
# 1306|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1307|      assert(device);
# 1308|   

Error: CLANG_WARNING: [#def2303]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1306:24: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 1304|             p_stage->stage == BROADCOM_SHADER_VERTEX_BIN);
# 1305|   
# 1306|->    struct v3dv_device *device = p_stage->pipeline->device;
# 1307|      assert(device);
# 1308|   

Error: COMPILER_WARNING (CWE-563): [#def2304]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_graphics_key’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1978:24: warning[-Wunused-variable]: unused variable ‘device’
# 1978 |    struct v3dv_device *device = pipeline->device;
#      |                        ^~~~~~
# 1976|                                  const VkGraphicsPipelineCreateInfo *pCreateInfo)
# 1977|   {
# 1978|->    struct v3dv_device *device = pipeline->device;
# 1979|      assert(device);
# 1980|   

Error: CLANG_WARNING: [#def2305]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:1978:24: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 1976|                                  const VkGraphicsPipelineCreateInfo *pCreateInfo)
# 1977|   {
# 1978|->    struct v3dv_device *device = pipeline->device;
# 1979|      assert(device);
# 1980|   

Error: COMPILER_WARNING (CWE-563): [#def2306]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_compute_key’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:2067:24: warning[-Wunused-variable]: unused variable ‘device’
# 2067 |    struct v3dv_device *device = pipeline->device;
#      |                        ^~~~~~
# 2065|                                 const VkComputePipelineCreateInfo *pCreateInfo)
# 2066|   {
# 2067|->    struct v3dv_device *device = pipeline->device;
# 2068|      assert(device);
# 2069|   

Error: CLANG_WARNING: [#def2307]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:2067:24: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 2065|                                 const VkComputePipelineCreateInfo *pCreateInfo)
# 2066|   {
# 2067|->    struct v3dv_device *device = pipeline->device;
# 2068|      assert(device);
# 2069|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2308]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_collect_executable_data.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3561:1: warning[-Wanalyzer-malloc-leak]: leak of ‘util_dynarray_grow_bytes(&*pipeline.executables.data, 1, 24)’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/rmv/vk_rmv_common.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_debug.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3558:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3558:7: note: in expansion of macro ‘util_dynarray_append’
# 3559|                              struct v3dv_pipeline_executable_data, data);
# 3560|      }
# 3561|-> }
# 3562|   
# 3563|   static const struct v3dv_pipeline_executable_data *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2309]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3678:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:260:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3674:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:260:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3674:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:260:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3674:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3674:7: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_pipeline.c:3475:11: note: in definition of macro ‘WRITE_STR’
# 3676|            WRITE_STR(stat->description, "Chosen compile strategy index");
# 3677|            stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
# 3678|->          stat->value.u64 = prog_data->compile_strategy_idx;
# 3679|         }
# 3680|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2310]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h: scope_hint: In function ‘v3dv_flag_oom.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:2647:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h: scope_hint: In function ‘v3dv_flag_oom.part.0’
# 2645|      } else {
# 2646|         assert(job);
# 2647|->       if (job->cmd_buffer)
# 2648|            job->cmd_buffer->state.oom = true;
# 2649|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2311]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:173:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_descriptor_update_template.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘set_in_syncs’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/disk_cache.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/nir_spirv.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_private.h:83: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def2312]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_reset_query_cpu_job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:329:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2313]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:329:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2314]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:367:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2315]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:367:73: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2316]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:368:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kperfmon_ids’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2317]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:377:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'reset.kperfmon_ids'
#  375|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  376|            if (!ms.base.id)
#  377|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  378|         }
#  379|   

Error: CLANG_WARNING: [#def2318]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:377:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'reset.syncs'
#  375|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  376|            if (!ms.base.id)
#  377|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  378|         }
#  379|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2319]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_end_query_cpu_job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:517:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def2320]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:533:7: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2321]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_copy_query_results_cpu_job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:572:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2322]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:592:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘offsets’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2323]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:593:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2324]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:593:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2325]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:602:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'copy.offsets'
#  600|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  601|            if (!ms.base.id)
#  602|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  603|         } else {
#  604|            assert(info->pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR);

Error: CLANG_WARNING: [#def2326]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:602:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'submit.bo_handles'
#  600|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  601|            if (!ms.base.id)
#  602|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  603|         } else {
#  604|            assert(info->pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR);

Error: CLANG_WARNING: [#def2327]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:655:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'copy.kperfmon_ids'
#  653|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  654|            if (!ms.base.id)
#  655|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  656|         }
#  657|   

Error: CLANG_WARNING: [#def2328]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:655:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'copy.syncs'
#  653|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  654|            if (!ms.base.id)
#  655|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  656|         }
#  657|   

Error: CLANG_WARNING: [#def2329]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:655:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'offsets'
#  653|                          V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  654|            if (!ms.base.id)
#  655|->             return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  656|         }
#  657|   

Error: CLANG_WARNING: [#def2330]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:777:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'timestamp.offsets'
#  775|   	         V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  776|      if (!ms.base.id)
#  777|->       return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  778|   
#  779|      submit.flags |= DRM_V3D_SUBMIT_EXTENSION;

Error: CLANG_WARNING: [#def2331]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:777:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'timestamp.syncs'
#  775|   	         V3DV_QUEUE_CPU, V3DV_QUEUE_CPU, V3D_CPU, signal_syncs);
#  776|      if (!ms.base.id)
#  777|->       return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
#  778|   
#  779|      submit.flags |= DRM_V3D_SUBMIT_EXTENSION;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2332]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_cl_job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:952:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/nir_spirv.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2333]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1002:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'submit.bo_handles'
# 1000|                    V3DV_QUEUE_CL, V3DV_QUEUE_CL, wait_stage, signal_syncs);
# 1001|      if (!ms.base.id)
# 1002|->       return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
# 1003|   
# 1004|      submit.flags |= DRM_V3D_SUBMIT_EXTENSION;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2334]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_csd_job’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1100:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_queue.c:1236:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2335]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_uniforms.c:274:32: warning[core.NullDereference]: Access to field 'offset' results in a dereference of a null pointer (loaded from field 'bo')
#  272|         assert(resource->bo);
#  273|   
#  274|->       cl_aligned_u32(uniforms, resource->bo->offset +
#  275|                                  resource->offset +
#  276|                                  offset + dynamic_offset);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2336]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dv_uniforms.c: scope_hint: In function ‘write_ubo_ssbo_uniforms’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2337]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/vulkan/v3dvx_pipeline.c:609:10: warning[deadcode.DeadStores]: Value stored to 'attr_type' is never read
#  607|                    "format %s unsupported\n",
#  608|                    desc->name);
#  609|->          attr_type = ATTRIBUTE_BYTE;
#  610|            abort();
#  611|         }

Error: CLANG_WARNING: [#def2338]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:245:11: warning[core.NullDereference]: Access to field 'ir_type' results in a dereference of a null pointer (loaded from variable 'actual')
#  243|         /* Verify that 'const_in' parameters are ir_constants. */
#  244|         if (formal->data.mode == ir_var_const_in &&
#  245|->           actual->ir_type != ir_type_constant) {
#  246|            _mesa_glsl_error(&loc, state,
#  247|                             "parameter `in %s' must be a constant expression",

Error: CLANG_WARNING: [#def2339]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:257:14: warning[core.NullDereference]: Access to field 'ir_type' results in a dereference of a null pointer (loaded from variable 'val')
#  255|   
#  256|            /* GLSL 4.40 allows swizzles, while earlier GLSL versions do not. */
#  257|->          if (val->ir_type == ir_type_swizzle) {
#  258|               if (!state->is_version(440, 0)) {
#  259|                  _mesa_glsl_error(&loc, state,

Error: CLANG_WARNING: [#def2340]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:313:29: warning[core.CallAndMessage]: Called C++ object pointer is null
#  311|            }
#  312|   
#  313|->          ir_variable *var = actual->variable_referenced();
#  314|   
#  315|            if (var && formal->data.mode == ir_var_function_inout) {

Error: CLANG_WARNING: [#def2341]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:344:29: warning[core.CallAndMessage]: Called C++ object pointer is null
#  342|            assert(formal->data.mode == ir_var_function_in ||
#  343|                   formal->data.mode == ir_var_const_in);
#  344|->          ir_variable *var = actual->variable_referenced();
#  345|            if (var) {
#  346|               if ((var->data.mode == ir_var_auto ||

Error: CLANG_WARNING: [#def2342]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:413:7: warning[deadcode.DeadStores]: Value stored to 'ir' is never read
#  411|      if (ir->ir_type == ir_type_dereference_array) {
#  412|         ir_dereference_array *a = (ir_dereference_array *) ir;
#  413|->       ir = a->array->as_dereference();
#  414|   
#  415|         ir_rvalue *idx = a->array_index;

Error: CLANG_WARNING: [#def2343]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ast_function.cpp:1125:34: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1123|   
# 1124|      /* Try constant folding; it may fold in the conversion we just added. */
# 1125|->    ir_constant *const constant = result->constant_expression_value(ctx);
# 1126|      return (constant != NULL) ? (ir_rvalue *) constant : (ir_rvalue *) result;
# 1127|   }

Error: CLANG_WARNING: [#def2344]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/builtin_variables.cpp:682:3: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  680|   	    &statevar->elements[j];
#  681|   
#  682|-> 	 memcpy(slots->tokens, element->tokens, sizeof(element->tokens));
#  683|   	 if (glsl_type_is_array(type))
#  684|               slots->tokens[1] = a;

Error: CLANG_WARNING: [#def2345]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_detect_function_recursion.c:219:49: warning[core.NullDereference]: Dereference of null pointer
#  217|      for ( ; i < sig->num_params; i++) {
#  218|         ralloc_asprintf_append(&str, "%s%s", comma,
#  219|->                              glsl_get_type_name(sig->params[i].type));
#  220|         comma = ", ";
#  221|      }

Error: CLANG_WARNING: [#def2346]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:762:61: warning[core.NullDereference]: Access to field 'array' results in a dereference of a null pointer (loaded from variable 'ub_array')
#  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|   
#  764|         const struct glsl_type *new_child_type =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2347]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘resize_block_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:762:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:957:7: note: in expansion of macro ‘hash_table_foreach’
#  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|   
#  764|         const struct glsl_type *new_child_type =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2348]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:767:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:957: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: CLANG_WARNING: [#def2349]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:767:42: warning[core.NullDereference]: Access to field 'num_array_elements' results in a dereference of a null pointer (loaded from variable 'ub_array')
#  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: CLANG_WARNING: [#def2350]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:1015:23: warning[core.NullDereference]: Dereference of null pointer
# 1013|      const struct glsl_type *type = glsl_without_array(blk_type);
# 1014|   
# 1015|->    block->name.string = is_spirv ? NULL : ralloc_strdup(blocks, name);
# 1016|      resource_name_updated(&block->name);
# 1017|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2351]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘fill_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:1024:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘fill_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:1173:7: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:1173:7: note: in expansion of macro ‘hash_table_foreach’
# 1022|       *     and OpenGL
# 1023|       */
# 1024|->    block->Binding =
# 1025|         var->data.explicit_binding ? var->data.binding + binding_offset : 0;
# 1026|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2352]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘add_var_use_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:499:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ainfo’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:519:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:520:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2353]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:969:55: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'name')
#  967|      } else {
#  968|         struct hash_entry *entry =
#  969|->          _mesa_hash_table_search(state->uniform_hash, *name);
#  970|         if (entry) {
#  971|            unsigned i = (unsigned) (intptr_t) entry->data;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2354]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘build_type_tree_for_type’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:1100:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c:1636:7: note: in expansion of macro ‘nir_foreach_gl_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniforms.c: scope_hint: In function ‘build_type_tree_for_type’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.h:52:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2355]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2462:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var2_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2448:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2448:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
# 2460|                        *var1_written = true;
# 2461|                     else if (var == var2)
# 2462|->                      *var2_written = true;
# 2463|                     else if (var == var3)
# 2464|                        *var3_written = true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2356]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2464:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var3_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2447:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2448:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2448:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c:2449:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_linker.c: scope_hint: In function ‘find_assignments’
# 2462|                        *var2_written = true;
# 2463|                     else if (var == var3)
# 2464|->                      *var3_written = true;
# 2465|                  }
# 2466|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2357]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c:122:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2358]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c: scope_hint: In function ‘flatten_named_interface_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:157:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:368:10: note: in expansion of macro ‘NIR_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘flatten_named_interface_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2359]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_packed_varyings.c:825:19: warning[deadcode.DeadStores]: Value stored to 'ssa_def' during its initialization is never read
#  823|            }
#  824|   
#  825|->          nir_def *ssa_def = &packed_deref->def;
#  826|            ssa_def = nir_load_deref(&state->b, packed_deref);
#  827|            nir_def *swizzle =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2360]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘record_images_used’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:129:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘record_images_used’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘record_images_used’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2361]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c: scope_hint: In function ‘lower_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2362]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘get_deref’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2363]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2364]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:99:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘consumer_info.texcoord_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:153:5: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:188:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2365]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:359:31: warning[core.NullDereference]: Access to field 'Program' results in a dereference of a null pointer (loaded from variable 'shader')
#  357|       */
#  358|      if (info->lower_texcoord_array) {
#  359|->       prepare_array(&rv_data, shader->Program->nir, rv_data.new_texcoord,
#  360|                       ARRAY_SIZE(rv_data.new_texcoord),
#  361|                       VARYING_SLOT_TEX0, "TexCoord", mode_str,

Error: GCC_ANALYZER_WARNING (CWE-465): [#def2366]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/glcpp-parse.y: scope_hint: In function ‘_token_list_equal_ignoring_space’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2367]
mesa-24.1.2-build/mesa-24.1.2/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): [#def2368]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2369]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/pp.c:194:5: warning[deadcode.DeadStores]: Value stored to 'search_start' is never read
#  192|   				}
#  193|   				shader = skip_newline (newline);
#  194|-> 				search_start = shader;
#  195|   			}
#  196|   		}

Error: CLANG_WARNING: [#def2370]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:51:35: warning[core.NullDereference]: Array access (via field 'f') results in a null pointer dereference
#   49|      float result = 0;
#   50|      for (unsigned c = 0; c < glsl_get_components(op0->type); c++)
#   51|->       result += op0->value.f[c] * op1->value.f[c];
#   52|   
#   53|      return result;

Error: CLANG_WARNING: [#def2371]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:63:35: warning[core.NullDereference]: Array access (via field 'd') results in a null pointer dereference
#   61|      double result = 0;
#   62|      for (unsigned c = 0; c < glsl_get_components(op0->type); c++)
#   63|->       result += op0->value.d[c] * op1->value.d[c];
#   64|   
#   65|      return result;

Error: CLANG_WARNING: [#def2372]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_constant_expression.cpp:814:42: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
#  812|         }
#  813|   
#  814|->    bool op0_scalar = glsl_type_is_scalar(op[0]->type);
#  815|      bool op1_scalar = op[1] != NULL && glsl_type_is_scalar(op[1]->type);
#  816|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2373]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2374]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cursor.<Udbe0>.block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2375]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘nir_instr_remove’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2376]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:151:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_comparison_pre.c: scope_hint: In function ‘exec_list_pop_head’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2377]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir_function_detect_recursion.cpp:123: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/ir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:151:18: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'next')
#  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: CLANG_WARNING: [#def2378]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_conditional_discard.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:370:11: warning[core.NullDereference]: Dereference of null pointer
#  368|       * because they save a pointer dereference.
#  369|       */
#  370|->    return list->head_sentinel.next == &list->tail_sentinel;
#  371|   }
#  372|   

Error: CLANG_WARNING: [#def2379]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_comparison_pre.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:389:4: warning[unix.Malloc]: Use of memory after it is freed
#  387|   exec_list_get_head(struct exec_list *list)
#  388|   {
#  389|->    return !exec_list_is_empty(list) ? list->head_sentinel.next : NULL;
#  390|   }
#  391|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2380]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘iris_create_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:64: warning[-Wanalyzer-malloc-leak]: leak of ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/util/blend.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254: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: CLANG_WARNING: [#def2381]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:373:51: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  371|   
#  372|            column_expr = new(mem_ctx) ir_expression(orig_expr->operation,
#  373|->                                                   get_column(op[0], i));
#  374|   
#  375|            column_assign = new(mem_ctx) ir_assignment(get_column(result, i),

Error: CLANG_WARNING: [#def2382]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:395:51: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  393|   
#  394|            column_expr = new(mem_ctx) ir_expression(orig_expr->operation,
#  395|->                                                   get_column(op[0], i),
#  396|                                                     get_column(op[1], i));
#  397|   

Error: CLANG_WARNING: [#def2383]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:396:51: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  394|            column_expr = new(mem_ctx) ir_expression(orig_expr->operation,
#  395|                                                     get_column(op[0], i),
#  396|->                                                   get_column(op[1], i));
#  397|   
#  398|            column_assign = new(mem_ctx) ir_assignment(get_column(result, i),

Error: CLANG_WARNING: [#def2384]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:406:31: warning[core.NullDereference]: Access to field 'type' results in a dereference of an undefined pointer value
#  404|      }
#  405|      case ir_binop_mul:
#  406|->       if (glsl_type_is_matrix(op[0]->type)) {
#  407|            if (glsl_type_is_matrix(op[1]->type)) {
#  408|               do_mul_mat_mat(result, op[0], op[1]);

Error: CLANG_WARNING: [#def2385]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:407:34: warning[core.NullDereference]: Access to field 'type' results in a dereference of an undefined pointer value
#  405|      case ir_binop_mul:
#  406|         if (glsl_type_is_matrix(op[0]->type)) {
#  407|->          if (glsl_type_is_matrix(op[1]->type)) {
#  408|               do_mul_mat_mat(result, op[0], op[1]);
#  409|            } else if (glsl_type_is_vector(op[1]->type)) {

Error: CLANG_WARNING: [#def2386]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:418:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  416|            assert(glsl_type_is_matrix(op[1]->type));
#  417|            if (glsl_type_is_vector(op[0]->type)) {
#  418|->             do_mul_vec_mat(result, op[0], op[1]);
#  419|            } else {
#  420|               assert(glsl_type_is_scalar(op[0]->type));

Error: CLANG_WARNING: [#def2387]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:421:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  419|            } else {
#  420|               assert(glsl_type_is_scalar(op[0]->type));
#  421|->             do_mul_mat_scalar(result, op[1], op[0]);
#  422|            }
#  423|         }

Error: CLANG_WARNING: [#def2388]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/lower_mat_op_to_vec.cpp:428:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  426|      case ir_binop_all_equal:
#  427|      case ir_binop_any_nequal:
#  428|->       do_equal_mat_mat(result, op[1], op[0],
#  429|                          (orig_expr->operation == ir_binop_all_equal));
#  430|         break;

Error: CLANG_WARNING: [#def2389]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/opt_function_inlining.cpp:296:11: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  294|   
#  295|         /* Move our param variable into the actual param if it's an 'out' type. */
#  296|->       if (parameters[i] && (sig_param->data.mode == ir_var_function_out ||
#  297|   			    sig_param->data.mode == ir_var_function_inout)) {
#  298|   	 ir_assignment *assign;

Error: CPPCHECK_WARNING: [#def2390]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/s_expression.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-252): [#def2391]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:4147: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_error’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2392]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/isa/ir3-isa.c:14022: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/isa/ir3-isa.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/freedreno/isa/ir3-isa.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:971:55: note: in expansion of macro ‘BITSET_WORDS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:306:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:309:17: note: in expansion of macro ‘BITSET_NOT’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:311:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:52:43: note: in definition of macro ‘BITSET_EQUAL’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:333:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h: scope_hint: In function ‘display_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2393]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:4147: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:306:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:309:17: note: in expansion of macro ‘BITSET_NOT’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:311:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:333:17: note: in expansion of macro ‘BITSET_AND’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:335:21: note: in expansion of macro ‘BITSET_COUNT’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_field’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2394]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘isa_disasm’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/isaspec/isaspec_decode_impl.c:971:55: note: in expansion of macro ‘BITSET_WORDS’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2395]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2100:10: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 2098|               preserved = nir_metadata_none;
# 2099|   
# 2100|->          list_for_each_entry_safe(nir_src, use_src, &old_uses, use_link)
# 2101|               nir_src_rewrite(use_src, new_def);
# 2102|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2396]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_src_type’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2959:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_src_type’
# 2957|         nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]);
# 2958|         if (src == 1)
# 2959|->          return nir_get_nir_type_for_glsl_type(deref->type);
# 2960|         break;
# 2961|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2397]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_dest_type’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2998:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_intrinsic_instr_dest_type’
# 2996|      case nir_intrinsic_load_deref: {
# 2997|         nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]);
# 2998|->       return nir_get_nir_type_for_glsl_type(deref->type);
# 2999|      }
# 3000|   

Error: CLANG_WARNING: [#def2398]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_ubo_vec4.c:63: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1175:11: warning[core.NullDereference]: Access to field 'parent_instr' results in a dereference of a null pointer (loaded from field 'ssa')
# 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): [#def2399]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1175:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_ubo_vec4.c: scope_hint: In function ‘nir_vector_extract’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_ubo_vec4.c:64: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_extract’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_extract’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_ubo_vec4.c: scope_hint: In function ‘nir_vector_extract’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2400]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1728:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_instr_set.c: scope_hint: In function ‘nir_intrinsic_can_reorder’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_intrinsic_can_reorder’
# 1726|      assert(!(modes & ~nir_var_all));
# 1727|      assert(deref->modes != 0);
# 1728|->    return deref->modes & modes;
# 1729|   }
# 1730|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2401]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1728:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_with_deref’
# 1726|      assert(!(modes & ~nir_var_all));
# 1727|      assert(deref->modes != 0);
# 1728|->    return deref->modes & modes;
# 1729|   }
# 1730|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2402]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1744:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:36:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
# 1742|      assert(!(modes & ~nir_var_all));
# 1743|      assert(deref->modes != 0);
# 1744|->    return !(deref->modes & ~modes);
# 1745|   }
# 1746|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2403]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1744:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:506:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node’
# 1742|      assert(!(modes & ~nir_var_all));
# 1743|      assert(deref->modes != 0);
# 1744|->    return !(deref->modes & ~modes);
# 1745|   }
# 1746|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2404]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1770:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_link_opt_varyings’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1347:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1347:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_link_opt_varyings’
# 1768|      }
# 1769|   
# 1770|->    return deref->modes == mode;
# 1771|   }
# 1772|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2405]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1770:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_constant_folding.c: scope_hint: In function ‘const_value_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_constant_folding.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘const_value_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_constant_folding.c: scope_hint: In function ‘const_value_for_deref’
# 1768|      }
# 1769|   
# 1770|->    return deref->modes == mode;
# 1771|   }
# 1772|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2406]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1819:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘operand’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘combine_stores_block’
# 1817|   nir_deref_instr_parent(const nir_deref_instr *instr)
# 1818|   {
# 1819|->    if (instr->deref_type == nir_deref_type_var)
# 1820|         return NULL;
# 1821|      else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2407]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1819:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src_head’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘clone_deref_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘clone_deref_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘clone_deref_array’
# 1817|   nir_deref_instr_parent(const nir_deref_instr *instr)
# 1818|   {
# 1819|->    if (instr->deref_type == nir_deref_type_var)
# 1820|         return NULL;
# 1821|      else

Error: CLANG_WARNING: [#def2408]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_shader_util.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1828:11: warning[core.NullDereference]: Access to field 'deref_type' results in a dereference of a null pointer (loaded from variable 'instr')
# 1826|   nir_deref_instr_get_variable(const nir_deref_instr *instr)
# 1827|   {
# 1828|->    while (instr->deref_type != nir_deref_type_var) {
# 1829|         if (instr->deref_type == nir_deref_type_cast)
# 1830|            return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2409]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_deref_instr_get_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1828:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_deref_instr_get_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_deref_instr_get_variable’
# 1826|   nir_deref_instr_get_variable(const nir_deref_instr *instr)
# 1827|   {
# 1828|->    while (instr->deref_type != nir_deref_type_var) {
# 1829|         if (instr->deref_type == nir_deref_type_cast)
# 1830|            return NULL;

Error: CLANG_WARNING: [#def2410]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2774:11: warning[core.NullDereference]: Access to field 'parent_instr' results in a dereference of a null pointer (loaded from field 'def')
# 2772|   nir_scalar_is_const(nir_scalar s)
# 2773|   {
# 2774|->    return s.def->parent_instr->type == nir_instr_type_load_const;
# 2775|   }
# 2776|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2411]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2774:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘indirect’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:297:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:735:26: note: in expansion of macro ‘PROCESS4’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:737:26: note: in expansion of macro ‘PROCESS4’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_deref_reg_location’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_deref_reg_location’
# 2772|   nir_scalar_is_const(nir_scalar s)
# 2773|   {
# 2774|->    return s.def->parent_instr->type == nir_instr_type_load_const;
# 2775|   }
# 2776|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2412]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builtin_builder.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4325:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘nir_shader_get_function_for_name’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:208:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4324:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4324:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_math.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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
# 4323|   {
# 4324|      nir_foreach_function(func, shader) {
# 4325|->       if (func->name && strcmp(func->name, name) == 0)
# 4326|            return func;
# 4327|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2413]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_before_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4590:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_before_cf_node’
# 4588|   nir_before_cf_node(nir_cf_node *node)
# 4589|   {
# 4590|->    if (node->type == nir_cf_node_block)
# 4591|         return nir_before_block(nir_cf_node_as_block(node));
# 4592|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2414]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_functions.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4599:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_functions.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_after_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_functions.c: scope_hint: In function ‘nir_after_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_functions.c:66:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_functions.c: scope_hint: In function ‘nir_after_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_after_cf_node’
# 4597|   nir_after_cf_node(nir_cf_node *node)
# 4598|   {
# 4599|->    if (node->type == nir_cf_node_block)
# 4600|         return nir_after_block(nir_cf_node_as_block(node));
# 4601|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2415]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘nir_tgsi_scan_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4895:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘nir_tgsi_scan_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
# 4893|   
# 4894|   #define nir_foreach_block(block, impl)                           \
# 4895|->    for (nir_block *block = nir_start_block(impl); block != NULL; \
# 4896|           block = nir_block_cf_tree_next(block))
# 4897|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2416]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6585:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:896:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:842:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:843:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:843:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c:844:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_link_uniform_blocks.c: scope_hint: In function ‘gather_packed_block_info’
# 6583|   {
# 6584|      return (var->data.mode == nir_var_mem_ubo &&
# 6585|->            var->interface_type != NULL);
# 6586|   }
# 6587|   

Error: CLANG_WARNING: [#def2417]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c:77:30: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from field 'ssa')
#   75|         for (unsigned i = 0; i < op_info->num_inputs; i++) {
#   76|            if (op_info->input_sizes[i] == 0)
#   77|->             num_components = MAX2(num_components,
#   78|                                     instr->src[i].src.ssa->num_components);
#   79|         }

Error: CLANG_WARNING: [#def2418]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c:89:34: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from field 'ssa')
#   87|      if (bit_size == 0) {
#   88|         for (unsigned i = 0; i < op_info->num_inputs; i++) {
#   89|->          unsigned src_bit_size = instr->src[i].src.ssa->bit_size;
#   90|            if (nir_alu_type_get_type_size(op_info->input_types[i]) == 0) {
#   91|               if (bit_size)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2419]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c: scope_hint: In function ‘nir_builder_alu_instr_finish_and_insert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c:89:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c: scope_hint: In function ‘nir_builder_alu_instr_finish_and_insert’
#   87|      if (bit_size == 0) {
#   88|         for (unsigned i = 0; i < op_info->num_inputs; i++) {
#   89|->          unsigned src_bit_size = instr->src[i].src.ssa->bit_size;
#   90|            if (nir_alu_type_get_type_size(op_info->input_types[i]) == 0) {
#   91|               if (bit_size)

Error: CLANG_WARNING: [#def2420]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.c:110:25: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from field 'ssa')
#  108|       */
#  109|      for (unsigned i = 0; i < op_info->num_inputs; i++) {
#  110|->       for (unsigned j = instr->src[i].src.ssa->num_components;
#  111|              j < NIR_MAX_VEC_COMPONENTS; j++) {
#  112|            instr->src[i].swizzle[j] = instr->src[i].src.ssa->num_components - 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2421]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_builder_create’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:58:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
#   56|      b.exact = false;
#   57|      b.impl = impl;
#   58|->    b.shader = impl->function->shader;
#   59|      return b;
#   60|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2422]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_subgroups.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:268:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value’
#  266|         return NULL;
#  267|   
#  268|->    memcpy(load_const->value, value, sizeof(nir_const_value) * num_components);
#  269|   
#  270|      nir_builder_instr_insert(build, &load_const->instr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2423]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_mov_alu’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:600:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_instruction.h:60:35: note: in definition of macro ‘GET_SWZ’
#  598|   nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components)
#  599|   {
#  600|->    if (src.src.ssa->num_components == num_components) {
#  601|         bool any_swizzles = false;
#  602|         for (unsigned i = 0; i < num_components; i++) {

Error: CLANG_WARNING: [#def2424]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir_lower_image_opcodes_cdna.c:22: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:638:26: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from variable 'src')
#  636|      }
#  637|   
#  638|->    if (num_components == src->num_components && is_identity_swizzle)
#  639|         return src;
#  640|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2425]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:638:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:272:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:272:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:272:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/util/simple_mtx.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c:133:20: note: in expansion of macro ‘BITFIELD_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:391:38: note: in definition of macro ‘BITFIELD_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c:133:20: note: in expansion of macro ‘BITFIELD_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_etc2.c: scope_hint: In function ‘nir_swizzle’
#  636|      }
#  637|   
#  638|->    if (num_components == src->num_components && is_identity_swizzle)
#  639|         return src;
#  640|   

Error: CLANG_WARNING: [#def2426]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builtin_builder.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:649:12: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from variable 'src0')
#  647|   {
#  648|      assert(src0->num_components == src1->num_components);
#  649|->    switch (src0->num_components) {
#  650|      case 1:
#  651|         return nir_fmul(build, src0, src1);

Error: CLANG_WARNING: [#def2427]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_system_values.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:755:7: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  753|   {
#  754|      if (start == end - 1) {
#  755|->       return arr[start];
#  756|      } else {
#  757|         unsigned mid = start + (end - start) / 2;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2428]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:755:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘_nir_select_from_array_helper’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_select_from_array_helper’
#  753|   {
#  754|      if (start == end - 1) {
#  755|->       return arr[start];
#  756|      } else {
#  757|         unsigned mid = start + (end - start) / 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2429]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:797:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vec’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:36:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_vector_insert_imm’
#  795|      assert(c < vec->num_components);
#  796|   
#  797|->    nir_op vec_op = nir_op_vec(vec->num_components);
#  798|      nir_alu_instr *vec_instr = nir_alu_instr_create(b->shader, vec_op);
#  799|   

Error: CLANG_WARNING: [#def2430]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_rt_intrinsics.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:861:9: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'x')
#  859|   {
#  860|      assert(x->bit_size <= 64);
#  861|->    y &= BITFIELD64_MASK(x->bit_size);
#  862|   
#  863|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2431]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iadd_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:861:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_iadd_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iadd_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c: scope_hint: In function ‘nir_iadd_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c:249:10: note: in expansion of macro ‘nir_store_shared’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c:249:10: note: in expansion of macro ‘nir_store_shared’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
#  859|   {
#  860|      assert(x->bit_size <= 64);
#  861|->    y &= BITFIELD64_MASK(x->bit_size);
#  862|   
#  863|      if (y == 0) {

Error: CLANG_WARNING: [#def2432]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atifs_to_nir.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:896:56: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src1')
#  894|   nir_fle_imm(nir_builder *build, nir_def *src1, double src2)
#  895|   {
#  896|->    return nir_fge(build, nir_imm_floatN_t(build, src2, src1->bit_size), src1);
#  897|   }
#  898|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2433]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_isub_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:903:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
#  901|   nir_isub_imm(nir_builder *build, uint64_t y, nir_def *x)
#  902|   {
#  903|->    return nir_isub(build, nir_imm_intN_t(build, y, x->bit_size), x);
#  904|   }
#  905|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2434]
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_math.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:922:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:144:11: note: in expansion of macro ‘IS_POT’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_idiv_const.c: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘_nir_mul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
#  920|   {
#  921|      assert(x->bit_size <= 64);
#  922|->    y &= BITFIELD64_MASK(x->bit_size);
#  923|   
#  924|      if (y == 0) {

Error: CLANG_WARNING: [#def2435]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:954:57: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'x')
#  952|   nir_fadd_imm(nir_builder *build, nir_def *x, double y)
#  953|   {
#  954|->    return nir_fadd(build, x, nir_imm_floatN_t(build, y, x->bit_size));
#  955|   }
#  956|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2436]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fsub_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:960:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:361:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘nir_fsub_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fsub_imm’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘nir_fsub_imm’
#  958|   nir_fsub_imm(nir_builder *build, double x, nir_def *y)
#  959|   {
#  960|->    return nir_fsub(build, nir_imm_floatN_t(build, x, y->bit_size), y);
#  961|   }
#  962|   

Error: CLANG_WARNING: [#def2437]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:966:57: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'x')
#  964|   nir_fmul_imm(nir_builder *build, nir_def *x, double y)
#  965|   {
#  966|->    return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size));
#  967|   }
#  968|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2438]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:966:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:516:21: note: in expansion of macro ‘nir_load_interpolated_input’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:635:10: note: in expansion of macro ‘nir_store_output’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c: scope_hint: In function ‘nir_fmul_imm’
#  964|   nir_fmul_imm(nir_builder *build, nir_def *x, double y)
#  965|   {
#  966|->    return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size));
#  967|   }
#  968|   

Error: CLANG_WARNING: [#def2439]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:985:9: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'x')
#  983|   {
#  984|      assert(x->bit_size <= 64);
#  985|->    y &= BITFIELD64_MASK(x->bit_size);
#  986|   
#  987|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2440]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:985:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_surface.c: scope_hint: In function ‘nir_iand_imm’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
#  983|   {
#  984|      assert(x->bit_size <= 64);
#  985|->    y &= BITFIELD64_MASK(x->bit_size);
#  986|   
#  987|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2441]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1007:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘nir_ior_imm’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
# 1005|   {
# 1006|      assert(x->bit_size <= 64);
# 1007|->    y &= BITFIELD64_MASK(x->bit_size);
# 1008|   
# 1009|      if (y == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2442]
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_reg.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_udiv_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1058:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_udiv_imm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘nir_udiv_imm’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:403:6: note: in definition of macro ‘BITFIELD64_MASK’
# 1056|   {
# 1057|      assert(x->bit_size <= 64);
# 1058|->    y &= BITFIELD64_MASK(x->bit_size);
# 1059|   
# 1060|      if (y == 1) {

Error: CLANG_WARNING: [#def2443]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1152:69: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'src0')
# 1150|   nir_ffma_imm2(nir_builder *build, nir_def *src0, nir_def *src1, double src2)
# 1151|   {
# 1152|->    return nir_ffma(build, src0, src1, nir_imm_floatN_t(build, src2, src0->bit_size));
# 1153|   }
# 1154|   

Error: CLANG_WARNING: [#def2444]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:51: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1208:55: warning[core.DivideZero]: Division by zero
# 1206|      assert(src->num_components == 1);
# 1207|      assert(src->bit_size >= dest_bit_size);
# 1208|->    const unsigned dest_num_components = src->bit_size / dest_bit_size;
# 1209|      assert(dest_num_components <= NIR_MAX_VEC_COMPONENTS);
# 1210|   

Error: CLANG_WARNING: [#def2445]
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1291:25: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
# 1289|            assert(src_idx < (int)num_srcs);
# 1290|            src_start_bit = src_end_bit;
# 1291|->          src_end_bit += srcs[src_idx]->bit_size *
# 1292|                           srcs[src_idx]->num_components;
# 1293|         }

Error: CLANG_WARNING: [#def2446]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_mem_access_bit_sizes.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1291:25: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of an undefined pointer value
# 1289|            assert(src_idx < (int)num_srcs);
# 1290|            src_start_bit = src_end_bit;
# 1291|->          src_end_bit += srcs[src_idx]->bit_size *
# 1292|                           srcs[src_idx]->num_components;
# 1293|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2447]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1291:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1262:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1290:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1291:29: note: read of 8 bytes from after the end of ‘src’
#                                    └────────────────────────────────────┘
#                                                      ^
# 1289|            assert(src_idx < (int)num_srcs);
# 1290|            src_start_bit = src_end_bit;
# 1291|->          src_end_bit += srcs[src_idx]->bit_size *
# 1292|                           srcs[src_idx]->num_components;
# 1293|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2448]
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_nir.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1291:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_gpu_info.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
# 1289|            assert(src_idx < (int)num_srcs);
# 1290|            src_start_bit = src_end_bit;
# 1291|->          src_end_bit += srcs[src_idx]->bit_size *
# 1292|                           srcs[src_idx]->num_components;
# 1293|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2449]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1297:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1262:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1290:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1297:41: note: read of 8 bytes from after the end of ‘src’
#                                    └────────────────────────────────────┘
#                                                      ^
# 1295|         assert(bit + common_bit_size <= src_end_bit);
# 1296|         const unsigned rel_bit = bit - src_start_bit;
# 1297|->       const unsigned src_bit_size = srcs[src_idx]->bit_size;
# 1298|   
# 1299|         nir_def *comp = nir_channel(b, srcs[src_idx],

Error: GCC_ANALYZER_WARNING (CWE-127): [#def2450]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1297:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1297:41: note: valid subscripts for ‘input_args’ are ‘[0]’ to ‘[1]’
#  └────────────────────────────────────┘
#                    ^
# 1295|         assert(bit + common_bit_size <= src_end_bit);
# 1296|         const unsigned rel_bit = bit - src_start_bit;
# 1297|->       const unsigned src_bit_size = srcs[src_idx]->bit_size;
# 1298|   
# 1299|         nir_def *comp = nir_channel(b, srcs[src_idx],

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2451]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1301:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1262:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:1290:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1301:15: note: read of 8 bytes from after the end of ‘src’
#                                    └────────────────────────────────────┘
#                                                      ^
# 1299|         nir_def *comp = nir_channel(b, srcs[src_idx],
# 1300|                                     rel_bit / src_bit_size);
# 1301|->       if (srcs[src_idx]->bit_size > common_bit_size) {
# 1302|            nir_def *unpacked = nir_unpack_bits(b, comp, common_bit_size);
# 1303|            comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) / common_bit_size);

Error: GCC_ANALYZER_WARNING (CWE-127): [#def2452]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1301:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_extract_bits’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1301:15: note: valid subscripts for ‘input_args’ are ‘[0]’ to ‘[1]’
#  └────────────────────────────────────┘
#                    ^
# 1299|         nir_def *comp = nir_channel(b, srcs[src_idx],
# 1300|                                     rel_bit / src_bit_size);
# 1301|->       if (srcs[src_idx]->bit_size > common_bit_size) {
# 1302|            nir_def *unpacked = nir_unpack_bits(b, comp, common_bit_size);
# 1303|            comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) / common_bit_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2453]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1339:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atifs_to_nir.c: scope_hint: In function ‘compile_setupinst’
# 1337|   {
# 1338|      assert(src->num_components >= num_components);
# 1339|->    if (src->num_components == num_components)
# 1340|         return src;
# 1341|   

Error: CLANG_WARNING: [#def2454]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_tex.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1377:8: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from variable 'src')
# 1375|   {
# 1376|      assert(src->num_components <= num_components);
# 1377|->    if (src->num_components == num_components)
# 1378|         return src;
# 1379|   

Error: CLANG_WARNING: [#def2455]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1433:38: warning[core.NullDereference]: Dereference of null pointer
# 1431|         nir_deref_instr_create(build->shader, nir_deref_type_var);
# 1432|   
# 1433|->    deref->modes = (nir_variable_mode)var->data.mode;
# 1434|      deref->type = var->type;
# 1435|      deref->var = var;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2456]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1434:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_build_deref_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘nir_build_deref_var’
# 1432|   
# 1433|      deref->modes = (nir_variable_mode)var->data.mode;
# 1434|->    deref->type = var->type;
# 1435|      deref->var = var;
# 1436|   

Error: CLANG_WARNING: [#def2457]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_xfb_varying.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1458:19: warning[core.NullDereference]: Access to field 'modes' results in a dereference of a null pointer (loaded from variable 'parent')
# 1456|         nir_deref_instr_create(build->shader, nir_deref_type_array);
# 1457|   
# 1458|->    deref->modes = parent->modes;
# 1459|      deref->type = glsl_get_array_element(parent->type);
# 1460|      deref->parent = nir_src_for_ssa(&parent->def);

Error: CLANG_WARNING: [#def2458]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1516:19: warning[core.NullDereference]: Access to field 'modes' results in a dereference of a null pointer (loaded from variable 'parent')
# 1514|         nir_deref_instr_create(build->shader, nir_deref_type_array_wildcard);
# 1515|   
# 1516|->    deref->modes = parent->modes;
# 1517|      deref->type = glsl_get_array_element(parent->type);
# 1518|      deref->parent = nir_src_for_ssa(&parent->def);

Error: CLANG_WARNING: [#def2459]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1537:19: warning[core.NullDereference]: Access to field 'modes' results in a dereference of a null pointer (loaded from variable 'parent')
# 1535|         nir_deref_instr_create(build->shader, nir_deref_type_struct);
# 1536|   
# 1537|->    deref->modes = parent->modes;
# 1538|      deref->type = glsl_get_struct_field(parent->type, index);
# 1539|      deref->parent = nir_src_for_ssa(&parent->def);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2460]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_xfb_varying.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_build_deref_struct’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1537:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_xfb_varying.c: scope_hint: In function ‘nir_build_deref_struct’
# 1535|         nir_deref_instr_create(build->shader, nir_deref_type_struct);
# 1536|   
# 1537|->    deref->modes = parent->modes;
# 1538|      deref->type = glsl_get_struct_field(parent->type, index);
# 1539|      deref->parent = nir_src_for_ssa(&parent->def);

Error: CLANG_WARNING: [#def2461]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1568:45: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer (loaded from variable 'parent')
# 1566|      deref->cast.ptr_stride = ptr_stride;
# 1567|   
# 1568|->    nir_def_init(&deref->instr, &deref->def, parent->num_components,
# 1569|                   parent->bit_size);
# 1570|   

Error: CLANG_WARNING: [#def2462]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1639:36: warning[core.NullDereference]: Dereference of null pointer
# 1637|         if (leader->deref_type == nir_deref_type_array) {
# 1638|            nir_def *index = nir_i2iN(b, leader->arr.index.ssa,
# 1639|->                                    parent->def.bit_size);
# 1640|            return nir_build_deref_array(b, parent, index);
# 1641|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2463]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1680:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13557:46: note: in definition of macro ‘nir_build_load_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:97:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:97:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:97:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:97:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c:109:4: note: in expansion of macro ‘BITSET_CLEAR’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_single_sampled.c: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_load_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13557:46: note: in definition of macro ‘nir_build_load_deref’
# 1678|   {
# 1679|      return nir_build_load_deref(build, glsl_get_vector_elements(deref->type),
# 1680|->                                glsl_get_bit_size(deref->type), &deref->def,
# 1681|                                  access);
# 1682|   }

Error: CLANG_WARNING: [#def2464]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_passthrough_gs.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1696:21: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'unsigned int'
# 1694|                               enum gl_access_qualifier access)
# 1695|   {
# 1696|->    writemask &= (1u << value->num_components) - 1u;
# 1697|      nir_build_store_deref(build, &deref->def, value, writemask, access);
# 1698|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2465]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1696:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘nir_store_deref_with_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_deref_with_access’
# 1694|                               enum gl_access_qualifier access)
# 1695|   {
# 1696|->    writemask &= (1u << value->num_components) - 1u;
# 1697|      nir_build_store_deref(build, &deref->def, value, writemask, access);
# 1698|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2466]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:1854:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/gen_macros.h:91:17: note: in definition of macro ‘GENX’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_jc.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:157:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:157:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/util/pan_ir.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:490: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:37:4: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:56:27: note: in expansion of macro ‘get_input_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:37:4: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:56:27: note: in expansion of macro ‘get_input_field’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:37:4: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:56:27: note: in expansion of macro ‘get_input_field’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:37:4: note: in expansion of macro ‘nir_load_push_constant’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c:56:27: note: in expansion of macro ‘get_input_field’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_store_global’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_indirect_dispatch.c: scope_hint: In function ‘nir_store_global’
# 1852|      nir_intrinsic_instr *store =
# 1853|         nir_intrinsic_instr_create(build->shader, nir_intrinsic_store_global);
# 1854|->    store->num_components = value->num_components;
# 1855|      store->src[0] = nir_src_for_ssa(value);
# 1856|      store->src[1] = nir_src_for_ssa(addr);

Error: CLANG_WARNING: [#def2467]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:653:25: warning[core.NullDereference]: Access to field 'modes' results in a dereference of a null pointer
#  651|                           nir_deref_path *b_path)
#  652|   {
#  653|->    if (!modes_may_alias(b_path->path[0]->modes, a_path->path[0]->modes))
#  654|         return nir_derefs_do_not_alias;
#  655|   

Error: CLANG_WARNING: [#def2468]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:653:49: warning[core.NullDereference]: Access to field 'modes' results in a dereference of a null pointer
#  651|                           nir_deref_path *b_path)
#  652|   {
#  653|->    if (!modes_may_alias(b_path->path[0]->modes, a_path->path[0]->modes))
#  654|         return nir_derefs_do_not_alias;
#  655|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2469]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1286:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1482:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2759:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2759:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
# 1284|          * opt_deref_cast() above.
# 1285|          */
# 1286|->       if (parent->deref_type == nir_deref_type_cast &&
# 1287|             parent->cast.align_mul == 0 &&
# 1288|             nir_deref_cast_is_trivial(parent))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2470]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1296:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1482:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘opt_deref_ptr_as_array’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
# 1294|      }
# 1295|   
# 1296|->    if (parent->deref_type != nir_deref_type_array &&
# 1297|          parent->deref_type != nir_deref_type_ptr_as_array)
# 1298|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2471]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1316:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cast’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1565:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1482:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c:1483:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_deref.c: scope_hint: In function ‘is_vector_bitcast_deref’
# 1314|                           bool is_write)
# 1315|   {
# 1316|->    if (cast->deref_type != nir_deref_type_cast)
# 1317|         return false;
# 1318|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2472]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c: scope_hint: In function ‘visit_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:290:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:290:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  288|         break;
#  289|      case nir_intrinsic_load_input:
#  290|->       is_divergent = instr->src[0].ssa->divergent;
#  291|   
#  292|         if (stage == MESA_SHADER_FRAGMENT) {

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2473]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:305:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:305:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  303|         break;
#  304|      case nir_intrinsic_load_per_vertex_input:
#  305|->       is_divergent = instr->src[0].ssa->divergent ||
#  306|                        instr->src[1].ssa->divergent;
#  307|         if (stage == MESA_SHADER_TESS_CTRL)

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2474]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:306:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:306:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  304|      case nir_intrinsic_load_per_vertex_input:
#  305|         is_divergent = instr->src[0].ssa->divergent ||
#  306|->                      instr->src[1].ssa->divergent;
#  307|         if (stage == MESA_SHADER_TESS_CTRL)
#  308|            is_divergent |= !(options & nir_divergence_single_patch_per_tcs_subgroup);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2475]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:315:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:315:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  313|         break;
#  314|      case nir_intrinsic_load_input_vertex:
#  315|->       is_divergent = instr->src[1].ssa->divergent;
#  316|         assert(stage == MESA_SHADER_FRAGMENT);
#  317|         is_divergent |= !(options & nir_divergence_single_prim_per_subgroup);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2476]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:320:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:320:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  318|         break;
#  319|      case nir_intrinsic_load_output:
#  320|->       is_divergent = instr->src[0].ssa->divergent;
#  321|         switch (stage) {
#  322|         case MESA_SHADER_TESS_CTRL:

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2477]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:341:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:341:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  339|         /* TCS and NV_mesh_shader only (EXT_mesh_shader does not allow loading outputs). */
#  340|         assert(stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_MESH);
#  341|->       is_divergent = instr->src[0].ssa->divergent ||
#  342|                        instr->src[1].ssa->divergent ||
#  343|                        (stage == MESA_SHADER_TESS_CTRL &&

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2478]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:342:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:342:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  340|         assert(stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_MESH);
#  341|         is_divergent = instr->src[0].ssa->divergent ||
#  342|->                      instr->src[1].ssa->divergent ||
#  343|                        (stage == MESA_SHADER_TESS_CTRL &&
#  344|                         !(options & nir_divergence_single_patch_per_tcs_subgroup));

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2479]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:349:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:349:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  347|         /* NV_mesh_shader only (EXT_mesh_shader does not allow loading outputs). */
#  348|         assert(stage == MESA_SHADER_MESH);
#  349|->       is_divergent = instr->src[0].ssa->divergent ||
#  350|                        instr->src[1].ssa->divergent;
#  351|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2480]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:350:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:350:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  348|         assert(stage == MESA_SHADER_MESH);
#  349|         is_divergent = instr->src[0].ssa->divergent ||
#  350|->                      instr->src[1].ssa->divergent;
#  351|         break;
#  352|      case nir_intrinsic_load_layer_id:

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2481]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:368:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:368:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  366|      case nir_intrinsic_load_fs_input_interp_deltas:
#  367|         assert(stage == MESA_SHADER_FRAGMENT);
#  368|->       is_divergent = instr->src[0].ssa->divergent;
#  369|         is_divergent |= !(options & nir_divergence_single_prim_per_subgroup);
#  370|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2482]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:429:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:429:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  427|      case nir_intrinsic_inclusive_scan_clusters_ir3: {
#  428|         nir_op op = nir_intrinsic_reduction_op(instr);
#  429|->       is_divergent = instr->src[0].ssa->divergent || state->vertex_divergence;
#  430|         if (op != nir_op_umin && op != nir_op_imin && op != nir_op_fmin &&
#  431|             op != nir_op_umax && op != nir_op_imax && op != nir_op_fmax &&

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2483]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:446:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:446:36: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  444|      case nir_intrinsic_load_ubo:
#  445|      case nir_intrinsic_load_ubo_vec4:
#  446|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  447|                        instr->src[1].ssa->divergent;
#  448|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2484]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:447:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:447:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  445|      case nir_intrinsic_load_ubo_vec4:
#  446|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  447|->                      instr->src[1].ssa->divergent;
#  448|         break;
#  449|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2485]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:452:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:452:36: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  450|      case nir_intrinsic_load_ssbo:
#  451|      case nir_intrinsic_load_ssbo_ir3:
#  452|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  453|                        instr->src[1].ssa->divergent ||
#  454|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2486]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:453:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:453:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  451|      case nir_intrinsic_load_ssbo_ir3:
#  452|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  453|->                      instr->src[1].ssa->divergent ||
#  454|                        load_may_tear(state->shader, instr);
#  455|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2487]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:459:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:459:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  457|      case nir_intrinsic_load_shared:
#  458|      case nir_intrinsic_load_shared_ir3:
#  459|->       is_divergent = instr->src[0].ssa->divergent ||
#  460|            (state->shader->options->divergence_analysis_options &
#  461|             nir_divergence_uniform_load_tears);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2488]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:475:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:475:27: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  473|         unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs;
#  474|         for (unsigned i = 0; i < num_srcs; i++) {
#  475|->          if (instr->src[i].ssa->divergent) {
#  476|               is_divergent = true;
#  477|               break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2489]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:485:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:485:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  483|      case nir_intrinsic_get_ssbo_size:
#  484|      case nir_intrinsic_deref_buffer_array_length:
#  485|->       is_divergent = instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM);
#  486|         break;
#  487|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2490]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:494:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:494:36: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  492|      case nir_intrinsic_image_deref_fragment_mask_load_amd:
#  493|      case nir_intrinsic_bindless_image_fragment_mask_load_amd:
#  494|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  495|                        instr->src[1].ssa->divergent ||
#  496|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2491]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:495:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:495:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  493|      case nir_intrinsic_bindless_image_fragment_mask_load_amd:
#  494|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  495|->                      instr->src[1].ssa->divergent ||
#  496|                        load_may_tear(state->shader, instr);
#  497|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2492]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:502:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:502:36: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  500|      case nir_intrinsic_image_deref_texel_address:
#  501|      case nir_intrinsic_bindless_image_texel_address:
#  502|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  503|                        instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  504|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2493]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:503:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:503:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  501|      case nir_intrinsic_bindless_image_texel_address:
#  502|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  503|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  504|         break;
#  505|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2494]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:503:67: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:503:67: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  501|      case nir_intrinsic_bindless_image_texel_address:
#  502|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  503|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent;
#  504|         break;
#  505|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2495]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:512:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:512:36: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  510|      case nir_intrinsic_image_deref_sparse_load:
#  511|      case nir_intrinsic_bindless_image_sparse_load:
#  512|->       is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  513|                        instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  514|                        load_may_tear(state->shader, instr);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2496]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  511|      case nir_intrinsic_bindless_image_sparse_load:
#  512|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  513|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  514|                        load_may_tear(state->shader, instr);
#  515|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2497]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:67: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:67: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  511|      case nir_intrinsic_bindless_image_sparse_load:
#  512|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  513|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  514|                        load_may_tear(state->shader, instr);
#  515|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2498]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:99: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:513:99: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  511|      case nir_intrinsic_bindless_image_sparse_load:
#  512|         is_divergent = (instr->src[0].ssa->divergent && (nir_intrinsic_access(instr) & ACCESS_NON_UNIFORM)) ||
#  513|->                      instr->src[1].ssa->divergent || instr->src[2].ssa->divergent || instr->src[3].ssa->divergent ||
#  514|                        load_may_tear(state->shader, instr);
#  515|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2499]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:518:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:518:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  516|   
#  517|      case nir_intrinsic_optimization_barrier_vgpr_amd:
#  518|->       is_divergent = instr->src[0].ssa->divergent;
#  519|         break;
#  520|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2500]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:585:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:585:27: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  583|         unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs;
#  584|         for (unsigned i = 0; i < num_srcs; i++) {
#  585|->          if (instr->src[i].ssa->divergent) {
#  586|               is_divergent = true;
#  587|               break;
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:585:27: note: trimmed 1 message(s) with length over 512

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2501]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:594:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:594:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  592|   
#  593|      case nir_intrinsic_shuffle:
#  594|->       is_divergent = instr->src[0].ssa->divergent &&
#  595|                        instr->src[1].ssa->divergent;
#  596|         break;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2502]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:595:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_divergence_analysis.c:595:35: note: read of 8 bytes from after the end of ‘fake_instr’
#                                                       └────────────────────────────────────┘
#                                                                         ^
#  593|      case nir_intrinsic_shuffle:
#  594|         is_divergent = instr->src[0].ssa->divergent &&
#  595|->                      instr->src[1].ssa->divergent;
#  596|         break;
#  597|   

Error: CLANG_WARNING: [#def2503]
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_nir_lower_logic_ops.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_format_convert.h:242:41: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  240|      for (unsigned i = 0; i < num_components; i++) {
#  241|         assert(bits[i] <= 32);
#  242|->       factor[i].f32 = (1ull << (bits[i] - is_signed)) - 1;
#  243|      }
#  244|      return nir_build_imm(b, num_components, 32, factor);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2504]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_format_convert.h: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_format_convert.h:270:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘f’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_format_float_to_unorm’
#  268|   {
#  269|      nir_def *factor =
#  270|->       _nir_format_norm_factor(b, bits, f->num_components, false);
#  271|   
#  272|      /* Clamp to the range [0, 1] */

Error: CLANG_WARNING: [#def2505]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_gather_info.c:509:49: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned long long'
#  507|               for (unsigned i = 0; i < glsl_count_attribute_slots(var->type, false); i++) {
#  508|                  int idx = var->data.location + i;
#  509|->                shader->info.vs.double_inputs |= BITFIELD64_BIT(idx);
#  510|               }
#  511|            }

Error: CLANG_WARNING: [#def2506]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_gather_info.c:509:49: warning[core.BitwiseShift]: Right operand is negative in left shift
#  507|               for (unsigned i = 0; i < glsl_count_attribute_slots(var->type, false); i++) {
#  508|                  int idx = var->data.location + i;
#  509|->                shader->info.vs.double_inputs |= BITFIELD64_BIT(idx);
#  510|               }
#  511|            }

Error: CLANG_WARNING: [#def2507]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_group_loads.c:191:52: warning[core.NullDereference]: Dereference of null pointer
#  189|                                                      last->node.prev, node);
#  190|           instr != first;
#  191|->         instr = exec_node_data_backward(nir_instr, instr->node.prev, node)) {
#  192|         /* Only move instructions without side effects. */
#  193|         if (!can_move(instr, first->pass_flags))

Error: CLANG_WARNING: [#def2508]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_group_loads.c:232:51: warning[core.NullDereference]: Dereference of null pointer
#  230|                                                     first->node.next, node);
#  231|           instr != last;
#  232|->         instr = exec_node_data_forward(nir_instr, instr->node.next, node)) {
#  233|         /* Only move instructions without side effects. */
#  234|         if (!can_move(instr, first->pass_flags))

Error: CLANG_WARNING: [#def2509]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:158:43: warning[core.BitwiseShift]: Right operand is negative in left shift
#  156|            /* This one is invalid, make it a global variable instead */
#  157|            if (shader->info.stage == MESA_SHADER_MESH &&
#  158|->              (shader->info.outputs_read & BITFIELD64_BIT(var->data.location)))
#  159|               var->data.mode = nir_var_mem_shared;
#  160|            else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2510]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:962:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘in_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘does_varying_match’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1062:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
#  960|      return in_var->data.location == out_var->data.location &&
#  961|             in_var->data.location_frac == out_var->data.location_frac &&
#  962|->           in_var->type == out_var->type;
#  963|   }
#  964|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2511]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:962:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘does_varying_match’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1062:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1063:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘does_varying_match’
#  960|      return in_var->data.location == out_var->data.location &&
#  961|             in_var->data.location_frac == out_var->data.location_frac &&
#  962|->           in_var->type == out_var->type;
#  963|   }
#  964|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2512]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘can_replace_varying’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:982:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1347:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1347:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘can_replace_varying’
#  980|       * TODO: add support for these types.
#  981|       */
#  982|->    if (glsl_type_is_array(out_var->type) ||
#  983|          glsl_type_is_dual_slot(out_var->type) ||
#  984|          glsl_type_is_matrix(out_var->type) ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2513]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1143:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1140:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1140:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
# 1141|         if ((spirv && uniform->data.mode & nir_var_mem_ubo &&
# 1142|              v->data.binding == uniform->data.binding) ||
# 1143|->           (!spirv && !strcmp(uniform->name, v->name))) {
# 1144|            new_var = v;
# 1145|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2514]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c:1162:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_linking_helpers.c: scope_hint: In function ‘nir_clone_deref_instr’
# 1160|                         nir_deref_instr *deref)
# 1161|   {
# 1162|->    if (deref->deref_type == nir_deref_type_var)
# 1163|         return nir_build_deref_var(b, var);
# 1164|   

Error: CLANG_WARNING: [#def2515]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_loop_analyze.c:415:32: warning[core.NullDereference]: Access to field 'init_src' results in a dereference of a null pointer (loaded from variable 'alu_src_var')
#  413|         if (var->update_src && var->init_src &&
#  414|             is_only_uniform_src(var->init_src)) {
#  415|->          alu_src_var->init_src = var->init_src;
#  416|            alu_src_var->update_src = var->update_src;
#  417|            alu_src_var->basis = var->def;

Error: CLANG_WARNING: [#def2516]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_loop_analyze.c:924:7: warning[deadcode.DeadStores]: Value stored to 'success' is never read
#  922|         iter_count++;
#  923|   
#  924|->       success = try_eval_const_alu(&result, incr, original, replacement,
#  925|                                      2, execution_mode);
#  926|         assert(success);

Error: CLANG_WARNING: [#def2517]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_loop_analyze.c:950:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  948|      assert(success);
#  949|   
#  950|->    return invert_cond ? !result.b : result.b;
#  951|   }
#  952|   

Error: CLANG_WARNING: [#def2518]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_loop_analyze.c:1323:32: warning[core.NullDereference]: Access to field 'ssa' results in a dereference of a null pointer (loaded from field 'init_src')
# 1321|          * component from basic_ind.
# 1322|          */
# 1323|->       nir_scalar initial_s = { lv->init_src->ssa, basic_ind.comp };
# 1324|         nir_scalar alu_s = {
# 1325|            lv->update_src->src.ssa,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2519]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:65:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:36:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c:37:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_array_deref_of_vec.c: scope_hint: In function ‘nir_lower_array_deref_of_vec_impl’
#   63|   
#   64|            nir_deref_instr *vec_deref = nir_deref_instr_parent(deref);
#   65|->          if (!glsl_type_is_vector(vec_deref->type))
#   66|               continue;
#   67|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2520]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_bitmap.c: scope_hint: In function ‘lower_bitmap_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_bitmap.c:107:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/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_block_index |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2521]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘var_is_inline_sampler.part.0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2522]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘nir_lower_cl_images’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:222:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:120:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:120:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:53:33: note: in definition of macro ‘BITSET_ZERO’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:934:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:158:4: note: in expansion of macro ‘nir_foreach_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:934:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:158:4: note: in expansion of macro ‘nir_foreach_uniform_variable’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:53:33: note: in definition of macro ‘BITSET_ZERO’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:183:4: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘nir_lower_cl_images’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:183:4: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:184:7: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:184:7: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:184:7: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘nir_lower_cl_images’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c:184:7: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_cl_images.c: scope_hint: In function ‘nir_lower_cl_images’
#  220|                      tex->src[i].src_type == nir_tex_src_sampler_deref) {
#  221|                     nir_deref_instr *deref = nir_src_as_deref(tex->src[i].src);
#  222|->                   if (deref->deref_type == nir_deref_type_var) {
#  223|                        /* In this case, we know the actual variable */
#  224|                        if (tex->src[i].src_type == nir_tex_src_texture_deref)

Error: CLANG_WARNING: [#def2523]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip.c:499:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  497|         if (ucp_enables & (1 << plane)) {
#  498|            nir_def *this_cond =
#  499|->             nir_flt_imm(&b, clipdist[plane], 0.0);
#  500|   
#  501|            cond = cond ? nir_ior(&b, cond, this_cond) : this_cond;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2524]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c:110:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2525]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_fragcolor.c: scope_hint: In function ‘lower_fragcolor_intrin.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_fragcolor.c:65:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2526]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:272:28: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  270|   fork_reachable(struct path_fork *fork)
#  271|   {
#  272|->    struct set *reachable = _mesa_set_clone(fork->paths[0].reachable, fork);
#  273|      set_foreach(fork->paths[1].reachable, entry)
#  274|         _mesa_set_add_pre_hashed(reachable, entry->hash, entry->key);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2527]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘organize_levels’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:706:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
#  704|                                            entry->hash, entry->key)) {
#  705|               _mesa_set_remove(skip_targets, entry);
#  706|->             prev_level->skip_end = 1;
#  707|            }
#  708|         }

Error: CLANG_WARNING: [#def2528]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:706:34: warning[core.NullDereference]: Access to field 'skip_end' results in a dereference of a null pointer (loaded from variable 'prev_level')
#  704|                                            entry->hash, entry->key)) {
#  705|               _mesa_set_remove(skip_targets, entry);
#  706|->             prev_level->skip_end = 1;
#  707|            }
#  708|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2529]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:738:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
#  736|               _mesa_set_add_pre_hashed(skip_targets, entry->hash, entry->key);
#  737|               if (is_in_skip)
#  738|->                prev_level->skip_end = 1;
#  739|               curr_level->skip_start = 1;
#  740|            }

Error: CLANG_WARNING: [#def2530]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:738:37: warning[core.NullDereference]: Access to field 'skip_end' results in a dereference of a null pointer (loaded from variable 'prev_level')
#  736|               _mesa_set_add_pre_hashed(skip_targets, entry->hash, entry->key);
#  737|               if (is_in_skip)
#  738|->                prev_level->skip_end = 1;
#  739|               curr_level->skip_start = 1;
#  740|            }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2531]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:757:65: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:757:7: note: in expansion of macro ‘list_last_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:757:65: note: write of 1 bit to beyond the end of ‘outside_levels’
#  755|   
#  756|      if (skip_targets->entries)
#  757|->       list_last_entry(levels, struct strct_lvl, link)->skip_end = 1;
#  758|   
#  759|      /* Iterate throught all levels reverse and create all the paths and forks */

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2532]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:764:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:762:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:764:23: note: write of 16 bytes to beyond the end of ‘outside_levels’
#  762|      list_for_each_entry_rev(struct strct_lvl, level, levels, link) {
#  763|         bool need_var = !(is_domminated && level->link.prev == levels);
#  764|->       level->out_path = routing->regular;
#  765|         if (level->skip_end) {
#  766|            path_after_skip = routing->regular;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2533]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:765:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:762:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:765:16: note: read of 1 bit from after the end of ‘outside_levels’
#                                                 └───────────────────────┘
#                                                             ^
#  763|         bool need_var = !(is_domminated && level->link.prev == levels);
#  764|         level->out_path = routing->regular;
#  765|->       if (level->skip_end) {
#  766|            path_after_skip = routing->regular;
#  767|         }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def2534]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:768:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:762:4: note: in expansion of macro ‘list_for_each_entry_rev’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:768:41: note: read of 8 bytes from after the end of ‘outside_levels’
#                                               └────────────────────────────────┘
#                                                               ^
#  766|            path_after_skip = routing->regular;
#  767|         }
#  768|->       routing->regular.reachable = level->blocks;
#  769|         routing->regular.fork = select_fork(routing->regular.reachable, impl,
#  770|                                             need_var, mem_ctx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2535]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:848:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c: scope_hint: In function ‘nir_structurize’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:950:29: note: in expansion of macro ‘rzalloc’
#  846|   {
#  847|      struct set *remaining = _mesa_pointer_set_create(mem_ctx);
#  848|->    for (int i = 0; i < block->num_dom_children; i++) {
#  849|         if (!_mesa_set_search(routing->brk.reachable, block->dom_children[i]))
#  850|            _mesa_set_add(remaining, block->dom_children[i]);

Error: CLANG_WARNING: [#def2536]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_goto_ifs.c:901:8: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'jump_instr')
#  899|   
#  900|      /* Find path to the successor blocks */
#  901|->    if (jump_instr->type == nir_jump_goto_if) {
#  902|         route_to_cond(b, routing, jump_instr->condition.ssa,
#  903|                       jump_instr->target, jump_instr->else_target);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2537]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c: scope_hint: In function ‘nir_lower_gs_intrinsics’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c:480:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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-457): [#def2538]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c:520:62: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘state.vertex_count_vars[0]’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c:424:10: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c:424:10: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c:424:10: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_gs_intrinsics.c: scope_hint: In function ‘nir_lower_gs_intrinsics’
#  518|             * streams use the same counters.
#  519|             */
#  520|->          state.vertex_count_vars[i] = state.vertex_count_vars[0];
#  521|   
#  522|            if (count_primitives)

Error: CLANG_WARNING: [#def2539]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:63:16: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'dest')
#   61|   
#   62|         if (src == NULL)
#   63|->          *dest = nir_if_phi(b, then_dest, else_dest);
#   64|      }
#   65|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2540]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:107:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:199:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘emit_load_store_deref’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2541]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:107:13: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'dest')
#  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): [#def2542]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:145:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:237:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:199:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c:122:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_indirect_derefs.c: scope_hint: In function ‘lower_indirect_derefs_block’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2543]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_input_attachments.c:91:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2544]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_texop’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_input_attachments.c:162:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_input_attachments.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘try_lower_input_texop’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2545]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:977:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  975|      case nir_op_imul:
#  976|      case nir_op_amul:
#  977|->       return lower_imul64(b, src[0], src[1]);
#  978|      case nir_op_imul_2x32_64:
#  979|         return lower_mul_2x32_64(b, src[0], src[1], true);

Error: CLANG_WARNING: [#def2546]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:977:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  975|      case nir_op_imul:
#  976|      case nir_op_amul:
#  977|->       return lower_imul64(b, src[0], src[1]);
#  978|      case nir_op_imul_2x32_64:
#  979|         return lower_mul_2x32_64(b, src[0], src[1], true);

Error: CLANG_WARNING: [#def2547]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:979:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  977|         return lower_imul64(b, src[0], src[1]);
#  978|      case nir_op_imul_2x32_64:
#  979|->       return lower_mul_2x32_64(b, src[0], src[1], true);
#  980|      case nir_op_umul_2x32_64:
#  981|         return lower_mul_2x32_64(b, src[0], src[1], false);

Error: CLANG_WARNING: [#def2548]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:979:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  977|         return lower_imul64(b, src[0], src[1]);
#  978|      case nir_op_imul_2x32_64:
#  979|->       return lower_mul_2x32_64(b, src[0], src[1], true);
#  980|      case nir_op_umul_2x32_64:
#  981|         return lower_mul_2x32_64(b, src[0], src[1], false);

Error: CLANG_WARNING: [#def2549]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:981:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  979|         return lower_mul_2x32_64(b, src[0], src[1], true);
#  980|      case nir_op_umul_2x32_64:
#  981|->       return lower_mul_2x32_64(b, src[0], src[1], false);
#  982|      case nir_op_imul_high:
#  983|         return lower_mul_high64(b, src[0], src[1], true);

Error: CLANG_WARNING: [#def2550]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:981:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  979|         return lower_mul_2x32_64(b, src[0], src[1], true);
#  980|      case nir_op_umul_2x32_64:
#  981|->       return lower_mul_2x32_64(b, src[0], src[1], false);
#  982|      case nir_op_imul_high:
#  983|         return lower_mul_high64(b, src[0], src[1], true);

Error: CLANG_WARNING: [#def2551]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:983:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  981|         return lower_mul_2x32_64(b, src[0], src[1], false);
#  982|      case nir_op_imul_high:
#  983|->       return lower_mul_high64(b, src[0], src[1], true);
#  984|      case nir_op_umul_high:
#  985|         return lower_mul_high64(b, src[0], src[1], false);

Error: CLANG_WARNING: [#def2552]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:983:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  981|         return lower_mul_2x32_64(b, src[0], src[1], false);
#  982|      case nir_op_imul_high:
#  983|->       return lower_mul_high64(b, src[0], src[1], true);
#  984|      case nir_op_umul_high:
#  985|         return lower_mul_high64(b, src[0], src[1], false);

Error: CLANG_WARNING: [#def2553]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:985:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  983|         return lower_mul_high64(b, src[0], src[1], true);
#  984|      case nir_op_umul_high:
#  985|->       return lower_mul_high64(b, src[0], src[1], false);
#  986|      case nir_op_isign:
#  987|         return lower_isign64(b, src[0]);

Error: CLANG_WARNING: [#def2554]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:985:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  983|         return lower_mul_high64(b, src[0], src[1], true);
#  984|      case nir_op_umul_high:
#  985|->       return lower_mul_high64(b, src[0], src[1], false);
#  986|      case nir_op_isign:
#  987|         return lower_isign64(b, src[0]);

Error: CLANG_WARNING: [#def2555]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:987:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  985|         return lower_mul_high64(b, src[0], src[1], false);
#  986|      case nir_op_isign:
#  987|->       return lower_isign64(b, src[0]);
#  988|      case nir_op_udiv:
#  989|         return lower_udiv64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2556]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:989:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  987|         return lower_isign64(b, src[0]);
#  988|      case nir_op_udiv:
#  989|->       return lower_udiv64(b, src[0], src[1]);
#  990|      case nir_op_idiv:
#  991|         return lower_idiv64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2557]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:989:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  987|         return lower_isign64(b, src[0]);
#  988|      case nir_op_udiv:
#  989|->       return lower_udiv64(b, src[0], src[1]);
#  990|      case nir_op_idiv:
#  991|         return lower_idiv64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2558]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:991:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  989|         return lower_udiv64(b, src[0], src[1]);
#  990|      case nir_op_idiv:
#  991|->       return lower_idiv64(b, src[0], src[1]);
#  992|      case nir_op_umod:
#  993|         return lower_umod64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2559]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:991:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  989|         return lower_udiv64(b, src[0], src[1]);
#  990|      case nir_op_idiv:
#  991|->       return lower_idiv64(b, src[0], src[1]);
#  992|      case nir_op_umod:
#  993|         return lower_umod64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2560]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:993:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  991|         return lower_idiv64(b, src[0], src[1]);
#  992|      case nir_op_umod:
#  993|->       return lower_umod64(b, src[0], src[1]);
#  994|      case nir_op_imod:
#  995|         return lower_imod64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2561]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:993:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  991|         return lower_idiv64(b, src[0], src[1]);
#  992|      case nir_op_umod:
#  993|->       return lower_umod64(b, src[0], src[1]);
#  994|      case nir_op_imod:
#  995|         return lower_imod64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2562]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:995:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  993|         return lower_umod64(b, src[0], src[1]);
#  994|      case nir_op_imod:
#  995|->       return lower_imod64(b, src[0], src[1]);
#  996|      case nir_op_irem:
#  997|         return lower_irem64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2563]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:995:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  993|         return lower_umod64(b, src[0], src[1]);
#  994|      case nir_op_imod:
#  995|->       return lower_imod64(b, src[0], src[1]);
#  996|      case nir_op_irem:
#  997|         return lower_irem64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2564]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:997:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  995|         return lower_imod64(b, src[0], src[1]);
#  996|      case nir_op_irem:
#  997|->       return lower_irem64(b, src[0], src[1]);
#  998|      case nir_op_b2i64:
#  999|         return lower_b2i64(b, src[0]);

Error: CLANG_WARNING: [#def2565]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:997:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  995|         return lower_imod64(b, src[0], src[1]);
#  996|      case nir_op_irem:
#  997|->       return lower_irem64(b, src[0], src[1]);
#  998|      case nir_op_b2i64:
#  999|         return lower_b2i64(b, src[0]);

Error: CLANG_WARNING: [#def2566]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:999:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  997|         return lower_irem64(b, src[0], src[1]);
#  998|      case nir_op_b2i64:
#  999|->       return lower_b2i64(b, src[0]);
# 1000|      case nir_op_i2i8:
# 1001|         return lower_i2i8(b, src[0]);

Error: CLANG_WARNING: [#def2567]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1001:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  999|         return lower_b2i64(b, src[0]);
# 1000|      case nir_op_i2i8:
# 1001|->       return lower_i2i8(b, src[0]);
# 1002|      case nir_op_i2i16:
# 1003|         return lower_i2i16(b, src[0]);

Error: CLANG_WARNING: [#def2568]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1003:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1001|         return lower_i2i8(b, src[0]);
# 1002|      case nir_op_i2i16:
# 1003|->       return lower_i2i16(b, src[0]);
# 1004|      case nir_op_i2i32:
# 1005|         return lower_i2i32(b, src[0]);

Error: CLANG_WARNING: [#def2569]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1005:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1003|         return lower_i2i16(b, src[0]);
# 1004|      case nir_op_i2i32:
# 1005|->       return lower_i2i32(b, src[0]);
# 1006|      case nir_op_i2i64:
# 1007|         return lower_i2i64(b, src[0]);

Error: CLANG_WARNING: [#def2570]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1007:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1005|         return lower_i2i32(b, src[0]);
# 1006|      case nir_op_i2i64:
# 1007|->       return lower_i2i64(b, src[0]);
# 1008|      case nir_op_u2u8:
# 1009|         return lower_u2u8(b, src[0]);

Error: CLANG_WARNING: [#def2571]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1009:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1007|         return lower_i2i64(b, src[0]);
# 1008|      case nir_op_u2u8:
# 1009|->       return lower_u2u8(b, src[0]);
# 1010|      case nir_op_u2u16:
# 1011|         return lower_u2u16(b, src[0]);

Error: CLANG_WARNING: [#def2572]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1011:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1009|         return lower_u2u8(b, src[0]);
# 1010|      case nir_op_u2u16:
# 1011|->       return lower_u2u16(b, src[0]);
# 1012|      case nir_op_u2u32:
# 1013|         return lower_u2u32(b, src[0]);

Error: CLANG_WARNING: [#def2573]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1013:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1011|         return lower_u2u16(b, src[0]);
# 1012|      case nir_op_u2u32:
# 1013|->       return lower_u2u32(b, src[0]);
# 1014|      case nir_op_u2u64:
# 1015|         return lower_u2u64(b, src[0]);

Error: CLANG_WARNING: [#def2574]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1015:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1013|         return lower_u2u32(b, src[0]);
# 1014|      case nir_op_u2u64:
# 1015|->       return lower_u2u64(b, src[0]);
# 1016|      case nir_op_bcsel:
# 1017|         return lower_bcsel64(b, src[0], src[1], src[2]);

Error: CLANG_WARNING: [#def2575]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1017:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1015|         return lower_u2u64(b, src[0]);
# 1016|      case nir_op_bcsel:
# 1017|->       return lower_bcsel64(b, src[0], src[1], src[2]);
# 1018|      case nir_op_ieq:
# 1019|      case nir_op_ine:

Error: CLANG_WARNING: [#def2576]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1017:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1015|         return lower_u2u64(b, src[0]);
# 1016|      case nir_op_bcsel:
# 1017|->       return lower_bcsel64(b, src[0], src[1], src[2]);
# 1018|      case nir_op_ieq:
# 1019|      case nir_op_ine:

Error: CLANG_WARNING: [#def2577]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1017:14: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1015|         return lower_u2u64(b, src[0]);
# 1016|      case nir_op_bcsel:
# 1017|->       return lower_bcsel64(b, src[0], src[1], src[2]);
# 1018|      case nir_op_ieq:
# 1019|      case nir_op_ine:

Error: CLANG_WARNING: [#def2578]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1024:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1022|      case nir_op_uge:
# 1023|      case nir_op_ige:
# 1024|->       return lower_int64_compare(b, alu->op, src[0], src[1]);
# 1025|      case nir_op_iadd:
# 1026|         return lower_iadd64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2579]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1024:14: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1022|      case nir_op_uge:
# 1023|      case nir_op_ige:
# 1024|->       return lower_int64_compare(b, alu->op, src[0], src[1]);
# 1025|      case nir_op_iadd:
# 1026|         return lower_iadd64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2580]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1026:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1024|         return lower_int64_compare(b, alu->op, src[0], src[1]);
# 1025|      case nir_op_iadd:
# 1026|->       return lower_iadd64(b, src[0], src[1]);
# 1027|      case nir_op_isub:
# 1028|         return lower_isub64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2581]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1026:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1024|         return lower_int64_compare(b, alu->op, src[0], src[1]);
# 1025|      case nir_op_iadd:
# 1026|->       return lower_iadd64(b, src[0], src[1]);
# 1027|      case nir_op_isub:
# 1028|         return lower_isub64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2582]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1028:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1026|         return lower_iadd64(b, src[0], src[1]);
# 1027|      case nir_op_isub:
# 1028|->       return lower_isub64(b, src[0], src[1]);
# 1029|      case nir_op_imin:
# 1030|         return lower_imin64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2583]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1028:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1026|         return lower_iadd64(b, src[0], src[1]);
# 1027|      case nir_op_isub:
# 1028|->       return lower_isub64(b, src[0], src[1]);
# 1029|      case nir_op_imin:
# 1030|         return lower_imin64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2584]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1030:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1028|         return lower_isub64(b, src[0], src[1]);
# 1029|      case nir_op_imin:
# 1030|->       return lower_imin64(b, src[0], src[1]);
# 1031|      case nir_op_imax:
# 1032|         return lower_imax64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2585]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1030:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1028|         return lower_isub64(b, src[0], src[1]);
# 1029|      case nir_op_imin:
# 1030|->       return lower_imin64(b, src[0], src[1]);
# 1031|      case nir_op_imax:
# 1032|         return lower_imax64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2586]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1032:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1030|         return lower_imin64(b, src[0], src[1]);
# 1031|      case nir_op_imax:
# 1032|->       return lower_imax64(b, src[0], src[1]);
# 1033|      case nir_op_umin:
# 1034|         return lower_umin64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2587]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1032:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1030|         return lower_imin64(b, src[0], src[1]);
# 1031|      case nir_op_imax:
# 1032|->       return lower_imax64(b, src[0], src[1]);
# 1033|      case nir_op_umin:
# 1034|         return lower_umin64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2588]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1034:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1032|         return lower_imax64(b, src[0], src[1]);
# 1033|      case nir_op_umin:
# 1034|->       return lower_umin64(b, src[0], src[1]);
# 1035|      case nir_op_umax:
# 1036|         return lower_umax64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2589]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1034:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1032|         return lower_imax64(b, src[0], src[1]);
# 1033|      case nir_op_umin:
# 1034|->       return lower_umin64(b, src[0], src[1]);
# 1035|      case nir_op_umax:
# 1036|         return lower_umax64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2590]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1036:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1034|         return lower_umin64(b, src[0], src[1]);
# 1035|      case nir_op_umax:
# 1036|->       return lower_umax64(b, src[0], src[1]);
# 1037|      case nir_op_iabs:
# 1038|         return lower_iabs64(b, src[0]);

Error: CLANG_WARNING: [#def2591]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1036:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1034|         return lower_umin64(b, src[0], src[1]);
# 1035|      case nir_op_umax:
# 1036|->       return lower_umax64(b, src[0], src[1]);
# 1037|      case nir_op_iabs:
# 1038|         return lower_iabs64(b, src[0]);

Error: CLANG_WARNING: [#def2592]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1038:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1036|         return lower_umax64(b, src[0], src[1]);
# 1037|      case nir_op_iabs:
# 1038|->       return lower_iabs64(b, src[0]);
# 1039|      case nir_op_ineg:
# 1040|         return lower_ineg64(b, src[0]);

Error: CLANG_WARNING: [#def2593]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1040:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1038|         return lower_iabs64(b, src[0]);
# 1039|      case nir_op_ineg:
# 1040|->       return lower_ineg64(b, src[0]);
# 1041|      case nir_op_iand:
# 1042|         return lower_iand64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2594]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1042:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1040|         return lower_ineg64(b, src[0]);
# 1041|      case nir_op_iand:
# 1042|->       return lower_iand64(b, src[0], src[1]);
# 1043|      case nir_op_ior:
# 1044|         return lower_ior64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2595]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1042:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1040|         return lower_ineg64(b, src[0]);
# 1041|      case nir_op_iand:
# 1042|->       return lower_iand64(b, src[0], src[1]);
# 1043|      case nir_op_ior:
# 1044|         return lower_ior64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2596]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1044:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1042|         return lower_iand64(b, src[0], src[1]);
# 1043|      case nir_op_ior:
# 1044|->       return lower_ior64(b, src[0], src[1]);
# 1045|      case nir_op_ixor:
# 1046|         return lower_ixor64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2597]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1044:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1042|         return lower_iand64(b, src[0], src[1]);
# 1043|      case nir_op_ior:
# 1044|->       return lower_ior64(b, src[0], src[1]);
# 1045|      case nir_op_ixor:
# 1046|         return lower_ixor64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2598]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1046:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1044|         return lower_ior64(b, src[0], src[1]);
# 1045|      case nir_op_ixor:
# 1046|->       return lower_ixor64(b, src[0], src[1]);
# 1047|      case nir_op_inot:
# 1048|         return lower_inot64(b, src[0]);

Error: CLANG_WARNING: [#def2599]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1046:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1044|         return lower_ior64(b, src[0], src[1]);
# 1045|      case nir_op_ixor:
# 1046|->       return lower_ixor64(b, src[0], src[1]);
# 1047|      case nir_op_inot:
# 1048|         return lower_inot64(b, src[0]);

Error: CLANG_WARNING: [#def2600]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1048:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1046|         return lower_ixor64(b, src[0], src[1]);
# 1047|      case nir_op_inot:
# 1048|->       return lower_inot64(b, src[0]);
# 1049|      case nir_op_ishl:
# 1050|         return lower_ishl64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2601]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1050:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1048|         return lower_inot64(b, src[0]);
# 1049|      case nir_op_ishl:
# 1050|->       return lower_ishl64(b, src[0], src[1]);
# 1051|      case nir_op_ishr:
# 1052|         return lower_ishr64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2602]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1050:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1048|         return lower_inot64(b, src[0]);
# 1049|      case nir_op_ishl:
# 1050|->       return lower_ishl64(b, src[0], src[1]);
# 1051|      case nir_op_ishr:
# 1052|         return lower_ishr64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2603]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1052:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1050|         return lower_ishl64(b, src[0], src[1]);
# 1051|      case nir_op_ishr:
# 1052|->       return lower_ishr64(b, src[0], src[1]);
# 1053|      case nir_op_ushr:
# 1054|         return lower_ushr64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2604]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1052:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1050|         return lower_ishl64(b, src[0], src[1]);
# 1051|      case nir_op_ishr:
# 1052|->       return lower_ishr64(b, src[0], src[1]);
# 1053|      case nir_op_ushr:
# 1054|         return lower_ushr64(b, src[0], src[1]);

Error: CLANG_WARNING: [#def2605]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1054:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1052|         return lower_ishr64(b, src[0], src[1]);
# 1053|      case nir_op_ushr:
# 1054|->       return lower_ushr64(b, src[0], src[1]);
# 1055|      case nir_op_extract_u8:
# 1056|      case nir_op_extract_i8:

Error: CLANG_WARNING: [#def2606]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1054:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1052|         return lower_ishr64(b, src[0], src[1]);
# 1053|      case nir_op_ushr:
# 1054|->       return lower_ushr64(b, src[0], src[1]);
# 1055|      case nir_op_extract_u8:
# 1056|      case nir_op_extract_i8:

Error: CLANG_WARNING: [#def2607]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1059:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1057|      case nir_op_extract_u16:
# 1058|      case nir_op_extract_i16:
# 1059|->       return lower_extract(b, alu->op, src[0], src[1]);
# 1060|      case nir_op_ufind_msb:
# 1061|         return lower_ufind_msb64(b, src[0]);

Error: CLANG_WARNING: [#def2608]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1059:14: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1057|      case nir_op_extract_u16:
# 1058|      case nir_op_extract_i16:
# 1059|->       return lower_extract(b, alu->op, src[0], src[1]);
# 1060|      case nir_op_ufind_msb:
# 1061|         return lower_ufind_msb64(b, src[0]);

Error: CLANG_WARNING: [#def2609]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1061:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1059|         return lower_extract(b, alu->op, src[0], src[1]);
# 1060|      case nir_op_ufind_msb:
# 1061|->       return lower_ufind_msb64(b, src[0]);
# 1062|      case nir_op_find_lsb:
# 1063|         return lower_find_lsb64(b, src[0]);

Error: CLANG_WARNING: [#def2610]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1063:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1061|         return lower_ufind_msb64(b, src[0]);
# 1062|      case nir_op_find_lsb:
# 1063|->       return lower_find_lsb64(b, src[0]);
# 1064|      case nir_op_bit_count:
# 1065|         return lower_bit_count64(b, src[0]);

Error: CLANG_WARNING: [#def2611]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1065:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1063|         return lower_find_lsb64(b, src[0]);
# 1064|      case nir_op_bit_count:
# 1065|->       return lower_bit_count64(b, src[0]);
# 1066|      case nir_op_i2f64:
# 1067|      case nir_op_i2f32:

Error: CLANG_WARNING: [#def2612]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1069:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1067|      case nir_op_i2f32:
# 1068|      case nir_op_i2f16:
# 1069|->       return lower_2f(b, src[0], alu->def.bit_size, true);
# 1070|      case nir_op_u2f64:
# 1071|      case nir_op_u2f32:

Error: CLANG_WARNING: [#def2613]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1073:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1071|      case nir_op_u2f32:
# 1072|      case nir_op_u2f16:
# 1073|->       return lower_2f(b, src[0], alu->def.bit_size, false);
# 1074|      case nir_op_f2i64:
# 1075|      case nir_op_f2u64:

Error: CLANG_WARNING: [#def2614]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_int64.c:1076:14: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1074|      case nir_op_f2i64:
# 1075|      case nir_op_f2u64:
# 1076|->       return lower_f2(b, src[0], alu->op == nir_op_f2i64);
# 1077|      default:
# 1078|         unreachable("Invalid ALU opcode to lower");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2615]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_is_arrayed_io’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:148:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:3260:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:795:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘nir_is_arrayed_io’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2616]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:182:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:3260:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:795:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘uses_high_dvec2_semantic’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2617]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:466:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:3260:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:822:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:795:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c:660:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘emit_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io.c: scope_hint: In function ‘emit_store’
#  464|         nir_intrinsic_instr_create(state->builder.shader, op);
#  465|      store->num_components = num_components;
#  466|->    store->name = add_variable_name(state, var->name);
#  467|   
#  468|      store->src[0] = nir_src_for_ssa(data);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2618]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c: scope_hint: In function ‘lower_io_arrays_to_elements’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:308:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:229:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:228:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:228:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:225:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:269:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:272:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c: scope_hint: In function ‘lower_io_arrays_to_elements’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_arrays_to_elements.c:273:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2619]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘nir_lower_io_to_scalar_early_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c:502:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_scalar.c: scope_hint: In function ‘nir_lower_io_to_scalar_early_instr’
#  500|   
#  501|      /* TODO: add doubles support */
#  502|->    if (glsl_type_is_64bit(glsl_without_array(var->type)))
#  503|         return false;
#  504|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2620]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c: scope_hint: In function ‘nir_vectorize_tess_levels_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:647:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:625:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:626:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:626:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:626:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c: scope_hint: In function ‘nir_vectorize_tess_levels_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:626:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c:626:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c: scope_hint: In function ‘nir_vectorize_tess_levels_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_io_to_vector.c: scope_hint: In function ‘nir_vectorize_tess_levels_impl’
#  645|            assert(nir_src_is_const(deref->arr.index));
#  646|            unsigned index = nir_src_as_uint(deref->arr.index);
#  647|->          unsigned vec_size = glsl_get_vector_elements(var->type);
#  648|   
#  649|            b.cursor = nir_before_instr(instr);

Error: CLANG_WARNING: [#def2621]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:77:11: warning[core.NullDereference]: Access to field 'deref_type' results in a dereference of a null pointer (loaded from variable 'a')
#   75|      for (const nir_deref_instr *a = void_a, *b = void_b; a || b;
#   76|           a = nir_deref_instr_parent(a), b = nir_deref_instr_parent(b)) {
#   77|->       if (a->deref_type != b->deref_type)
#   78|            return false;
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2622]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:116:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:314:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:297:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c:204:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:735:26: note: in expansion of macro ‘PROCESS4’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:715:12: note: in expansion of macro ‘XXH_get32bits’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h:737:26: note: in expansion of macro ‘PROCESS4’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_locals_to_regs.c: scope_hint: In function ‘get_reg_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2623]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_mediump.c:123:13: warning[deadcode.DeadStores]: Value stored to 'num_slots' is never read
#  121|            unsigned num_slots = sem.num_slots;
#  122|            if (sem.medium_precision)
#  123|->             num_slots = (num_slots + sem.high_16bits + 1) / 2;
#  124|   
#  125|            if (mode == nir_var_shader_in) {

Error: CLANG_WARNING: [#def2624]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_mem_access_bit_sizes.c:330:49: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'int'
#  328|            }
#  329|   
#  330|->          nir_def *iand_mask = nir_imm_int(b, (1 << chunk_bits) - 1);
#  331|   
#  332|            if (chunk_align < requested.align) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2625]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:150:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:100:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2626]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:153:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:195:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:100:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c:101:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memcpy.c: scope_hint: In function ‘lower_memcpy_impl’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2627]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c: scope_hint: In function ‘get_intrinsic_info’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:40:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2628]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:44:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2629]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:49:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2630]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:82:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2631]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:86:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2632]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:91:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:236:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_memory_model.c:154:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2633]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:72:46: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:72:46: note: read of 8 bytes from after the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2634]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:73:45: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:73:45: note: read of 8 bytes from after the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/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-126): [#def2635]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:76:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:76:35: note: read of 8 bytes from after the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:76:35: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#                                             └────────────────────────────────────┘
#                                                               ^
#   74|   
#   75|      nir_def *channels[NIR_MAX_VEC_COMPONENTS];
#   76|->    for (unsigned i = 0; i < handle->handle->num_components; i++)
#   77|         channels[i] = nir_channel(b, handle->handle, i);
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def2636]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:79:18: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_compare’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:79:18: note: write of 8 bytes to beyond the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:79:18: note: valid subscripts for ‘handles’ are ‘[0]’ to ‘[1]’
#   77|         channels[i] = nir_channel(b, handle->handle, i);
#   78|   
#   79|->    handle->first = handle->handle;
#   80|      nir_def *equal_first = nir_imm_true(b);
#   81|      u_foreach_bit(i, channel_mask) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2637]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2638]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nu_handle_rewrite.part.0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2639]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:152:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:152:26: note: read of 8 bytes from after the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2640]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:153:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:335:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:213:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:214:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘lower_non_uniform_tex_access’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:81:4: note: in expansion of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_non_uniform_access.c:153:27: note: write of 8 bytes to beyond the end of ‘handles’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2641]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_passthrough_edgeflags.c: scope_hint: In function ‘lower_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_passthrough_edgeflags.c:30:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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: CLANG_WARNING: [#def2642]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_phis_to_scalar.c:156:4: warning[deadcode.DeadStores]: Value stored to 'entry' is never read
#  154|       * won't automatically make us fail to scalarize.
#  155|       */
#  156|->    entry = _mesa_hash_table_insert(state->phi_table, phi, (void *)(intptr_t)1);
#  157|   
#  158|      bool scalarizable = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2643]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_point_smooth.c: scope_hint: In function ‘lower_point_smooth’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_point_smooth.c:53:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_point_smooth’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2644]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘lower_printf_intrin.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_printf.c:54:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_printf.c: scope_hint: In function ‘lower_printf_intrin.part.0’
#   52|      /* Align the struct size to 4 */
#   53|      assert(glsl_type_is_struct_or_ifc(args->type));
#   54|->    int args_size = align(glsl_get_cl_size(args->type), 4);
#   55|      assert(fmt_str_id->bit_size == 32);
#   56|      int fmt_str_id_size = 4;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2645]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_readonly_images_to_tex.c: scope_hint: In function ‘replace_image_type_with_texture’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_readonly_images_to_tex.c:45:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘replace_image_type_with_texture’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2646]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘lower_resume’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1281:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_resume’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘lower_resume’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:816:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:817:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:817:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:817:7: note: in expansion of macro ‘nir_foreach_instr’
# 1279|       * by the spilling pass and which we shouldn't delete.
# 1280|       */
# 1281|->    struct sized_bitset remat = bitset_create(mem_ctx, impl->ssa_alloc);
# 1282|   
# 1283|      /* Create a nop instruction to use as a cursor as we extract and re-insert

Error: CLANG_WARNING: [#def2647]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_task_shader.c:277:7: warning[deadcode.DeadStores]: Value stored to 'off' is never read
#  275|         }
#  276|         nir_pop_if(b, if_stmt);
#  277|->       off += remaining_dwords * 4;
#  278|      }
#  279|   

Error: CLANG_WARNING: [#def2648]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_tex.c:1042:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1040|                   */
# 1041|                  nir_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex));
# 1042|->                comp[j] = nir_fmax(b, comp[j], nir_imm_float(b, 0.0));
# 1043|                  comp[j] = nir_fmin(b, comp[j], nir_channel(b, txs, j));
# 1044|               } else {

Error: CLANG_WARNING: [#def2649]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_tex.c:1045:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1043|                  comp[j] = nir_fmin(b, comp[j], nir_channel(b, txs, j));
# 1044|               } else {
# 1045|->                comp[j] = nir_fsat(b, comp[j]);
# 1046|               }
# 1047|            }

Error: CLANG_WARNING: [#def2650]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_tex_shadow.c:131:47: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'sampler')
#  129|   
#  130|      if (sampler_index >= 0) {
#  131|->       sampler->type = strip_shadow_with_array(sampler->type);
#  132|         sampler_deref->type = sampler->type;
#  133|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2651]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:110:78: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:394:6: note: in definition of macro ‘BITFIELD_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:138:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:138:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:138:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:93:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace.c:94:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘nir_lower_texcoord_replace_impl’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:394: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): [#def2652]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:110:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2653]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:115:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c: scope_hint: In function ‘setup_inputs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:91:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2654]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_two_sided_color.c:144:25: warning[core.NullDereference]: Dereference of null pointer
#  142|   
#  143|         for (idx = 0; idx < state->colors_count; idx++) {
#  144|->          unsigned loc = state->colors[idx].front->data.location;
#  145|            if (var->data.location == loc)
#  146|               break;

Error: CLANG_WARNING: [#def2655]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_var_copies.c:38:11: warning[core.NullDereference]: Dereference of null pointer
#   36|                                nir_deref_instr ***deref_arr)
#   37|   {
#   38|->    for (; **deref_arr; (*deref_arr)++) {
#   39|         if ((**deref_arr)->deref_type == nir_deref_type_array_wildcard)
#   40|            return parent;

Error: CLANG_WARNING: [#def2656]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c:236:20: warning[core.DivideZero]: Division by zero
#  234|      if (!shader->info.workgroup_size_variable) {
#  235|         size_per_iteration = nir_static_workgroup_size(shader) * chunk_size;
#  236|->       iterations = DIV_ROUND_UP(shared_size, size_per_iteration);
#  237|      }
#  238|   

Error: CLANG_WARNING: [#def2657]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_variable_initializers.c:245:44: warning[core.DivideZero]: Division by zero
#  243|         for (unsigned i = 0; i < iterations; ++i) {
#  244|            const unsigned base = size_per_iteration * i;
#  245|->          bool use_check = i >= shared_size / size_per_iteration;
#  246|            if (use_check)
#  247|               nir_push_if(&b, nir_ult_imm(&b, first_offset, shared_size - base));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2658]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:879:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:506:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c:507:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vars_to_ssa.c: scope_hint: In function ‘get_deref_node_recur’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2659]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_vec_to_regs.c:162:40: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  160|               unsigned c = valid ? vec->src[i].swizzle[0] : 0;
#  161|   
#  162|->             src_alu->src[j].swizzle[i] = swizzles[j][c];
#  163|            }
#  164|         }

Error: CLANG_WARNING: [#def2660]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_wpos_ytransform.c:144:31: warning[core.NullDereference]: Access to field 'parent_instr' results in a dereference of a null pointer (loaded from variable 'wpos_temp')
#  142|      nir_def_rewrite_uses_after(&intr->def,
#  143|                                 wpos_temp,
#  144|->                               wpos_temp->parent_instr);
#  145|   }
#  146|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2661]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘gather_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:98:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:304:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘gather_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:304:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:305:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:305:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:305:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2662]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘process_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:256:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:304:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c: scope_hint: In function ‘process_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:305:10: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:304:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:303:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:320:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:320:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:323:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:323:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:323:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:323:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:272:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_access.c:273:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2663]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:226:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2664]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:234:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:428:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:401:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c:281:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_combine_stores.c: scope_hint: In function ‘update_combined_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2665]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:204:79: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2666]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:239:148: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1529:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:161:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c: scope_hint: In function ‘gather_vars_written’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:263:7: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:171:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2667]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:523:26: warning[core.NullDereference]: Access to field 'ht' results in a dereference of a null pointer (loaded from variable 'copies')
#  521|          deref->_path->path[0]->var->data.mode == nir_var_mem_shared) {
#  522|   
#  523|->       hash_table_foreach(copies->ht, ht_entry) {
#  524|            nir_variable *var = (nir_variable *)ht_entry->key;
#  525|            if (deref->_path->path[0]->deref_type == nir_deref_type_var &&

Error: CLANG_WARNING: [#def2668]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:555:38: warning[core.NullDereference]: Access to field 'ht' results in a dereference of a null pointer (loaded from variable 'copies')
#  553|   
#  554|         if (copies_array->size == 0) {
#  555|->          _mesa_hash_table_remove_key(copies->ht, deref->_path->path[0]->var);
#  556|         }
#  557|      }

Error: CLANG_WARNING: [#def2669]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:911:26: warning[core.NullDereference]: Access to field 'ht' results in a dereference of a null pointer (loaded from variable 'copies')
#  909|      struct vars_written *written = ht_entry->data;
#  910|      if (written->modes) {
#  911|->       hash_table_foreach(copies->ht, ht_entry) {
#  912|            struct copies_dynarray *copies_array =
#  913|               get_copies_array_from_ht_entry(state, copies, ht_entry);

Error: CLANG_WARNING: [#def2670]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:1361:40: warning[core.NullDereference]: Access to field 'ht' results in a dereference of a null pointer (loaded from variable 'copies')
# 1359|       */
# 1360|      assert(clones->ht == NULL);
# 1361|->    clones->ht = _mesa_hash_table_clone(copies->ht, state->mem_ctx);
# 1362|   
# 1363|      util_dynarray_clone(&clones->arr, state->mem_ctx, &copies->arr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2671]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:211:72: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:254:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:254:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:254:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:235:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c:119:4: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_dead_write_vars.c: scope_hint: In function ‘remove_dead_write_vars_local’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2672]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘node_for_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:118:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2673]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:126:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2674]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:265:8: warning[core.NullDereference]: Access to field 'deref_type' results in a dereference of a null pointer
#  263|                         struct match_state *state)
#  264|   {
#  265|->    if (path->path[0]->deref_type == nir_deref_type_var) {
#  266|         struct hash_entry *entry = _mesa_hash_table_search(state->var_nodes,
#  267|                                                            path->path[0]->var);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2675]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:403:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2676]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:404:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:679:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:646:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c:532:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_find_array_copies.c: scope_hint: In function ‘handle_read’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2677]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:47:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘find_continue_block’
mesa-24.1.2-build/mesa-24.1.2/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2678]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c: scope_hint: In function ‘opt_split_alu_of_phi’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:384:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1319:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_if.c:1283:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2679]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_load_store_vectorize.c:394:52: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'parent')
#  392|         case nir_deref_type_struct: {
#  393|            assert(parent);
#  394|->          int offset = glsl_get_struct_field_offset(parent->type, deref->strct.index);
#  395|            *offset_base += offset;
#  396|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2680]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:633:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:660:4: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:661:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:661:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:661:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘is_access_out_of_bounds’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:661:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_loop_unroll.c:661:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2681]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:145:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:239:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:238:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2682]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:146:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:239:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:238:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2683]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:160:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:292:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:239:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:238:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:254:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c:255:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_memcpy.c: scope_hint: In function ‘try_lower_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2684]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c: scope_hint: In function ‘nir_opt_move_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:90:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘__prev’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:130:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:132:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c: scope_hint: In function ‘nir_opt_move_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:132:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_move.c:70:4: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1117:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2685]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:112:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:549:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:528:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c: scope_hint: In function ‘block_check_for_allowed_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_peephole_select.c:103:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2686]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_preamble.c: scope_hint: In function ‘nir_opt_preamble’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_preamble.c:757:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_preamble.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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): [#def2687]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c: scope_hint: In function ‘nir_opt_ray_query_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:230:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3359:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:230:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c: scope_hint: In function ‘nir_opt_ray_query_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:225:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:225:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:225:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3359:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:230:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3359:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_ray_queries.c:230:4: note: in expansion of macro ‘nir_foreach_function_temp_variable’
#  228|         ray_query_count++;
#  229|      }
#  230|->    nir_foreach_function_temp_variable(var, func->impl) {
#  231|         if (!var->data.ray_query || glsl_type_is_array(var->type))
#  232|            continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2688]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:145:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:260:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:194:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
#  143|      nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&loop->cf_node));
#  144|   
#  145|->    return block->index > before->index && block->index < after->index;
#  146|   }
#  147|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2689]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:145:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:256:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:260:7: note: in expansion of macro ‘nir_foreach_block_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:738:33: note: in definition of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:768:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:770:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3056:4: note: in expansion of macro ‘foreach_list_typed_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:261:10: note: in expansion of macro ‘nir_foreach_instr_reverse_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1111:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c:194:4: note: in expansion of macro ‘nir_foreach_use_including_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3393:14: note: in expansion of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_sink.c: scope_hint: In function ‘loop_contains_block’
#  143|      nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&loop->cf_node));
#  144|   
#  145|->    return block->index > before->index && block->index < after->index;
#  146|   }
#  147|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2690]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:194:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:317:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
#  192|            nir_block *first_then = nir_if_first_then_block(nir_cf_node_as_if(cf));
#  193|            nir_block *last_then = nir_if_last_then_block(nir_cf_node_as_if(cf));
#  194|->          bool within_then = instr->instr.block->index >= first_then->index;
#  195|            within_then = within_then && instr->instr.block->index <= last_then->index;
#  196|            if (!within_then)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2691]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:195:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:359:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:317:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c:318:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_uniform_atomics.c: scope_hint: In function ‘is_atomic_already_optimized’
#  193|            nir_block *last_then = nir_if_last_then_block(nir_cf_node_as_if(cf));
#  194|            bool within_then = instr->instr.block->index >= first_then->index;
#  195|->          within_then = within_then && instr->instr.block->index <= last_then->index;
#  196|            if (!within_then)
#  197|               continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2692]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1861:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1416:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1416:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1416:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1425:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1425:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1425:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1583:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1583:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1583:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1583:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1590:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1614:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1621:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1621:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1675:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:1675:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:2105:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:2105:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘can_move_deref_between_shaders’
# 1859|       * move subroutine uniforms.
# 1860|       */
# 1861|->    if (var->name && strstr(var->name, "__subu_") == var->name)
# 1862|         return false;
# 1863|   

Error: CLANG_WARNING: [#def2693]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:3103:33: warning[core.NullDereference]: Access to field 'parent_instr' results in a dereference of a null pointer (loaded from variable 'baryc')
# 3101|   
# 3102|         nir_intrinsic_instr *baryc_i =
# 3103|->          nir_instr_as_intrinsic(baryc->parent_instr);
# 3104|   
# 3105|         if (alu_interp == FLAG_INTERP_LINEAR_PIXEL ||

Error: CLANG_WARNING: [#def2694]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:3221:47: warning[core.NullDereference]: Access to field 'parent_instr' results in a dereference of an undefined pointer value
# 3219|                             head) {
# 3220|            assert(i < 3);
# 3221|->          iter->instr = nir_instr_as_intrinsic(new_tes_loads[i]->parent_instr);
# 3222|            i++;
# 3223|         }

Error: COMPILER_WARNING (CWE-563): [#def2695]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c: scope_hint: In function ‘fs_assign_slots’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:3766:28: warning[-Wunused-but-set-variable]: variable ‘max_slot’ set but not used
# 3766 |    unsigned i, slot_index, max_slot;
#      |                            ^~~~~~~~
# 3764|                   nir_opt_varyings_progress *progress)
# 3765|   {
# 3766|->    unsigned i, slot_index, max_slot;
# 3767|      unsigned num_assigned_slots = 0;
# 3768|   

Error: CLANG_WARNING: [#def2696]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:3771:7: warning[deadcode.DeadStores]: Value stored to 'max_slot' is never read
# 3769|      if (assign_colors) {
# 3770|         slot_index = VARYING_SLOT_COL0 * 8; /* starting slot */
# 3771|->       max_slot = VARYING_SLOT_COL1 * 8 + 8;
# 3772|      } else {
# 3773|         slot_index = VARYING_SLOT_VAR0 * 8; /* starting slot */

Error: CLANG_WARNING: [#def2697]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_varyings.c:3774:7: warning[deadcode.DeadStores]: Value stored to 'max_slot' is never read
# 3772|      } else {
# 3773|         slot_index = VARYING_SLOT_VAR0 * 8; /* starting slot */
# 3774|->       max_slot = VARYING_SLOT_MAX;
# 3775|      }
# 3776|   

Error: CLANG_WARNING: [#def2698]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_print.c:107:8: warning[core.NullDereference]: Dereference of null pointer
#  105|   divergence_status(print_state *state, bool divergent)
#  106|   {
#  107|->    if (state->shader->info.divergence_analysis_run)
#  108|         return divergent ? "div " : "con ";
#  109|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2699]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_remove_tex_shadow.c: scope_hint: In function ‘remove_tex_shadow.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_remove_tex_shadow.c:85:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2700]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c: scope_hint: In function ‘nir_schedule_calculate_deps’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:434:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘n’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1204:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1272:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1273:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c: scope_hint: In function ‘nir_schedule_calculate_deps’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1273:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:1137:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:493:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:753:12: note: in expansion of macro ‘exec_node_data_backward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:511:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3052:4: note: in expansion of macro ‘foreach_list_typed_reverse’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:511:4: note: in expansion of macro ‘nir_foreach_instr_reverse’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2701]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:668:23: warning[core.NullDereference]: Access to field 'instr' results in a dereference of a null pointer (loaded from variable 'chosen')
#  666|      if (debug) {
#  667|         fprintf(stderr, "chose (leader fallback):         ");
#  668|->       nir_print_instr(chosen->instr, stderr);
#  669|         fprintf(stderr, "\n");
#  670|      }

Error: CLANG_WARNING: [#def2702]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:714:23: warning[core.NullDereference]: Access to field 'instr' results in a dereference of a null pointer (loaded from variable 'chosen')
#  712|      if (debug) {
#  713|         fprintf(stderr, "chose (leader):         ");
#  714|->       nir_print_instr(chosen->instr, stderr);
#  715|         fprintf(stderr, "\n");
#  716|      }

Error: CLANG_WARNING: [#def2703]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_schedule.c:834:23: warning[core.NullDereference]: Access to field 'instr' results in a dereference of a null pointer (loaded from variable 'chosen')
#  832|      if (debug) {
#  833|         fprintf(stderr, "chose (max delay):         ");
#  834|->       nir_print_instr(chosen->instr, stderr);
#  835|         fprintf(stderr, "\n");
#  836|      }

Error: CLANG_WARNING: [#def2704]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_serialize.c:1126:55: warning[core.BitwiseShift]: Right shift by '32' overflows the capacity of 'int'
# 1124|            for (unsigned i = 0; i < num_indices; i++) {
# 1125|               intrin->const_index[i] =
# 1126|->                (header.intrinsic.packed_const_indices >> (i * bit_size)) &
# 1127|                  bit_mask;
# 1128|            }

Error: CLANG_WARNING: [#def2705]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_serialize.c:2047:20: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'void *', which is incompatible with sizeof operand type 'uintptr_t'
# 2045|      list_inithead(&ctx.phi_srcs);
# 2046|      ctx.idx_table_len = blob_read_uint32(blob);
# 2047|->    ctx.idx_table = calloc(ctx.idx_table_len, sizeof(uintptr_t));
# 2048|   
# 2049|      uint32_t strings = blob_read_uint32(blob);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2706]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c: scope_hint: In function ‘get_var_pair’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2707]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c: scope_hint: In function ‘split_load_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:172:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2708]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:109:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:905:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:911:4: note: in expansion of macro ‘nir_foreach_variable_in_list_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:918:4: note: in expansion of macro ‘nir_foreach_variable_in_shader_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c:169:4: note: in expansion of macro ‘nir_foreach_variable_with_modes_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘build_member_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_per_member_structs.c: scope_hint: In function ‘build_member_deref’
#  107|   build_member_deref(nir_builder *b, nir_deref_instr *deref, nir_variable *member)
#  108|   {
#  109|->    if (deref->deref_type == nir_deref_type_var) {
#  110|         return nir_build_deref_var(b, member);
#  111|      } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2709]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c: scope_hint: In function ‘is_array_deref_of_vec.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:40:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2710]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:40:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘copy_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:1699:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:1699:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:1699:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:1259:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:1260:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2711]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_split_vars.c:139:69: warning[core.NullDereference]: Access to field 'current_index' results in a dereference of a null pointer (loaded from variable 'field')
#  137|         return dst;
#  138|      } else if (glsl_type_is_struct(type)) {
#  139|->       const struct glsl_type *element = glsl_get_struct_field(type, field->current_index);
#  140|         return gather_constant_initializers(src->elements[field->current_index], var, element, &field->fields[field->current_index], state);
#  141|      } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2712]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:99:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘def_is_invariant’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘def_is_invariant’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:323:10: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:323:10: note: in expansion of macro ‘nir_foreach_block_in_cf_node’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:324:13: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6857: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def2713]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c: scope_hint: In function ‘convert_to_lcssa’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:320:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:389:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:393:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:291:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:293:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_to_lcssa.c:308:7: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2714]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/gl_spirv.c:273:4: warning[deadcode.DeadStores]: Value stored to 'words' is never read
#  271|       * variables or types for gl_spirv)
#  272|       */
#  273|->    words = vtn_foreach_instruction(b, words, word_end,
#  274|                                      vtn_validate_handle_constant_instruction);
#  275|   

Error: CLANG_WARNING: [#def2715]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/spirv_to_nir.c:2402:39: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2400|               for (unsigned i = 0; i < num_components; ++i) {
# 2401|                  switch (bit_size) {
# 2402|->                case 64: src[1][i].u32 = src[1][i].u64; break;
# 2403|                  case 16: src[1][i].u32 = src[1][i].u16; break;
# 2404|                  case  8: src[1][i].u32 = src[1][i].u8;  break;

Error: CLANG_WARNING: [#def2716]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/spirv_to_nir.c:2403:39: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2401|                  switch (bit_size) {
# 2402|                  case 64: src[1][i].u32 = src[1][i].u64; break;
# 2403|->                case 16: src[1][i].u32 = src[1][i].u16; break;
# 2404|                  case  8: src[1][i].u32 = src[1][i].u8;  break;
# 2405|                  }

Error: CLANG_WARNING: [#def2717]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/spirv_to_nir.c:2404:39: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2402|                  case 64: src[1][i].u32 = src[1][i].u64; break;
# 2403|                  case 16: src[1][i].u32 = src[1][i].u16; break;
# 2404|->                case  8: src[1][i].u32 = src[1][i].u8;  break;
# 2405|                  }
# 2406|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2718]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘unwrap_matrix’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:56:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘unwrap_matrix’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘unwrap_matrix’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2719]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:69:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_src0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2720]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:70:58: warning[core.NullDereference]: Access to field 'transposed' results in a dereference of a null pointer (loaded from variable '_src1')
#   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|   
#   72|      unsigned src0_rows = glsl_get_vector_elements(src0->type);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2721]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:72:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2722]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:74:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘matrix_multiply’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2723]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:199:51: warning[core.NullDereference]: Dereference of null pointer
#  197|         for (unsigned i = 0; i < cols; i++)
#  198|            dest->elems[i]->def =
#  199|->             nir_fadd(&b->nb, src0->elems[i]->def, src1->elems[i]->def);
#  200|         return dest;
#  201|      }

Error: CLANG_WARNING: [#def2724]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:208:51: warning[core.NullDereference]: Dereference of null pointer
#  206|         for (unsigned i = 0; i < cols; i++)
#  207|            dest->elems[i]->def =
#  208|->             nir_fsub(&b->nb, src0->elems[i]->def, src1->elems[i]->def);
#  209|         return dest;
#  210|      }

Error: CLANG_WARNING: [#def2725]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:218:58: warning[core.NullDereference]: Dereference of null pointer
#  216|         if (src0->transposed) {
#  217|            return vtn_ssa_transpose(b, mat_times_scalar(b, src0->transposed,
#  218|->                                                          src1->def));
#  219|         } else {
#  220|            return mat_times_scalar(b, src0, src1->def);

Error: CLANG_WARNING: [#def2726]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:220:43: warning[core.NullDereference]: Dereference of null pointer
#  218|                                                            src1->def));
#  219|         } else {
#  220|->          return mat_times_scalar(b, src0, src1->def);
#  221|         }
#  222|         break;

Error: CLANG_WARNING: [#def2727]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:595:28: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer
#  593|      }
#  594|   
#  595|->    if (glsl_type_is_matrix(vtn_src[0]->type) ||
#  596|          (num_inputs >= 2 && glsl_type_is_matrix(vtn_src[1]->type))) {
#  597|         struct vtn_ssa_value *dest = vtn_handle_matrix_alu(b, opcode, vtn_src[0], vtn_src[1]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2728]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:595:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘vtn_handle_alu’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c: scope_hint: In function ‘vtn_handle_alu’
#  593|      }
#  594|   
#  595|->    if (glsl_type_is_matrix(vtn_src[0]->type) ||
#  596|          (num_inputs >= 2 && glsl_type_is_matrix(vtn_src[1]->type))) {
#  597|         struct vtn_ssa_value *dest = vtn_handle_matrix_alu(b, opcode, vtn_src[0], vtn_src[1]);

Error: CLANG_WARNING: [#def2729]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:624:32: warning[core.NullDereference]: Access to field 'num_components' results in a dereference of a null pointer
#  622|   
#  623|      case SpvOpOuterProduct: {
#  624|->       for (unsigned i = 0; i < src[1]->num_components; i++) {
#  625|            dest->elems[i]->def =
#  626|               nir_fmul(&b->nb, src[0], nir_channel(&b->nb, src[1], i));

Error: CLANG_WARNING: [#def2730]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_alu.c:884:30: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  882|            if (src_bit_size == 0)
#  883|               continue;
#  884|->          if (src_bit_size != src[i]->bit_size) {
#  885|               assert(src_bit_size == 32);
#  886|               /* Convert the Shift, Offset and Count  operands to 32 bits, which is the bitsize

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2731]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c:208:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2732]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c:218:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_amd.c: scope_hint: In function ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2733]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c:574:20: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c:529:7: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_unstructured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c:336:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:235:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c:573:10: note: in expansion of macro ‘vtn_foreach_case’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_cfg.c:574:20: note: read of 1 bit from after the end of ‘cases’
#                                                 └───────────────────────┘
#                                                             ^
#  572|            struct vtn_case *def = NULL;
#  573|            vtn_foreach_case(cse, &cases) {
#  574|->             if (cse->is_default) {
#  575|                  assert(def == NULL);
#  576|                  def = cse;

Error: CLANG_WARNING: [#def2734]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:79:20: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#   77|         subdet[i] = build_mat_subdet(b, col, size, i, 0);
#   78|   
#   79|->    nir_def *prod = nir_fmul(b, col[0], nir_vec(b, subdet, size));
#   80|   
#   81|      nir_def *result = NULL;

Error: CLANG_WARNING: [#def2735]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:155:8: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'x')
#  153|   build_asin(nir_builder *b, nir_def *x, float p0, float p1, bool piecewise)
#  154|   {
#  155|->    if (x->bit_size == 16) {
#  156|         /* The polynomial approximation isn't precise enough to meet half-float
#  157|          * precision requirements. Alternatively, we could implement this using

Error: CLANG_WARNING: [#def2736]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:342:57: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  340|   
#  341|      case GLSLstd450Modf: {
#  342|->       nir_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size);
#  343|         nir_def *sign_bit =
#  344|            nir_imm_intN_t(&b->nb, (uint64_t)1 << (src[0]->bit_size - 1),

Error: CLANG_WARNING: [#def2737]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:367:57: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  365|   
#  366|      case GLSLstd450ModfStruct: {
#  367|->       nir_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size);
#  368|         nir_def *sign_bit =
#  369|            nir_imm_intN_t(&b->nb, (uint64_t)1 << (src[0]->bit_size - 1),

Error: CLANG_WARNING: [#def2738]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:453:36: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  451|         dest->def =
#  452|            nir_bcsel(nb, nir_flt(nb, nir_fdot(nb, src[2], src[1]),
#  453|->                                    NIR_IMM_FP(nb, 0.0)),
#  454|                          src[0], nir_fneg(nb, src[0]));
#  455|         break;

Error: CLANG_WARNING: [#def2739]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:463:42: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  461|                               src[1],
#  462|                               nir_fmul(nb, nir_fdot(nb, src[0], src[1]),
#  463|->                                          NIR_IMM_FP(nb, 2.0)));
#  464|         break;
#  465|   

Error: CLANG_WARNING: [#def2740]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:471:22: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  469|         nir_def *eta = src[2];
#  470|         nir_def *n_dot_i = nir_fdot(nb, N, I);
#  471|->       nir_def *one = NIR_IMM_FP(nb, 1.0);
#  472|         nir_def *zero = NIR_IMM_FP(nb, 0.0);
#  473|         /* According to the SPIR-V and GLSL specs, eta is always a float

Error: CLANG_WARNING: [#def2741]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:480:26: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer (loaded from variable 'eta')
#  478|          * double if the other operands are double also.
#  479|          */
#  480|->       if (I->bit_size != eta->bit_size) {
#  481|            eta = nir_type_convert(nb, eta, nir_type_float,
#  482|                                   nir_type_float | I->bit_size,

Error: CLANG_WARNING: [#def2742]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_glsl450.c:523:33: warning[core.NullDereference]: Access to field 'bit_size' results in a dereference of a null pointer
#  521|          * For 16-bit precision this we clamp x to [-4.2, +4.2].
#  522|          */
#  523|->       const uint32_t bit_size = src[0]->bit_size;
#  524|         const double clamped_x = bit_size > 16 ? 10.0 : 4.2;
#  525|         nir_def *x = nir_fclamp(nb, src[0],

Error: CLANG_WARNING: [#def2743]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:210:52: warning[core.NullDereference]: Array access (from variable 'w_src') results in a null pointer dereference
#  208|      vtn_assert(num_srcs <= ARRAY_SIZE(srcs));
#  209|      for (unsigned i = 0; i < num_srcs; i++) {
#  210|->       struct vtn_value *val = vtn_untyped_value(b, w_src[i]);
#  211|         struct vtn_ssa_value *ssa = vtn_ssa_value(b, w_src[i]);
#  212|         srcs[i] = ssa->def;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2744]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:218:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘w_dest’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2745]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_alu’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:282:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2746]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c: scope_hint: In function ‘handle_special’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_opencl.c:506:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2747]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:251:27: warning[core.NullDereference]: Array access (from variable 'switch_merge') results in a null pointer dereference
#  249|         return NULL;
#  250|   
#  251|->    if (block->label[1] == switch_merge[1])
#  252|         return NULL;
#  253|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2748]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1423:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1522:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:65:45: note: in definition of macro ‘likely’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1605:7: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1605:7: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1418:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vtn_switch_case_condition’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_switch_case_condition’
# 1421|         nir_def *any = nir_imm_false(&b->nb);
# 1422|   
# 1423|->       struct vtn_block *header = b->func->ordered_blocks[swtch->start_pos];
# 1424|   
# 1425|         for (unsigned j = 0; j < header->successors_count; j++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2749]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1590:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1522:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
# 1588|                  nir_block *last = nir_loop_last_block(top->nloop);
# 1589|                  if (!nir_block_ends_in_jump(last)) {
# 1590|->                   b->nb.cursor = nir_after_block(last);
# 1591|                     nir_jump(&b->nb, nir_jump_break);
# 1592|                  }

Error: GCC_ANALYZER_WARNING (CWE-416): [#def2750]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1590:34: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘b’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1522:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
# 1588|                  nir_block *last = nir_loop_last_block(top->nloop);
# 1589|                  if (!nir_block_ends_in_jump(last)) {
# 1590|->                   b->nb.cursor = nir_after_block(last);
# 1591|                     nir_jump(&b->nb, nir_jump_break);
# 1592|                  }

Error: CLANG_WARNING: [#def2751]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1734:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'stack.data.data'
# 1732|      }
# 1733|   
# 1734|->    vtn_assert(count_construct_stack(&stack) == 1);
# 1735|   }

Error: CLANG_WARNING: [#def2752]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:1737:14: warning[core.NullDereference]: Access to field 'base_type' results in a dereference of a null pointer (loaded from variable 'interface_type')
# 1735|             */
# 1736|            assert(interface_type != NULL);
# 1737|->          if (interface_type->base_type == vtn_base_type_accel_struct) {
# 1738|               mode = vtn_variable_mode_accel_struct;
# 1739|               nir_mode = nir_var_uniform;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2753]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:1737:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘interface_type’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c: scope_hint: In function ‘vtn_storage_class_to_mode’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:732:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:756:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:760:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_private.h:760:4: note: in expansion of macro ‘vtn_fail_if’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:2078:4: note: in expansion of macro ‘vtn_assert’
# 1735|             */
# 1736|            assert(interface_type != NULL);
# 1737|->          if (interface_type->base_type == vtn_base_type_accel_struct) {
# 1738|               mode = vtn_variable_mode_accel_struct;
# 1739|               nir_mode = nir_var_uniform;

Error: CLANG_WARNING: [#def2754]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:2742:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2740|         dest = vtn_align_pointer(b, dest, dest_alignment);
# 2741|   
# 2742|->       vtn_emit_make_visible_barrier(b, src_access, src_scope, src->mode);
# 2743|   
# 2744|         vtn_variable_copy(b, dest, src,

Error: CLANG_WARNING: [#def2755]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:2772:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2770|         dest = vtn_align_pointer(b, dest, dest_alignment);
# 2771|   
# 2772|->       vtn_emit_make_visible_barrier(b, src_access, src_scope, src->mode);
# 2773|   
# 2774|         nir_memcpy_deref_with_access(&b->nb,

Error: CLANG_WARNING: [#def2756]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:2798:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2796|         src = vtn_align_pointer(b, src, alignment);
# 2797|   
# 2798|->       vtn_emit_make_visible_barrier(b, access, scope, src->mode);
# 2799|   
# 2800|         vtn_push_ssa_value(b, w[2], vtn_variable_load(b, src, spv_access_to_gl_access(access)));

Error: CLANG_WARNING: [#def2757]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_variables.c:2843:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2841|         vtn_variable_store(b, src, dest, spv_access_to_gl_access(access));
# 2842|   
# 2843|->       vtn_emit_make_available_barrier(b, access, scope, dest->mode);
# 2844|         break;
# 2845|      }

Error: CLANG_WARNING: [#def2758]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/egl_dri2.c:1711:17: warning[core.NullDereference]: Access to field 'vtbl' results in a dereference of a null pointer (loaded from variable 'old_dri2_dpy')
# 1709|            if (dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) {
# 1710|               if (old_dsurf && _eglSurfaceInSharedBufferMode(old_dsurf) &&
# 1711|->                 old_dri2_dpy->vtbl->set_shared_buffer_mode) {
# 1712|                  old_dri2_dpy->vtbl->set_shared_buffer_mode(old_disp, old_dsurf,
# 1713|                                                             true);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2759]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/egl_dri2.c: scope_hint: In function ‘dri2_make_current’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/egl_dri2.c:1711:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old_dri2_dpy’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/egl_dri2.c: scope_hint: In function ‘dri2_make_current’
# 1709|            if (dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) {
# 1710|               if (old_dsurf && _eglSurfaceInSharedBufferMode(old_dsurf) &&
# 1711|->                 old_dri2_dpy->vtbl->set_shared_buffer_mode) {
# 1712|                  old_dri2_dpy->vtbl->set_shared_buffer_mode(old_disp, old_dsurf,
# 1713|                                                             true);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2760]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_device.c: scope_hint: In function ‘device_probe_device’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2761]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_device.c: scope_hint: In function ‘device_probe_device_sw’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2762]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_drm.c:124:31: warning[core.NullDereference]: Access to field 'dri_image_format' results in a dereference of a null pointer (loaded from variable 'visual')
#  122|         util_format_description(gl_config->color_format);
#  123|      const struct util_format_description *fmt_s =
#  124|->       util_format_description(visual->dri_image_format);
#  125|   
#  126|      if (util_is_format_compatible(fmt_c, fmt_s) ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2763]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_drm.c: scope_hint: In function ‘dri2_drm_config_is_compatible’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_drm.c:124:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘visual’
#  122|         util_format_description(gl_config->color_format);
#  123|      const struct util_format_description *fmt_s =
#  124|->       util_format_description(visual->dri_image_format);
#  125|   
#  126|      if (util_is_format_compatible(fmt_c, fmt_s) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2764]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_surfaceless.c: scope_hint: In function ‘surfaceless_probe_device’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_surfaceless.c:260:35: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("kms_swrast")’
#  258|            if (driver_name && (strcmp(driver_name, "vgem") == 0 ||
#  259|                                strcmp(driver_name, "virtio_gpu") == 0))
#  260|->             dri2_dpy->driver_name = strdup("kms_swrast");
#  261|            free(driver_name);
#  262|         } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2765]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_surfaceless.c: scope_hint: In function ‘surfaceless_probe_device_sw’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_surfaceless.c:306:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(<unknown>)’
#  304|   
#  305|      dri2_dpy->driver_name = strdup(disp->Options.Zink ? "zink" : "swrast");
#  306|->    if (!dri2_dpy->driver_name)
#  307|         return false;
#  308|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2766]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_x11.c: scope_hint: In function ‘dri2_x11_connect’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_x11.c:747:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*dri2_dpy.driver_name’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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
#  745|      }
#  746|   
#  747|->    if (!strcmp(dri2_dpy->driver_name, "zink")) {
#  748|         close(dri2_dpy->fd_render_gpu);
#  749|         return EGL_FALSE;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def2767]
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_x11_dri3.c: scope_hint: In function ‘dri3_x11_connect’
mesa-24.1.2-build/mesa-24.1.2/src/egl/drivers/dri2/platform_x11_dri3.c:644:7: warning[-Wanalyzer-deref-before-check]: check of ‘*dri2_dpy.driver_name’ for NULL after already dereferencing it
#  642|      }
#  643|   
#  644|->    if (!dri2_dpy->driver_name) {
#  645|         _eglLog(_EGL_WARNING, "DRI3: No driver found");
#  646|         close(dri2_dpy->fd_render_gpu);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2768]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1620:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1638:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1638:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglsurface.h: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘_eglWaitClientCommon’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1619:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1619:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1619:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1619:4: note: in expansion of macro ‘egl_relax’
# 1618|   
# 1619|      egl_relax (disp, &ctx->Resource) {
# 1620|->       ret = disp->Driver->WaitClient(disp, ctx);
# 1621|      }
# 1622|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2769]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1665:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1652:4: note: in expansion of macro ‘_EGL_FUNC_START’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglsurface.h: scope_hint: In function ‘eglWaitNative’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c: scope_hint: In function ‘eglWaitNative’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1664:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1664:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1664:4: note: in expansion of macro ‘egl_relax’
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/eglapi.c:1664:4: note: in expansion of macro ‘egl_relax’
# 1663|   
# 1664|      egl_relax (disp) {
# 1665|->       ret = disp->Driver->WaitNative(engine);
# 1666|      }
# 1667|   

Error: CLANG_WARNING: [#def2770]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/egldisplay.c:233:11: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  231|   
#  232|      /* otherwise, compare the lists */
#  233|->    return memcmp(a, b, na * sizeof(a[0])) == 0 ? EGL_TRUE : EGL_FALSE;
#  234|   }
#  235|   

Error: CLANG_WARNING: [#def2771]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/egldisplay.c:233:11: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  231|   
#  232|      /* otherwise, compare the lists */
#  233|->    return memcmp(a, b, na * sizeof(a[0])) == 0 ? EGL_TRUE : EGL_FALSE;
#  234|   }
#  235|   

Error: CLANG_WARNING: [#def2772]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/egldisplay.c:286:7: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  284|            goto out;
#  285|         }
#  286|->       memcpy(disp->Options.Attribs, attrib_list,
#  287|                num_attribs * sizeof(EGLAttrib));
#  288|      }

Error: CLANG_WARNING: [#def2773]
mesa-24.1.2-build/mesa-24.1.2/src/egl/main/egldisplay.c:460:18: warning[core.NullDereference]: Access to field 'Next' results in a dereference of a null pointer (loaded from variable 'prev')
#  458|         }
#  459|         assert(prev);
#  460|->       prev->Next = res->Next;
#  461|      } else {
#  462|         res->Display->ResourceLists[type] = res->Next;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2774]
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_bo.c: scope_hint: In function ‘etna_bo_new’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2775]
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_cmd_stream.c:164:2: warning[deadcode.DeadStores]: Value stored to 'idx' is never read
#  162|   	uint32_t idx;
#  163|   
#  164|-> 	idx = APPEND(&priv->submit, bos);
#  165|   	idx = APPEND(priv, bos);
#  166|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2776]
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_query_domains’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def2777]
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/hwdb/etna_hwdb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2778]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/common/freedreno_rd_output.c:123:7: warning[unix.Malloc]: Use of memory after it is freed
#  121|          */
#  122|         char file_path[PATH_MAX];
#  123|->       snprintf(file_path, sizeof(file_path), "%s/%s_trigger",
#  124|                  fd_rd_output_base_path, output->name);
#  125|         unlink(file_path);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2779]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo_heap.c: scope_hint: In function ‘fd_bo_heap_new’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2780]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo_heap.c: scope_hint: In function ‘fd_bo_heap_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo_heap.c:243:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_drmif.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo_heap.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_priv.h:293:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo_heap.c:207:4: note: in expansion of macro ‘foreach_bo_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2781]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_image.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_drmif.h:309:11: warning[core.NullDereference]: Access to field 'iova' results in a dereference of a null pointer (loaded from variable 'bo')
#  307|      /* ancient kernels did not support this */
#  308|      assert(bo->iova != 0);
#  309|->    return bo->iova;
#  310|   }
#  311|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2782]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_pipe.c: scope_hint: In function ‘fd_fence_new’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_pipe.c:224:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
#  222|      struct fd_fence *f = calloc(1, sizeof(*f));
#  223|   
#  224|->    f->refcnt = 1;
#  225|      f->pipe = fd_pipe_ref(pipe);
#  226|      util_queue_fence_init(&f->ready);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2783]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_priv.h: scope_hint: In function ‘grow’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_priv.h:84:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:620: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:31:14: note: in definition of macro ‘X’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c: scope_hint: In function ‘grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/hash_table.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:114:18: note: in expansion of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:117:16: note: in expansion of macro ‘APPEND’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:117:16: note: in expansion of macro ‘APPEND’
#   82|         *ptr = realloc(*ptr, *max * sz);
#   83|      }
#   84|-> }
#   85|   
#   86|   #define DECLARE_ARRAY(type, name)                                              \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2784]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c: scope_hint: In function ‘fd_bo_add_fence’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_priv.h:94:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:832:7: note: in expansion of macro ‘APPEND’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:832:7: note: in expansion of macro ‘APPEND’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:832:7: note: in expansion of macro ‘APPEND’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:832:7: note: in expansion of macro ‘APPEND’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_bo.c:832:7: note: in expansion of macro ‘APPEND’
#   92|         grow((void **)&(x)->name, (x)->nr_##name, &(x)->max_##name,              \
#   93|              sizeof((x)->name[0]));                                              \
#   94|->       (x)->name[(x)->nr_##name] = __VA_ARGS__;                                 \
#   95|         (x)->nr_##name++;                                                        \
#   96|      })

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2785]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c: scope_hint: In function ‘fd_ringbuffer_sp_new_object’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/freedreno_ringbuffer_sp.c:779:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fd_ring’
mesa-24.1.2-build/mesa-24.1.2/src/util/slab.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def2786]
mesa-24.1.2-build/mesa-24.1.2/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): [#def2787]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_device.c: scope_hint: In function ‘msm_device_new’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2788]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer.c: scope_hint: In function ‘cmd_new’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2789]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer.c:297:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  295|      }
#  296|   
#  297|->    void *obj_relocs[nr_objs];
#  298|      struct drm_msm_gem_submit_cmd cmds[nr_cmds];
#  299|      unsigned i = 0, o = 0;

Error: CLANG_WARNING: [#def2790]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer.c:382:7: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  380|   
#  381|      for (unsigned o = 0; o < nr_objs; o++)
#  382|->       free(obj_relocs[o]);
#  383|   
#  384|      return out_fence;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2791]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer.c: scope_hint: In function ‘msm_ringbuffer_new_object’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2792]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2793]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer_sp.c:60:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#   58|      }
#   59|   
#   60|->    struct drm_msm_gem_submit_cmd cmds[nr_cmds];
#   61|   
#   62|      unsigned cmd_idx = 0;

Error: CLANG_WARNING: [#def2794]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer_sp.c:127:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  125|      const unsigned bo_limit = 4096 / sizeof(struct drm_msm_gem_submit_bo);
#  126|      bool bos_on_stack = fd_submit->nr_bos < bo_limit;
#  127|->    struct drm_msm_gem_submit_bo
#  128|         _submit_bos[bos_on_stack ? fd_submit->nr_bos : 0];
#  129|      struct drm_msm_gem_submit_bo *submit_bos;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2795]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer_sp.c: scope_hint: In function ‘flush_submit_list’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/drm/msm/msm_ringbuffer_sp.c:137:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘submit_bos’
#  135|   
#  136|      for (unsigned i = 0; i < fd_submit->nr_bos; i++) {
#  137|->       submit_bos[i].flags = fd_submit->bos[i]->reloc_flags;
#  138|         submit_bos[i].handle = fd_submit->bos[i]->handle;
#  139|         submit_bos[i].presumed = 0;

Error: CLANG_WARNING: [#def2796]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/fdl/fd6_layout.c:206:32: warning[core.DivideZero]: Division by zero
#  204|         ubwc_tile_height_alignment = 64;
#  205|      }
#  206|->    layout->ubwc_width0 = align(DIV_ROUND_UP(ubwc_width0, ubwc_blockwidth),
#  207|                                  RGB_TILE_WIDTH_ALIGNMENT);
#  208|      ubwc_height0 = align(DIV_ROUND_UP(ubwc_height0, ubwc_blockheight),

Error: CLANG_WARNING: [#def2797]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.c:221:10: warning[core.UndefinedBinaryOperatorResult]: The result of the '/' expression is undefined
#  219|            v->local_size[0] * v->local_size[1] * v->local_size[2];
#  220|         unsigned waves_per_wg =
#  221|->          DIV_ROUND_UP(threads_per_wg, compiler->threadsize_base *
#  222|                                            (double_threadsize ? 2 : 1) *
#  223|                                            compiler->wave_granularity);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2798]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.c: scope_hint: In function ‘ir3_valid_flags’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.c:1101:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.c: scope_hint: In function ‘ir3_valid_flags’
# 1099|         if (instr->srcs[n]->flags & IR3_REG_SSA) {
# 1100|            struct ir3_instruction *src = ssa(instr->srcs[n]);
# 1101|->          if (src->address->def->instr->block != instr->block)
# 1102|               return false;
# 1103|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2799]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h: scope_hint: In function ‘is_same_type_mov’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:962:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:521:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘is_same_type_mov’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:521:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘is_same_type_mov’
#  960|      struct ir3_register *dst;
#  961|   
#  962|->    switch (instr->opc) {
#  963|      case OPC_MOV:
#  964|         if (instr->cat1.src_type != instr->cat1.dst_type)

Error: CLANG_WARNING: [#def2800]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_array_to_ssa.c:90:8: warning[unix.Malloc]: Use of memory allocated with size zero
#   88|      struct array_state *state = get_state(ctx, block, arr->id);
#   89|   
#   90|->    if (state->constructed)
#   91|         return state->live_in_definition;
#   92|   

Error: CLANG_WARNING: [#def2801]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_array_to_ssa.c:201:8: warning[unix.Malloc]: Use of memory allocated with size zero
#  199|   {
#  200|      struct array_state *state = get_state(ctx, block, id);
#  201|->    if (state->live_in_definition)
#  202|         return lookup_value(state->live_in_definition);
#  203|   

Error: CLANG_WARNING: [#def2802]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_array_to_ssa.c:233:43: warning[unix.Malloc]: Use of memory allocated with size zero
#  231|                  struct array_state *state =
#  232|                     get_state(&ctx, block, dst->array.id);
#  233|->                state->live_out_definition = dst;
#  234|               }
#  235|            }

Error: CLANG_WARNING: [#def2803]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:314:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  312|         accumulator = create_immed(ctx->block, 0);
#  313|      } else {
#  314|->       accumulator = src[2];
#  315|      }
#  316|   

Error: CLANG_WARNING: [#def2804]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:317:13: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  315|      }
#  316|   
#  317|->    dst[0] = ir3_DP4ACC(ctx->block, src[0], 0, src[1], 0, accumulator, 0);
#  318|   
#  319|      if (alu->op == nir_op_udot_4x8_uadd ||

Error: CLANG_WARNING: [#def2805]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:330:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  328|       */
#  329|      if (alu->op == nir_op_udot_4x8_uadd_sat) {
#  330|->       dst[0] = ir3_ADD_U(ctx->block, dst[0], 0, src[2], 0);
#  331|         dst[0]->flags |= IR3_INSTR_SAT;
#  332|      } else if (alu->op == nir_op_sudot_4x8_iadd_sat) {

Error: CLANG_WARNING: [#def2806]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:355:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  353|         accumulator = create_immed(ctx->block, 0);
#  354|      } else {
#  355|->       accumulator = src[2];
#  356|      }
#  357|   

Error: CLANG_WARNING: [#def2807]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:358:13: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  356|      }
#  357|   
#  358|->    dst[0] = ir3_DP2ACC(ctx->block, src[0], 0, src[1], 0, accumulator, 0);
#  359|      dst[0]->cat3.packed = IR3_SRC_PACKED_LOW;
#  360|      dst[0]->cat3.signedness = signedness;

Error: CLANG_WARNING: [#def2808]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:367:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  365|   
#  366|      if (alu->op == nir_op_udot_4x8_uadd_sat) {
#  367|->       dst[0] = ir3_ADD_U(ctx->block, dst[0], 0, src[2], 0);
#  368|         dst[0]->flags |= IR3_INSTR_SAT;
#  369|      } else if (alu->op == nir_op_sudot_4x8_iadd_sat) {

Error: CLANG_WARNING: [#def2809]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:370:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  368|         dst[0]->flags |= IR3_INSTR_SAT;
#  369|      } else if (alu->op == nir_op_sudot_4x8_iadd_sat) {
#  370|->       dst[0] = ir3_ADD_S(ctx->block, dst[0], 0, src[2], 0);
#  371|         dst[0]->flags |= IR3_INSTR_SAT;
#  372|      }

Error: CLANG_WARNING: [#def2810]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:503:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  501|         break;
#  502|      case nir_op_fmax:
#  503|->       dst[0] = ir3_MAX_F(b, src[0], 0, src[1], 0);
#  504|         break;
#  505|      case nir_op_fmin:

Error: CLANG_WARNING: [#def2811]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:506:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  504|         break;
#  505|      case nir_op_fmin:
#  506|->       dst[0] = ir3_MIN_F(b, src[0], 0, src[1], 0);
#  507|         break;
#  508|      case nir_op_fsat:

Error: CLANG_WARNING: [#def2812]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:527:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  525|         break;
#  526|      case nir_op_fmul:
#  527|->       dst[0] = ir3_MUL_F(b, src[0], 0, src[1], 0);
#  528|         break;
#  529|      case nir_op_fadd:

Error: CLANG_WARNING: [#def2813]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:530:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  528|         break;
#  529|      case nir_op_fadd:
#  530|->       dst[0] = ir3_ADD_F(b, src[0], 0, src[1], 0);
#  531|         break;
#  532|      case nir_op_fsub:

Error: CLANG_WARNING: [#def2814]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:533:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  531|         break;
#  532|      case nir_op_fsub:
#  533|->       dst[0] = ir3_ADD_F(b, src[0], 0, src[1], IR3_REG_FNEG);
#  534|         break;
#  535|      case nir_op_ffma:

Error: CLANG_WARNING: [#def2815]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:536:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  534|         break;
#  535|      case nir_op_ffma:
#  536|->       dst[0] = ir3_MAD_F32(b, src[0], 0, src[1], 0, src[2], 0);
#  537|         break;
#  538|      case nir_op_fddx:

Error: CLANG_WARNING: [#def2816]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:536:16: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
#  534|         break;
#  535|      case nir_op_ffma:
#  536|->       dst[0] = ir3_MAD_F32(b, src[0], 0, src[1], 0, src[2], 0);
#  537|         break;
#  538|      case nir_op_fddx:

Error: CLANG_WARNING: [#def2817]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:558:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  556|         break;
#  557|      case nir_op_flt:
#  558|->       dst[0] = ir3_CMPS_F(b, src[0], 0, src[1], 0);
#  559|         dst[0]->cat2.condition = IR3_COND_LT;
#  560|         break;

Error: CLANG_WARNING: [#def2818]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:562:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  560|         break;
#  561|      case nir_op_fge:
#  562|->       dst[0] = ir3_CMPS_F(b, src[0], 0, src[1], 0);
#  563|         dst[0]->cat2.condition = IR3_COND_GE;
#  564|         break;

Error: CLANG_WARNING: [#def2819]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:566:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  564|         break;
#  565|      case nir_op_feq:
#  566|->       dst[0] = ir3_CMPS_F(b, src[0], 0, src[1], 0);
#  567|         dst[0]->cat2.condition = IR3_COND_EQ;
#  568|         break;

Error: CLANG_WARNING: [#def2820]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:570:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  568|         break;
#  569|      case nir_op_fneu:
#  570|->       dst[0] = ir3_CMPS_F(b, src[0], 0, src[1], 0);
#  571|         dst[0]->cat2.condition = IR3_COND_NE;
#  572|         break;

Error: CLANG_WARNING: [#def2821]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:615:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  613|         break;
#  614|      case nir_op_iadd:
#  615|->       dst[0] = ir3_ADD_U(b, src[0], 0, src[1], 0);
#  616|         break;
#  617|      case nir_op_ihadd:

Error: CLANG_WARNING: [#def2822]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:618:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  616|         break;
#  617|      case nir_op_ihadd:
#  618|->       dst[0] = ir3_ADD_S(b, src[0], 0, src[1], 0);
#  619|         dst[0]->dsts[0]->flags |= IR3_REG_EI;
#  620|         break;

Error: CLANG_WARNING: [#def2823]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:622:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  620|         break;
#  621|      case nir_op_uhadd:
#  622|->       dst[0] = ir3_ADD_U(b, src[0], 0, src[1], 0);
#  623|         dst[0]->dsts[0]->flags |= IR3_REG_EI;
#  624|         break;

Error: CLANG_WARNING: [#def2824]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:626:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  624|         break;
#  625|      case nir_op_iand:
#  626|->       dst[0] = ir3_AND_B(b, src[0], 0, src[1], 0);
#  627|         break;
#  628|      case nir_op_imax:

Error: CLANG_WARNING: [#def2825]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:629:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  627|         break;
#  628|      case nir_op_imax:
#  629|->       dst[0] = ir3_MAX_S(b, src[0], 0, src[1], 0);
#  630|         break;
#  631|      case nir_op_umax:

Error: CLANG_WARNING: [#def2826]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:632:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  630|         break;
#  631|      case nir_op_umax:
#  632|->       dst[0] = ir3_MAX_U(b, src[0], 0, src[1], 0);
#  633|         break;
#  634|      case nir_op_imin:

Error: CLANG_WARNING: [#def2827]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:635:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  633|         break;
#  634|      case nir_op_imin:
#  635|->       dst[0] = ir3_MIN_S(b, src[0], 0, src[1], 0);
#  636|         break;
#  637|      case nir_op_umin:

Error: CLANG_WARNING: [#def2828]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:638:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  636|         break;
#  637|      case nir_op_umin:
#  638|->       dst[0] = ir3_MIN_U(b, src[0], 0, src[1], 0);
#  639|         break;
#  640|      case nir_op_umul_low:

Error: CLANG_WARNING: [#def2829]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:641:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  639|         break;
#  640|      case nir_op_umul_low:
#  641|->       dst[0] = ir3_MULL_U(b, src[0], 0, src[1], 0);
#  642|         break;
#  643|      case nir_op_imadsh_mix16:

Error: CLANG_WARNING: [#def2830]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:644:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  642|         break;
#  643|      case nir_op_imadsh_mix16:
#  644|->       dst[0] = ir3_MADSH_M16(b, src[0], 0, src[1], 0, src[2], 0);
#  645|         break;
#  646|      case nir_op_imad24_ir3:

Error: CLANG_WARNING: [#def2831]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:644:16: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
#  642|         break;
#  643|      case nir_op_imadsh_mix16:
#  644|->       dst[0] = ir3_MADSH_M16(b, src[0], 0, src[1], 0, src[2], 0);
#  645|         break;
#  646|      case nir_op_imad24_ir3:

Error: CLANG_WARNING: [#def2832]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:647:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  645|         break;
#  646|      case nir_op_imad24_ir3:
#  647|->       dst[0] = ir3_MAD_S24(b, src[0], 0, src[1], 0, src[2], 0);
#  648|         break;
#  649|      case nir_op_imul:

Error: CLANG_WARNING: [#def2833]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:647:16: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
#  645|         break;
#  646|      case nir_op_imad24_ir3:
#  647|->       dst[0] = ir3_MAD_S24(b, src[0], 0, src[1], 0, src[2], 0);
#  648|         break;
#  649|      case nir_op_imul:

Error: CLANG_WARNING: [#def2834]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:651:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  649|      case nir_op_imul:
#  650|         compile_assert(ctx, alu->def.bit_size == 16);
#  651|->       dst[0] = ir3_MUL_S24(b, src[0], 0, src[1], 0);
#  652|         break;
#  653|      case nir_op_imul24:

Error: CLANG_WARNING: [#def2835]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:654:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  652|         break;
#  653|      case nir_op_imul24:
#  654|->       dst[0] = ir3_MUL_S24(b, src[0], 0, src[1], 0);
#  655|         break;
#  656|      case nir_op_ineg:

Error: CLANG_WARNING: [#def2836]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:669:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  667|         break;
#  668|      case nir_op_ior:
#  669|->       dst[0] = ir3_OR_B(b, src[0], 0, src[1], 0);
#  670|         break;
#  671|      case nir_op_ishl:

Error: CLANG_WARNING: [#def2837]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:673:34: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  671|      case nir_op_ishl:
#  672|         dst[0] =
#  673|->          ir3_SHL_B(b, src[0], 0, resize_shift_amount(ctx, src[1], bs[0]), 0);
#  674|         break;
#  675|      case nir_op_ishr:

Error: CLANG_WARNING: [#def2838]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:677:35: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  675|      case nir_op_ishr:
#  676|         dst[0] =
#  677|->          ir3_ASHR_B(b, src[0], 0, resize_shift_amount(ctx, src[1], bs[0]), 0);
#  678|         break;
#  679|      case nir_op_isub:

Error: CLANG_WARNING: [#def2839]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:680:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  678|         break;
#  679|      case nir_op_isub:
#  680|->       dst[0] = ir3_SUB_U(b, src[0], 0, src[1], 0);
#  681|         break;
#  682|      case nir_op_ixor:

Error: CLANG_WARNING: [#def2840]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:683:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  681|         break;
#  682|      case nir_op_ixor:
#  683|->       dst[0] = ir3_XOR_B(b, src[0], 0, src[1], 0);
#  684|         break;
#  685|      case nir_op_ushr:

Error: CLANG_WARNING: [#def2841]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:687:34: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  685|      case nir_op_ushr:
#  686|         dst[0] =
#  687|->          ir3_SHR_B(b, src[0], 0, resize_shift_amount(ctx, src[1], bs[0]), 0);
#  688|         break;
#  689|      case nir_op_ilt:

Error: CLANG_WARNING: [#def2842]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:690:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  688|         break;
#  689|      case nir_op_ilt:
#  690|->       dst[0] = ir3_CMPS_S(b, src[0], 0, src[1], 0);
#  691|         dst[0]->cat2.condition = IR3_COND_LT;
#  692|         break;

Error: CLANG_WARNING: [#def2843]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:694:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  692|         break;
#  693|      case nir_op_ige:
#  694|->       dst[0] = ir3_CMPS_S(b, src[0], 0, src[1], 0);
#  695|         dst[0]->cat2.condition = IR3_COND_GE;
#  696|         break;

Error: CLANG_WARNING: [#def2844]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:698:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  696|         break;
#  697|      case nir_op_ieq:
#  698|->       dst[0] = ir3_CMPS_S(b, src[0], 0, src[1], 0);
#  699|         dst[0]->cat2.condition = IR3_COND_EQ;
#  700|         break;

Error: CLANG_WARNING: [#def2845]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:702:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  700|         break;
#  701|      case nir_op_ine:
#  702|->       dst[0] = ir3_CMPS_S(b, src[0], 0, src[1], 0);
#  703|         dst[0]->cat2.condition = IR3_COND_NE;
#  704|         break;

Error: CLANG_WARNING: [#def2846]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:706:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  704|         break;
#  705|      case nir_op_ult:
#  706|->       dst[0] = ir3_CMPS_U(b, src[0], 0, src[1], 0);
#  707|         dst[0]->cat2.condition = IR3_COND_LT;
#  708|         break;

Error: CLANG_WARNING: [#def2847]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:710:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  708|         break;
#  709|      case nir_op_uge:
#  710|->       dst[0] = ir3_CMPS_U(b, src[0], 0, src[1], 0);
#  711|         dst[0]->cat2.condition = IR3_COND_GE;
#  712|         break;

Error: CLANG_WARNING: [#def2848]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:717:33: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value due to array index out of bounds
#  715|         struct ir3_instruction *cond = ir3_get_cond_for_nonzero_compare(src[0]);
#  716|   
#  717|->       compile_assert(ctx, bs[1] == bs[2]);
#  718|   
#  719|         /* The condition's size has to match the other two arguments' size, so

Error: CLANG_WARNING: [#def2849]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:717:33: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value due to array index out of bounds
#  715|         struct ir3_instruction *cond = ir3_get_cond_for_nonzero_compare(src[0]);
#  716|   
#  717|->       compile_assert(ctx, bs[1] == bs[2]);
#  718|   
#  719|         /* The condition's size has to match the other two arguments' size, so

Error: CLANG_WARNING: [#def2850]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:799:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  797|   
#  798|      case nir_op_uadd_sat:
#  799|->       dst[0] = ir3_ADD_U(b, src[0], 0, src[1], 0);
#  800|         dst[0]->flags |= IR3_INSTR_SAT;
#  801|         break;

Error: CLANG_WARNING: [#def2851]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:803:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  801|         break;
#  802|      case nir_op_iadd_sat:
#  803|->       dst[0] = ir3_ADD_S(b, src[0], 0, src[1], 0);
#  804|         dst[0]->flags |= IR3_INSTR_SAT;
#  805|         break;

Error: CLANG_WARNING: [#def2852]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:807:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  805|         break;
#  806|      case nir_op_usub_sat:
#  807|->       dst[0] = ir3_SUB_U(b, src[0], 0, src[1], 0);
#  808|         dst[0]->flags |= IR3_INSTR_SAT;
#  809|         break;

Error: CLANG_WARNING: [#def2853]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:811:16: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  809|         break;
#  810|      case nir_op_isub_sat:
#  811|->       dst[0] = ir3_SUB_S(b, src[0], 0, src[1], 0);
#  812|         dst[0]->flags |= IR3_INSTR_SAT;
#  813|         break;

Error: CLANG_WARNING: [#def2854]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:1022:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 1020|                    create_immed(b, 1), 0); /* num components */
# 1021|         load->cat6.type = TYPE_U32;
# 1022|->       dst[i] = load;
# 1023|      }
# 1024|   }

Error: CLANG_WARNING: [#def2855]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:1045:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 1043|         compile_assert(ctx, !(offset & 0x3));
# 1044|   
# 1045|->       dst[0] = create_uniform(b, p + (offset / 4));
# 1046|      } else {
# 1047|         /* kernel param position is in bytes, but constant space is 32b registers: */

Error: CLANG_WARNING: [#def2856]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:1056:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 1054|         src0 = ir3_SHR_B(b, src0, 0, create_immed(b, 2), 0);
# 1055|   
# 1056|->       dst[0] = create_uniform_indirect(b, offset / 4, TYPE_U32,
# 1057|                                          ir3_get_addr0(ctx, src0, 1));
# 1058|      }

Error: CLANG_WARNING: [#def2857]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:1084:12: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'dst')
# 1082|         struct ir3_instruction *resinfo_dst[2];
# 1083|         ir3_split_dest(b, resinfo_dst, resinfo, 0, 2);
# 1084|->       *dst = ir3_ADD_U(b, ir3_SHL_B(b, resinfo_dst[1], 0, create_immed(b, 16), 0), 0, resinfo_dst[0], 0);
# 1085|      }
# 1086|   }

Error: CLANG_WARNING: [#def2858]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:1878:25: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'dst')
# 1876|   {
# 1877|      struct ir3_instruction *mov = ir3_instr_create(block, OPC_MOV, 1, 1);
# 1878|->    unsigned dst_flags = dst->flags & IR3_REG_HALF;
# 1879|      unsigned src_flags = dst->flags & (IR3_REG_HALF | IR3_REG_SHARED);
# 1880|   

Error: CLANG_WARNING: [#def2859]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2144:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2142|          * plug in something... It will get DCE'd.
# 2143|          */
# 2144|->       dst[0] = create_immed(ctx->block, 0);
# 2145|         break;
# 2146|   

Error: CLANG_WARNING: [#def2860]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2163:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2161|            unsigned n = nir_intrinsic_base(intr) * dest_components + i;
# 2162|            compile_assert(ctx, n < arr->length);
# 2163|->          dst[i] = ir3_create_array_load(ctx, arr, n, addr);
# 2164|         }
# 2165|   

Error: CLANG_WARNING: [#def2861]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2202:20: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2200|            idx += nir_src_as_uint(intr->src[0]);
# 2201|            for (int i = 0; i < dest_components; i++) {
# 2202|->             dst[i] = create_uniform_typed(
# 2203|                  b, idx + i,
# 2204|                  intr->def.bit_size == 16 ? TYPE_F16 : TYPE_F32);

Error: CLANG_WARNING: [#def2862]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2209:20: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2207|            src = ir3_get_src(ctx, &intr->src[0]);
# 2208|            for (int i = 0; i < dest_components; i++) {
# 2209|->             dst[i] = create_uniform_indirect(
# 2210|                  b, idx + i,
# 2211|                  intr->def.bit_size == 16 ? TYPE_F16 : TYPE_F32,

Error: CLANG_WARNING: [#def2863]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2227:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2225|   
# 2226|      case nir_intrinsic_load_vs_primitive_stride_ir3:
# 2227|->       dst[0] = create_uniform(b, primitive_param + 0);
# 2228|         break;
# 2229|      case nir_intrinsic_load_vs_vertex_stride_ir3:

Error: CLANG_WARNING: [#def2864]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2230:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2228|         break;
# 2229|      case nir_intrinsic_load_vs_vertex_stride_ir3:
# 2230|->       dst[0] = create_uniform(b, primitive_param + 1);
# 2231|         break;
# 2232|      case nir_intrinsic_load_hs_patch_stride_ir3:

Error: CLANG_WARNING: [#def2865]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2233:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2231|         break;
# 2232|      case nir_intrinsic_load_hs_patch_stride_ir3:
# 2233|->       dst[0] = create_uniform(b, primitive_param + 2);
# 2234|         break;
# 2235|      case nir_intrinsic_load_patch_vertices_in:

Error: CLANG_WARNING: [#def2866]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2236:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2234|         break;
# 2235|      case nir_intrinsic_load_patch_vertices_in:
# 2236|->       dst[0] = create_uniform(b, primitive_param + 3);
# 2237|         break;
# 2238|      case nir_intrinsic_load_tess_param_base_ir3:

Error: CLANG_WARNING: [#def2867]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2239:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2237|         break;
# 2238|      case nir_intrinsic_load_tess_param_base_ir3:
# 2239|->       dst[0] = create_uniform(b, primitive_param + 4);
# 2240|         dst[1] = create_uniform(b, primitive_param + 5);
# 2241|         break;

Error: CLANG_WARNING: [#def2868]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2243:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2241|         break;
# 2242|      case nir_intrinsic_load_tess_factor_base_ir3:
# 2243|->       dst[0] = create_uniform(b, primitive_param + 6);
# 2244|         dst[1] = create_uniform(b, primitive_param + 7);
# 2245|         break;

Error: CLANG_WARNING: [#def2869]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2249:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2247|      case nir_intrinsic_load_primitive_location_ir3:
# 2248|         idx = nir_intrinsic_driver_location(intr);
# 2249|->       dst[0] = create_uniform(b, primitive_map + idx);
# 2250|         break;
# 2251|   

Error: CLANG_WARNING: [#def2870]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2253:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2251|   
# 2252|      case nir_intrinsic_load_gs_header_ir3:
# 2253|->       dst[0] = ctx->gs_header;
# 2254|         break;
# 2255|      case nir_intrinsic_load_tcs_header_ir3:

Error: CLANG_WARNING: [#def2871]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2256:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2254|         break;
# 2255|      case nir_intrinsic_load_tcs_header_ir3:
# 2256|->       dst[0] = ctx->tcs_header;
# 2257|         break;
# 2258|   

Error: CLANG_WARNING: [#def2872]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2260:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2258|   
# 2259|      case nir_intrinsic_load_rel_patch_id_ir3:
# 2260|->       dst[0] = ctx->rel_patch_id;
# 2261|         break;
# 2262|   

Error: CLANG_WARNING: [#def2873]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2268:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2266|               create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1);
# 2267|         }
# 2268|->       dst[0] = ctx->primitive_id;
# 2269|         break;
# 2270|   

Error: CLANG_WARNING: [#def2874]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2320:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2318|               create_sysval_input(ctx, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTER_RHW, 0x1);
# 2319|         }
# 2320|->       dst[0] = ctx->ij[IJ_PERSP_CENTER_RHW];
# 2321|         break;
# 2322|      case nir_intrinsic_load_barycentric_centroid:

Error: CLANG_WARNING: [#def2875]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2349:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2347|      case nir_intrinsic_ssbo_atomic_ir3:
# 2348|      case nir_intrinsic_ssbo_atomic_swap_ir3:
# 2349|->       dst[0] = ctx->funcs->emit_intrinsic_atomic_ssbo(ctx, intr);
# 2350|         break;
# 2351|      case nir_intrinsic_load_shared:

Error: CLANG_WARNING: [#def2876]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2359:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2357|      case nir_intrinsic_shared_atomic:
# 2358|      case nir_intrinsic_shared_atomic_swap:
# 2359|->       dst[0] = emit_intrinsic_atomic_shared(ctx, intr);
# 2360|         break;
# 2361|      case nir_intrinsic_load_scratch:

Error: CLANG_WARNING: [#def2877]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2383:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2381|      case nir_intrinsic_image_atomic_swap:
# 2382|      case nir_intrinsic_bindless_image_atomic_swap:
# 2383|->       dst[0] = ctx->funcs->emit_intrinsic_atomic_image(ctx, intr);
# 2384|         break;
# 2385|      case nir_intrinsic_barrier:

Error: CLANG_WARNING: [#def2878]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2398:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2396|            ctx->basevertex = create_driver_param(ctx, IR3_DP_VTXID_BASE);
# 2397|         }
# 2398|->       dst[0] = ctx->basevertex;
# 2399|         break;
# 2400|      case nir_intrinsic_load_is_indexed_draw:

Error: CLANG_WARNING: [#def2879]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2404:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2402|            ctx->is_indexed_draw = create_driver_param(ctx, IR3_DP_IS_INDEXED_DRAW);
# 2403|         }
# 2404|->       dst[0] = ctx->is_indexed_draw;
# 2405|         break;
# 2406|      case nir_intrinsic_load_draw_id:

Error: CLANG_WARNING: [#def2880]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2410:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2408|            ctx->draw_id = create_driver_param(ctx, IR3_DP_DRAWID);
# 2409|         }
# 2410|->       dst[0] = ctx->draw_id;
# 2411|         break;
# 2412|      case nir_intrinsic_load_base_instance:

Error: CLANG_WARNING: [#def2881]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2416:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2414|            ctx->base_instance = create_driver_param(ctx, IR3_DP_INSTID_BASE);
# 2415|         }
# 2416|->       dst[0] = ctx->base_instance;
# 2417|         break;
# 2418|      case nir_intrinsic_load_view_index:

Error: CLANG_WARNING: [#def2882]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2423:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2421|               create_sysval_input(ctx, SYSTEM_VALUE_VIEW_INDEX, 0x1);
# 2422|         }
# 2423|->       dst[0] = ctx->view_index;
# 2424|         break;
# 2425|      case nir_intrinsic_load_vertex_id_zero_base:

Error: CLANG_WARNING: [#def2883]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2433:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2431|            ctx->vertex_id = create_sysval_input(ctx, sv, 0x1);
# 2432|         }
# 2433|->       dst[0] = ctx->vertex_id;
# 2434|         break;
# 2435|      case nir_intrinsic_load_instance_id:

Error: CLANG_WARNING: [#def2884]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2440:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2438|               create_sysval_input(ctx, SYSTEM_VALUE_INSTANCE_ID, 0x1);
# 2439|         }
# 2440|->       dst[0] = ctx->instance_id;
# 2441|         break;
# 2442|      case nir_intrinsic_load_sample_id:

Error: CLANG_WARNING: [#def2885]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2448:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2446|            ctx->samp_id->dsts[0]->flags |= IR3_REG_HALF;
# 2447|         }
# 2448|->       dst[0] = ir3_COV(b, ctx->samp_id, TYPE_U16, TYPE_U32);
# 2449|         break;
# 2450|      case nir_intrinsic_load_sample_mask_in:

Error: CLANG_WARNING: [#def2886]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2455:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2453|               create_sysval_input(ctx, SYSTEM_VALUE_SAMPLE_MASK_IN, 0x1);
# 2454|         }
# 2455|->       dst[0] = ctx->samp_mask_in;
# 2456|         break;
# 2457|      case nir_intrinsic_load_user_clip_plane:

Error: CLANG_WARNING: [#def2887]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2461:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2459|         for (int i = 0; i < dest_components; i++) {
# 2460|            unsigned n = idx * 4 + i;
# 2461|->          dst[i] = create_driver_param(ctx, IR3_DP_UCP0_X + n);
# 2462|         }
# 2463|         break;

Error: CLANG_WARNING: [#def2888]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2474:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2472|          * the inverse of what nir expects (where ~0 is true).
# 2473|          */
# 2474|->       dst[0] = ir3_CMPS_S(b, ctx->frag_face, 0,
# 2475|                             create_immed_typed(b, 0, TYPE_U16), 0);
# 2476|         dst[0]->cat2.condition = IR3_COND_EQ;

Error: CLANG_WARNING: [#def2889]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2497:20: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2495|            /* For a3xx/a4xx, this comes in via const injection by the hw */
# 2496|            for (int i = 0; i < dest_components; i++) {
# 2497|->             dst[i] = create_driver_param(ctx, IR3_DP_WORKGROUP_ID_X + i);
# 2498|            }
# 2499|         }

Error: CLANG_WARNING: [#def2890]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2503:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2501|      case nir_intrinsic_load_base_workgroup_id:
# 2502|         for (int i = 0; i < dest_components; i++) {
# 2503|->          dst[i] = create_driver_param(ctx, IR3_DP_BASE_GROUP_X + i);
# 2504|         }
# 2505|         break;

Error: CLANG_WARNING: [#def2891]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2508:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2506|      case nir_intrinsic_load_num_workgroups:
# 2507|         for (int i = 0; i < dest_components; i++) {
# 2508|->          dst[i] = create_driver_param(ctx, IR3_DP_NUM_WORK_GROUPS_X + i);
# 2509|         }
# 2510|         break;

Error: CLANG_WARNING: [#def2892]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2513:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2511|      case nir_intrinsic_load_workgroup_size:
# 2512|         for (int i = 0; i < dest_components; i++) {
# 2513|->          dst[i] = create_driver_param(ctx, IR3_DP_LOCAL_GROUP_SIZE_X + i);
# 2514|         }
# 2515|         break;

Error: CLANG_WARNING: [#def2893]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2521:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2519|         enum ir3_driver_param size = ctx->so->type == MESA_SHADER_COMPUTE ?
# 2520|            IR3_DP_CS_SUBGROUP_SIZE : IR3_DP_FS_SUBGROUP_SIZE;
# 2521|->       dst[0] = create_driver_param(ctx, size);
# 2522|         break;
# 2523|      }

Error: CLANG_WARNING: [#def2894]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2525:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2523|      }
# 2524|      case nir_intrinsic_load_subgroup_id_shift_ir3:
# 2525|->       dst[0] = create_driver_param(ctx, IR3_DP_SUBGROUP_ID_SHIFT);
# 2526|         break;
# 2527|      case nir_intrinsic_load_work_dim:

Error: CLANG_WARNING: [#def2895]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2528:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2526|         break;
# 2527|      case nir_intrinsic_load_work_dim:
# 2528|->       dst[0] = create_driver_param(ctx, IR3_DP_WORK_DIM);
# 2529|         break;
# 2530|      case nir_intrinsic_load_subgroup_invocation:

Error: CLANG_WARNING: [#def2896]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2532:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2530|      case nir_intrinsic_load_subgroup_invocation:
# 2531|         assert(ctx->compiler->has_getfiberid);
# 2532|->       dst[0] = ir3_GETFIBERID(b);
# 2533|         dst[0]->cat6.type = TYPE_U32;
# 2534|         __ssa_dst(dst[0]);

Error: CLANG_WARNING: [#def2897]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2538:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2536|      case nir_intrinsic_load_tess_level_outer_default:
# 2537|         for (int i = 0; i < dest_components; i++) {
# 2538|->          dst[i] = create_driver_param(ctx, IR3_DP_HS_DEFAULT_OUTER_LEVEL_X + i);
# 2539|         }
# 2540|         break;

Error: CLANG_WARNING: [#def2898]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2543:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2541|      case nir_intrinsic_load_tess_level_inner_default:
# 2542|         for (int i = 0; i < dest_components; i++) {
# 2543|->          dst[i] = create_driver_param(ctx, IR3_DP_HS_DEFAULT_INNER_LEVEL_X + i);
# 2544|         }
# 2545|         break;

Error: CLANG_WARNING: [#def2899]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2547:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2545|         break;
# 2546|      case nir_intrinsic_load_frag_invocation_count:
# 2547|->       dst[0] = create_driver_param(ctx, IR3_DP_FS_FRAG_INVOCATION_COUNT);
# 2548|         break;
# 2549|      case nir_intrinsic_load_frag_size_ir3:

Error: CLANG_WARNING: [#def2900]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2557:20: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2555|            uint32_t view = nir_src_as_uint(intr->src[0]);
# 2556|            for (int i = 0; i < dest_components; i++) {
# 2557|->             dst[i] = create_driver_param(ctx, param + 4 * view + i);
# 2558|            }
# 2559|         } else {

Error: CLANG_WARNING: [#def2901]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2562:20: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2560|            struct ir3_instruction *view = ir3_get_src(ctx, &intr->src[0])[0];
# 2561|            for (int i = 0; i < dest_components; i++) {
# 2562|->             dst[i] = create_driver_param_indirect(ctx, param + i,
# 2563|                                                     ir3_get_addr0(ctx, view, 4));
# 2564|            }

Error: CLANG_WARNING: [#def2902]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2627:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2625|         struct ir3_instruction *pred = ir3_get_predicate(ctx, src);
# 2626|         if (intr->intrinsic == nir_intrinsic_vote_any)
# 2627|->          dst[0] = ir3_ANY_MACRO(ctx->block, pred, 0);
# 2628|         else
# 2629|            dst[0] = ir3_ALL_MACRO(ctx->block, pred, 0);

Error: CLANG_WARNING: [#def2903]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2629:17: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2627|            dst[0] = ir3_ANY_MACRO(ctx->block, pred, 0);
# 2628|         else
# 2629|->          dst[0] = ir3_ALL_MACRO(ctx->block, pred, 0);
# 2630|         dst[0]->srcs[0]->flags |= IR3_REG_PREDICATE;
# 2631|         break;

Error: CLANG_WARNING: [#def2904]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2634:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2632|      }
# 2633|      case nir_intrinsic_elect:
# 2634|->       dst[0] = ir3_ELECT_MACRO(ctx->block);
# 2635|         break;
# 2636|      case nir_intrinsic_preamble_start_ir3:

Error: CLANG_WARNING: [#def2905]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2637:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2635|         break;
# 2636|      case nir_intrinsic_preamble_start_ir3:
# 2637|->       dst[0] = ir3_SHPS_MACRO(ctx->block);
# 2638|         break;
# 2639|   

Error: CLANG_WARNING: [#def2906]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2643:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2641|         struct ir3_instruction *src = ir3_get_src(ctx, &intr->src[0])[0];
# 2642|         struct ir3_instruction *cond = ir3_get_src(ctx, &intr->src[1])[0];
# 2643|->       dst[0] = ir3_READ_COND_MACRO(ctx->block, ir3_get_predicate(ctx, cond), 0,
# 2644|                                      src, 0);
# 2645|         dst[0]->dsts[0]->flags |= IR3_REG_SHARED;

Error: CLANG_WARNING: [#def2907]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2652:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2650|      case nir_intrinsic_read_first_invocation: {
# 2651|         struct ir3_instruction *src = ir3_get_src(ctx, &intr->src[0])[0];
# 2652|->       dst[0] = ir3_READ_FIRST_MACRO(ctx->block, src, 0);
# 2653|         dst[0]->dsts[0]->flags |= IR3_REG_SHARED;
# 2654|         break;

Error: CLANG_WARNING: [#def2908]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2686:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2684|            idx = ir3_COV(ctx->block, idx, TYPE_U32, dst_type);
# 2685|   
# 2686|->       dst[0] = ir3_QUAD_SHUFFLE_BRCST(ctx->block, src, 0, idx, 0);
# 2687|         dst[0]->cat5.type = dst_type;
# 2688|         break;

Error: CLANG_WARNING: [#def2909]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2693:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2691|      case nir_intrinsic_quad_swap_horizontal: {
# 2692|         struct ir3_instruction *src = ir3_get_src(ctx, &intr->src[0])[0];
# 2693|->       dst[0] = ir3_QUAD_SHUFFLE_HORIZ(ctx->block, src, 0);
# 2694|         dst[0]->cat5.type = type_uint_size(intr->def.bit_size);
# 2695|         break;

Error: CLANG_WARNING: [#def2910]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2700:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2698|      case nir_intrinsic_quad_swap_vertical: {
# 2699|         struct ir3_instruction *src = ir3_get_src(ctx, &intr->src[0])[0];
# 2700|->       dst[0] = ir3_QUAD_SHUFFLE_VERT(ctx->block, src, 0);
# 2701|         dst[0]->cat5.type = type_uint_size(intr->def.bit_size);
# 2702|         break;

Error: CLANG_WARNING: [#def2911]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2707:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2705|      case nir_intrinsic_quad_swap_diagonal: {
# 2706|         struct ir3_instruction *src = ir3_get_src(ctx, &intr->src[0])[0];
# 2707|->       dst[0] = ir3_QUAD_SHUFFLE_DIAG(ctx->block, src, 0);
# 2708|         dst[0]->cat5.type = type_uint_size(intr->def.bit_size);
# 2709|         break;

Error: CLANG_WARNING: [#def2912]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2719:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2717|         break;
# 2718|      case nir_intrinsic_bindless_resource_ir3:
# 2719|->       dst[0] = ir3_get_src(ctx, &intr->src[0])[0];
# 2720|         break;
# 2721|      case nir_intrinsic_global_atomic_ir3:

Error: CLANG_WARNING: [#def2913]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2723:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2721|      case nir_intrinsic_global_atomic_ir3:
# 2722|      case nir_intrinsic_global_atomic_swap_ir3: {
# 2723|->       dst[0] = ctx->funcs->emit_intrinsic_atomic_global(ctx, intr);
# 2724|         break;
# 2725|      }

Error: CLANG_WARNING: [#def2914]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2730:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2728|      case nir_intrinsic_inclusive_scan:
# 2729|      case nir_intrinsic_exclusive_scan:
# 2730|->       dst[0] = emit_intrinsic_reduce(ctx, intr);
# 2731|         break;
# 2732|   

Error: CLANG_WARNING: [#def2915]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2736:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2734|      case nir_intrinsic_inclusive_scan_clusters_ir3:
# 2735|      case nir_intrinsic_exclusive_scan_clusters_ir3:
# 2736|->       dst[0] = emit_intrinsic_reduce_clusters(ctx, intr);
# 2737|         break;
# 2738|   

Error: CLANG_WARNING: [#def2916]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:2740:14: warning[core.NullDereference]: Array access (from variable 'dst') results in a null pointer dereference
# 2738|   
# 2739|      case nir_intrinsic_brcst_active_ir3:
# 2740|->       dst[0] = emit_intrinsic_brcst_active(ctx, intr);
# 2741|         break;
# 2742|   

Error: CLANG_WARNING: [#def2917]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:3177:17: warning[core.NullDereference]: Array access (from variable 'coord') results in a null pointer dereference
# 3175|      /* insert tex coords: */
# 3176|      for (i = 0; i < coords; i++)
# 3177|->       src0[i] = coord[i];
# 3178|   
# 3179|      nsrc0 = i;

Error: CLANG_WARNING: [#def2918]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:3181:36: warning[core.NullDereference]: Array access (from variable 'coord') results in a null pointer dereference
# 3179|      nsrc0 = i;
# 3180|   
# 3181|->    type_t coord_pad_type = is_half(coord[0]) ? TYPE_U16 : TYPE_U32;
# 3182|      /* scale up integer coords for TXF based on the LOD */
# 3183|      if (ctx->compiler->unminify_coords && (opc == OPC_ISAML)) {

Error: COMPILER_WARNING (CWE-563): [#def2919]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c: scope_hint: In function ‘emit_predicated_branch’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:3961:22: warning[-Wunused-variable]: unused variable ‘else_block’
# 3961 |    struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif));
#      |                      ^~~~~~~~~~
# 3959|   
# 3960|      struct ir3_block *then_block = get_block(ctx, nir_if_first_then_block(nif));
# 3961|->    struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif));
# 3962|      assert(list_is_empty(&then_block->instr_list) &&
# 3963|             list_is_empty(&else_block->instr_list));

Error: CLANG_WARNING: [#def2920]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_compiler_nir.c:3961:22: warning[deadcode.DeadStores]: Value stored to 'else_block' during its initialization is never read
# 3959|   
# 3960|      struct ir3_block *then_block = get_block(ctx, nir_if_first_then_block(nif));
# 3961|->    struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif));
# 3962|      assert(list_is_empty(&then_block->instr_list) &&
# 3963|             list_is_empty(&else_block->instr_list));

Error: CLANG_WARNING: [#def2921]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_context.c:260:14: warning[core.NullDereference]: Access to field 'opc' results in a dereference of a null pointer (loaded from variable 'dst')
#  258|            ir3_set_dst_type(dst, true);
#  259|            ir3_fixup_src_type(dst);
#  260|->          if (dst->opc == OPC_META_SPLIT) {
#  261|               ir3_set_dst_type(ssa(dst->srcs[0]), true);
#  262|               ir3_fixup_src_type(ssa(dst->srcs[0]));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2922]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:590:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:521:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:521:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c:521:7: note: in expansion of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1785:71: note: in definition of macro ‘foreach_src_n’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_cp.c: scope_hint: In function ‘instr_cp.part.0’
#  588|         assert(samp_tex->opc == OPC_META_COLLECT);
#  589|   
#  590|->       struct ir3_register *samp = samp_tex->srcs[0];
#  591|         struct ir3_register *tex = samp_tex->srcs[1];
#  592|   

Error: CLANG_WARNING: [#def2923]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_lower_parallelcopy.c:521:4: warning[deadcode.DeadStores]: Value stored to 'copies_count' is never read
#  519|   {
#  520|      DECLARE_ARRAY(struct copy_entry, copies);
#  521|->    copies_count = copies_sz = 0;
#  522|      copies = NULL;
#  523|   

Error: CLANG_WARNING: [#def2924]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_merge_regs.c:459:24: warning[core.NullDereference]: Access to field 'flags' results in a dereference of an undefined pointer value
#  457|         for (j = 0; j < phi_count; j++) {
#  458|            struct ir3_register *reg = __ssa_dst(pcopy);
#  459|->          reg->flags |= src[j]->flags & (IR3_REG_HALF | IR3_REG_ARRAY);
#  460|            reg->size = src[j]->size;
#  461|            reg->wrmask = src[j]->wrmask;

Error: CLANG_WARNING: [#def2925]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_merge_regs.c:547:37: warning[deadcode.DeadStores]: Value stored to 'reg' during its initialization is never read
#  545|                 merge_set->alignment);
#  546|               for (unsigned j = 0; j < merge_set->regs_count; j++) {
#  547|->                struct ir3_register *reg = merge_set->regs[j];
#  548|                  d("\t" SYN_SSA("ssa_%u") ":%u, offset %u",
#  549|                    reg->instr->serialno, reg->name, reg->merge_set_offset);

Error: CLANG_WARNING: [#def2926]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c:279:19: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'num_ubos')
#  277|      if (nir_src_is_const(instr->src[0])) {
#  278|         int block = nir_src_as_uint(instr->src[0]);
#  279|->       *num_ubos = MAX2(*num_ubos, block + 1);
#  280|      } else {
#  281|         *num_ubos = b->shader->info.num_ubos;

Error: CLANG_WARNING: [#def2927]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c:281:17: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'num_ubos')
#  279|         *num_ubos = MAX2(*num_ubos, block + 1);
#  280|      } else {
#  281|->       *num_ubos = b->shader->info.num_ubos;
#  282|      }
#  283|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2928]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_nir_opt_preamble.c: scope_hint: In function ‘ir3_nir_lower_preamble’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_nir_opt_preamble.c:344:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
#  342|      nir_function_impl *main = nir_shader_get_entrypoint(nir);
#  343|      
#  344|->    if (!main->preamble)
#  345|         return false;
#  346|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2929]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_parser.y: scope_hint: In function ‘add_buf_init_val’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2930]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_postsched.c:705:16: warning[deadcode.DeadStores]: Value stored to 'delay' during its initialization is never read
#  703|         struct ir3_instruction *instr = choose_instr(ctx);
#  704|   
#  705|->       unsigned delay = node_delay(ctx, instr->data);
#  706|         d("delay=%u", delay);
#  707|   

Error: CLANG_WARNING: [#def2931]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra.c:1090:14: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 1088|            if (ra_get_file(ctx, other_dst) != file)
# 1089|               continue;
# 1090|->          if (dst_inserted[n])
# 1091|               continue;
# 1092|   

Error: CLANG_WARNING: [#def2932]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra.c:1178:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1176|       */
# 1177|   
# 1178|->    qsort(intervals, intervals_count, sizeof(*intervals), removed_interval_cmp);
# 1179|      qsort(dsts, dsts_count, sizeof(*dsts), dsts_cmp);
# 1180|   

Error: CLANG_WARNING: [#def2933]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra.h:102:12: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'reg')
#  100|   ra_reg_is_src(const struct ir3_register *reg)
#  101|   {
#  102|->    return (reg->flags & IR3_REG_SSA) && reg->def && def_is_gpr(reg->def);
#  103|   }
#  104|   

Error: CLANG_WARNING: [#def2934]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra_validate.c:408:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  406|      }
#  407|   
#  408|->    struct reg_state srcs[size];
#  409|   
#  410|      unsigned offset = 0;

Error: CLANG_WARNING: [#def2935]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra_validate.c:528:39: warning[core.NullDereference]: Access to field 'instr' results in a dereference of a null pointer (loaded from field 'def')
#  526|   {
#  527|      while (true) {
#  528|->       struct ir3_instruction *instr = state->def->instr;
#  529|         switch (instr->opc) {
#  530|         case OPC_META_SPLIT: {

Error: CLANG_WARNING: [#def2936]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_sched.c:680:16: warning[deadcode.DeadStores]: Value stored to 'mode' during its initialization is never read
#  678|                    bool defer)
#  679|   {
#  680|->    const char *mode = defer ? "-d" : "";
#  681|      struct ir3_sched_node *chosen = NULL;
#  682|      enum choose_instr_dec_rank chosen_rank = DEC_NEUTRAL;

Error: CLANG_WARNING: [#def2937]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_sched.c:764:16: warning[deadcode.DeadStores]: Value stored to 'mode' during its initialization is never read
#  762|                    bool defer, bool avoid_output)
#  763|   {
#  764|->    const char *mode = defer ? "-d" : "";
#  765|      struct ir3_sched_node *chosen = NULL;
#  766|      enum choose_instr_inc_rank chosen_rank = INC_DISTANCE;

Error: CLANG_WARNING: [#def2938]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_sched.c:1179:19: warning[deadcode.DeadStores]: Value stored to 'delay' during its initialization is never read
# 1177|         instr = choose_instr(ctx, &notes);
# 1178|         if (instr) {
# 1179|->          unsigned delay = node_delay(ctx, instr->data);
# 1180|            d("delay=%u", delay);
# 1181|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2939]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shader.c: scope_hint: In function ‘assemble_variant’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shader.c:176:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2940]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:241:7: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  239|   {
#  240|      for (unsigned i = 0; i < RA_SHARED_SIZE; i++) {
#  241|->       BITSET_SET(ctx->available, i);
#  242|      }
#  243|   

Error: CLANG_WARNING: [#def2941]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:487:54: warning[core.NullDereference]: Access to field 'block' results in a dereference of a null pointer (loaded from variable 'before')
#  485|         }
#  486|   
#  487|->       struct ir3_instruction *mov = ir3_instr_create(before->block, OPC_MOV, 1, 1);
#  488|         mov->flags |= IR3_INSTR_SHARED_SPILL;
#  489|         struct ir3_register *dst = __ssa_dst(mov);

Error: CLANG_WARNING: [#def2942]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:1116:28: warning[deadcode.DeadStores]: Value stored to 'reg' during its initialization is never read
# 1114|      unsigned name;
# 1115|      BITSET_FOREACH_SET (name, state->live_out, ctx->live->definitions_count) {
# 1116|->       struct ir3_register *reg = ctx->live->definitions[name];
# 1117|   
# 1118|         struct ra_interval *interval = &ctx->intervals[name];

Error: CLANG_WARNING: [#def2943]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_spill.c:1564:29: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'cur_def')
# 1562|      if (!needs_phi) {
# 1563|         interval->dst.def = cur_def;
# 1564|->       interval->dst.flags = cur_def->flags;
# 1565|   
# 1566|         rb_tree_foreach (struct ra_spill_interval, child,

Error: COMPILER_WARNING (CWE-252): [#def2944]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘readdt’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2945]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘find_freqs’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2946]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘find_device_fn’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2947]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/perfcntrs/freedreno_dt.c:211:7: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
#  209|         uint32_t u[2] = {ntohl(buf[0]), ntohl(buf[1])};
#  210|         dev.size = (((uint64_t)u[0]) << 32) | u[1];
#  211|->       buf += 2;
#  212|      } else {
#  213|         dev.size = ntohl(buf[0]);

Error: CLANG_WARNING: [#def2948]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/perfcntrs/freedreno_dt.c:214:7: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
#  212|      } else {
#  213|         dev.size = ntohl(buf[0]);
#  214|->       buf += 1;
#  215|      }
#  216|   

Error: CLANG_WARNING: [#def2949]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_descriptor_set.cc:71:14: warning[core.NullDereference]: Access to field 'descriptorCount' results in a dereference of a null pointer (loaded from variable 'binding')
#   69|         }
#   70|      case VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK:
#   71|->       return binding->descriptorCount;
#   72|      default:
#   73|         return A6XX_TEX_CONST_DWORDS * 4;

Error: CLANG_WARNING: [#def2950]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_descriptor_set.cc:1201:17: warning[deadcode.DeadStores]: Value stored to 'ptr' during its initialization is never read
# 1199|         const struct tu_descriptor_set_binding_layout *binding_layout =
# 1200|            set->layout->binding + writeset->dstBinding;
# 1201|->       uint32_t *ptr = set->mapped_ptr;
# 1202|         if (writeset->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ||
# 1203|             writeset->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) {

Error: CLANG_WARNING: [#def2951]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_descriptor_set.cc:1313:17: warning[deadcode.DeadStores]: Value stored to 'src_ptr' during its initialization is never read
# 1311|         const struct tu_descriptor_set_binding_layout *dst_binding_layout =
# 1312|            dst_set->layout->binding + copyset->dstBinding;
# 1313|->       uint32_t *src_ptr = src_set->mapped_ptr;
# 1314|         uint32_t *dst_ptr = dst_set->mapped_ptr;
# 1315|         if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ||

Error: CLANG_WARNING: [#def2952]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_descriptor_set.cc:1314:17: warning[deadcode.DeadStores]: Value stored to 'dst_ptr' during its initialization is never read
# 1312|            dst_set->layout->binding + copyset->dstBinding;
# 1313|         uint32_t *src_ptr = src_set->mapped_ptr;
# 1314|->       uint32_t *dst_ptr = dst_set->mapped_ptr;
# 1315|         if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ||
# 1316|             src_binding_layout->type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) {

Error: CLANG_WARNING: [#def2953]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_formats.cc:781:12: warning[core.NullDereference]: Access to field 'imageViewType' results in a dereference of a null pointer (loaded from variable 'image_view_info')
#  779|          * its likely we can enable it for 1D and CUBE, needs testing however
#  780|          */
#  781|->       if ((image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D ||
#  782|              image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D_ARRAY) &&
#  783|             (format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT)) {

Error: CLANG_WARNING: [#def2954]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/vulkan/tu_knl.cc:261:31: warning[core.NullDereference]: Access to field 'level1_dcache_size' results in a dereference of a null pointer (loaded from variable 'device')
#  259|      assert(device);
#  260|   
#  261|->    device->level1_dcache_size = l1_dcache_size();
#  262|      device->has_cached_non_coherent_memory = device->level1_dcache_size > 0;
#  263|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2955]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘sanitize_hash’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:196:50: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samplers_to_restore’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2956]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:203:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samplers_to_restore’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2957]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c:1395:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘cso_single_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_context.c: scope_hint: In function ‘cso_single_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2958]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_hash.c:54:14: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'int'
#   52|   primeForNumBits(int numBits)
#   53|   {
#   54|->    return (1 << numBits) + prime_deltas[numBits];
#   55|   }
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2959]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_hash.c: scope_hint: In function ‘cso_data_rehash’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_hash.c:119:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*hash.buckets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_hash.c:40:25: note: in definition of macro ‘MAX’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/cso_cache/cso_hash.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2960]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_mesh_prim.c:167: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_mesh_prim_tmp.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:71:7: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#   69|   
#   70|      case MESA_PRIM_LINES:
#   71|->       flags = DRAW_PIPE_RESET_STIPPLE;
#   72|         for (i = 0; i + 1 < count; i += 2) {
#   73|            idx[0] = GET_ELT(i);

Error: CLANG_WARNING: [#def2961]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:82:10: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#   80|      case MESA_PRIM_LINE_STRIP:
#   81|         if (count >= 2) {
#   82|->          flags = (prim_flags & DRAW_SPLIT_BEFORE) ? 0 : DRAW_PIPE_RESET_STIPPLE;
#   83|            idx[1] = GET_ELT(0);
#   84|            idx[2] = idx[1];

Error: CLANG_WARNING: [#def2962]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:86:38: warning[deadcode.DeadStores]: Although the value stored to 'flags' is used in the enclosing expression, the value is never actually read from 'flags'
#   84|            idx[2] = idx[1];
#   85|   
#   86|->          for (i = 1; i < count; i++, flags = 0) {
#   87|               idx[0] = idx[1];
#   88|               idx[1] = GET_ELT(i);

Error: CLANG_WARNING: [#def2963]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:98:7: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#   96|   
#   97|      case MESA_PRIM_TRIANGLES:
#   98|->       flags = DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL;
#   99|         for (i = 0; i + 2 < count; i += 3) {
#  100|            idx[0] = GET_ELT(i);

Error: CLANG_WARNING: [#def2964]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:109:10: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  107|      case MESA_PRIM_TRIANGLE_STRIP:
#  108|         if (count >= 3) {
#  109|->          flags = DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL;
#  110|            idx[1] = GET_ELT(0);
#  111|            idx[2] = GET_ELT(1);

Error: CLANG_WARNING: [#def2965]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:142:10: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  140|      case MESA_PRIM_TRIANGLE_FAN:
#  141|         if (count >= 3) {
#  142|->          flags = DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL;
#  143|            idx[0] = GET_ELT(0);
#  144|            idx[2] = GET_ELT(1);

Error: CLANG_WARNING: [#def2966]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:177:13: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  175|                     idx[2], idx[3]);
#  176|   #else
#  177|->             flags = DRAW_PIPE_RESET_STIPPLE |
#  178|                       DRAW_PIPE_EDGE_FLAG_0 |
#  179|                       DRAW_PIPE_EDGE_FLAG_2;

Error: CLANG_WARNING: [#def2967]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:183:13: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  181|               TRIANGLE(flags, idx[0], idx[1], idx[3]);
#  182|   
#  183|->             flags = DRAW_PIPE_EDGE_FLAG_0 |
#  184|                       DRAW_PIPE_EDGE_FLAG_1;
#  185|               TRIANGLE(flags, idx[1], idx[2], idx[3]);

Error: CLANG_WARNING: [#def2968]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:199:13: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  197|                     idx[2], idx[3]);
#  198|   #else
#  199|->             flags = DRAW_PIPE_RESET_STIPPLE |
#  200|                       DRAW_PIPE_EDGE_FLAG_0 |
#  201|                       DRAW_PIPE_EDGE_FLAG_1;

Error: CLANG_WARNING: [#def2969]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:208:13: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  206|                  TRIANGLE(flags, idx[0], idx[1], idx[2]);
#  207|   
#  208|->             flags = DRAW_PIPE_EDGE_FLAG_1 |
#  209|                       DRAW_PIPE_EDGE_FLAG_2;
#  210|               if (quads_flatshade_last)

Error: CLANG_WARNING: [#def2970]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:236:16: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  234|   #else
#  235|                  /* always emit idx[3] last */
#  236|->                flags = DRAW_PIPE_RESET_STIPPLE |
#  237|                          DRAW_PIPE_EDGE_FLAG_0 |
#  238|                          DRAW_PIPE_EDGE_FLAG_2;

Error: CLANG_WARNING: [#def2971]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:241:16: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  239|                  TRIANGLE(flags, idx[2], idx[0], idx[3]);
#  240|   
#  241|->                flags = DRAW_PIPE_EDGE_FLAG_0 |
#  242|                          DRAW_PIPE_EDGE_FLAG_1;
#  243|                  TRIANGLE(flags, idx[0], idx[1], idx[3]);

Error: CLANG_WARNING: [#def2972]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:258:16: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  256|                       idx[0], idx[1]);
#  257|   #else
#  258|->                flags = DRAW_PIPE_RESET_STIPPLE |
#  259|                          DRAW_PIPE_EDGE_FLAG_0 |
#  260|                          DRAW_PIPE_EDGE_FLAG_1;

Error: CLANG_WARNING: [#def2973]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:267:16: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  265|                     TRIANGLE(flags, idx[0], idx[3], idx[2]);
#  266|   
#  267|->                flags = DRAW_PIPE_EDGE_FLAG_1 |
#  268|                          DRAW_PIPE_EDGE_FLAG_2;
#  269|                  if (quads_flatshade_last)

Error: CLANG_WARNING: [#def2974]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:312:16: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  310|   
#  311|               if (i + 3 == count)
#  312|->                flags |= edge_finish;
#  313|   
#  314|               /* idx[0] is both the first and the last vertex */

Error: CLANG_WARNING: [#def2975]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:324:7: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  322|   
#  323|      case MESA_PRIM_LINES_ADJACENCY:
#  324|->       flags = DRAW_PIPE_RESET_STIPPLE;
#  325|         for (i = 0; i + 3 < count; i += 4) {
#  326|            idx[0] = GET_ELT(i);

Error: CLANG_WARNING: [#def2976]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:336:10: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  334|      case MESA_PRIM_LINE_STRIP_ADJACENCY:
#  335|         if (count >= 4) {
#  336|->          flags = (prim_flags & DRAW_SPLIT_BEFORE) ? 0 : DRAW_PIPE_RESET_STIPPLE;
#  337|            idx[1] = GET_ELT(0);
#  338|            idx[2] = GET_ELT(1);

Error: CLANG_WARNING: [#def2977]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:341:42: warning[deadcode.DeadStores]: Although the value stored to 'flags' is used in the enclosing expression, the value is never actually read from 'flags'
#  339|            idx[3] = GET_ELT(2);
#  340|   
#  341|->          for (i = 1; i + 2 < count; i++, flags = 0) {
#  342|               idx[0] = idx[1];
#  343|               idx[1] = idx[2];

Error: CLANG_WARNING: [#def2978]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:352:7: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  350|   
#  351|      case MESA_PRIM_TRIANGLES_ADJACENCY:
#  352|->       flags = DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL;
#  353|         for (i = 0; i + 5 < count; i += 6) {
#  354|            idx[0] = GET_ELT(i);

Error: CLANG_WARNING: [#def2979]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:366:10: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
#  364|      case MESA_PRIM_TRIANGLE_STRIP_ADJACENCY:
#  365|         if (count >= 6) {
#  366|->          flags = DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL;
#  367|            idx[0] = GET_ELT(1);
#  368|            idx[2] = GET_ELT(0);

Error: CLANG_WARNING: [#def2980]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:655:38: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'int *', which is incompatible with sizeof operand type 'unsigned int *'
#  653|            }
#  654|   
#  655|->          shader->llvm_prim_lengths = MALLOC(shader->num_vertex_streams * max_out_prims * sizeof(unsigned*));
#  656|            for (unsigned i = 0; i < shader->num_vertex_streams * max_out_prims; ++i) {
#  657|               int vector_size = shader->vector_length * sizeof(unsigned);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2981]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:893:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:892:22: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2982]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_llvm.c:1174:4: warning[deadcode.DeadStores]: Value stored to 'temp' is never read
# 1172|   
# 1173|      mask = lp_build_const_int_vec(gallivm, i32_type, 0);
# 1174|->    temp = lp_build_const_int_vec(gallivm, i32_type, 0);
# 1175|      zero = lp_build_const_vec(gallivm, f32_type, 0);         /* 0.0f 0.0f 0.0f 0.0f */
# 1176|      shift = lp_build_const_int_vec(gallivm, i32_type, 1);    /* 1 1 1 1 */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2983]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_mesh_prim.c: scope_hint: In function ‘draw_mesh_prim_run’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_mesh_prim.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2984]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_clip.c:224:29: warning[deadcode.DeadStores]: Value stored to 'clipper' during its initialization is never read
#  222|             const struct prim_header *origPrim)
#  223|   {
#  224|->    const struct clip_stage *clipper = clip_stage(stage);
#  225|      uint16_t edge_first, edge_middle, edge_last;
#  226|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2985]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c: scope_hint: In function ‘draw_vbuf_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:406:1: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2986]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:445:11: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2987]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_prim_assembler.c: scope_hint: In function ‘draw_prim_assembler_run’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_private.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_prim_assembler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_prim_assembler.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2988]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_prim_assembler.c: scope_hint: In function ‘draw_prim_assembler_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_prim_assembler.c:325:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ia’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2989]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c: scope_hint: In function ‘draw_pt_middle_fse’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:364:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fse’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2990]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c: scope_hint: In function ‘draw_pt_fetch_pipeline_or_emit’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:492:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:499:7: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2991]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:529:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2992]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c: scope_hint: In function ‘draw_pt_fetch_pipeline_or_emit_llvm’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:845:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2993]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:892:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:856:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2994]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c: scope_hint: In function ‘draw_pt_mesh_pipeline_or_emit’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:62:1: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:109:7: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2995]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def2996]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_so_emit.c: scope_hint: In function ‘so_emit_prim’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_so_emit.c:149:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:48:1: note: in expansion of macro ‘FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_so_emit.c:262: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:54:4: note: in expansion of macro ‘FUNC_ENTER’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_so_emit_tmp.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:65:19: note: in expansion of macro ‘GET_ELT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_decompose_tmp.h:66:10: note: in expansion of macro ‘POINT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def2997]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pt_so_emit.c:163:50: warning[core.NullDereference]: Dereference of null pointer
#  161|         if (buffer_written[ob]) {
#  162|            unsigned size_req = num_vertices * state->stride[ob] * sizeof(float);
#  163|->          if (buffer_total_bytes[ob] + size_req > draw->so.targets[ob]->target.buffer_size) {
#  164|               return;
#  165|            }

Error: CLANG_WARNING: [#def2998]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:76:22: warning[deadcode.DeadStores]: Although the value stored to 'vs_slot' is used in the enclosing expression, the value is never actually read from 'vs_slot'
#   74|   #endif
#   75|         input = (const float (*)[4])((const char *)input_ptr + (vertex_idx * input_vertex_stride));
#   76|->       for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) {
#   77|            vs_slot = draw_tes_get_input_index(
#   78|                                               shader->info.input_semantic_name[slot],

Error: CLANG_WARNING: [#def2999]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:241:22: warning[deadcode.DeadStores]: Although the value stored to 'vs_slot' is used in the enclosing expression, the value is never actually read from 'vs_slot'
#  239|   #endif
#  240|         input = (const float (*)[4])((const char *)input_ptr + (vertex_idx * input_vertex_stride));
#  241|->       for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) {
#  242|            vs_slot = draw_tes_get_input_index(
#  243|                                               shader->info.input_semantic_name[slot],

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3000]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:398:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_tess_eval_shader_run’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:377:29: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:382:14: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3001]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_create_tess_ctrl_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:454:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:426:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3002]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:457:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:426:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:453:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:456:25: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3003]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c: scope_hint: In function ‘draw_create_tess_eval_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:582:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:528:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:581:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_tess.c:581:24: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3004]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_context.c:662:10: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  660|   
#  661|            u_log_new_page_print(&dctx->log, f);
#  662|->          fclose(f);
#  663|         }
#  664|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3005]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c: scope_hint: In function ‘ddebug_screen_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:534:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dscreen’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_pipe.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:612:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:623:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:623:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:631:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:631:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:635:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:635:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:638:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:638:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:640:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:640:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:642:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:642:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:644:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:644:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:646:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:646:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:648:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:648:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:649:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:649:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:650:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:650:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:651:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:651:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:655:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:655:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:659:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:659:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_screen.c:660:4: note: in expansion of macro ‘SCR_INIT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3006]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c:231:38: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct pipe_transfer', which is incompatible with sizeof operand type 'struct threaded_transfer'
#  229|      struct noop_resource *nresource = (struct noop_resource *)resource;
#  230|   
#  231|->    transfer = (struct pipe_transfer*)CALLOC_STRUCT(threaded_transfer);
#  232|      if (!transfer)
#  233|         return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3007]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c:242:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3008]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_flush.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c:338:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3009]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c: scope_hint: In function ‘noop_create_fence’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_pipe.c:395:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3010]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_state.c: scope_hint: In function ‘noop_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_noop/noop_state.c:114:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3011]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_context.c: scope_hint: In function ‘trace_context_end_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_context.c:298:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_context.c: scope_hint: In function ‘trace_context_end_query’
#  296|   
#  297|      if (tr_ctx->threaded)
#  298|->       threaded_query(query)->flushed = trace_query(_query)->base.flushed;
#  299|      ret = pipe->end_query(pipe, query);
#  300|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3012]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_surf_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:59:21: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_surf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:49:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3013]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_transfer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:100:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_trans’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:88:15: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3014]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c: scope_hint: In function ‘trace_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:135:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tr_view’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3015]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_texture.c:138:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_view’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3016]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_trace/tr_video.c:33:13: warning[core.NullDereference]: Array access (from variable 'refrence_frames') results in a null pointer dereference
#   31|   {
#   32|       for (unsigned i=0; i < max_num_refrence_frame; i++) {
#   33|->         if (refrence_frames[i]) {
#   34|               struct trace_video_buffer *tr_buffer = trace_video_buffer(refrence_frames[i]);
#   35|               refrence_frames[i] = tr_buffer->video_buffer;

Error: CLANG_WARNING: [#def3017]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_arit.c:1008:19: warning[deadcode.DeadStores]: Value stored to 'builder' during its initialization is never read
# 1006|   {
# 1007|      struct gallivm_state *gallivm = bld->gallivm;
# 1008|->    LLVMBuilderRef builder = gallivm->builder;
# 1009|   
# 1010|      assert(bld->type.width == 32);

Error: CLANG_WARNING: [#def3018]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_arit.c:2618:25: warning[deadcode.DeadStores]: Value stored to 'type' during its initialization is never read
# 2616|   {
# 2617|      LLVMBuilderRef builder = bld->gallivm->builder;
# 2618|->    const struct lp_type type = bld->type;
# 2619|   
# 2620|      assert(lp_check_value(type, a));

Error: CLANG_WARNING: [#def3019]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_arit.c:2709:25: warning[deadcode.DeadStores]: Value stored to 'type' during its initialization is never read
# 2707|                  LLVMValueRef a)
# 2708|   {
# 2709|->    const struct lp_type type = bld->type;
# 2710|   
# 2711|      assert(lp_check_value(type, a));

Error: CLANG_WARNING: [#def3020]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c:680:25: warning[core.DivideZero]: Division by zero
#  678|                * completely hopeless even if we do hit the right conversion.
#  679|                */
#  680|->             type.length /= num_pixels / 4;
#  681|               num_conv_dst = num_pixels / 4;
#  682|            }

Error: CLANG_WARNING: [#def3021]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:316:17: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  314|               }
#  315|            }
#  316|->          cc01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
#  317|            cc23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
#  318|            cc01 = LLVMBuildBitCast(builder, cc01, type64_vec, "");

Error: CLANG_WARNING: [#def3022]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:317:17: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  315|            }
#  316|            cc01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
#  317|->          cc23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
#  318|            cc01 = LLVMBuildBitCast(builder, cc01, type64_vec, "");
#  319|            cc23 = LLVMBuildBitCast(builder, cc23, type64_vec, "");

Error: CLANG_WARNING: [#def3023]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:317:17: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  315|            }
#  316|            cc01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
#  317|->          cc23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
#  318|            cc01 = LLVMBuildBitCast(builder, cc01, type64_vec, "");
#  319|            cc23 = LLVMBuildBitCast(builder, cc23, type64_vec, "");

Error: CLANG_WARNING: [#def3024]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1740:7: warning[deadcode.DeadStores]: Value stored to 'sel_mask' is never read
# 1738|         ainterp0 = lp_build_lerpdxta_block(gallivm, alpha0, alpha1, acode0, sel_mask);
# 1739|         ainterp1 = lp_build_lerpdxta_block(gallivm, alpha0, alpha1, acode1, sel_mask);
# 1740|->       sel_mask = LLVMBuildBitCast(builder, sel_mask, bld8.vec_type, "");
# 1741|         ainterp = lp_build_pack2(gallivm, type16, type8, ainterp0, ainterp1);
# 1742|         alpha0 = lp_build_pack2(gallivm, type16, type8, alpha0, alpha0);

Error: CLANG_WARNING: [#def3025]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2229:7: warning[deadcode.DeadStores]: Value stored to 'rgba' is never read
# 2227|         assert(n / 4 <= ARRAY_SIZE(rgba4));
# 2228|   
# 2229|->       rgba = LLVMGetUndef(i128_vectype);
# 2230|   
# 2231|         for (count = 0; count < n / 4; count++) {

Error: CLANG_WARNING: [#def3026]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2412:18: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2410|               }
# 2411|            }
# 2412|->          red01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
# 2413|            red23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
# 2414|            red01 = LLVMBuildBitCast(builder, red01, type64_vec, "");

Error: CLANG_WARNING: [#def3027]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2413:18: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 2411|            }
# 2412|            red01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
# 2413|->          red23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
# 2414|            red01 = LLVMBuildBitCast(builder, red01, type64_vec, "");
# 2415|            red23 = LLVMBuildBitCast(builder, red23, type64_vec, "");

Error: CLANG_WARNING: [#def3028]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2413:18: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 2411|            }
# 2412|            red01 = lp_build_interleave2_half(gallivm, lp_type32, elems[0], elems[1], 0);
# 2413|->          red23 = lp_build_interleave2_half(gallivm, lp_type32, elems[2], elems[3], 0);
# 2414|            red01 = LLVMBuildBitCast(builder, red01, type64_vec, "");
# 2415|            red23 = LLVMBuildBitCast(builder, red23, type64_vec, "");

Error: CLANG_WARNING: [#def3029]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2582:7: warning[deadcode.DeadStores]: Value stored to 'rgba' is never read
# 2580|         struct lp_type lp_324_vectype = lp_type_uint_vec(32, 128);
# 2581|   
# 2582|->       rgba = LLVMGetUndef(i128_vectype);
# 2583|   
# 2584|         for (count = 0; count < n / 4; count++) {

Error: CLANG_WARNING: [#def3030]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c:71:21: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   69|   
#   70|         for (k = 0; k < pixels_per_channel; ++k) {
#   71|->          channel[k] = src_aos[j + 4 * k];
#   72|         }
#   73|   

Error: CLANG_WARNING: [#def3031]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c:650:22: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  648|         if (!fp64) {
#  649|            for (i = 0; i < num_gather; i++) {
#  650|->             dst[i] = LLVMBuildBitCast(builder, dst[i], bld.int_vec_type, "");
#  651|            }
#  652|            for (i = 0; i < format_desc->nr_channels; i++) {

Error: CLANG_WARNING: [#def3032]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c:673:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  671|         else {
#  672|            for (i = 0; i < format_desc->nr_channels; i++)  {
#  673|->             output[i] = dst[i];
#  674|            }
#  675|         }

Error: CLANG_WARNING: [#def3033]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c:892:38: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
#  890|       const unsigned width = chan_desc.size;
#  891|       const unsigned start = chan_desc.shift;
#  892|->     const uint32_t chan_mask = (1ULL << width) - 1;
#  893|       ASSERTED const unsigned stop = start + width;
#  894|       LLVMValueRef chan = NULL;

Error: CLANG_WARNING: [#def3034]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c:166:19: warning[deadcode.DeadStores]: Value stored to 'builder' during its initialization is never read
#  164|                           LLVMValueRef src)
#  165|   {
#  166|->    LLVMBuilderRef builder = gallivm->builder;
#  167|      struct lp_build_context f32_bld;
#  168|      LLVMValueRef lin_thresh, lin, lin_const, is_linear, tmp, pow_final;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3035]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_intr.c: scope_hint: In function ‘lp_add_function_attr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_intr.c:164:23: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3036]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:173:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  171|   {
#  172|      if ((ssa->num_components == 1 || is_aos(bld_base))) {
#  173|->       assign_ssa(bld_base, ssa->index, vals[0]);
#  174|      } else {
#  175|         assign_ssa(bld_base, ssa->index,

Error: CLANG_WARNING: [#def3037]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:1065:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
# 1063|         break;
# 1064|      }
# 1065|->    return result;
# 1066|   }
# 1067|   

Error: CLANG_WARNING: [#def3038]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:1126:35: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1124|                 instr->op == nir_op_fsum2) {
# 1125|         for (unsigned c = 0; c < nir_op_infos[instr->op].input_sizes[0]; c++) {
# 1126|->          LLVMValueRef temp_chan = LLVMBuildExtractValue(gallivm->builder,
# 1127|                                                             src[0], c, "");
# 1128|            temp_chan = cast_type(bld_base, temp_chan,

Error: CLANG_WARNING: [#def3039]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:1145:30: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1143|            for (unsigned i = 0; i < nir_op_infos[instr->op].num_inputs; i++) {
# 1144|               if (num_components > 1) {
# 1145|->                src_chan[i] = LLVMBuildExtractValue(gallivm->builder,
# 1146|                                                        src[i], c, "");
# 1147|               } else {

Error: CLANG_WARNING: [#def3040]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:2602:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 2600|      case nir_texop_lod:
# 2601|         for (unsigned chan = 0; chan < coord_vals; ++chan)
# 2602|->          coords[chan] = cast_type(bld_base, coords[chan], nir_type_float, 32);
# 2603|         break;
# 2604|      case nir_texop_txf:

Error: CLANG_WARNING: [#def3041]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:2607:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 2605|      case nir_texop_txf_ms:
# 2606|         for (unsigned chan = 0; chan < instr->coord_components; ++chan)
# 2607|->          coords[chan] = cast_type(bld_base, coords[chan], nir_type_int, 32);
# 2608|         break;
# 2609|      default:

Error: CLANG_WARNING: [#def3042]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir.c:2615:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2613|      if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) {
# 2614|         /* move layer coord for 1d arrays. */
# 2615|->       coords[2] = coords[1];
# 2616|         coords[1] = coord_undef;
# 2617|      }

Error: CLANG_WARNING: [#def3043]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:292:35: warning[core.DivideZero]: Division by zero
#  290|   
#  291|         for (unsigned i = nc; i < type.length; ++i) {
#  292|->          shuffles[i] = shuffles[i % nc];
#  293|         }
#  294|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3044]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_pack.c: scope_hint: In function ‘lp_build_concat’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3045]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3046]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_pack.c:849:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  847|   
#  848|      for(i = 0; i < num_srcs; ++i)
#  849|->       tmp[i] = src[i];
#  850|   
#  851|      while(src_type.width > dst_type.width) {

Error: CLANG_WARNING: [#def3047]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_pack.c:872:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  870|      assert(num_srcs == 1);
#  871|   
#  872|->    return tmp[0];
#  873|   }
#  874|   

Error: CLANG_WARNING: [#def3048]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_pack.c:1002:22: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1000|                  val = LLVMBuildZExt(builder, val, lp_build_elem_type(gallivm, dst_type), "");
# 1001|               }
# 1002|->             tmp[j] = LLVMBuildInsertElement(builder, tmp[j], val, dstindex, "");
# 1003|            }
# 1004|         }

Error: CLANG_WARNING: [#def3049]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_pack.c:1019:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1017|   
# 1018|      for(i = 0; i < num_dsts; ++i)
# 1019|->       dst[i] = tmp[i];
# 1020|   }
# 1021|   

Error: CLANG_WARNING: [#def3050]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi.c:242:4: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  240|                           const struct tgsi_full_instruction *inst)
#  241|   {
#  242|->    enum tgsi_opcode opcode = inst->Instruction.Opcode;
#  243|      const struct tgsi_opcode_info *info = tgsi_get_opcode_info(opcode);
#  244|      const struct lp_build_tgsi_action *action = &bld_base->op_actions[opcode];

Error: CLANG_WARNING: [#def3051]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:97:30: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#   95|   {
#   96|      return chan_info->file == TGSI_FILE_IMMEDIATE &&
#   97|->           chan_info->u.value == value;
#   98|   }
#   99|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3052]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c: scope_hint: In function ‘lp_build_tgsi_info’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:549:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3053]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c: scope_hint: In function ‘emit_fetch_64bit’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:956:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3054]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1940:39: warning[deadcode.DeadStores]: Value stored to 'bld' during its initialization is never read
# 1938|   
# 1939|   {
# 1940|->    struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base);
# 1941|   
# 1942|      if (DEBUG_EXECUTION) {

Error: CLANG_WARNING: [#def3055]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:3055:10: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3053|                                                 bld->bld_base.base.vec_type,
# 3054|                                                 bld->imms_array, gep, 2, "");
# 3055|->          LLVMBuildStore(builder, imms[i], imm_ptr);
# 3056|         }
# 3057|      } else {

Error: CLANG_WARNING: [#def3056]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:3064:50: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3062|   
# 3063|         for(i = 0; i < 4; ++i )
# 3064|->          bld->immediates[bld->num_immediates][i] = imms[i];
# 3065|   
# 3066|         if (bld->indirect_files & (1 << TGSI_FILE_IMMEDIATE)) {

Error: CLANG_WARNING: [#def3057]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_context.c:652:4: warning[core.NullDereference]: Dereference of null pointer
#  650|      cso_set_blend(cso, &hud->alpha_blend);
#  651|      cso_set_rasterizer(cso, &hud->rasterizer_aa_lines);
#  652|->    LIST_FOR_EACH_ENTRY(pane, &hud->pane_list, head) {
#  653|         if (pane)
#  654|            hud_pane_draw_colored_objects(hud, pane);

Error: CLANG_WARNING: [#def3058]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_driver_query.c:72:28: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'union pipe_query_result', which is incompatible with sizeof operand type 'union pipe_numeric_type_union'
#   70|   
#   71|         if (!bq->result[idx])
#   72|->          bq->result[idx] = MALLOC(sizeof(bq->result[idx]->batch[0]) *
#   73|                                     bq->num_query_types);
#   74|         if (!bq->result[idx]) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3059]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_sensors_temp.c: scope_hint: In function ‘create_object’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_sensors_temp.c:261:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sti’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_private.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/hud/hud_sensors_temp.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3060]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘gather_usage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:110:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: note: in expansion of macro ‘BITSET_LAST_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c: scope_hint: In function ‘gather_usage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘gather_usage’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3061]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:331:4: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  329|      }
#  330|   
#  331|->    i = 0;
#  332|      uint64_t processed_inputs = 0;
#  333|      nir_foreach_shader_in_variable(variable, nir) {

Error: CLANG_WARNING: [#def3062]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/nir_to_tgsi_info.c:427:4: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  425|      }
#  426|   
#  427|->    i = 0;
#  428|      uint64_t processed_outputs = 0;
#  429|      unsigned num_outputs = 0;

Error: CLANG_WARNING: [#def3063]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:894:20: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  892|   ttn_exp(nir_builder *b, nir_def **src)
#  893|   {
#  894|->    nir_def *srcx = ttn_channel(b, src[0], X);
#  895|   
#  896|      return nir_vec4(b, nir_fexp2(b, nir_ffloor(b, srcx)),

Error: CLANG_WARNING: [#def3064]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:911:36: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  909|   ttn_log(nir_builder *b, nir_def **src)
#  910|   {
#  911|->    nir_def *abs_srcx = nir_fabs(b, ttn_channel(b, src[0], X));
#  912|      nir_def *log2 = nir_flog2(b, abs_srcx);
#  913|   

Error: CLANG_WARNING: [#def3065]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:930:35: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  928|   {
#  929|      return nir_vec4(b, nir_imm_float(b, 1.0),
#  930|->                       nir_fmul(b, ttn_channel(b, src[0], Y),
#  931|                                     ttn_channel(b, src[1], Y)),
#  932|                         ttn_channel(b, src[0], Z),

Error: CLANG_WARNING: [#def3066]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:931:35: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  929|      return nir_vec4(b, nir_imm_float(b, 1.0),
#  930|                         nir_fmul(b, ttn_channel(b, src[0], Y),
#  931|->                                   ttn_channel(b, src[1], Y)),
#  932|                         ttn_channel(b, src[0], Z),
#  933|                         ttn_channel(b, src[1], W));

Error: CLANG_WARNING: [#def3067]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:945:22: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  943|   ttn_lit(nir_builder *b, nir_def **src)
#  944|   {
#  945|->    nir_def *src0_y = ttn_channel(b, src[0], Y);
#  946|      nir_def *wclamp = nir_fmax(b, nir_fmin(b, ttn_channel(b, src[0], W),
#  947|                                                 nir_imm_float(b, 128.0)),

Error: CLANG_WARNING: [#def3068]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:978:31: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  976|      /* flt must be exact, because NaN shouldn't discard. (apps rely on this) */
#  977|      b->exact = true;
#  978|->    nir_def *cmp = nir_bany(b, nir_flt_imm(b, src[0], 0.0));
#  979|      b->exact = false;
#  980|   

Error: CLANG_WARNING: [#def3069]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1010:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1008|      case TGSI_TEXTURE_SHADOW1D:
# 1009|         *dim = GLSL_SAMPLER_DIM_1D;
# 1010|->       *is_shadow = true;
# 1011|         break;
# 1012|      case TGSI_TEXTURE_SHADOW1D_ARRAY:

Error: CLANG_WARNING: [#def3070]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1014:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1012|      case TGSI_TEXTURE_SHADOW1D_ARRAY:
# 1013|         *dim = GLSL_SAMPLER_DIM_1D;
# 1014|->       *is_shadow = true;
# 1015|         *is_array = true;
# 1016|         break;

Error: CLANG_WARNING: [#def3071]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1033:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1031|      case TGSI_TEXTURE_SHADOW2D:
# 1032|         *dim = GLSL_SAMPLER_DIM_2D;
# 1033|->       *is_shadow = true;
# 1034|         break;
# 1035|      case TGSI_TEXTURE_SHADOW2D_ARRAY:

Error: CLANG_WARNING: [#def3072]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1037:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1035|      case TGSI_TEXTURE_SHADOW2D_ARRAY:
# 1036|         *dim = GLSL_SAMPLER_DIM_2D;
# 1037|->       *is_shadow = true;
# 1038|         *is_array = true;
# 1039|         break;

Error: CLANG_WARNING: [#def3073]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1052:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1050|      case TGSI_TEXTURE_SHADOWCUBE:
# 1051|         *dim = GLSL_SAMPLER_DIM_CUBE;
# 1052|->       *is_shadow = true;
# 1053|         break;
# 1054|      case TGSI_TEXTURE_SHADOWCUBE_ARRAY:

Error: CLANG_WARNING: [#def3074]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1056:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1054|      case TGSI_TEXTURE_SHADOWCUBE_ARRAY:
# 1055|         *dim = GLSL_SAMPLER_DIM_CUBE;
# 1056|->       *is_shadow = true;
# 1057|         *is_array = true;
# 1058|         break;

Error: CLANG_WARNING: [#def3075]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1064:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'is_shadow')
# 1062|      case TGSI_TEXTURE_SHADOWRECT:
# 1063|         *dim = GLSL_SAMPLER_DIM_RECT;
# 1064|->       *is_shadow = true;
# 1065|         break;
# 1066|      default:

Error: CLANG_WARNING: [#def3076]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1309:27: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1307|      instr->src[src_number] =
# 1308|         nir_tex_src_for_ssa(nir_tex_src_coord,
# 1309|->                           nir_trim_vector(b, src[0], instr->coord_components));
# 1310|      src_number++;
# 1311|   

Error: CLANG_WARNING: [#def3077]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1476:38: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1474|      /* lod: */
# 1475|      txs->src[1] = nir_tex_src_for_ssa(nir_tex_src_lod,
# 1476|->                                      ttn_channel(b, src[0], X));
# 1477|   
# 1478|      nir_def_init(&txs->instr, &txs->def, nir_tex_instr_dest_size(txs), 32);

Error: CLANG_WARNING: [#def3078]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1572:41: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1570|                                                          instr->num_components));
# 1571|         instr->src[i++] = nir_src_for_ssa(nir_imm_int(b, resource_index));
# 1572|->       instr->src[i++] = nir_src_for_ssa(ttn_channel(b, src[addr_src_index], X));
# 1573|   
# 1574|         if (tgsi_inst->Instruction.Opcode == TGSI_OPCODE_STORE)

Error: CLANG_WARNING: [#def3079]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1611:23: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1609|   
# 1610|         instr->src[0] = nir_src_for_ssa(&image_deref->def);
# 1611|->       instr->src[1] = nir_src_for_ssa(src[addr_src_index]);
# 1612|   
# 1613|         /* Set the sample argument, which is undefined for single-sample images. */

Error: CLANG_WARNING: [#def3080]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1860:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1858|      switch (tgsi_op) {
# 1859|      case TGSI_OPCODE_RSQ:
# 1860|->       dst = nir_frsq(b, ttn_channel(b, src[0], X));
# 1861|         break;
# 1862|   

Error: CLANG_WARNING: [#def3081]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1864:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1862|   
# 1863|      case TGSI_OPCODE_SQRT:
# 1864|->       dst = nir_fsqrt(b, ttn_channel(b, src[0], X));
# 1865|         break;
# 1866|   

Error: CLANG_WARNING: [#def3082]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1868:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1866|   
# 1867|      case TGSI_OPCODE_RCP:
# 1868|->       dst = nir_frcp(b, ttn_channel(b, src[0], X));
# 1869|         break;
# 1870|   

Error: CLANG_WARNING: [#def3083]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1872:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1870|   
# 1871|      case TGSI_OPCODE_EX2:
# 1872|->       dst = nir_fexp2(b, ttn_channel(b, src[0], X));
# 1873|         break;
# 1874|   

Error: CLANG_WARNING: [#def3084]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1876:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1874|   
# 1875|      case TGSI_OPCODE_LG2:
# 1876|->       dst = nir_flog2(b, ttn_channel(b, src[0], X));
# 1877|         break;
# 1878|   

Error: CLANG_WARNING: [#def3085]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1880:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1878|   
# 1879|      case TGSI_OPCODE_POW:
# 1880|->       dst = nir_fpow(b, ttn_channel(b, src[0], X), ttn_channel(b, src[1], X));
# 1881|         break;
# 1882|   

Error: CLANG_WARNING: [#def3086]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1880:52: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1878|   
# 1879|      case TGSI_OPCODE_POW:
# 1880|->       dst = nir_fpow(b, ttn_channel(b, src[0], X), ttn_channel(b, src[1], X));
# 1881|         break;
# 1882|   

Error: CLANG_WARNING: [#def3087]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1884:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1882|   
# 1883|      case TGSI_OPCODE_COS:
# 1884|->       dst = nir_fcos(b, ttn_channel(b, src[0], X));
# 1885|         break;
# 1886|   

Error: CLANG_WARNING: [#def3088]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1888:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1886|   
# 1887|      case TGSI_OPCODE_SIN:
# 1888|->       dst = nir_fsin(b, ttn_channel(b, src[0], X));
# 1889|         break;
# 1890|   

Error: CLANG_WARNING: [#def3089]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1892:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1890|   
# 1891|      case TGSI_OPCODE_ARL:
# 1892|->       dst = nir_f2i32(b, nir_ffloor(b, src[0]));
# 1893|         break;
# 1894|   

Error: CLANG_WARNING: [#def3090]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1912:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1910|   
# 1911|      case TGSI_OPCODE_DP2:
# 1912|->       dst = nir_fdot2(b, src[0], src[1]);
# 1913|         break;
# 1914|   

Error: CLANG_WARNING: [#def3091]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1912:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1910|   
# 1911|      case TGSI_OPCODE_DP2:
# 1912|->       dst = nir_fdot2(b, src[0], src[1]);
# 1913|         break;
# 1914|   

Error: CLANG_WARNING: [#def3092]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1916:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1914|   
# 1915|      case TGSI_OPCODE_DP3:
# 1916|->       dst = nir_fdot3(b, src[0], src[1]);
# 1917|         break;
# 1918|   

Error: CLANG_WARNING: [#def3093]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1916:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1914|   
# 1915|      case TGSI_OPCODE_DP3:
# 1916|->       dst = nir_fdot3(b, src[0], src[1]);
# 1917|         break;
# 1918|   

Error: CLANG_WARNING: [#def3094]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1920:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1918|   
# 1919|      case TGSI_OPCODE_DP4:
# 1920|->       dst = nir_fdot4(b, src[0], src[1]);
# 1921|         break;
# 1922|   

Error: CLANG_WARNING: [#def3095]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1920:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1918|   
# 1919|      case TGSI_OPCODE_DP4:
# 1920|->       dst = nir_fdot4(b, src[0], src[1]);
# 1921|         break;
# 1922|   

Error: CLANG_WARNING: [#def3096]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1924:25: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1922|   
# 1923|      case TGSI_OPCODE_UMAD:
# 1924|->       dst = nir_iadd(b, nir_imul(b, src[0], src[1]), src[2]);
# 1925|         break;
# 1926|   

Error: CLANG_WARNING: [#def3097]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1924:25: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1922|   
# 1923|      case TGSI_OPCODE_UMAD:
# 1924|->       dst = nir_iadd(b, nir_imul(b, src[0], src[1]), src[2]);
# 1925|         break;
# 1926|   

Error: CLANG_WARNING: [#def3098]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1928:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1926|   
# 1927|      case TGSI_OPCODE_LRP:
# 1928|->       dst = nir_flrp(b, src[2], src[1], src[0]);
# 1929|         break;
# 1930|   

Error: CLANG_WARNING: [#def3099]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1936:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1934|   
# 1935|      case TGSI_OPCODE_ARR:
# 1936|->       dst = nir_f2i32(b, nir_fround_even(b, src[0]));
# 1937|         break;
# 1938|   

Error: CLANG_WARNING: [#def3100]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1940:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1938|   
# 1939|      case TGSI_OPCODE_CMP:
# 1940|->       dst = nir_bcsel(b, nir_flt(b, src[0], nir_imm_float(b, 0.0)),
# 1941|                         src[1], src[2]);
# 1942|         break;

Error: CLANG_WARNING: [#def3101]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1940:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1938|   
# 1939|      case TGSI_OPCODE_CMP:
# 1940|->       dst = nir_bcsel(b, nir_flt(b, src[0], nir_imm_float(b, 0.0)),
# 1941|                         src[1], src[2]);
# 1942|         break;

Error: CLANG_WARNING: [#def3102]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1945:13: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1943|   
# 1944|      case TGSI_OPCODE_UCMP:
# 1945|->       dst = nir_bcsel(b, nir_ine(b, src[0], nir_imm_int(b, 0)),
# 1946|                         src[1], src[2]);
# 1947|         break;

Error: CLANG_WARNING: [#def3103]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1945:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1943|   
# 1944|      case TGSI_OPCODE_UCMP:
# 1945|->       dst = nir_bcsel(b, nir_ine(b, src[0], nir_imm_int(b, 0)),
# 1946|                         src[1], src[2]);
# 1947|         break;

Error: CLANG_WARNING: [#def3104]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1950:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1948|   
# 1949|      case TGSI_OPCODE_SGT:
# 1950|->       dst = nir_slt(b, src[1], src[0]);
# 1951|         break;
# 1952|   

Error: CLANG_WARNING: [#def3105]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1954:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1952|   
# 1953|      case TGSI_OPCODE_SLE:
# 1954|->       dst = nir_sge(b, src[1], src[0]);
# 1955|         break;
# 1956|   

Error: CLANG_WARNING: [#def3106]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1990:38: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1988|   
# 1989|      case TGSI_OPCODE_IF:
# 1990|->       nir_push_if(b, nir_fneu_imm(b, nir_channel(b, src[0], 0), 0.0));
# 1991|         break;
# 1992|   

Error: CLANG_WARNING: [#def3107]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:1994:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1992|   
# 1993|      case TGSI_OPCODE_UIF:
# 1994|->       nir_push_if(b, nir_ine_imm(b, nir_channel(b, src[0], 0), 0));
# 1995|         break;
# 1996|   

Error: CLANG_WARNING: [#def3108]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:2238:10: warning[core.NullDereference]: Access to field 'get_compiler_options' results in a dereference of a null pointer (loaded from variable '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-476): [#def3109]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c: scope_hint: In function ‘ttn_compile_init’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3110]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/tgsi_to_nir.c:2480:29: warning[core.BitwiseShift]: Left shift by '4294967292' overflows the capacity of 'unsigned int'
# 2478|                  nir_deref_instr *component_deref = nir_build_deref_array_imm(&b, clipdist_deref, i);
# 2479|                  nir_def *val = zero;
# 2480|->                if (wrmask & BITFIELD_BIT(i - offset))
# 2481|                     val = nir_channel(&b, intr->src[1].ssa, i - offset);
# 2482|                  nir_store_deref(&b, component_deref, val, 0x1);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3111]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘get_driver_descriptor’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:99:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘driver_name’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:155:7: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/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
#   97|   #ifdef GALLIUM_STATIC_TARGETS
#   98|      for (int i = 0; i < ARRAY_SIZE(driver_descriptors); i++) {
#   99|->       if (strcmp(driver_descriptors[i]->driver_name, driver_name) == 0)
#  100|            return driver_descriptors[i];
#  101|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3112]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘get_driver_descriptor’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:117:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘driver_name’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:155:7: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/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
#  115|   
#  116|      /* sanity check on the driver name */
#  117|->    if (dd && strcmp(dd->driver_name, driver_name) == 0)
#  118|         return dd;
#  119|   #endif

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3113]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_probe_fd_nodup’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:166:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*ddev.base.driver_name’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:155:7: note: in expansion of macro ‘FREE’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  164|   
#  165|      /* vgem is a virtual device; don't try using it with kmsro */
#  166|->    if (strcmp(ddev->base.driver_name, "vgem") == 0)
#  167|         goto fail;
#  168|   

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def3114]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_release’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:268:4: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘*ddev.fd’
#  266|   #endif
#  267|   
#  268|->    close(ddev->fd);
#  269|      FREE(ddev->base.driver_name);
#  270|      pipe_loader_base_release(dev);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3115]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c: scope_hint: In function ‘pipe_loader_drm_get_driconf_by_name’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:354: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
#  352|         size_t size = sizeof(*driconf) * *count;
#  353|         driconf = malloc(size);
#  354|->       memcpy(driconf, dd->driconf, size);
#  355|      }
#  356|      if (lib)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3116]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_dri’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:227:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:209:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3117]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_vk_probe_dri’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:257:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:239:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3118]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_kms’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:293:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:272:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3119]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_null’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:326:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:308:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3120]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c: scope_hint: In function ‘pipe_loader_sw_probe_wrapped’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:371:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:353:41: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3121]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c:376:28: warning[unix.Malloc]: Use of memory after it is freed
#  374|            (void) destroyed; /* silence unused var warning for non-debug build */
#  375|   
#  376|->          fenced_buf->flags &= ~PB_USAGE_GPU_READ_WRITE;
#  377|   
#  378|            ret = PIPE_OK;

Error: CLANG_WARNING: [#def3122]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c:834:31: warning[unix.Malloc]: Use of memory after it is freed
#  832|         if (fence) {
#  833|            ops->fence_reference(ops, &fenced_buf->fence, fence);
#  834|->          fenced_buf->flags |= fenced_buf->validation_flags;
#  835|            fenced_buffer_add_locked(fenced_mgr, fenced_buf);
#  836|         }

Error: CLANG_WARNING: [#def3123]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c:838:16: warning[unix.Malloc]: Use of memory after it is freed
#  836|         }
#  837|   
#  838|->       pb_fence(fenced_buf->buffer, fence);
#  839|   
#  840|         fenced_buf->vl = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3124]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c: scope_hint: In function ‘mm_bufmgr_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:49:27: warning[-Wanalyzer-malloc-leak]: leak of ‘mm_buf’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:220:11: note: in expansion of macro ‘SUPER’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:189:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c: scope_hint: In function ‘mm_bufmgr_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3125]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c: scope_hint: In function ‘pb_slab_range_manager_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:574:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:543:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3126]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_slab.c:189:12: warning[core.NullDereference]: Dereference of undefined pointer value
#  187|      }
#  188|   
#  189|->    entry = list_entry(slab->free.next, struct pb_slab_entry, head);
#  190|      list_del(&entry->head);
#  191|      slab->num_free--;

Error: CPPCHECK_WARNING: [#def3127]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tessellator/tessellator.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3128]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tessellator/tessellator.cpp:1783:54: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1781|           numCeilSegments -= 1;
# 1782|       }
# 1783|->     TessFactorCtx.fxpInvNumSegmentsOnFloorTessFactor = s_fixedReciprocal[numFloorSegments];
# 1784|       TessFactorCtx.fxpInvNumSegmentsOnCeilTessFactor = s_fixedReciprocal[numCeilSegments];
# 1785|   }

Error: CLANG_WARNING: [#def3129]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tessellator/tessellator.cpp:1927:9: warning[deadcode.DeadStores]: Value stored to 'baseIndexOffset' is never read
# 1925|       {
# 1926|           DefineClockwiseTriangle(outsidePoint,outsidePoint+1,insidePoint,baseIndexOffset);
# 1927|->         baseIndexOffset += 3;
# 1928|       }
# 1929|   }

Error: CLANG_WARNING: [#def3130]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tessellator/tessellator.cpp:2053:9: warning[deadcode.DeadStores]: Value stored to 'baseIndexOffset' is never read
# 2051|       {
# 2052|           DefineClockwiseTriangle(outsidePoint,outsidePoint+1,insidePoint,baseIndexOffset);
# 2053|->         baseIndexOffset += 3; outsidePoint++;
# 2054|       }
# 2055|   }

Error: CLANG_WARNING: [#def3131]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_exec.c:1760:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1758|         for (i = 0; i < TGSI_QUAD_SIZE; i++)
# 1759|            if (execmask & (1 << i))
# 1760|->             dst->i[i] = chan->i[i];
# 1761|      }
# 1762|      else {

Error: CLANG_WARNING: [#def3132]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_exec.c:1765:31: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1763|         for (i = 0; i < TGSI_QUAD_SIZE; i++)
# 1764|            if (execmask & (1 << i))
# 1765|->             dst->f[i] = fminf(fmaxf(chan->f[i], 0.0f), 1.0f);
# 1766|      }
# 1767|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3133]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c:80:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_immediate’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3134]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c:91:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_declaration’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_sanity.c: scope_hint: In function ‘iter_declaration’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3135]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_scan.c: scope_hint: In function ‘scan_src_operand’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3136]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_scan.c:186:20: warning[core.NullDereference]: Dereference of null pointer (loaded from variable '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: CLANG_WARNING: [#def3137]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_ureg.c:597:4: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  595|      /* Collapse all ranges down to one:
#  596|       */
#  597|->    i = 0;
#  598|      decl->constant_range[0].first = minconst;
#  599|      decl->constant_range[0].last = maxconst;

Error: CLANG_WARNING: [#def3138]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_ureg.c:859:19: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  857|   
#  858|         for (j = 0; j < nr2 && !found; j += 2) {
#  859|->          if (v[i] == v2[j] && v[i + 1] == v2[j + 1]) {
#  860|               *swizzle |= (j << (i * 2)) | ((j + 1) << ((i + 1) * 2));
#  861|               found = true;

Error: CLANG_WARNING: [#def3139]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/tgsi/tgsi_ureg.c:869:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  867|            }
#  868|   
#  869|->          v2[nr2] = v[i];
#  870|            v2[nr2 + 1] = v[i + 1];
#  871|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3140]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_generic.c: scope_hint: In function ‘translate_generic_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_generic.c:846:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tg’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_generic.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3141]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c:709:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  707|               }
#  708|               else {
#  709|->                x86_mov_imm(p->func, dst,
#  710|                              imms[swizzle[0] - PIPE_SWIZZLE_0]);
#  711|               }

Error: CLANG_WARNING: [#def3142]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c:813:19: warning[deadcode.DeadStores]: Value stored to 'tmpXMM' is never read
#  811|                     struct x86_reg t = dataXMM;
#  812|                     dataXMM = tmpXMM;
#  813|->                   tmpXMM = t;
#  814|                  }
#  815|               }

Error: CLANG_WARNING: [#def3143]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c:865:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  863|               }
#  864|               else {
#  865|->                x86_mov16_imm(p->func, dst,
#  866|                                imms[swizzle[0] - PIPE_SWIZZLE_0]);
#  867|                  if (output_desc->nr_channels >= 2) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3144]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c: scope_hint: In function ‘build_vertex_emit’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c:1420:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vb’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3145]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/translate/translate_sse.c:1421:30: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'file')
# 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)))
# 1423|               return false;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3146]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c:104:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘params[1]’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c: scope_hint: In function ‘blit_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3147]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c:104:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  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: CLANG_WARNING: [#def3148]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_compute.c:106:14: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  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]);
#  107|      tex_pos = nir_vector_insert_imm(&b, tex_pos, z, 2);
#  108|      tex_pos = nir_channels(&b, tex_pos, 0x7);

Error: CLANG_WARNING: [#def3149]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_index_modify.c:53:37: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'in_map')
#   51|   
#   52|       for (i = 0; i < count; i++) {
#   53|->         *out_map = (unsigned short)(*in_map + index_bias);
#   54|           in_map++;
#   55|           out_map++;

Error: CLANG_WARNING: [#def3150]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_index_modify.c:87:37: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'in_map')
#   85|   
#   86|       for (i = 0; i < count; i++) {
#   87|->         *out_map = (unsigned short)(*in_map + index_bias);
#   88|           in_map++;
#   89|           out_map++;

Error: CLANG_WARNING: [#def3151]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_index_modify.c:121:35: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'in_map')
#  119|   
#  120|       for (i = 0; i < count; i++) {
#  121|->         *out_map = (unsigned int)(*in_map + index_bias);
#  122|           in_map++;
#  123|           out_map++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3152]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_buffer.c: scope_hint: In function ‘si_alloc_buffer_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:108:41: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_buffer.c:557:30: note: in expansion of macro ‘MALLOC_STRUCT_CL’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:108:41: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_buffer.c:557: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): [#def3153]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_bufmgr.c: scope_hint: In function ‘vc4_bo_open_handle’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_bufmgr.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_bufmgr.c:397:14: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3154]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_fence.c:3: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_fence.c: scope_hint: In function ‘i915_drm_fence_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3155]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_buffer_common.c: scope_hint: In function ‘r600_alloc_buffer_struct’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3156]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_compute_global_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3157]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:59:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3158]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_blit.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:116:7: warning[core.NullDereference]: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'old_dst')
#  114|                                   (debug_reference_descriptor)
#  115|                                   debug_describe_surface))
#  116|->       old_dst->context->surface_destroy(old_dst->context, old_dst);
#  117|      *dst = src;
#  118|   }

Error: CLANG_WARNING: [#def3159]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/driver_ddebug/dd_draw.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:143:36: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'res')
#  141|      /* Avoid recursion, which would prevent inlining this function */
#  142|      do {
#  143|->       struct pipe_resource *next = res->next;
#  144|   
#  145|         res->screen->resource_destroy(res->screen, res);

Error: CLANG_WARNING: [#def3160]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_program.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_context.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_bufmgr.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:156:36: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'dst')
#  154|   pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src)
#  155|   {
#  156|->    struct pipe_resource *old_dst = *dst;
#  157|   
#  158|      if (pipe_reference_described(old_dst ? &old_dst->reference : NULL,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3161]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘nv50_miptree_surface_new’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:158:8: warning[-Wanalyzer-malloc-leak]: leak of ‘nv50_surface_from_miptree(pt,  templ)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:470:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c: scope_hint: In function ‘nv50_miptree_surface_new’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  156|      struct pipe_resource *old_dst = *dst;
#  157|   
#  158|->    if (pipe_reference_described(old_dst ? &old_dst->reference : NULL,
#  159|                                   src ? &src->reference : NULL,
#  160|                                   (debug_reference_descriptor)

Error: CLANG_WARNING: [#def3162]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:216:7: warning[core.NullDereference]: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'old_dst')
#  214|                                   (debug_reference_descriptor)
#  215|                                   debug_describe_sampler_view))
#  216|->       old_dst->context->sampler_view_destroy(old_dst->context, old_dst);
#  217|      *dst = src;
#  218|   }

Error: CLANG_WARNING: [#def3163]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:229:7: warning[core.NullDereference]: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'old_dst')
#  227|                        src ? &src->reference : NULL,
#  228|                        (debug_reference_descriptor)debug_describe_so_target))
#  229|->       old_dst->context->stream_output_target_destroy(old_dst->context, old_dst);
#  230|      *dst = src;
#  231|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3164]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.c: scope_hint: In function ‘u_log_chunk’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.c:177:21: warning[-Wanalyzer-malloc-leak]: leak of ‘new_entries’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_log.c:165:40: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3165]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_prim.h:107:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_draw.c: scope_hint: In function ‘v3d_update_primitives_generated_counter’
#  105|      assert(info->incr != 0);
#  106|   
#  107|->    if (num < info->min)
#  108|         return 0;
#  109|   

Error: CLANG_WARNING: [#def3166]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_prim.h:110:34: warning[core.DivideZero]: Division by zero
#  108|         return 0;
#  109|   
#  110|->    return 1 + ((num - info->min) / info->incr);
#  111|   }
#  112|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3167]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_prim.h:215:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_context.c: scope_hint: In function ‘v3d_update_primitive_counters’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_prim.h: scope_hint: In function ‘v3d_update_primitive_counters’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3168]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_range.h: scope_hint: In function ‘nouveau_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_range.h:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:2: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:769:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:44:44: note: in definition of macro ‘p_atomic_read’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
#   75|         }
#   76|      }
#   77|-> }
#   78|   
#   79|   static inline bool

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3169]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_transfer_helper.c: scope_hint: In function ‘u_transfer_helper_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_transfer_helper.c:579:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘helper’
#  577|      struct u_transfer_helper *helper = calloc(1, sizeof(*helper));
#  578|   
#  579|->    helper->vtbl = vtbl;
#  580|      helper->separate_z32s8 = flags & U_TRANSFER_HELPER_SEPARATE_Z32S8;
#  581|      helper->separate_stencil = flags & U_TRANSFER_HELPER_SEPARATE_STENCIL;

Error: CLANG_WARNING: [#def3170]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_vbuf.c:413:7: warning[deadcode.DeadStores]: Value stored to 'iter' is never read
#  411|                                                   velems->velems);
#  412|   
#  413|->       iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
#  414|         ve = cso->data;
#  415|      } else {

Error: CLANG_WARNING: [#def3171]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_vbuf.c:531:48: warning[core.DivideZero]: Division by zero
#  529|                * when people do that.
#  530|                */
#  531|->             num_vertices = (size + stride - 1) / stride;
#  532|            }
#  533|   

Error: CLANG_WARNING: [#def3172]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_vbuf.c:921:88: warning[core.DivideZero]: Division by zero
#  919|            is_packed |= desc->channel[c].size != desc->channel[0].size || desc->channel[c].size % 8 != 0;
#  920|         unsigned component_size = is_packed ?
#  921|->                                 ve->native_format_size[i] : (ve->native_format_size[i] / desc->nr_channels);
#  922|         ve->component_size[i] = component_size;
#  923|   

Error: CLANG_WARNING: [#def3173]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_vbuf.c:928:33: warning[core.DivideZero]: Division by zero
#  926|              ve->ve[i].src_offset % 4 != 0) ||
#  927|             (!mgr->caps.attrib_component_unaligned &&
#  928|->            ve->ve[i].src_offset % component_size != 0)) {
#  929|            ve->incompatible_elem_mask |= 1 << i;
#  930|            ve->incompatible_vb_mask_any |= vb_index_bit;

Error: CLANG_WARNING: [#def3174]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_vbuf.c:1642:16: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1640|               for (unsigned i = 0; i < draw_count; i++) {
# 1641|                  unsigned offset = i * indirect->stride / 4;
# 1642|->                unsigned start = data[offset + 2];
# 1643|                  unsigned count = data[offset + 0];
# 1644|                  unsigned start_instance = data[offset + 3];

Error: CLANG_WARNING: [#def3175]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_matrix_filter.c:220:20: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  218|   
#  219|      for (i = 0; i < num_offsets; ++i) {
#  220|->       offsets[i].x /= video_width;
#  221|         offsets[i].y /= video_height;
#  222|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3176]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_median_filter.c: scope_hint: In function ‘create_frag_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_median_filter.c:117:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_array’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_draw.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_median_filter.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_median_filter.c:84:31: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3177]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_median_filter.c:339:20: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  337|   
#  338|      for (i = 0; i < num_offsets; ++i) {
#  339|->       offsets[i].x /= width;
#  340|         offsets[i].y /= height;
#  341|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3178]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c: scope_hint: In function ‘vl_mpeg12_end_frame’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:773:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3179]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_video_buffer.c:292:35: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
#  290|   
#  291|      for (component = 0, i = 0; i < buf->num_planes; ++i ) {
#  292|->       struct pipe_resource *res = buf->resources[plane_order[i]];
#  293|         const struct util_format_description *desc = util_format_description(res->format);
#  294|         unsigned nr_components = util_format_get_nr_components(res->format);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3180]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_video_buffer.c: scope_hint: In function ‘vl_video_buffer_create_ex2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_video_buffer.c:491:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_video_buffer.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_video_buffer.c:472:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  489|      }
#  490|   
#  491|->    return &buffer->base;
#  492|   }
#  493|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3181]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_vert_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:82:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘o_vtex’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3182]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c: scope_hint: In function ‘create_frag_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:148:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3183]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:155:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3184]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3185]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3186]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:145:10: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3187]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*tmp’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:67:13: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:41:34: note: in definition of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:144:11: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_zscan.c:145:10: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3188]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_clear.c:167:30: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
#  165|               format, UTIL_FORMAT_COLORSPACE_RGB, i);
#  166|            if (bits < 32) {
#  167|->             int32_t max = (1 << (bits - 1)) - 1;
#  168|               int32_t min = -(1 << (bits - 1));
#  169|               override_color.i32[i] = CLAMP(override_color.i32[i], min, max);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3189]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:99:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_batch.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3190]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:107:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c: scope_hint: In function ‘crocus_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:97:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:105:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3191]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_fence.c:275:32: warning[core.NullDereference]: Access to field 'batch_count' results in a dereference of a null pointer (loaded from variable 'ice')
#  273|            continue;
#  274|   
#  275|->       for (unsigned b = 0; b < ice->batch_count; b++) {
#  276|            struct crocus_batch *batch = &ice->batches[b];
#  277|   

Error: CLANG_WARNING: [#def3192]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_query.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_genx_macros.h:54:13: warning[deadcode.DeadStores]: Value stored to 'offset' during its initialization is never read
#   52|                         struct crocus_address addr, uint32_t delta)
#   53|   {
#   54|->    uint32_t offset = (char *)location - (char *)batch->command.map;
#   55|   
#   56|      if (addr.bo == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3193]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_performance_query.c: scope_hint: In function ‘crocus_new_perf_query_obj’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3194]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:267:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:2687:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:287:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:288:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765: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: CLANG_WARNING: [#def3195]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:2450:29: warning[core.NullDereference]: Access to field 'prog_data' results in a dereference of a null pointer (loaded from variable 'shader')
# 2448|      struct crocus_compiled_shader *shader = ice->shaders.prog[last_stage];
# 2449|      struct crocus_uncompiled_shader *ish = ice->shaders.uncompiled[last_stage];
# 2450|->    update_last_vue_map(ice, shader->prog_data);
# 2451|      if (ice->state.streamout != shader->streamout) {
# 2452|         ice->state.streamout = shader->streamout;

Error: CLANG_WARNING: [#def3196]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:2481:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2479|      if (!(ice->state.dirty & CROCUS_DIRTY_GEN6_URB)) {
# 2480|         for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) {
# 2481|->          struct elk_vue_prog_data *old = old_prog_datas[i];
# 2482|            struct elk_vue_prog_data *new = get_vue_prog_data(ice, i);
# 2483|            if (!!old != !!new ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3197]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c: scope_hint: In function ‘crocus_create_compute_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_program.c:2901:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crocus_create_uncompiled_shader(ctx, *state.prog, 0)’
# 2899|         crocus_create_uncompiled_shader(ctx, (void *) state->prog, NULL);
# 2900|   
# 2901|->    ish->nos |= (1ull << CROCUS_NOS_TEXTURES);
# 2902|      // XXX: disallow more than 64KB of shared variables
# 2903|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3198]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_query.c: scope_hint: In function ‘crocus_create_query’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3199]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_resource.c: scope_hint: In function ‘crocus_memobj_create_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_resource.c:1911:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_resource.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_resource.c:1870:42: note: in expansion of macro ‘CALLOC_STRUCT’
# 1909|      memobj->stride = whandle->stride;
# 1910|   
# 1911|->    return &memobj->b;
# 1912|   }
# 1913|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3200]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_populate_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:5492:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:5489:4: note: in expansion of macro ‘foreach_surface_used’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:5489:4: note: in expansion of macro ‘foreach_surface_used’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_populate_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:5489:4: note: in expansion of macro ‘foreach_surface_used’
# 5490|         if (shs->ssbo[i].buffer)
# 5491|            surf_offsets[s] = emit_ssbo_buffer(ice, batch, &shs->ssbo[i],
# 5492|->                                             !!(shs->writable_ssbos & (1 << i)));
# 5493|         else
# 5494|            emit_null_surface(batch, &surf_offsets[s]);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3201]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:6079:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
# 6077|         if (ice->urb.vsize == urb_cfg.size[MESA_SHADER_VERTEX] &&
# 6078|             ice->urb.gs_present == gs_present &&
# 6079|->           ice->urb.gsize == urb_cfg.size[MESA_SHADER_GEOMETRY] &&
# 6080|             ice->urb.tess_present == tess_present &&
# 6081|             ice->urb.hsize == urb_cfg.size[MESA_SHADER_TESS_CTRL] &&

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3202]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_state.c:6089:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
# 6087|            ice->urb.vsize = urb_cfg.size[MESA_SHADER_VERTEX];
# 6088|            ice->urb.gs_present = gs_present;
# 6089|->          ice->urb.gsize = urb_cfg.size[MESA_SHADER_GEOMETRY];
# 6090|            ice->urb.tess_present = tess_present;
# 6091|            ice->urb.hsize = urb_cfg.size[MESA_SHADER_TESS_CTRL];

Error: CLANG_WARNING: [#def3203]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:350:23: warning[core.NullDereference]: Access to field 'ssa' results in a dereference of a null pointer (loaded from variable 'src')
#  348|   get_src(struct etna_compile *c, nir_src *src)
#  349|   {
#  350|->    nir_instr *instr = src->ssa->parent_instr;
#  351|   
#  352|      if (instr->pass_flags & BYPASS_SRC) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3204]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c: scope_hint: In function ‘etna_compile_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1234:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_resource.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_context.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1112:29: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_shader.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c: scope_hint: In function ‘etna_compile_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c: scope_hint: In function ‘etna_compile_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1149:7: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1169:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
# 1232|         nir_print_shader(s, stdout);
# 1233|   
# 1234|->    unsigned block_ptr[nir_shader_get_entrypoint(s)->num_blocks];
# 1235|      c->block_ptr = block_ptr;
# 1236|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3205]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c: scope_hint: In function ‘etna_ra_assign’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:139:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3206]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c: scope_hint: In function ‘lower_operations’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:166:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:259:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:259:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:264:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:264:9: note: in expansion of macro ‘util_dynarray_resize’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_resource.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_context.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:237:15: note: in definition of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:165:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3207]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c:260:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'subgraph'
#  258|      util_dynarray_init(&subgraph->tensors, NULL);
#  259|      if (!util_dynarray_resize(&subgraph->tensors, struct pipe_resource *, tensor_count))
#  260|->       return NULL;
#  261|      memset(util_dynarray_begin(&subgraph->tensors), 0, subgraph->tensors.size);
#  262|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3208]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_ml.c: scope_hint: In function ‘dump_buffer’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3209]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_nir.c:129:50: warning[core.NullDereference]: Access to field 'ssa' results in a dereference of a null pointer (loaded from variable 'coord')
#  127|               nir_alu_instr *vec = nir_alu_instr_create(shader, nir_op_vec4);
#  128|               for (unsigned i = 0; i < tex->coord_components; i++) {
#  129|->                vec->src[i].src = nir_src_for_ssa(coord->ssa);
#  130|                  vec->src[i].swizzle[0] = i;
#  131|               }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3210]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c: scope_hint: In function ‘perfmon_allocate’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:124:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:117:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:117:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  122|      pq->multiply_with_8 = cfg->multiply_with_8;
#  123|   
#  124|->    return &pq->base;
#  125|   }
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3211]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_sw.c: scope_hint: In function ‘etna_sw_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:114:12: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_query_sw.c:108:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3212]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_resource.c:763:4: warning[deadcode.DeadStores]: Value stored to 'scanout' is never read
#  761|   
#  762|      /* Scanout is always attached to the base resource */
#  763|->    scanout = rsc->scanout;
#  764|   
#  765|      lvl = &rsc->levels[0];

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3213]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.c: scope_hint: In function ‘etna_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.c:180:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_resource.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.c:92:32: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_surface.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def3214]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_tiling.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3215]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_transfer.c:366:28: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from variable 'rsc')
#  364|            prep_flags |= DRM_ETNA_PREP_WRITE;
#  365|   
#  366|->       if (etna_bo_cpu_prep(rsc->bo, prep_flags))
#  367|            goto fail_prep;
#  368|      }

Error: CLANG_WARNING: [#def3216]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/etnaviv/etnaviv_transfer.c:371:32: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from variable 'rsc')
#  369|   
#  370|      /* map buffer object */
#  371|->    trans->mapped = etna_bo_map(rsc->bo);
#  372|      if (!trans->mapped)
#  373|         goto fail;

Error: CLANG_WARNING: [#def3217]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/fd2_program.c:171:49: warning[core.NullDereference]: Access to field 'src_format' results in a dereference of a null pointer (loaded from variable 'elem')
#  169|                   instr_fetch_vtx_t *instr, uint16_t dst_swiz) assert_dt
#  170|   {
#  171|->    struct surface_format fmt = fd2_pipe2surface(elem->src_format);
#  172|   
#  173|      instr->dst_swiz = fd2_vtx_swiz(elem->src_format, dst_swiz);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3218]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/fd2_query.c: scope_hint: In function ‘fd2_create_batch_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/fd2_query.c:175:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/fd2_query.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3219]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2.c:131:25: warning[core.NullDereference]: Access to field 'src_count' results in a dereference of a null pointer (loaded from field 'instr')
#  129|   
#  130|         mask &= mr;
#  131|->       if (s->instr_s || s->instr->src_count == 3)
#  132|            continue;
#  133|   

Error: CLANG_WARNING: [#def3220]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2.c:300:4: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  298|   
#  299|      /* priority to FETCH instructions */
#  300|->    ir2_foreach_avail (instr) {
#  301|         if (instr->type == IR2_ALU)
#  302|            continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3221]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c: scope_hint: In function ‘src_to_reg’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:154:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3222]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:503:7: warning[deadcode.DeadStores]: Value stored to 'need_sync' is never read
#  501|            exec.serialize |= 0x2 << exec.count * 2;
#  502|   
#  503|->       need_sync = false;
#  504|         exec.count += 1;
#  505|         bytecode[i++] = bc;

Error: CLANG_WARNING: [#def3223]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:188:23: warning[core.NullDereference]: Access to field 'block_idx' results in a dereference of an undefined pointer value
#  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): [#def3224]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:188:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:108:4: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c: scope_hint: In function ‘cp_export’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_cp.c:145:10: note: in expansion of macro ‘ir2_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3225]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c: scope_hint: In function ‘load_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:163:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/fd2_program.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_private.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6743:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3226]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:169:57: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6743:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3227]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:188:57: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6743:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3228]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:194:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘imm_ncomp’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:70:31: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1138:4: note: in expansion of macro ‘OPT_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1196:4: note: in expansion of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:6743:9: note: in definition of macro ‘nir_foreach_reg_decl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1060:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:934:4: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3229]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:740:53: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'coord')
#  738|      }
#  739|   
#  740|->    struct ir2_src src_coord = make_src_noconst(ctx, *coord);
#  741|   
#  742|      /* for cube maps

Error: CLANG_WARNING: [#def3230]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_nir.c:792:13: warning[deadcode.DeadStores]: Value stored to 'n' during its initialization is never read
#  790|   {
#  791|      struct fd2_shader_stateobj *so = ctx->so;
#  792|->    unsigned n = in->data.driver_location;
#  793|      unsigned slot = in->data.location;
#  794|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3231]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_ra.c: scope_hint: In function ‘ra_src_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:211:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a2xx/ir2_ra.c:202:4: note: in expansion of macro ‘ir2_foreach_src’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3232]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_emit.c:241:32: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from variable 'rsc')
#  239|               for (j = 0; j < (end - start + 1); j++) {
#  240|                  struct fdl_slice *slice = fd_resource_slice(rsc, j + start);
#  241|->                OUT_RELOC(ring, rsc->bo, slice->offset, 0, 0);
#  242|               }
#  243|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3233]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:131:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3234]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:687:4: warning[deadcode.DeadStores]: Value stored to 'bin_h' is never read
#  685|       */
#  686|      bin_w = gmem->bin_w;
#  687|->    bin_h = gmem->bin_h;
#  688|   
#  689|      if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_COLOR)) {

Error: CLANG_WARNING: [#def3235]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_program.c:89:22: warning[core.NullDereference]: Array access (from variable 'bin') results in a null pointer dereference
#   87|      }
#   88|      for (i = 0; i < sz; i++) {
#   89|->       OUT_RING(ring, bin[i]);
#   90|      }
#   91|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3236]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_program.c: scope_hint: In function ‘fd3_program_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_program.c:466:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_program.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3237]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_program.c:470:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3238]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:213:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c:152:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a3xx/fd3_texture.c: scope_hint: In function ‘fd3_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3239]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:104:13: warning[deadcode.DeadStores]: Value stored to 'pformat' is never read
#  102|               srgb = util_format_is_srgb(pformat);
#  103|            else
#  104|->             pformat = util_format_linear(pformat);
#  105|   
#  106|            assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3240]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:134:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_draw.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3241]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:473:4: warning[deadcode.DeadStores]: Value stored to 'bin_h' is never read
#  471|       */
#  472|      bin_w = gmem->bin_w;
#  473|->    bin_h = gmem->bin_h;
#  474|   
#  475|      if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_COLOR)) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3242]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_program.c: scope_hint: In function ‘setup_stages’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3243]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_program.c: scope_hint: In function ‘fd4_program_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_program.c:594:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_program.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3244]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_program.c:598:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3245]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_texture.c: scope_hint: In function ‘fd4_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:230:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a4xx/fd4_texture.c:139:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd4_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3246]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_emit.c:704:16: warning[core.NullDereference]: Access to field 'rasterizer_discard' results in a dereference of a null pointer (loaded from field 'rasterizer')
#  702|         if (emit->binning_pass)
#  703|            nr = 0;
#  704|->       else if (ctx->rasterizer->rasterizer_discard)
#  705|            nr = 0;
#  706|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3247]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c: scope_hint: In function ‘emit_mrt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:113:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_draw.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:104:13: note: in expansion of macro ‘COND’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3248]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_program.c: scope_hint: In function ‘setup_stages’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3249]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_program.c: scope_hint: In function ‘fd5_program_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_program.c:764:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_program.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3250]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_program.c:768:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3251]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_query.c: scope_hint: In function ‘fd5_create_batch_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_query.c:385:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_query.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3252]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_screen.c:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_screen.h:42:13: warning[deadcode.DeadStores]: Value stored to 'reg' during its initialization is never read
#   40|   {
#   41|      extern int32_t marker_cnt;
#   42|->    unsigned reg = REG_A5XX_CP_SCRATCH_REG(scratch_idx);
#   43|      if (__EMIT_MARKER) {
#   44|         OUT_WFI5(ring);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3253]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_texture.c: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:227:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_texture.c:132:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a5xx/fd5_texture.c: scope_hint: In function ‘fd5_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3254]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a6xx/fd6_barrier.cc:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/a6xx/fd6_context.h:184:13: warning[deadcode.DeadStores]: Value stored to 'reg' during its initialization is never read
#  182|   {
#  183|      extern int32_t marker_cnt;
#  184|->    unsigned reg = REG_A6XX_CP_SCRATCH_REG(scratch_idx);
#  185|      if (__EMIT_MARKER) {
#  186|         OUT_WFI5(ring);

Error: COMPILER_WARNING (CWE-563): [#def3255]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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): [#def3256]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c: scope_hint: In function ‘__fd_batch_destroy_locked’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c:275:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_call_once.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/simple_mtx.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3257]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c:334:31: warning[core.NullDereference]: Access to field 'ctx' results in a dereference of a null pointer (loaded from variable 'batch')
#  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): [#def3258]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c: scope_hint: In function ‘__fd_batch_destroy’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c:334:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3259]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.h:388:7: warning[unix.Malloc]: Use of memory after it is freed
#  386|             &(*ptr)->reference, &batch->reference,
#  387|             (debug_reference_descriptor)__fd_batch_describe))
#  388|->       __fd_batch_destroy(old_batch);
#  389|   
#  390|      *ptr = batch;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3260]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch_cache.c: scope_hint: In function ‘fd_batch_from_fb’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch_cache.c:566:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch_cache.c:97:31: note: in expansion of macro ‘CALLOC_VARIANT_LENGTH_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch_cache.c: scope_hint: In function ‘fd_batch_from_fb’
#  564|      struct fd_batch_key *key = key_alloc(n);
#  565|   
#  566|->    key->width = pfb->width;
#  567|      key->height = pfb->height;
#  568|      key->layers = pfb->layers;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3261]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.c: scope_hint: In function ‘fd_cs_magic_write_string’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.c:256:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘string’
#  254|   
#  255|      /* format: <magic><formatted string>\0 */
#  256|->    *(uint32_t *)string = magic;
#  257|      vsnprintf(string + 4, fmt_len + 1, fmt, args);
#  258|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3262]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_fence.c: scope_hint: In function ‘fd_pipe_fence_create_unflushed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_fence.c:323:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fence_create(pctx, 0, -1, 0)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_fence.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3263]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query.c: scope_hint: In function ‘setup_perfcntr_query_info’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3264]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c: scope_hint: In function ‘fd_acc_create_query2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c:285:13: warning[-Wanalyzer-malloc-leak]: leak of ‘aq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c:271:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:111:26: note: in expansion of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_util.h:119:11: note: in expansion of macro ‘FD_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c:275:4: note: in expansion of macro ‘DBG’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_autotune.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_context.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_acc.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3265]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_hw.c:77:46: warning[core.BitwiseShift]: Right operand is negative in left shift
#   75|   {
#   76|      int idx = pidx(hq->provider->query_type);
#   77|->    return batch->query_providers_active & (1 << idx);
#   78|   }
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3266]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_sw.c: scope_hint: In function ‘fd_sw_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_sw.c:200:12: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_sw.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_query_sw.c:194:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3267]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.c:953:10: warning[deadcode.DeadStores]: Value stored to 'needs_flush' is never read
#  951|         if (needs_flush) {
#  952|            flush_resource(ctx, rsc, usage);
#  953|->          needs_flush = false;
#  954|         }
#  955|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3268]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.c: scope_hint: In function ‘fd_memobj_create_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.c:1729:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.c:1716:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 1727|      memobj->bo = bo;
# 1728|   
# 1729|->    return &memobj->b;
# 1730|   }
# 1731|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3269]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_state.c: scope_hint: In function ‘fd_create_stream_output_target’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_state.c:656:11: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_state.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_state.c:638:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3270]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.c: scope_hint: In function ‘fd_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.c:51:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_batch.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_resource.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3271]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.c:64:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/freedreno_surface.c:38:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3272]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/ir3/ir3_cache.c: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/ir3/ir3_cache.c:135:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shaders[0]’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/ir3/ir3_cache.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.1.2-build/mesa-24.1.2/src/util/xxhash.h: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/ir3/ir3_cache.c: scope_hint: In function ‘ir3_cache_lookup’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3273]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/freedreno/ir3/ir3_gallium.c: scope_hint: In function ‘ir3_shader_compute_state_create’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3274]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_emit.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_emit.c: scope_hint: In function ‘i915_emit_arith’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_emit.c:139:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc.h:123:31: note: in definition of macro ‘GET_UREG_NR’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_emit.c:121:8: note: in expansion of macro ‘GET_UREG_TYPE’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_emit.c:121:8: note: in expansion of macro ‘GET_UREG_TYPE’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc.h:123:31: note: in definition of macro ‘GET_UREG_NR’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3275]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘copy_token.part.0’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_context.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3276]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_mark_read’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3277]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_mark_read.part.0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3278]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘liveness_analysis’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3279]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3280]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘i915_fpc_optimize_useless_mov_after_inst’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3281]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c: scope_hint: In function ‘i915_optimize’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_optimize.c:629:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_tokens’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3282]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_use_passthrough_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c:92:23: warning[-Wanalyzer-malloc-leak]: leak of ‘*fs.program’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_context.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3283]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_init_compile’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c:941:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3284]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c: scope_hint: In function ‘i915_fini_compile’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3285]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_fpc_translate.c:1040:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*ifs.program’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3286]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_emit.c: scope_hint: In function ‘i915_draw_render_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_emit.c:200:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘setup’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_private.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_pipe.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_emit.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3287]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_emit.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of ‘setup’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3288]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_vbuf.c: scope_hint: In function ‘i915_vbuf_render_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_vbuf.c:651:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘i915_render’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_vbuf.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3289]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_prim_vbuf.c:679:11: warning[-Wanalyzer-malloc-leak]: leak of ‘i915_render’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3290]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c: scope_hint: In function ‘i915_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:111:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:119:16: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3291]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c: scope_hint: In function ‘i915_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:155:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_buffer.c:136:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3292]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c: scope_hint: In function ‘i915_texture_set_level_info’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3293]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:129:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(4)’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c: scope_hint: In function ‘i915_texture_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:989:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3294]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:154:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c: scope_hint: In function ‘i915_texture_layout_3d’
#  152|      assert(img < tex->nr_images[level]);
#  153|   
#  154|->    tex->image_offset[level][img].nblocksx = nblocksx;
#  155|      tex->image_offset[level][img].nblocksy = nblocksy;
#  156|   

Error: CLANG_WARNING: [#def3295]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:575:7: warning[deadcode.DeadStores]: Value stored to 'nblocksy' is never read
#  573|         height = u_minify(height, 1);
#  574|         depth = u_minify(depth, 1);
#  575|->       nblocksy = util_format_get_nblocksy(pt->format, height);
#  576|      }
#  577|   }

Error: CLANG_WARNING: [#def3296]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_resource_texture.c:815:7: warning[deadcode.DeadStores]: Value stored to 'use_staging_texture' is never read
#  813|          !(usage &
#  814|            (PIPE_MAP_READ | PIPE_MAP_DONTBLOCK | PIPE_MAP_UNSYNCHRONIZED)))
#  815|->       use_staging_texture = true;
#  816|   
#  817|      use_staging_texture = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3297]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_sampler_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:284:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3298]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_depth_stencil_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:448:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3299]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:787:44: warning[core.NullDereference]: Array access (from variable 'views') results in a null pointer dereference
#  785|         if (take_ownership) {
#  786|            pipe_sampler_view_reference(&i915->fragment_sampler_views[i], NULL);
#  787|->          i915->fragment_sampler_views[i] = views[i];
#  788|         } else {
#  789|            pipe_sampler_view_reference(&i915->fragment_sampler_views[i],

Error: CLANG_WARNING: [#def3300]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:790:38: warning[core.NullDereference]: Array access (from variable 'views') results in a null pointer dereference
#  788|         } else {
#  789|            pipe_sampler_view_reference(&i915->fragment_sampler_views[i],
#  790|->                                      views[i]);
#  791|         }
#  792|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3301]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c: scope_hint: In function ‘i915_create_rasterizer_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state.c:907:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3302]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state_derived.c:52:42: warning[deadcode.DeadStores]: Although the value stored to 'face' is used in the enclosing expression, the value is never actually read from 'face'
#   50|      int src;
#   51|   
#   52|->    colors[0] = colors[1] = fog = needW = face = false;
#   53|      memset(&vinfo, 0, sizeof(vinfo));
#   54|   

Error: CLANG_WARNING: [#def3303]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_state_sampler.c:161:7: warning[deadcode.DeadStores]: Value stored to 'minlod' is never read
#  159|   
#  160|      if (lastlod < minlod) {
#  161|->       minlod = lastlod;
#  162|      }
#  163|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3304]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_context.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_blit.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c: scope_hint: In function ‘i915_create_surface_custom’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:421:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_reg.h:100:33: note: in definition of macro ‘BUF_3D_PITCH’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_reg.h:100:33: note: in definition of macro ‘BUF_3D_PITCH’
#  419|      }
#  420|   
#  421|->    surf->buf_info |= BUF_3D_PITCH(tex->stride); /* pitch in bytes */
#  422|   
#  423|      switch (tex->tiling) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3305]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:423:4: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:397:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/i915/i915_surface.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  421|      surf->buf_info |= BUF_3D_PITCH(tex->stride); /* pitch in bytes */
#  422|   
#  423|->    switch (tex->tiling) {
#  424|      case I915_TILE_Y:
#  425|         surf->buf_info |= BUF_3D_TILED_SURFACE | BUF_3D_TILE_WALK_Y;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3306]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c: scope_hint: In function ‘i915_batch_submit’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c:304: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
#  302|      size_t sz = (batch->max_gem_handle + 1) * sizeof(int);
#  303|      int *index_for_handle = malloc(sz);
#  304|->    memset(index_for_handle, -1, sz);
#  305|   
#  306|      unsigned validation_count = 0;

Error: CLANG_WARNING: [#def3307]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c:315:47: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  313|         if (prev_index != -1) {
#  314|            if (written)
#  315|->             validation_list[prev_index].flags |= EXEC_OBJECT_WRITE;
#  316|         } else {
#  317|            uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3308]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c:324:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘validation_list’
#  322|   
#  323|            index_for_handle[bo->gem_handle] = validation_count;
#  324|->          validation_list[validation_count] =
#  325|               (struct drm_i915_gem_exec_object2) {
#  326|                  .handle = bo->gem_handle,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3309]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c: scope_hint: In function ‘combine_and_pin_address’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:99:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blorp_batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1559:4: note: in expansion of macro ‘GENX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_pack.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:172: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/genX_helpers.h:49:24: note: in expansion of macro ‘__gen_combine_address’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘combine_and_pin_address’
mesa-24.1.2-build/mesa-24.1.2/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-476): [#def3310]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:509:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_bind_timeline.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:66: included_from: Included from here.
#  507|         external_implicit_syncobj = iris_bo_export_sync_state(bo);
#  508|         if (external_implicit_syncobj)
#  509|->          handles[handle_count++] = external_implicit_syncobj->handle;
#  510|      }
#  511|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3311]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:517:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)handle_count * 4’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  515|            struct iris_syncobj *w = bo->deps[d].write_syncobjs[b];
#  516|            if (r)
#  517|->             handles[handle_count++] = r->handle;
#  518|            if (w)
#  519|               handles[handle_count++] = w->handle;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3312]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:519:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)handle_count * 4’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  517|               handles[handle_count++] = r->handle;
#  518|            if (w)
#  519|->             handles[handle_count++] = w->handle;
#  520|         }
#  521|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3313]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:553:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  551|   
#  552|   out:
#  553|->    if (handles_len > 32)
#  554|         free(handles);
#  555|      if (external_implicit_syncobj)

Error: GCC_ANALYZER_WARNING (CWE-590): [#def3314]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:554:7: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘<unknown>’ which points to memory on the stack
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:62: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:1565:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c:1565:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_bufmgr.c: scope_hint: In function ‘iris_bo_wait_syncobj’
#  552|   out:
#  553|      if (handles_len > 32)
#  554|->       free(handles);
#  555|      if (external_implicit_syncobj)
#  556|         iris_syncobj_reference(bufmgr, &external_implicit_syncobj, NULL);

Error: CLANG_WARNING: [#def3315]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_context.h:756:12: warning[core.NullDereference]: Access to field 'stage' results in a dereference of a null pointer (loaded from variable 'shader')
#  754|   iris_vue_data(struct iris_compiled_shader *shader)
#  755|   {
#  756|->    switch (shader->stage) {
#  757|      case MESA_SHADER_VERTEX:    return &shader->vs.base;
#  758|      case MESA_SHADER_TESS_CTRL: return &shader->tcs.base;

Error: CLANG_WARNING: [#def3316]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_disk_cache.c:224:64: warning[core.NullDereference]: Access to field 'program_size' results in a dereference of a null pointer (loaded from variable '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): [#def3317]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_disk_cache.c: scope_hint: In function ‘iris_disk_cache_retrieve’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_disk_cache.c:224:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  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): [#def3318]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_disk_cache.c:252:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ralloc_size(0, (long unsigned int)<unknown>)’
#  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): [#def3319]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:118:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_batch.h:459:28: note: in definition of macro ‘iris_foreach_batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:592:4: note: in expansion of macro ‘iris_foreach_batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_batch.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3320]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:126:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_batch.h:459:28: note: in definition of macro ‘iris_foreach_batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:592:4: note: in expansion of macro ‘iris_foreach_batch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c: scope_hint: In function ‘iris_batch_add_syncobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:116:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:124:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3321]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_fence.c:339:26: warning[core.NullDereference]: Dereference of null pointer
#  337|            continue;
#  338|   
#  339|->       iris_foreach_batch(ice, batch) {
#  340|            /* We're going to make any future work in this batch wait for our
#  341|             * fence to have gone by.  But any currently queued work doesn't

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3322]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_measure.c: scope_hint: In function ‘iris_init_batch_measure’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3323]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_performance_query.c: scope_hint: In function ‘iris_new_perf_query_obj’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3324]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3389:44: note: in expansion of macro ‘KEY_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3389:44: note: in expansion of macro ‘KEY_INIT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3389: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): [#def3325]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:732:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3740:4: note: in expansion of macro ‘NIR_PASS_V’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:752:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:753:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘get_aoa_deref_offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘get_aoa_deref_offset’
#  730|         deref = nir_deref_instr_parent(deref);
#  731|         assert(glsl_type_is_array(deref->type));
#  732|->       array_size *= glsl_get_length(deref->type);
#  733|      }
#  734|   

Error: CLANG_WARNING: [#def3326]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:2910:32: warning[core.NullDereference]: Access to field 'streamout' results in a dereference of a null pointer (loaded from variable 'shader')
# 2908|      struct iris_uncompiled_shader *ish = ice->shaders.uncompiled[last_stage];
# 2909|      update_last_vue_map(ice, shader);
# 2910|->    if (ice->state.streamout != shader->streamout) {
# 2911|         ice->state.streamout = shader->streamout;
# 2912|         ice->state.dirty |= IRIS_DIRTY_SO_DECL_LIST | IRIS_DIRTY_STREAMOUT;

Error: COMPILER_WARNING (CWE-563): [#def3327]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_fill_cs_push_const_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3086:25: warning[-Wunused-variable]: unused variable ‘cs_data’
# 3086 |    struct iris_cs_data *cs_data = iris_cs_data(shader);
#      |                         ^~~~~~~
# 3084|                                  uint32_t *dst)
# 3085|   {
# 3086|->    struct iris_cs_data *cs_data = iris_cs_data(shader);
# 3087|      assert(iris_cs_push_const_total_size(shader, threads) > 0);
# 3088|      assert(cs_data->push.cross_thread.size == 0);

Error: CLANG_WARNING: [#def3328]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3086:25: warning[deadcode.DeadStores]: Value stored to 'cs_data' during its initialization is never read
# 3084|                                  uint32_t *dst)
# 3085|   {
# 3086|->    struct iris_cs_data *cs_data = iris_cs_data(shader);
# 3087|      assert(iris_cs_push_const_total_size(shader, threads) > 0);
# 3088|      assert(cs_data->push.cross_thread.size == 0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3329]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3387:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3385|         /* User clip planes */
# 3386|         if (info->clip_distance_array_size == 0)
# 3387|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3388|   
# 3389|         key.vs = (struct iris_vs_prog_key) { KEY_INIT(vue.base) };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3330]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3419:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3417|         /* User clip planes */
# 3418|         if (info->clip_distance_array_size == 0)
# 3419|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3420|   
# 3421|         key.tes = (struct iris_tes_prog_key) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3331]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3434:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3432|         /* User clip planes */
# 3433|         if (info->clip_distance_array_size == 0)
# 3434|->          ish->nos |= (1ull << IRIS_NOS_RASTERIZER);
# 3435|   
# 3436|         key.gs = (struct iris_gs_prog_key) { KEY_INIT(vue.base) };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3332]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3441:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen,  nir, &*state.stream_output)’
# 3439|   
# 3440|      case MESA_SHADER_FRAGMENT:
# 3441|->       ish->nos |= (1ull << IRIS_NOS_FRAMEBUFFER) |
# 3442|                     (1ull << IRIS_NOS_DEPTH_STENCIL_ALPHA) |
# 3443|                     (1ull << IRIS_NOS_RASTERIZER) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3333]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:3495:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘job’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_create_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_program.c:788:4: note: in expansion of macro ‘nir_foreach_function_impl’
# 3493|            struct iris_threaded_compile_job *job = calloc(1, sizeof(*job));
# 3494|   
# 3495|->          job->screen = screen;
# 3496|            job->uploader = uploader;
# 3497|            job->ish = ish;

Error: CLANG_WARNING: [#def3334]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_query.c:159:36: warning[deadcode.DeadStores]: Value stored to 'devinfo' during its initialization is never read
#  157|                        unsigned offset)
#  158|   {
#  159|->    const struct intel_device_info *devinfo = batch->screen->devinfo;
#  160|      const unsigned optional_cs_stall =
#  161|         GFX_VER == 9 && devinfo->gt == 4 ?  PIPE_CONTROL_CS_STALL : 0;

Error: COMPILER_WARNING (CWE-563): [#def3335]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘map_aux_addresses’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:656:18: warning[-Wunused-variable]: unused variable ‘mapped’
#  656 |       const bool mapped =
#      |                  ^~~~~~
#  654|         const uint64_t format_bits =
#  655|            intel_aux_map_format_bits(res->surf.tiling, format, plane);
#  656|->       const bool mapped =
#  657|            intel_aux_map_add_mapping(aux_map_ctx,
#  658|                                      res->bo->address + res->offset,

Error: CLANG_WARNING: [#def3336]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:656:18: warning[deadcode.DeadStores]: Value stored to 'mapped' during its initialization is never read
#  654|         const uint64_t format_bits =
#  655|            intel_aux_map_format_bits(res->surf.tiling, format, plane);
#  656|->       const bool mapped =
#  657|            intel_aux_map_add_mapping(aux_map_ctx,
#  658|                                      res->bo->address + res->offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3337]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘iris_resource_create_for_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:996:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_alloc_resource(pscreen,  templ)’
#  994|             util_format_get_blocksize(templ->format) == 1);
#  995|   
#  996|->    res->internal_format = templ->format;
#  997|      res->surf.tiling = ISL_TILING_LINEAR;
#  998|   

Error: COMPILER_WARNING (CWE-563): [#def3338]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘iris_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:1272:36: warning[-Wunused-variable]: unused variable ‘devinfo’
# 1272 |    const struct intel_device_info *devinfo = screen->devinfo;
#      |                                    ^~~~~~~
# 1270|   {
# 1271|      struct iris_screen *screen = (struct iris_screen *)pscreen;
# 1272|->    const struct intel_device_info *devinfo = screen->devinfo;
# 1273|      struct iris_bufmgr *bufmgr = screen->bufmgr;
# 1274|   

Error: CLANG_WARNING: [#def3339]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:1272:36: warning[deadcode.DeadStores]: Value stored to 'devinfo' during its initialization is never read
# 1270|   {
# 1271|      struct iris_screen *screen = (struct iris_screen *)pscreen;
# 1272|->    const struct intel_device_info *devinfo = screen->devinfo;
# 1273|      struct iris_bufmgr *bufmgr = screen->bufmgr;
# 1274|   

Error: CLANG_WARNING: [#def3340]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_resource.c:1801:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1799|      whandle->stride = stride;
# 1800|      whandle->offset = offset;
# 1801|->    whandle->modifier = modifier;
# 1802|      whandle->format = res->external_format;
# 1803|   

Error: COMPILER_WARNING (CWE-563): [#def3341]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘fill_surf_for_tex2d_from_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c:2815:15: warning[-Wunused-variable]: unused variable ‘isl_surf_created_successfully’
# 2815 |    const bool isl_surf_created_successfully =
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2813|      };
# 2814|   
# 2815|->    const bool isl_surf_created_successfully =
# 2816|         isl_surf_init_s(isl_dev, surf, &init_info);
# 2817|   

Error: COMPILER_WARNING (CWE-563): [#def3342]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘iris_store_cs_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c:5245:25: warning[-Wunused-variable]: unused variable ‘cs_data’
# 5245 |    struct iris_cs_data *cs_data = iris_cs_data(shader);
#      |                         ^~~~~~~
# 5243|                       struct iris_compiled_shader *shader)
# 5244|   {
# 5245|->    struct iris_cs_data *cs_data = iris_cs_data(shader);
# 5246|      void *map = shader->derived_data;
# 5247|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3343]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘gfx12_init_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c:10308:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*ice.state.genx’
#10306|   
#10307|   #if GFX_VERx10 >= 120
#10308|->    ice->state.genx->object_preemption = true;
#10309|   #endif
#10310|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3344]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/nir.c: scope_hint: In function ‘gpir_compile_nir’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/nir.c:446:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/nir.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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): [#def3345]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/gpir.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/scheduler.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/scheduler.c: scope_hint: In function ‘create_move’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_ir.h:35:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: note: in expansion of macro ‘gpir_debug’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3346]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c:46:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3347]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c:77:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3348]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c:77:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_const’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3349]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_load’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3350]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3351]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3352]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3353]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c: scope_hint: In function ‘ppir_lower_texture’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3354]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c:191:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3355]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/nir.c:295:7: warning[deadcode.DeadStores]: Value stored to 'lnode' is never read
#  293|      case nir_intrinsic_load_reg: {
#  294|         nir_legacy_dest legacy_dest = nir_legacy_chase_dest(&instr->def);
#  295|->       lnode = ppir_node_create_dest(block, ppir_op_dummy, &legacy_dest, mask);
#  296|         return true;
#  297|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3356]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/nir.c: scope_hint: In function ‘ppir_compile_nir’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/nir.c:953:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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): [#def3357]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/node.c: scope_hint: In function ‘ppir_node_insert_mov_local’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3358]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/nir.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:507:12: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'node')
#  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): [#def3359]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/node.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_get_dest’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:507:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/node.c:639:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:245:15: note: in definition of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3360]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/lower.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_target_assign’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3361]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_node_target_equal’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:614:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h:490:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3362]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/instr.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/ppir.h: scope_hint: In function ‘ppir_target_is_scalar’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3363]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/pp/regalloc.c:488:20: warning[core.NullDereference]: Access to field 'spilled' results in a dereference of a null pointer (loaded from variable 'chosen')
#  486|      }
#  487|      assert(chosen);
#  488|->    chosen->spilled = true;
#  489|      chosen->is_head = true; /* store_temp unable to do swizzle */
#  490|   

Error: CLANG_WARNING: [#def3364]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:50:10: warning[deadcode.DeadStores]: Value stored to 'fb_width' during its initialization is never read
#   48|      int level = psurf->u.tex.level;
#   49|      unsigned first_layer = psurf->u.tex.first_layer;
#   50|->    float fb_width = dst->width, fb_height = dst->height;
#   51|   
#   52|      uint32_t va;

Error: CLANG_WARNING: [#def3365]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:50:33: warning[deadcode.DeadStores]: Value stored to 'fb_height' during its initialization is never read
#   48|      int level = psurf->u.tex.level;
#   49|      unsigned first_layer = psurf->u.tex.first_layer;
#   50|->    float fb_width = dst->width, fb_height = dst->height;
#   51|   
#   52|      uint32_t va;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3366]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c: scope_hint: In function ‘lima_pack_blit_cmd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:119:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:134:35: note: in expansion of macro ‘PLBU_CMD’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:143:4: note: in expansion of macro ‘PLBU_CMD_VIEWPORT_LEFT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:141:4: note: in expansion of macro ‘PLBU_CMD_BEGIN’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_math.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
/usr/include/sched.h:29: included_from: Included from here.
/usr/include/pthread.h:22: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/c11/threads.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_call_once.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/simple_mtx.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/slab.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_context.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:141:4: note: in expansion of macro ‘PLBU_CMD_BEGIN’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:134:35: note: in expansion of macro ‘PLBU_CMD’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_blit.c:143: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): [#def3367]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_vs_cmd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:175:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:299:7: note: in expansion of macro ‘VS_CMD_ARRAYS_SEMAPHORE_BEGIN_1’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c: scope_hint: In function ‘lima_pack_vs_cmd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:296:4: note: in expansion of macro ‘VS_CMD_BEGIN’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
/usr/include/dlfcn.h:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_screen.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:296:4: note: in expansion of macro ‘VS_CMD_BEGIN’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_draw.c:299:7: note: in expansion of macro ‘VS_CMD_ARRAYS_SEMAPHORE_BEGIN_1’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_gpu.h:179:43: note: in expansion of macro ‘VS_CMD’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3368]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c: scope_hint: In function ‘lima_job_add_bo’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:219:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_math.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3369]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:223:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:218:7: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:222:27: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3370]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:534:31: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  532|            int plb_va = ctx->plb[ctx->plb_index]->va + offset;
#  533|   
#  534|->          stream[pp][si[pp]++] = 0;
#  535|            stream[pp][si[pp]++] = 0xB8000000 | x | (y << 8);
#  536|            stream[pp][si[pp]++] = 0xE0000002 | ((plb_va >> 3) & ~0xE0000003);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3371]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c: scope_hint: In function ‘lima_finish_plbu_cmd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:728:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_job.c:1024:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373: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: CLANG_WARNING: [#def3372]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c:76:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'res'
#   74|                                                screen->ro, &handle);
#   75|      if (!scanout)
#   76|->       return NULL;
#   77|   
#   78|      res->base = *templat;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3373]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c: scope_hint: In function ‘lima_surface_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c:581:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pres’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3374]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c:599:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/lima_resource.c:566:32: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3375]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_bld_interp.c:466:17: warning[deadcode.DeadStores]: Value stored to 'dadx' during its initialization is never read
#  464|      struct lp_build_context *coeff_bld = &bld->coeff_bld;
#  465|      const enum lp_interp interp = bld->interp[attrib];
#  466|->    LLVMValueRef dadx = coeff_bld->zero;
#  467|      LLVMValueRef dady = coeff_bld->zero;
#  468|      LLVMValueRef a = coeff_bld->zero;

Error: CLANG_WARNING: [#def3376]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_bld_interp.c:467:17: warning[deadcode.DeadStores]: Value stored to 'dady' during its initialization is never read
#  465|      const enum lp_interp interp = bld->interp[attrib];
#  466|      LLVMValueRef dadx = coeff_bld->zero;
#  467|->    LLVMValueRef dady = coeff_bld->zero;
#  468|      LLVMValueRef a = coeff_bld->zero;
#  469|      LLVMTypeRef u8ptr =

Error: CLANG_WARNING: [#def3377]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_bld_interp.c:644:17: warning[deadcode.DeadStores]: Value stored to 'dadx' during its initialization is never read
#  642|   
#  643|      const enum lp_interp interp = bld->interp[attrib];
#  644|->    LLVMValueRef dadx = coeff_bld->zero;
#  645|      LLVMValueRef dady = coeff_bld->zero;
#  646|      LLVMValueRef a = coeff_bld->zero;

Error: CLANG_WARNING: [#def3378]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_bld_interp.c:645:17: warning[deadcode.DeadStores]: Value stored to 'dady' during its initialization is never read
#  643|      const enum lp_interp interp = bld->interp[attrib];
#  644|      LLVMValueRef dadx = coeff_bld->zero;
#  645|->    LLVMValueRef dady = coeff_bld->zero;
#  646|      LLVMValueRef a = coeff_bld->zero;
#  647|   

Error: CLANG_WARNING: [#def3379]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_debug.c:131:14: warning[core.NullDereference]: Access to field 'variant' results in a dereference of a null pointer (loaded from variable 'state')
#  129|   {
#  130|      if (block->cmd[k] == LP_RAST_OP_BLIT)
#  131|->       return state->variant->jit_linear_blit != NULL;
#  132|   
#  133|      if (block->cmd[k] == LP_RAST_OP_SHADE_TILE ||

Error: CLANG_WARNING: [#def3380]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_debug.c:135:14: warning[core.NullDereference]: Access to field 'variant' results in a dereference of a null pointer (loaded from variable 'state')
#  133|      if (block->cmd[k] == LP_RAST_OP_SHADE_TILE ||
#  134|          block->cmd[k] == LP_RAST_OP_SHADE_TILE_OPAQUE)
#  135|->       return state->variant->jit_linear != NULL;
#  136|   
#  137|      if (block->cmd[k] == LP_RAST_OP_RECTANGLE)

Error: CLANG_WARNING: [#def3381]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_debug.c:138:14: warning[core.NullDereference]: Access to field 'variant' results in a dereference of a null pointer (loaded from variable 'state')
#  136|   
#  137|      if (block->cmd[k] == LP_RAST_OP_RECTANGLE)
#  138|->       return state->variant->jit_linear != NULL;
#  139|   
#  140|      return false;

Error: CLANG_WARNING: [#def3382]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_debug.c:317:17: warning[core.NullDereference]: Access to field 'variant' results in a dereference of a null pointer (loaded from field 'state')
#  315|      int count = 0;
#  316|      unsigned i, nr_planes = 0;
#  317|->    bool blend = tile->state->variant->key.blend.rt[0].blend_enable;
#  318|   
#  319|      if (tri->inputs.disable) {

Error: CLANG_WARNING: [#def3383]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_tri.c:760: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h:320:19: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
#  318|         for (j = 0; j < NR_PLANES; j++)
#  319|            cx[j] = (c[j]
#  320|->                   - IMUL64(plane[j].dcdx, ix)
#  321|                     + IMUL64(plane[j].dcdy, iy));
#  322|   

Error: CLANG_WARNING: [#def3384]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_setup.c:204:53: warning[core.NullDereference]: Access to field 'pipe' results in a dereference of a null pointer (loaded from variable 'scene')
#  202|   {
#  203|      struct lp_scene *scene = setup->scene;
#  204|->    struct llvmpipe_screen *screen = llvmpipe_screen(scene->pipe->screen);
#  205|   
#  206|      scene->num_active_queries = setup->active_binned_queries;

Error: CLANG_WARNING: [#def3385]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_setup.c:232:17: warning[core.NullDereference]: Access to field 'fence' results in a dereference of a null pointer (loaded from variable 'scene')
#  230|      /* Always create a fence:
#  231|       */
#  232|->    scene->fence = lp_fence_create(MAX2(1, setup->num_threads));
#  233|      if (!scene->fence)
#  234|         return false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3386]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c: scope_hint: In function ‘llvmpipe_create_blend_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c:51:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(blend, 36)’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3387]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c: scope_hint: In function ‘llvmpipe_create_depth_stencil_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c:117:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3388]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_blend.c:124:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3389]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:895:7: warning[deadcode.DeadStores]: Value stored to 'mask_val' is never read
#  893|         }
#  894|   
#  895|->       mask_val = lp_build_mask_end(&mask);
#  896|   
#  897|         lp_build_coro_suspend_switch(gallivm, &coro_info, NULL, true);

Error: CLANG_WARNING: [#def3390]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:944:29: warning[core.NullDereference]: Dereference of null pointer
#  942|   
#  943|      nir = (struct nir_shader *)shader->base.ir.nir;
#  944|->    shader->req_local_mem += nir->info.shared_size;
#  945|      shader->zero_initialize_shared_memory = nir->info.zero_initialize_shared_memory;
#  946|   

Error: CLANG_WARNING: [#def3391]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:1344:43: warning[core.DivideZero]: Division by zero
# 1342|                            shader->variants_cached,
# 1343|                            lp->nr_cs_variants, lp->nr_cs_instrs,
# 1344|->                          lp->nr_cs_instrs / lp->nr_cs_variants);
# 1345|            }
# 1346|   

Error: CLANG_WARNING: [#def3392]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:1363:13: warning[unix.Malloc]: Use of memory after it is freed
# 1361|               assert(item);
# 1362|               assert(item->base);
# 1363|->             llvmpipe_remove_cs_shader_variant(lp, item->base);
# 1364|            }
# 1365|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3393]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c: scope_hint: In function ‘lp_mesh_call_draw’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:2025:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elts’
# 2023|         uint32_t *prim_idxs = (uint32_t *)(prim_ptr + p * psize + prim_out_idx * 4 * sizeof(float));
# 2024|         for (unsigned elt = 0; elt < prim_len; elt++){
# 2025|->          elts[elts_idx++] = prim_idxs[elt];
# 2026|         }
# 2027|         prim_lengths[p] = prim_len;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3394]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_cs.c:2027:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prim_lengths’
# 2025|            elts[elts_idx++] = prim_idxs[elt];
# 2026|         }
# 2027|->       prim_lengths[p] = prim_len;
# 2028|      }
# 2029|   

Error: CLANG_WARNING: [#def3395]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_setup.c:863:7: warning[unix.Malloc]: Use of memory after it is freed
#  861|         assert(item);
#  862|         assert(item->base);
#  863|->       remove_setup_variant(lp, item->base);
#  864|      }
#  865|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3396]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_so.c: scope_hint: In function ‘llvmpipe_set_so_targets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_state_so.c:101:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*targets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_context.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3397]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_create_all’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:329:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_create_all’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:257:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_create_all’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:313:22: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:313:22: note: in expansion of macro ‘align_malloc’
#  327|   #endif
#  328|   
#  329|->    return &lpr->base;
#  330|   
#  331|    fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3398]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_memobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:429:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lpr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:428:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:428:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  427|      struct llvmpipe_memory_object *lpmo = llvmpipe_memory_object(memobj);
#  428|      struct llvmpipe_resource *lpr = CALLOC_STRUCT(llvmpipe_resource);
#  429|->    lpr->base = *templat;
#  430|   
#  431|      lpr->screen = screen;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3399]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:478:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:428:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:428:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_memobj’
#  476|   #endif
#  477|   
#  478|->    return &lpr->base;
#  479|   
#  480|   fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3400]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:545:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
#  543|             tex_usage == LP_TEX_USAGE_WRITE_ALL);
#  544|   
#  545|->    if (lpr->dt) {
#  546|         if (lpr->dmabuf)
#  547|            return lpr->tex_data;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3401]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:718:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:634:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:634:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  716|   #endif
#  717|   
#  718|->    return &lpr->base;
#  719|   
#  720|   no_dt:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3402]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_user_memory’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:813:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:790:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_resource_from_user_memory’
#  811|      simple_mtx_unlock(&resource_list_mutex);
#  812|   #endif
#  813|->    return &lpr->base;
#  814|   fail:
#  815|      FREE(lpr);

Error: CLANG_WARNING: [#def3403]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:900:7: warning[deadcode.DeadStores]: Value stored to 'mode' is never read
#  898|      if (usage == PIPE_MAP_READ) {
#  899|         tex_usage = LP_TEX_USAGE_READ;
#  900|->       mode = "read";
#  901|      } else {
#  902|         tex_usage = LP_TEX_USAGE_READ_WRITE;

Error: CLANG_WARNING: [#def3404]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:903:7: warning[deadcode.DeadStores]: Value stored to 'mode' is never read
#  901|      } else {
#  902|         tex_usage = LP_TEX_USAGE_READ_WRITE;
#  903|->       mode = "read/write";
#  904|      }
#  905|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3405]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1041:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1023:13: note: in expansion of macro ‘CALLOC_STRUCT’
# 1039|      buffer->data = ptr;
# 1040|   
# 1041|->    return &buffer->base;
# 1042|   }
# 1043|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3406]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c: scope_hint: In function ‘llvmpipe_import_memory_fd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1234:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1233:45: note: in expansion of macro ‘CALLOC_STRUCT’
# 1232|   {
# 1233|      struct llvmpipe_memory_fd_alloc *alloc = CALLOC_STRUCT(llvmpipe_memory_fd_alloc);
# 1234|->    alloc->mem_fd = -1;
# 1235|      alloc->dmabuf_fd = -1;
# 1236|   #ifdef HAVE_LINUX_UDMABUF_H

Error: GCC_ANALYZER_WARNING (CWE-416): [#def3407]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1267:19: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1233:45: note: in expansion of macro ‘CALLOC_STRUCT’
# 1265|         }
# 1266|   
# 1267|->       alloc->type = LLVMPIPE_MEMORY_FD_TYPE_OPAQUE;
# 1268|         return ret;
# 1269|      }

Error: CLANG_WARNING: [#def3408]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture.c:1267:19: warning[unix.Malloc]: Use of memory after it is freed
# 1265|         }
# 1266|   
# 1267|->       alloc->type = LLVMPIPE_MEMORY_FD_TYPE_OPAQUE;
# 1268|         return ret;
# 1269|      }

Error: COMPILER_WARNING (CWE-563): [#def3409]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_texture_handle’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3410]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:73:13: warning[deadcode.DeadStores]: Value stored to 'found' is never read
#   71|            if (!memcmp(&matrix->textures[i]->state, &state, sizeof(struct lp_static_texture_state))) {
#   72|               handle->functions = matrix->textures[i];
#   73|->             found = true;
#   74|               break;
#   75|            }

Error: COMPILER_WARNING (CWE-563): [#def3411]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3412]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:90:13: warning[deadcode.DeadStores]: Value stored to 'found' is never read
#   88|            if (!memcmp(matrix->samplers + i, &state, sizeof(struct lp_static_sampler_state))) {
#   89|               handle->sampler_index = i;
#   90|->             found = true;
#   91|               break;
#   92|            }

Error: COMPILER_WARNING (CWE-563): [#def3413]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_image_handle’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3414]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:137:10: warning[deadcode.DeadStores]: Value stored to 'found' is never read
#  135|         if (!memcmp(&matrix->textures[i]->state, &state, sizeof(struct lp_static_texture_state))) {
#  136|            handle->functions = matrix->textures[i];
#  137|->          found = true;
#  138|            break;
#  139|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3415]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_transfer_staging’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3416]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:329:4: warning[core.NullDereference]: Dereference of null pointer
#  327|      if (!(buf->status & NOUVEAU_BUFFER_STATUS_DIRTY))
#  328|         return true;
#  329|->    nv->stats.buf_cache_count++;
#  330|   
#  331|      if (!nouveau_transfer_staging(nv, &tx, false))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3417]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_user_ptr_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:659:34: warning[-Wanalyzer-malloc-leak]: leak of ‘tx’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:654:34: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3418]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:730:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:678:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:61:59: note: in definition of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:44:19: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:44:19: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3419]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_buffer_create_from_user’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:760:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3420]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c: scope_hint: In function ‘nouveau_scratch_runout’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_buffer.c:983:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3421]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_fence.c: scope_hint: In function ‘nouveau_fence_del’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_fence.c:117:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_screen.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_fence.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3422]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_fence.c:117:19: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'it')
#  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: CLANG_WARNING: [#def3423]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_fence.c:344:8: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'ref')
#  342|         p_atomic_inc(&fence->ref);
#  343|   
#  344|->    if (*ref) {
#  345|         simple_mtx_assert_locked(&(*ref)->screen->fence.lock);
#  346|         if (p_atomic_dec_zero(&(*ref)->ref))

Error: CLANG_WARNING: [#def3424]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_mm.c:179:28: warning[core.NullDereference]: Access to field 'dev' results in a dereference of a null pointer (loaded from variable 'cache')
#  177|      bucket = mm_bucket_by_size(cache, size);
#  178|      if (!bucket) {
#  179|->       ret = nouveau_bo_new(cache->dev, cache->domain, 0, size, &cache->config,
#  180|                              bo);
#  181|         if (ret)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3425]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.c: scope_hint: In function ‘nouveau_pushbuf_create.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.c:251:23: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.c:3: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.c:243:37: note: in expansion of macro ‘MALLOC_STRUCT’
#  249|      p->context = context;
#  250|      (*push)->kick_notify = nouveau_pushbuf_cb;
#  251|->    (*push)->user_priv = p;
#  252|      return 0;
#  253|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3426]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_video.c: scope_hint: In function ‘nouveau_video_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_video.c:795:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_state.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_codec.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_decoder.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_video.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3427]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c:152:4: warning[deadcode.DeadStores]: Value stored to 't' is never read
#  150|      if (!bits)
#  151|         bits = 1;
#  152|->    t = desc->vop_time_increment_resolution - 1;
#  153|      pic_bsp->vop_time_increment_size = bits;
#  154|      pic_bsp->interlaced = desc->interlaced;

Error: CLANG_WARNING: [#def3428]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c:285:24: warning[deadcode.DeadStores]: Value stored to 'str_bsp' during its initialization is never read
#  283|      struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH];
#  284|      uint32_t endmarker, caps;
#  285|->    struct strparm_bsp *str_bsp = strparm_bsp(dec);
#  286|      char *bsp = bsp_bo->map;
#  287|      /*

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3429]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_draw.c: scope_hint: In function ‘nv30_render_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_draw.c:496:11: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_draw.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3430]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:300:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3431]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:419:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3432]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:424:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3433]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:430:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3434]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:457:18: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
#  455|                  screen->eng3d->oclass >= NV40_3D_CLASS ? 1024 : 256,
#  456|                  /* round_down_pow2(mt->uniform_pitch / 4) */
#  457|->                1 << (util_last_bit(mt->uniform_pitch / 4) - 1));
#  458|            mt->uniform_pitch = align(mt->uniform_pitch, pitch_align);
#  459|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3435]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c: scope_hint: In function ‘nv30_miptree_surface_new’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3436]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:578:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ns’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:554:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_miptree.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3437]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_ntfy’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:44:16: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘qo’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_screen.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:77:12: note: in expansion of macro ‘list_first_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nouveau_screen.h:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_screen.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:60:7: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3438]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:55:33: warning[unix.Malloc]: Use of memory after it is freed
#   53|      struct nv30_query_object *qo = *po; *po = NULL;
#   54|      if (qo) {
#   55|->       volatile uint32_t *ntfy = nv30_ntfy(screen, qo);
#   56|         while (ntfy[3] & 0xff000000) {
#   57|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3439]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_object_del’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c:56:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3440]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_object_new’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3441]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_query.c: scope_hint: In function ‘nv30_query_result’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3442]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_texture.c: scope_hint: In function ‘nv30_sampler_view_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_texture.c:237:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3443]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_texture.c:307:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_texture.c:227:9: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3444]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nv30_vbo.c:217:7: warning[deadcode.DeadStores]: Value stored to 'vb' is never read
#  215|      for (i = 0; i < vertex->num_elements; i++) {
#  216|         ve = &vertex->pipe[i];
#  217|->       vb = &nv30->vtxbuf[ve->vertex_buffer_index];
#  218|   
#  219|         if (likely(vertex->strides[ve->vertex_buffer_index]) || nv30->vbo_fifo)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3445]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fp_imm’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:74:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:2: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_time.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3446]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fragprog_parse_instruction’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:536:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src[1]’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3447]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c: scope_hint: In function ‘nvfx_fragprog_prepare’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3448]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1043:21: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3449]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1134:35: warning[core.NullDereference]: Array access (via field 'insn') results in a null pointer dereference
# 1132|      fpc->inst_offset = fp->insn_len;
# 1133|      grow_insns(fpc, 4);
# 1134|->    fp->insn[fpc->inst_offset + 0] = 0x00000001;
# 1135|      fp->insn[fpc->inst_offset + 1] = 0x00000000;
# 1136|      fp->insn[fpc->inst_offset + 2] = 0x00000000;

Error: CLANG_WARNING: [#def3450]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1168:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'insns.data'
# 1166|   
# 1167|   out_err:
# 1168|->    _debug_printf("Error: failed to compile this fragment program:\n");
# 1169|      tgsi_dump(fp->pipe.tokens, 0);
# 1170|      goto out;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3451]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c: scope_hint: In function ‘nvfx_vertprog_prepare’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:932:21: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3452]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:938:24: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3453]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c: scope_hint: In function ‘_nvfx_vertprog_translate’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1007:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3454]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1100:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'insns.data'
# 1098|   
# 1099|   out:
# 1100|->    tgsi_parse_free(&parse);
# 1101|      if (vpc) {
# 1102|         util_dynarray_fini(&vpc->label_relocs);

Error: CLANG_WARNING: [#def3455]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_compute.c:606:29: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<<' is a garbage value
#  604|      PUSH_DATA (push, 1);
#  605|      BEGIN_NV04(push, NV50_CP(GRIDDIM), 1);
#  606|->    PUSH_DATA (push, grid[1] << 16 | grid[0]);
#  607|      BEGIN_NV04(push, NV50_CP(GRIDID), 1);
#  608|      PUSH_DATA (push, 1);

Error: CLANG_WARNING: [#def3456]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_context.c:68:14: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from field 'resource')
#   66|            if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer)
#   67|               continue;
#   68|->          if (nv50->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT)
#   69|               nv50->base.vbo_dirty = true;
#   70|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3457]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c: scope_hint: In function ‘nv50_miptree_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_miptree.c:342:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3458]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_program.c: scope_hint: In function ‘nv50_program_create_strmout_state’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3459]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c: scope_hint: In function ‘nv50_hw_metric_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3460]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3461]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3462]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c: scope_hint: In function ‘nv50_hw_sm_end_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:231:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prog’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:230:35: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3463]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_surface_from_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:73:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:3: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:48:30: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3464]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_memobj_create_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:110:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memobj’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3465]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c: scope_hint: In function ‘nv50_resource_from_memobj’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:167:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_resource.c:149:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3466]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_state.c:934:37: warning[core.NullDereference]: Access to field 'user_buffer' results in a dereference of a null pointer (loaded from variable 'cb')
#  932|      nv50->constbuf[s][i].user = (cb && cb->user_buffer) ? true : false;
#  933|      if (nv50->constbuf[s][i].user) {
#  934|->       nv50->constbuf[s][i].u.data = cb->user_buffer;
#  935|         nv50->constbuf[s][i].size = MIN2(cb->buffer_size, 0x10000);
#  936|         nv50->constbuf_valid[s] |= 1 << i;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3467]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_state.c: scope_hint: In function ‘nv50_so_target_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_state.c:1173:11: warning[-Wanalyzer-malloc-leak]: leak of ‘targ’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_state.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_state.c:1147:34: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3468]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_surface.c:93:13: warning[deadcode.DeadStores]: Value stored to 'offset' during its initialization is never read
#   91|      uint32_t format;
#   92|      uint32_t mthd = dst ? NV50_2D_DST_FORMAT : NV50_2D_SRC_FORMAT;
#   93|->    uint32_t offset = mt->level[level].offset;
#   94|   
#   95|      format = nv50_2d_format(pformat, dst, dst_src_pformat_equal);

Error: CLANG_WARNING: [#def3469]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_context.c:116:14: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from field 'resource')
#  114|            if (!nvc0->vtxbuf[i].buffer.resource && !nvc0->vtxbuf[i].is_user_buffer)
#  115|               continue;
#  116|->          if (nvc0->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT)
#  117|               nvc0->base.vbo_dirty = true;
#  118|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3470]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c: scope_hint: In function ‘nvc0_miptree_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:461:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3471]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_program.c:991:11: warning[core.NullDereference]: Dereference of null pointer
#  989|      FREE(prog->fixups);
#  990|      if (prog->tfb) {
#  991|->       if (nvc0->state.tfb == prog->tfb)
#  992|            nvc0->state.tfb = NULL;
#  993|         FREE(prog->tfb);

Error: CLANG_WARNING: [#def3472]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:472:11: warning[core.NullDereference]: Access to field 'funcs' results in a dereference of a null pointer
#  470|   
#  471|      for (i = 0; i < hmq->num_queries; i++)
#  472|->       if (hmq->queries[i]->funcs->destroy_query)
#  473|            hmq->queries[i]->funcs->destroy_query(nvc0, hmq->queries[i]);
#  474|      FREE(hmq);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3473]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c: scope_hint: In function ‘nvc0_hw_metric_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:475:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.h:21:73: note: in definition of macro ‘NVC0_HW_METRIC_QUERY’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3474]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3475]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c: scope_hint: In function ‘nvc0_hw_metric_get_driver_query_info’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:771:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3476]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_state.c:850:37: warning[core.NullDereference]: Access to field 'user_buffer' results in a dereference of a null pointer (loaded from variable 'cb')
#  848|      nvc0->constbuf[s][i].user = (cb && cb->user_buffer) ? true : false;
#  849|      if (nvc0->constbuf[s][i].user) {
#  850|->       nvc0->constbuf[s][i].u.data = cb->user_buffer;
#  851|         nvc0->constbuf[s][i].size = MIN2(cb->buffer_size, 0x10000);
#  852|         nvc0->constbuf_valid[s] |= 1 << i;

Error: CLANG_WARNING: [#def3477]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c:94:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   92|               read_index += pixel_x % grid_width;
#   93|               read_index = read_index * ms + sample;
#   94|->             x = sample_locations[read_index][0];
#   95|               y = sample_locations[read_index][1];
#   96|               cb[write_index] = gm200_encode_cb_sample_location(x, y);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3478]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gm107_create_texture_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:236:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:81:11: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_context.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3479]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gf100_create_texture_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:438:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:294:11: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3480]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_make_texture_handle_resident.part.0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3481]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1253:26: warning[deadcode.DeadStores]: Value stored to 'res' during its initialization is never read
# 1251|                           struct pipe_image_view *view, int stage, int slot)
# 1252|   {
# 1253|->    struct nv04_resource *res = nv04_resource(view->resource);
# 1254|      struct nouveau_pushbuf *push = nvc0->base.pushbuf;
# 1255|      struct nvc0_screen *screen = nvc0->screen;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3482]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_create_image_handle’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3483]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘nve4_make_image_handle_resident’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3484]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c: scope_hint: In function ‘gm107_make_image_handle_resident.part.0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3485]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nvc0/nve4_compute.c:184:26: warning[deadcode.DeadStores]: Value stored to 'res' during its initialization is never read
#  182|                                   struct pipe_image_view *view, int slot)
#  183|   {
#  184|->    struct nv04_resource *res = nv04_resource(view->resource);
#  185|      struct nouveau_pushbuf *push = nvc0->base.pushbuf;
#  186|      struct nvc0_screen *screen = nvc0->screen;

Error: COMPILER_WARNING (CWE-563): [#def3486]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_emit_blend’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:346:40: warning[-Wunused-variable]: unused variable ‘fs’
#  346 |       struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#      |                                        ^~
#  344|   
#  345|   #if PAN_ARCH >= 6
#  346|->       struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#  347|   
#  348|         /* Words 2 and 3: Internal blend */

Error: CLANG_WARNING: [#def3487]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:346:40: warning[deadcode.DeadStores]: Value stored to 'fs' during its initialization is never read
#  344|   
#  345|   #if PAN_ARCH >= 6
#  346|->       struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#  347|   
#  348|         /* Words 2 and 3: Internal blend */

Error: CLANG_WARNING: [#def3488]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:2052:7: warning[deadcode.DeadStores]: Value stored to 'k' is never read
# 2050|         emit_image_attribs(ctx, PIPE_SHADER_VERTEX, out + so->num_elements, k);
# 2051|         emit_image_bufs(batch, PIPE_SHADER_VERTEX, bufs + k, k);
# 2052|->       k += (util_last_bit(ctx->image_mask[PIPE_SHADER_VERTEX]) * 2);
# 2053|      }
# 2054|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3489]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_rasterizer_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3202:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blend.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3200:37: note: in expansion of macro ‘CALLOC_STRUCT’
# 3200|      struct panfrost_rasterizer *so = CALLOC_STRUCT(panfrost_rasterizer);
# 3201|   
# 3202|->    so->base = *cso;
# 3203|   
# 3204|   #if PAN_ARCH <= 7

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3490]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_vertex_elements_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3272:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3269:39: note: in expansion of macro ‘CALLOC_STRUCT’
# 3270|      UNUSED struct panfrost_device *dev = pan_device(pctx->screen);
# 3271|   
# 3272|->    so->num_elements = num_elements;
# 3273|      memcpy(so->pipe, elements, sizeof(*elements) * num_elements);
# 3274|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3491]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_depth_stencil_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3366:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3365:36: note: in expansion of macro ‘CALLOC_STRUCT’
# 3364|   {
# 3365|      struct panfrost_zsa_state *so = CALLOC_STRUCT(panfrost_zsa_state);
# 3366|->    so->base = *zsa;
# 3367|   
# 3368|      const struct pipe_stencil_state front = zsa->stencil[0];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3492]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_create_blend_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3492:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_cmdstream.c:3491:38: note: in expansion of macro ‘CALLOC_STRUCT’
# 3490|   {
# 3491|      struct panfrost_blend_state *so = CALLOC_STRUCT(panfrost_blend_state);
# 3492|->    so->base = *blend;
# 3493|   
# 3494|      so->pan.logicop_enable = blend->logicop_enable;

Error: COMPILER_WARNING (CWE-563): [#def3493]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_context.c: scope_hint: In function ‘panfrost_fence_server_sync’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_context.c:861:17: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  861 |    int fd = -1, ret;
#      |                 ^~~
#  859|      struct panfrost_device *dev = pan_device(pctx->screen);
#  860|      struct panfrost_context *ctx = pan_context(pctx);
#  861|->    int fd = -1, ret;
#  862|   
#  863|      ret = drmSyncobjExportSyncFile(panfrost_device_fd(dev), f->syncobj, &fd);

Error: CLANG_WARNING: [#def3494]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_context.c:863:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  861|      int fd = -1, ret;
#  862|   
#  863|->    ret = drmSyncobjExportSyncFile(panfrost_device_fd(dev), f->syncobj, &fd);
#  864|      assert(!ret);
#  865|   

Error: COMPILER_WARNING (CWE-563): [#def3495]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_submit_wait_and_dump’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3496]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_launch_draw_v10’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c:731:9: warning[-Wunused-variable]: unused variable ‘idvs’
#  731 |    bool idvs = vs->info.vs.idvs;
#      |         ^~~~
#  729|      struct panfrost_compiled_shader *vs = ctx->prog[PIPE_SHADER_VERTEX];
#  730|      struct panfrost_compiled_shader *fs = ctx->prog[PIPE_SHADER_FRAGMENT];
#  731|->    bool idvs = vs->info.vs.idvs;
#  732|      bool fs_required = panfrost_fs_required(
#  733|         fs, ctx->blend, &ctx->pipe_framebuffer, ctx->depth_stencil);

Error: COMPILER_WARNING (CWE-563): [#def3497]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_init_context_v10’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c:970:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  970 |    int ret =
#      |        ^~~
#  968|      };
#  969|   
#  970|->    int ret =
#  971|         drmIoctl(panfrost_device_fd(dev), DRM_IOCTL_PANTHOR_GROUP_CREATE, &gc);
#  972|   

Error: COMPILER_WARNING (CWE-563): [#def3498]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_cleanup_context_v10’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_csf.c:1058:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
# 1058 |    int ret;
#      |        ^~~
# 1056|         .handle = ctx->csf.heap.handle,
# 1057|      };
# 1058|->    int ret;
# 1059|   
# 1060|      /* Make sure all jobs are done before destroying the heap. */

Error: CLANG_WARNING: [#def3499]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_jm.c:100:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   98|   
#   99|      if (ctx->in_sync_fd >= 0) {
#  100|->       ret = drmSyncobjImportSyncFile(panfrost_device_fd(dev), ctx->in_sync_obj,
#  101|                                        ctx->in_sync_fd);
#  102|         assert(!ret);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3500]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_jm.c: scope_hint: In function ‘jm_submit_jc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_jm.c:126:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_mempool.h:103:11: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3501]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_job.c:294:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_job.c: scope_hint: In function ‘panfrost_batch_get_bo_access’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3502]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_resource.c: scope_hint: In function ‘panfrost_resource_create_with_modifier’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_resource.c:635:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_gen_mipmap.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_resource.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_resource.c:634:35: note: in expansion of macro ‘CALLOC_STRUCT’
#  633|   
#  634|      struct panfrost_resource *so = CALLOC_STRUCT(panfrost_resource);
#  635|->    so->base = *template;
#  636|      so->base.screen = screen;
#  637|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3503]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_new_variant_locked’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:297:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘panfrost_new_variant_locked’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_new_variant_locked’
#  295|      struct panfrost_compiled_shader *prog = panfrost_alloc_variant(uncompiled);
#  296|   
#  297|->    *prog = (struct panfrost_compiled_shader){
#  298|         .key = *key,
#  299|         .stream_output = uncompiled->stream_output,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3504]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c: scope_hint: In function ‘panfrost_create_compute_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:507:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘panfrost_create_compute_state’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/panfrost/pan_shader.c:68:11: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/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
#  505|      struct panfrost_uncompiled_shader *so = panfrost_alloc_shader(cso->prog);
#  506|      struct panfrost_compiled_shader *v = panfrost_alloc_variant(so);
#  507|->    memset(v, 0, sizeof *v);
#  508|   
#  509|      assert(cso->ir_type == PIPE_SHADER_IR_NIR && "TGSI kernels unsupported");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3505]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/memory_pool.c: scope_hint: In function ‘refill_pool’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3506]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/memory_pool.c: scope_hint: In function ‘memory_pool_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3507]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_compiler.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c: scope_hint: In function ‘emit_flowcontrol’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/memory_pool.h:57:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:17: note: in expansion of macro ‘memory_pool_array_reserve’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:17: note: in expansion of macro ‘memory_pool_array_reserve’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/memory_pool.h:57:35: note: in definition of macro ‘memory_pool_array_reserve’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3508]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/nir_to_rc.c:1370:20: warning[deadcode.DeadStores]: Value stored to 'addr_temp' during its initialization is never read
# 1368|      struct ureg_src src = ureg_src_register(TGSI_FILE_CONSTANT, 0);
# 1369|   
# 1370|->    struct ureg_dst addr_temp = ureg_dst_undef();
# 1371|   
# 1372|      if (nir_src_is_const(instr->src[0])) {

Error: CPPCHECK_WARNING: [#def3509]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r300_fragprog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3510]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r300_fragprog_swizzle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3511]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r3xx_fragprog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-126): [#def3512]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r3xx_vertprog.c: scope_hint: In function ‘translate_vertex_program’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r3xx_vertprog.c:479:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r3xx_vertprog.c:479:34: note: read of 4 bytes from after the end of ‘loops’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3513]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:447:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  445|   	struct r500_loop_info * loop;
#  446|   	case RC_OPCODE_BGNLOOP:
#  447|-> 		memory_pool_array_reserve(&s->C->Pool, struct r500_loop_info,
#  448|   			s->Loops, s->CurrentLoopDepth, s->LoopsReserved, 1);
#  449|   

Error: CLANG_WARNING: [#def3514]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:462:3: warning[core.NullDereference]: Access to field 'BrkCount' results in a dereference of a null pointer (loaded from variable 'loop')
#  460|   	case RC_OPCODE_BRK:
#  461|   		loop = &s->Loops[s->CurrentLoopDepth - 1];
#  462|-> 		memory_pool_array_reserve(&s->C->Pool, int, loop->Brks,
#  463|   					loop->BrkCount, loop->BrkReserved, 1);
#  464|   

Error: CLANG_WARNING: [#def3515]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:477:3: warning[core.NullDereference]: Access to field 'ContCount' results in a dereference of a null pointer (loaded from variable 'loop')
#  475|   	case RC_OPCODE_CONT:
#  476|   		loop = &s->Loops[s->CurrentLoopDepth - 1];
#  477|-> 		memory_pool_array_reserve(&s->C->Pool, int, loop->Conts,
#  478|   					loop->ContCount, loop->ContReserved, 1);
#  479|   		loop->Conts[loop->ContCount++] = newip;

Error: CLANG_WARNING: [#def3516]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:500:24: warning[core.NullDereference]: Access to field 'BgnLoop' results in a dereference of a null pointer (loaded from variable 'loop')
#  498|   		/* The constant integer at index 0 is used by all loops. */
#  499|   		s->Code->inst[newip].inst3 = R500_FC_INT_ADDR(0)
#  500|-> 			| R500_FC_JUMP_ADDR(loop->BgnLoop + 1)
#  501|   			;
#  502|   

Error: CLANG_WARNING: [#def3517]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c:527:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  525|   			return;
#  526|   		}
#  527|-> 		memory_pool_array_reserve(&s->C->Pool, struct branch_info,
#  528|   				s->Branches, s->CurrentBranchDepth, s->BranchesReserved, 1);
#  529|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3518]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_copy’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3519]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_add’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def3520]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3521]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow.c:457:2: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  455|   {
#  456|   	struct rc_reader * new;
#  457|-> 	memory_pool_array_reserve(pool, struct rc_reader, data->Readers,
#  458|   				data->ReaderCount, data->ReadersReserved, 1);
#  459|   	new = &data->Readers[data->ReaderCount++];

Error: CLANG_WARNING: [#def3522]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow.c:678:14: warning[core.NullDereference]: Access to field 'Next' results in a dereference of a null pointer (loaded from variable 'tmp')
#  676|   
#  677|   	for(tmp = writer->Next; tmp != &d->C->Program.Instructions;
#  678|-> 							tmp = tmp->Next){
#  679|   		rc_opcode opcode = rc_get_flow_control_inst(tmp);
#  680|   		switch(opcode) {

Error: CPPCHECK_WARNING: [#def3523]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow_deadcode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3524]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow_deadcode.c:71:2: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#   69|   static void push_loop(struct deadcode_state * s)
#   70|   {
#   71|-> 	memory_pool_array_reserve(&s->C->Pool, struct loopinfo, s->LoopStack,
#   72|   			s->LoopStackSize, s->LoopStackReserved, 1);
#   73|   	memset(&s->LoopStack[s->LoopStackSize++], 0, sizeof(struct loopinfo));

Error: CLANG_WARNING: [#def3525]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow_deadcode.c:81:2: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#   79|   	struct branchinfo * branch;
#   80|   
#   81|-> 	memory_pool_array_reserve(&s->C->Pool, struct branchinfo, s->BranchStack,
#   82|   			s->BranchStackSize, s->BranchStackReserved, 1);
#   83|   

Error: CLANG_WARNING: [#def3526]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow_deadcode.c:245:4: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  243|   		{
#  244|   			struct loopinfo * loop = &s.LoopStack[s.LoopStackSize-1];
#  245|-> 			memcpy(&s.R, &loop->StoreEndloop, sizeof(s.R));
#  246|   			break;
#  247|   		}

Error: CPPCHECK_WARNING: [#def3527]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_dataflow_swizzles.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3528]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_inline_literals.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3529]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_program_pair.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3530]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_program_print.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3531]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_program_tex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3532]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c: scope_hint: In function ‘rc_init_regalloc_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ra_q_values’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c:417:23: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3533]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3534]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_regalloc.c:420:34: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def3535]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3536]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c: scope_hint: In function ‘rc_remove_unused_constants’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:58:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘const_used’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   56|   
#   57|   	const_used = malloc(c->Program.Constants.Count);
#   58|-> 	memset(const_used, 0, c->Program.Constants.Count);
#   59|   
#   60|   	d.const_used = const_used;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3537]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:85:48: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘remap_table’
#   83|   	for (unsigned i = 0; i < c->Program.Constants.Count; i++) {
#   84|   		if (const_used[i]) {
#   85|-> 			remap_table[new_count] = i;
#   86|   			inv_remap_table[i] = new_count;
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3538]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:86:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inv_remap_table’
#   84|   		if (const_used[i]) {
#   85|   			remap_table[new_count] = i;
#   86|-> 			inv_remap_table[i] = new_count;
#   87|   
#   88|   			if (i != new_count) {

Error: CPPCHECK_WARNING: [#def3539]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_variable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3540]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_variable.c:388:34: warning[deadcode.DeadStores]: Value stored to 'opcode' during its initialization is never read
#  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: COMPILER_WARNING (CWE-563): [#def3541]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_variable.c: scope_hint: In function ‘rc_get_variables’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3542]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_variable.c: scope_hint: In function ‘rc_variable_list_get_writers_one_reader’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING (CWE-758): [#def3543]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/compiler/radeon_vert_fc.c:191: error[overlappingWriteFunction]: Overlapping read/write in memcpy() is undefined behavior
#  189|   		unsigned swz;
#  190|   		inst->U.I.Opcode = RC_VE_PRED_SNEQ_PUSH;
#  191|-> 		memcpy(&inst->U.I.SrcReg[1], &inst->U.I.SrcReg[0],
#  192|   						sizeof(inst->U.I.SrcReg[1]));
#  193|   		swz = rc_get_scalar_src_swz(inst->U.I.SrcReg[1].Swizzle);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3544]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c: scope_hint: In function ‘r300_emit_fs_code_to_buffer’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:258:9: note: in expansion of macro ‘OUT_CB_REG’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:573:34: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:257:9: note: in expansion of macro ‘NEW_CB’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3545]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:324:9: note: in expansion of macro ‘OUT_CB_REG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:573:34: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_fs.c:322:9: note: in expansion of macro ‘NEW_CB’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cb.h:115:5: note: in expansion of macro ‘OUT_CB’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3546]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_hyperz_state’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:477:9: note: in expansion of macro ‘WRITE_CS_TABLE’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:477:9: note: in expansion of macro ‘WRITE_CS_TABLE’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:477: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: CLANG_WARNING: [#def3547]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:181:9: warning[deadcode.DeadStores]: Value stored to 'mantissa' is never read
#  179|       if (mantissa < 0) {
#  180|           float24 |= (1 << 23);
#  181|->         mantissa = mantissa * -1.0;
#  182|       }
#  183|       /* Handle exponent, bias of 63 */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3548]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:411:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:411:9: note: in expansion of macro ‘OUT_CS_REG’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_context.h: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:411:9: note: in expansion of macro ‘OUT_CS_REG’
#  409|           surf = r300_surface(r300_get_nonnull_cb(fb, i));
#  410|   
#  411|->         OUT_CS_REG(R300_RB3D_COLOROFFSET0 + (4 * i), surf->offset);
#  412|           OUT_CS_RELOC(surf);
#  413|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3549]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_fb_state_pipelined’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:590:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_emit.c:581:21: note: in expansion of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
#  588|       OUT_CS_REG_SEQ(R300_US_OUT_FMT_0, 4);
#  589|       for (i = 0; i < num_cbufs; i++) {
#  590|->         OUT_CS(r300_surface(r300_get_nonnull_cb(fb, i))->format);
#  591|       }
#  592|       for (; i < 1; i++) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3550]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:21: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_emit_draw_elements’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:446:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘imm_indices3[1]’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:58:53: note: in definition of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_prim.h: scope_hint: In function ‘r300_emit_draw_elements’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:432:5: note: in expansion of macro ‘DBG’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_cs.h:79:5: note: in expansion of macro ‘OUT_CS’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:443:9: note: in expansion of macro ‘OUT_CS_PKT3’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3551]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_draw_elements’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:600:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3552]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c: scope_hint: In function ‘r300_render_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:1101:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r300render’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3553]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render.c:1116:12: warning[-Wanalyzer-malloc-leak]: leak of ‘r300render’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3554]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render_stencilref.c: scope_hint: In function ‘r300_plug_in_stencil_ref_fallback’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render_stencilref.c:111:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*r300.stencilref_fallback’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_render_stencilref.c:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3555]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c: scope_hint: In function ‘r300_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:154:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3556]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:168:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:152:12: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:167:33: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3557]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_screen_buffer.c:180:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3558]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_fs_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1028:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1025:40: note: in expansion of macro ‘CALLOC_STRUCT’
# 1026|   
# 1027|       /* Copy state directly into shader. */
# 1028|->     fs->state = *shader;
# 1029|   
# 1030|       if (fs->state.type == PIPE_SHADER_IR_NIR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3559]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_rs_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1154:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1131:32: note: in expansion of macro ‘CALLOC_STRUCT’
# 1152|   
# 1153|       /* Copy rasterizer state. */
# 1154|->     rs->rs = *state;
# 1155|       rs->rs_draw = *state;
# 1156|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3560]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_sampler_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1413:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sampler’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1409:42: note: in expansion of macro ‘CALLOC_STRUCT’
# 1411|       int lod_bias;
# 1412|   
# 1413|->     sampler->state = *state;
# 1414|   
# 1415|       /* r300 doesn't handle CLAMP and MIRROR_CLAMP correctly when either MAG

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3561]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_set_sampler_views’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1588:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*views’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_context.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:23: included_from: Included from here.
# 1586|           }
# 1587|   
# 1588|->         state->sampler_views[i]->texcache_region =
# 1589|                   r300_assign_texture_cache_region(view_index, real_num_views);
# 1590|           view_index++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3562]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c: scope_hint: In function ‘r300_create_vs_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1921:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_state.c:1918:37: note: in expansion of macro ‘CALLOC_STRUCT’
# 1919|   
# 1920|       /* Copy state directly into shader. */
# 1921|->     vs->state = *shader;
# 1922|   
# 1923|       if (vs->state.type == PIPE_SHADER_IR_NIR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3563]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c: scope_hint: In function ‘r300_create_surface_custom’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c:1189:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3564]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c:1237:12: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c:1171:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c: scope_hint: In function ‘r300_create_surface_custom’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_screen.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture.c:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3565]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_transfer.c: scope_hint: In function ‘r300_texture_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_transfer.c:198:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trans’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_vertex.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_context.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_texture_desc.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_transfer.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3566]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_transfer.c:209:19: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3567]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r300/r300_transfer.c:221:83: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3568]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘parse_symbol_table’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:200:39: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3569]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:209:76: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*binary.global_symbol_offsets + (long unsigned int)*binary.global_symbol_count * 8’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3570]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_elf_read’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3571]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:282:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'elf_buffer'
#  280|   		GElf_Shdr section_header;
#  281|   		if (gelf_getshdr(section, &section_header) != &section_header) {
#  282|-> 			fprintf(stderr, "Failed to read ELF section header\n");
#  283|   			return;
#  284|   		}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3572]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:289:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3573]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3574]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3575]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:294:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3576]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3577]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3578]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:299:47: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3579]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3580]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3581]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_shader_binary_config_start’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:200:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3582]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_create_shader’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3583]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:390:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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): [#def3584]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3585]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:899:22: note: in definition of macro ‘COMPUTE_DBG’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3586]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘evergreen_create_compute_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:415:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3587]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c: scope_hint: In function ‘r600_compute_global_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:1357:16: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/evergreen_compute.c:1335:9: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3588]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:829:10: warning[deadcode.DeadStores]: Value stored to 'has_dot' is never read
#  827|   			if (is_alu_once_inst(slots[i]))
#  828|   				return 0;
#  829|->          has_dot |= slots[i]->op == ALU_OP2_DOT || slots[i]->op == ALU_OP2_DOT_IEEE;
#  830|   				return 0;
#  831|                           if (slots[i]->op == ALU_OP1_INTERP_LOAD_P0)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3589]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_alloc_kcache_line’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3590]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:1129:7: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
# 1127|   	memcpy(kcache, bc->cf_last->kcache, 4 * sizeof(struct r600_bytecode_kcache));
# 1128|   
# 1129|-> 	if ((r = r600_bytecode_alloc_inst_kcache_lines(bc, kcache, alu))) {
# 1130|   		/* can't alloc, need to start new clause */
# 1131|   

Error: CLANG_WARNING: [#def3591]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:2375:5: warning[deadcode.DeadStores]: Value stored to 'o' is never read
# 2373|   					o += fprintf(stderr, " R%d.xyz", cf->output.index_gpr);
# 2374|   
# 2375|-> 				o += print_indent(o, 67);
# 2376|   
# 2377|   				fprintf(stderr, " ES:%i ", cf->output.elem_size);

Error: CLANG_WARNING: [#def3592]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:2457:5: warning[deadcode.DeadStores]: Value stored to 'o' is never read
# 2455|   			if (alu->bank_swizzle) {
# 2456|   				o += print_indent(o,75);
# 2457|-> 				o += fprintf(stderr, "  BS:%d", alu->bank_swizzle);
# 2458|   			}
# 2459|   

Error: CLANG_WARNING: [#def3593]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:2502:4: warning[deadcode.DeadStores]: Value stored to 'o' is never read
# 2500|   				fprintf(stderr, "RQ_%s", index_mode[tex->resource_index_mode]);
# 2501|   
# 2502|-> 			o += fprintf(stderr, ", SID:%d  ", tex->sampler_id);
# 2503|   
# 2504|   			if (tex->sampler_index_mode)

Error: CLANG_WARNING: [#def3594]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:2553:4: warning[deadcode.DeadStores]: Value stored to 'o' is never read
# 2551|   				fprintf(stderr, " +%db", vtx->offset);
# 2552|   
# 2553|-> 			o += print_indent(o, 55);
# 2554|   
# 2555|   			fprintf(stderr, ",  RID:%d ", vtx->buffer_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3595]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c: scope_hint: In function ‘r600_create_batch_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:385:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:296:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:226:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:371:27: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3596]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:390:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘counter’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:296:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:226:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:371:27: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3597]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_perfcounter.c:467:6: warning[deadcode.DeadStores]: Value stored to 'p' is never read
#  465|   
#  466|   				if (block->flags & R600_PC_BLOCK_INSTANCE_GROUPS)
#  467|-> 					p += sprintf(p, "%d", k);
#  468|   
#  469|   				groupname += block->group_name_stride;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3598]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_query.c: scope_hint: In function ‘r600_query_hw_emit_start.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_query.c:772:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_threaded_context.h:200: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_query.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_query.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_query.c:771:50: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3599]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.c: scope_hint: In function ‘r600_pipe_shader_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3600]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.c:398:11: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  396|   					alu.dst.write = j == 3;
#  397|   					alu.last = j == 3;
#  398|-> 					if ((r = r600_bytecode_add_alu(&bc, &alu))) {
#  399|   						r600_bytecode_clear(&bc);
#  400|   						return NULL;

Error: CLANG_WARNING: [#def3601]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.c:415:10: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  413|   				alu.dst.write = 1;
#  414|   				alu.last = 1;
#  415|-> 				if ((r = r600_bytecode_add_alu(&bc, &alu))) {
#  416|   					r600_bytecode_clear(&bc);
#  417|   					return NULL;

Error: CLANG_WARNING: [#def3602]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.c:454:8: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  452|   		vtx.endian = endian;
#  453|   
#  454|-> 		if ((r = r600_bytecode_add_vtx(&bc, &vtx))) {
#  455|   			r600_bytecode_clear(&bc);
#  456|   			return NULL;

Error: CLANG_WARNING: [#def3603]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.c:462:7: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  460|   	r600_bytecode_add_cfinst(&bc, CF_OP_RET);
#  461|   
#  462|-> 	if ((r = r600_bytecode_build(&bc))) {
#  463|   		r600_bytecode_clear(&bc);
#  464|   		return NULL;

Error: CLANG_WARNING: [#def3604]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state.c:831:2: warning[deadcode.DeadStores]: Value stored to 'color_info' is never read
#  829|   		slice = slice - 1;
#  830|   	}
#  831|-> 	color_info = 0;
#  832|   	switch (rtex->surface.u.legacy.level[level].mode) {
#  833|   	default:

Error: CLANG_WARNING: [#def3605]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state.c:1467:3: warning[deadcode.DeadStores]: Value stored to 'sbu' is never read
# 1465|   		radeon_emit(cs, PKT3(PKT3_SURFACE_BASE_UPDATE, 0, 0));
# 1466|   		radeon_emit(cs, sbu);
# 1467|-> 		sbu = 0;
# 1468|   	}
# 1469|   

Error: CLANG_WARNING: [#def3606]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state.c:2881:2: warning[deadcode.DeadStores]: Value stored to 'y' is never read
# 2879|   	assert(dst_mode != src_mode);
# 2880|   
# 2881|-> 	y = 0;
# 2882|   	lbpp = util_logbase2(bpp);
# 2883|   	pitch_tile_max = ((pitch / bpp) / 8) - 1;

Error: CLANG_WARNING: [#def3607]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:475:2: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  473|   	}
#  474|   
#  475|-> 	memcpy(dst->states.states, rstates, sizeof(void*) * count);
#  476|   	memset(dst->states.states + count, 0, sizeof(void*) * (NUM_TEX_UNITS - count));
#  477|   

Error: CLANG_WARNING: [#def3608]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:825:80: warning[core.NullDereference]: Access to field 'multisample_enable' results in a dereference of a null pointer (loaded from field 'rasterizer')
#  823|   				      !rctx->framebuffer.cb0_is_integer;
#  824|   		key->ps.nr_cbufs = rctx->framebuffer.state.nr_cbufs;
#  825|->                 key->ps.apply_sample_id_mask = (rctx->ps_iter_samples > 1) || !rctx->rasterizer->multisample_enable;
#  826|   		/* Dual-source blending only makes sense with nr_cbufs == 1. */
#  827|   		if (key->ps.nr_cbufs == 1 && rctx->dual_src_blend) {

Error: CLANG_WARNING: [#def3609]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:838:24: warning[core.NullDereference]: Array access (via field 'properties') results in a null pointer dereference
#  836|   		break;
#  837|   	case PIPE_SHADER_TESS_CTRL:
#  838|-> 		key->tcs.prim_mode = rctx->tes_shader->info.properties[TGSI_PROPERTY_TES_PRIM_MODE];
#  839|   		key->tcs.first_atomic_counter = r600_get_hw_atomic_count(ctx, PIPE_SHADER_TESS_CTRL);
#  840|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3610]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c: scope_hint: In function ‘r600_shader_select’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:931:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_formats.h:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:1860:9: note: in expansion of macro ‘SELECT_SHADER_OR_FAIL’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_shader.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3611]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:1771:46: warning[core.NullDereference]: Access to field 'gpu_address' results in a dereference of a null pointer (loaded from variable 'rbuffer')
# 1769|   			}
# 1770|   
# 1771|-> 			radeon_set_config_reg(cs, ring_base_reg, (rbuffer->gpu_address + size_per_se * se) >> 8);
# 1772|   			radeon_emit(cs, PKT3(PKT3_NOP, 0, 0));
# 1773|   			radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer,

Error: CLANG_WARNING: [#def3612]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_state_common.c:2854:3: warning[deadcode.DeadStores]: Value stored to 'yuv_format' is never read
# 2852|   
# 2853|   	case UTIL_FORMAT_COLORSPACE_YUV:
# 2854|-> 		yuv_format |= (1 << 30);
# 2855|   		switch (format) {
# 2856|   		case PIPE_FORMAT_UYVY:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3613]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_test_dma.c: scope_hint: In function ‘set_random_pixels’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3614]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_test_dma.c: scope_hint: In function ‘r600_test_dma’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3615]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_texture.c: scope_hint: In function ‘r600_create_surface_custom’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_texture.c:1522:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_pipe_common.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_texture.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_texture.c:1503:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_texture.c: scope_hint: In function ‘r600_create_surface_custom’
# 1520|   	surface->height0 = height0;
# 1521|   
# 1522|-> 	return &surface->base;
# 1523|   }
# 1524|   

Error: CLANG_WARNING: [#def3616]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/radeon_video.c:151:33: warning[core.NullDereference]: Dereference of null pointer
#  149|   
#  150|   		/* copy the tiling parameters */
#  151|-> 		surfaces[i]->u.legacy.bankw = surfaces[best_tiling]->u.legacy.bankw;
#  152|   		surfaces[i]->u.legacy.bankh = surfaces[best_tiling]->u.legacy.bankh;
#  153|   		surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea;

Error: COMPILER_WARNING (CWE-563): [#def3617]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3618]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_assembler.cpp:1249:11: warning[deadcode.DeadStores]: Value stored to 'clidx' during its initialization is never read
# 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: CLANG_WARNING: [#def3619]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp:526:41: warning[core.NonNullParamChecker]: Forming reference to null pointer
#  524|              << __func__ << ")\n";
#  525|   
#  526|->    auto params = nir_src_as_const_value(*src.backend2);
#  527|      int32_t coord_mask = params[0].i32;
#  528|      int32_t flags = params[1].i32;

Error: CLANG_WARNING: [#def3620]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_memorypool.cpp:73:11: warning[core.NullDereference]: Access to field 'pool' results in a dereference of a null pointer (loaded from field 'impl')
#   71|   {
#   72|      assert(impl);
#   73|->    return impl->pool->allocate(size);
#   74|   }
#   75|   

Error: COMPILER_WARNING (CWE-563): [#def3621]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_shader.cpp: scope_hint: In member function ‘virtual void r600::RegisterWriteHandler::visit(r600::Register&)’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3622]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_shader.cpp:1052:8: warning[deadcode.DeadStores]: Value stored to 'writemask' during its initialization is never read
# 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: CLANG_WARNING: [#def3623]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_shader_fs.cpp:845:53: warning[core.BitwiseShift]: Right operand is negative in left shift
#  843|                load_interpolated_one_comp(dest, params, op2_interp_z);
#  844|   
#  845|->    int full_write_mask = ((1 << num_dest_comp) - 1) << start_comp;
#  846|   
#  847|      bool success =

Error: COMPILER_WARNING (CWE-563): [#def3624]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3625]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp:635:9: warning[deadcode.DeadStores]: Value stored to 'is_ssa' during its initialization is never read
#  633|      }
#  634|   
#  635|->    bool is_ssa = s[0] == 'S';
#  636|   
#  637|      RegisterKey key(sel, chan, pool);

Error: GCC_ANALYZER_WARNING (CWE-835): [#def3626]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/gfx11_query.c: scope_hint: In function ‘gfx11_sh_query_get_result_resource’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/gfx11_query.c:350:37: warning[-Wanalyzer-infinite-loop]: infinite loop
#  348|      struct gfx11_sh_query_buffer *qbuf = query->first;
#  349|      for (;;) {
#  350|->       unsigned begin = qbuf == query->first ? query->first_begin : 0;
#  351|         unsigned end = qbuf == query->last ? query->last_end : qbuf->buf->b.b.width0;
#  352|         if (!end)

Error: CLANG_WARNING: [#def3627]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_uvd_enc_1_1.c:761:7: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
#  759|         instruction[inst_index] = RENC_UVD_HEADER_INSTRUCTION_COPY;
#  760|         num_bits[inst_index] = enc->bits_output - bits_copied;
#  761|->       bits_copied = enc->bits_output;
#  762|         inst_index++;
#  763|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3628]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘get_h265_reflist’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:691:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hevc_reflist’
#  689|                                struct pipe_h265_picture_desc *pic)
#  690|   {
#  691|->    hevc_reflist->num_direct_reflist = pic->slice_parameter.slice_count;
#  692|      for (int i = 0; i <hevc_reflist->num_direct_reflist; i++) {
#  693|         for (int j = 0; j < 2; j++) {

Error: CLANG_WARNING: [#def3629]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:691:37: warning[core.NullDereference]: Access to field 'num_direct_reflist' results in a dereference of a null pointer (loaded from variable 'hevc_reflist')
#  689|                                struct pipe_h265_picture_desc *pic)
#  690|   {
#  691|->    hevc_reflist->num_direct_reflist = pic->slice_parameter.slice_count;
#  692|      for (int i = 0; i <hevc_reflist->num_direct_reflist; i++) {
#  693|         for (int j = 0; j < 2; j++) {

Error: CLANG_WARNING: [#def3630]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1841:42: warning[core.NullDereference]: Array access (via field 'dpbAddrLo') results in a null pointer dereference
# 1839|                  addr = dec->ws->buffer_get_virtual_address(dummy->dpb.res->buf);
# 1840|               }
# 1841|->             dynamic_dpb_t2->dpbAddrLo[i] = addr;
# 1842|               dynamic_dpb_t2->dpbAddrHi[i] = addr >> 32;
# 1843|               ++dynamic_dpb_t2->dpbArraySize;

Error: CLANG_WARNING: [#def3631]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1902:8: warning[core.NullDereference]: Access to field 'dpbArraySize' results in a dereference of a null pointer (loaded from variable 'dynamic_dpb_t2')
# 1900|      }
# 1901|   
# 1902|->    if (dynamic_dpb_t2->dpbArraySize < dec->ref_codec.num_refs) {
# 1903|         struct rvcn_dec_dynamic_dpb_t2 *d =
# 1904|            list_first_entry(&dec->dpb_ref_list, struct rvcn_dec_dynamic_dpb_t2, list);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3632]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c: scope_hint: In function ‘rvcn_dec_message_decode’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2047:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
# 2045|   
# 2046|      if (dec->dpb_type >= DPB_DYNAMIC_TIER_1) {
# 2047|->       index_dynamic_dpb->message_id = RDECODE_MESSAGE_DYNAMIC_DPB;
# 2048|         index_dynamic_dpb->offset = offset_dynamic_dpb;
# 2049|         index_dynamic_dpb->filled = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3633]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2058:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_hevc_direct_reflist’
# 2056|   
# 2057|      if (u_reduce_video_profile(picture->profile) == PIPE_VIDEO_FORMAT_HEVC) {
# 2058|->       index_hevc_direct_reflist->message_id = RDECODE_MESSAGE_HEVC_DIRECT_REF_LIST;
# 2059|         index_hevc_direct_reflist->offset = offset_hevc_direct_reflist;
# 2060|         index_hevc_direct_reflist->size = align((4 + 2 * 15 * ((struct pipe_h265_picture_desc *)picture)->slice_parameter.slice_count), 4);

Error: CLANG_WARNING: [#def3634]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2058:45: warning[core.NullDereference]: Access to field 'message_id' results in a dereference of a null pointer (loaded from variable 'index_hevc_direct_reflist')
# 2056|   
# 2057|      if (u_reduce_video_profile(picture->profile) == PIPE_VIDEO_FORMAT_HEVC) {
# 2058|->       index_hevc_direct_reflist->message_id = RDECODE_MESSAGE_HEVC_DIRECT_REF_LIST;
# 2059|         index_hevc_direct_reflist->offset = offset_hevc_direct_reflist;
# 2060|         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): [#def3635]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2259:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb’
# 2257|           decode->decode_flags |= RDECODE_FLAGS_DPB_RESIZE_MASK;
# 2258|   
# 2259|->       dynamic_dpb->dpbArraySize = NUM_VP9_REFS + 1;
# 2260|         dynamic_dpb->dpbLumaPitch = align(dec->max_width, dec->db_alignment);
# 2261|         dynamic_dpb->dpbLumaAlignedHeight = align(dec->max_height, dec->db_alignment);

Error: CLANG_WARNING: [#def3636]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2259:33: warning[core.NullDereference]: Access to field 'dpbArraySize' results in a dereference of a null pointer (loaded from variable 'dynamic_dpb')
# 2257|           decode->decode_flags |= RDECODE_FLAGS_DPB_RESIZE_MASK;
# 2258|   
# 2259|->       dynamic_dpb->dpbArraySize = NUM_VP9_REFS + 1;
# 2260|         dynamic_dpb->dpbLumaPitch = align(dec->max_width, dec->db_alignment);
# 2261|         dynamic_dpb->dpbLumaAlignedHeight = align(dec->max_height, dec->db_alignment);

Error: CLANG_WARNING: [#def3637]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1433:56: warning[core.BitwiseShift]: Right shift by '33' overflows the capacity of 'unsigned int'
# 1431|   
# 1432|      while (num_bits > 0) {
# 1433|->       unsigned int value_to_pack = value & (0xffffffff >> (32 - num_bits));
# 1434|         bits_to_pack =
# 1435|            num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits;

Error: CLANG_WARNING: [#def3638]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_1_2.c:998:4: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
#  996|      instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
#  997|      num_bits[inst_index] = enc->bits_output - bits_copied;
#  998|->    bits_copied = enc->bits_output;
#  999|      inst_index++;
# 1000|   

Error: CLANG_WARNING: [#def3639]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_1_2.c:1111:7: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
# 1109|         instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
# 1110|         num_bits[inst_index] = enc->bits_output - bits_copied;
# 1111|->       bits_copied = enc->bits_output;
# 1112|         inst_index++;
# 1113|      }

Error: CLANG_WARNING: [#def3640]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_1_2.c:1558:40: warning[core.DivideZero]: Division by zero
# 1556|          ref0_idx == -1) {
# 1557|         RVID_ERR("Failed to find ref0 (%u).\n", enc->enc_pic.ref_idx_l0);
# 1558|->       ref0_idx = (current_pic_idx + 1) % (enc->base.max_references + 1);
# 1559|      }
# 1560|   

Error: CLANG_WARNING: [#def3641]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_2_0.c:207:4: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
#  205|      instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
#  206|      num_bits[inst_index] = enc->bits_output - bits_copied;
#  207|->    bits_copied = enc->bits_output;
#  208|      inst_index++;
#  209|      instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_END;

Error: CLANG_WARNING: [#def3642]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_3_0.c:377:4: warning[deadcode.DeadStores]: Value stored to 'bits_copied' is never read
#  375|      instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
#  376|      num_bits[inst_index] = enc->bits_output - bits_copied;
#  377|->    bits_copied = enc->bits_output;
#  378|      inst_index++;
#  379|   

Error: CLANG_WARNING: [#def3643]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/radeon_vcn_enc_4_0.c:415:7: warning[deadcode.DeadStores]: Value stored to 'current_slot' is never read
#  413|         pic->last_frame_type = PIPE_AV1_ENC_FRAME_TYPE_KEY;
#  414|         pic->av1_ltr_seq = 0;
#  415|->       current_slot = 0;
#  416|         ref_slot = 0;
#  417|         request_idx = 0;

Error: CLANG_WARNING: [#def3644]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_buffer.c:547:7: warning[unix.Malloc]: Potential memory leak
#  545|      map = si_buffer_transfer_map(ctx, buffer, 0, usage, &box, &transfer);
#  546|      if (!map)
#  547|->       return;
#  548|   
#  549|      memcpy(map, data, size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3645]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c: scope_hint: In function ‘code_object_to_config’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3646]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c: scope_hint: In function ‘si_setup_user_sgprs_co_v2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c:615:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘code_object’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/amd_kernel_code_t.h:20:39: note: in definition of macro ‘AMD_HSA_BITS_GET’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/ac_rtld.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/amd/common/amd_kernel_code_t.h:20:39: note: in definition of macro ‘AMD_HSA_BITS_GET’
#  613|   
#  614|      unsigned i, user_sgpr = 0;
#  615|->    if (AMD_HSA_BITS_GET(code_object->code_properties,
#  616|                           AMD_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER)) {
#  617|         if (code_object->workitem_private_segment_byte_size > 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3647]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_gfx_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:157:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:156:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3648]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_compute_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:171:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:170:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3649]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c: scope_hint: In function ‘si_dump_descriptor_list’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_debug.c:743:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:58:67: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3650]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_descriptors.c:2727:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*view.resource’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_descriptors.c:2703:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_descriptors.c: scope_hint: In function ‘si_create_image_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
# 2725|      util_copy_image_view(&img_handle->view, view);
# 2726|   
# 2727|->    si_resource(view->resource)->image_handle_allocated = true;
# 2728|   
# 2729|      return handle;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3651]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_fence.c: scope_hint: In function ‘si_create_fence_fd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_fence.c:375:4: warning[-Wanalyzer-malloc-leak]: leak of ‘si_alloc_fence()’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_fence.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_fence.c:199:29: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3652]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘deref_to_index’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_resource.c:171:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘deref_to_index’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3653]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘lower_resource_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_resource.c:313:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_resource_intrinsic’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_resource.c: scope_hint: In function ‘lower_resource_intrinsic’
#  311|            desc_type = AC_DESC_FMASK;
#  312|         } else {
#  313|->          enum glsl_sampler_dim dim = glsl_get_sampler_dim(deref->type);
#  314|            desc_type = dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE;
#  315|         }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3654]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘opencoded_load_format’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘opencoded_load_format’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘opencoded_load_format’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3655]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c:419:7: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  417|   
#  418|      if (reverse) {
#  419|->       nir_def *tmp = loads[0];
#  420|         loads[0] = loads[2];
#  421|         loads[2] = tmp;

Error: CLANG_WARNING: [#def3656]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c:508:7: warning[deadcode.DeadStores]: Value stored to 'channels_per_fetch' is never read
#  506|   
#  507|         num_fetches = channels_per_fetch;
#  508|->       channels_per_fetch = 1;
#  509|      }
#  510|   

Error: CLANG_WARNING: [#def3657]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_compute.c:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:2084:32: warning[core.NullDereference]: Access to field 'buf' results in a dereference of a null pointer (loaded from variable 'bo')
# 2082|   {
# 2083|      assert(usage);
# 2084|->    sctx->ws->cs_add_buffer(cs, bo->buf, usage | RADEON_USAGE_SYNCHRONIZED,
# 2085|                              bo->domains);
# 2086|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3658]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.c: scope_hint: In function ‘si_query_buffer_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.c:539:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qbuf’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_threaded_context.h:200: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.c:538:41: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_query.c:538:41: note: in expansion of macro ‘MALLOC_STRUCT’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  537|         if (buffer->buf) {
#  538|            struct si_query_buffer *qbuf = MALLOC_STRUCT(si_query_buffer);
#  539|->          memcpy(qbuf, buffer, sizeof(*qbuf));
#  540|            buffer->previous = qbuf;
#  541|         }

Error: COMPILER_WARNING (CWE-563): [#def3659]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_nir_assign_param_offsets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:1940:31: warning[-Wunused-variable]: unused variable ‘sel’
# 1940 |    struct si_shader_selector *sel = shader->selector;
#      |                               ^~~
# 1938|                                           int8_t slot_remap[NUM_TOTAL_VARYING_SLOTS])
# 1939|   {
# 1940|->    struct si_shader_selector *sel = shader->selector;
# 1941|      struct si_shader_binary_info *info = &shader->info;
# 1942|   

Error: CLANG_WARNING: [#def3660]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:1940:31: warning[deadcode.DeadStores]: Value stored to 'sel' during its initialization is never read
# 1938|                                           int8_t slot_remap[NUM_TOTAL_VARYING_SLOTS])
# 1939|   {
# 1940|->    struct si_shader_selector *sel = shader->selector;
# 1941|      struct si_shader_binary_info *info = &shader->info;
# 1942|   

Error: CLANG_WARNING: [#def3661]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:2465:7: warning[deadcode.DeadStores]: Value stored to 'progress' is never read
# 2463|      if (progress) {
# 2464|         si_nir_opts(sel->screen, nir, false);
# 2465|->       progress = false;
# 2466|         late_opts = true;
# 2467|      }

Error: COMPILER_WARNING (CWE-563): [#def3662]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:3254:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_ena’
# 3254 |    unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
#      |             ^~~~~~~~~~~~~~~~
# 3252|   
# 3253|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3254|->    unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3255|      unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3256|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);

Error: CLANG_WARNING: [#def3663]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:3254:13: warning[deadcode.DeadStores]: Value stored to 'spi_ps_input_ena' during its initialization is never read
# 3252|   
# 3253|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3254|->    unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3255|      unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3256|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);

Error: COMPILER_WARNING (CWE-563): [#def3664]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_shader_select_ps_parts’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:3255:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_addr’
# 3255 |    unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
#      |             ^~~~~~~~~~~~~~~~~
# 3253|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3254|      unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3255|->    unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3256|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);
# 3257|   

Error: CLANG_WARNING: [#def3665]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.c:3255:13: warning[deadcode.DeadStores]: Value stored to 'spi_ps_input_addr' during its initialization is never read
# 3253|      /* Make sure spi_ps_input_addr bits is superset of spi_ps_input_ena. */
# 3254|      unsigned spi_ps_input_ena = shader->config.spi_ps_input_ena;
# 3255|->    unsigned spi_ps_input_addr = shader->config.spi_ps_input_addr;
# 3256|      assert((spi_ps_input_ena & spi_ps_input_addr) == spi_ps_input_ena);
# 3257|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3666]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_build_shader_binary’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_internal.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3667]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c:135:39: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3668]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3669]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_resolve_symbols’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3670]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c:198:31: warning[deadcode.DeadStores]: Value stored to 'key' during its initialization is never read
#  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): [#def3671]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_build_shader_part_binary’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3672]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader_info.c:837:84: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'unsigned int'
#  835|      info->clipdist_mask = info->writes_clipvertex ? SI_USER_CLIP_PLANE_MASK :
#  836|                            u_bit_consecutive(0, info->base.clip_distance_array_size);
#  837|->    info->culldist_mask = u_bit_consecutive(0, info->base.cull_distance_array_size) <<
#  838|                            info->base.clip_distance_array_size;
#  839|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3673]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_sqtt.c: scope_hint: In function ‘si_sqtt_add_code_object’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_sqtt.c:1066:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
# 1064|         uint8_t *code = malloc(shader->binary.uploaded_code_size);
# 1065|         if (!code) {
# 1066|->          free(record);
# 1067|            return false;
# 1068|         }

Error: COMPILER_WARNING (CWE-563): [#def3674]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘gfx11_dgpu_emit_framebuffer_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state.c:3780:9: warning[-Wunused-variable]: unused variable ‘is_msaa_resolve’
# 3780 |    bool is_msaa_resolve = state->nr_cbufs == 2 &&
#      |         ^~~~~~~~~~~~~~~
# 3778|      struct si_texture *tex = NULL;
# 3779|      struct si_surface *cb = NULL;
# 3780|->    bool is_msaa_resolve = state->nr_cbufs == 2 &&
# 3781|                             state->cbufs[0] && state->cbufs[0]->texture->nr_samples > 1 &&
# 3782|                             state->cbufs[1] && state->cbufs[1]->texture->nr_samples <= 1;

Error: COMPILER_WARNING (CWE-563): [#def3675]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_shaders.cpp: scope_hint: In function ‘void si_shader_ps(si_screen*, si_shader*)’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_shaders.cpp:1842:19: warning[-Wunused-variable]: unused variable ‘input_ena’
# 1842 |    const unsigned input_ena = shader->config.spi_ps_input_ena;
#      |                   ^~~~~~~~~
# 1840|   {
# 1841|      struct si_shader_info *info = &shader->selector->info;
# 1842|->    const unsigned input_ena = shader->config.spi_ps_input_ena;
# 1843|   
# 1844|      /* we need to enable at least one of them, otherwise we hang the GPU */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3676]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_streamout.c: scope_hint: In function ‘si_create_so_target’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_streamout.c:39:11: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_streamout.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_state_streamout.c:27:8: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: COMPILER_WARNING (CWE-563): [#def3677]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_copy_multi_plane_texture’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:76:23: warning[-Wunused-variable]: unused variable ‘dst_tex’
#   76 |    struct si_texture *dst_tex = (struct si_texture *)dst;
#      |                       ^~~~~~~
#   74|      unsigned i, dx, dy;
#   75|      struct si_texture *src_tex = (struct si_texture *)src;
#   76|->    struct si_texture *dst_tex = (struct si_texture *)dst;
#   77|      struct pipe_box sbox;
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3678]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_texture_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:2000:15: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_live_shader_cache.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:118: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:1941:12: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:114: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
# 1998|   
# 1999|      *ptransfer = &trans->b.b;
# 2000|->    return map + offset;
# 2001|   
# 2002|   fail_trans:

Error: CLANG_WARNING: [#def3679]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:2014:23: warning[deadcode.DeadStores]: Value stored to 'tex' during its initialization is never read
# 2012|      struct si_transfer *stransfer = (struct si_transfer *)transfer;
# 2013|      struct pipe_resource *texture = transfer->resource;
# 2014|->    struct si_texture *tex = (struct si_texture *)texture;
# 2015|   
# 2016|      /* Always unmap texture CPU mappings on 32-bit architectures, so that

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3680]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:2188:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c:2166:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
# 2186|         tex->target != PIPE_BUFFER &&
# 2187|         vi_dcc_formats_are_incompatible(tex, templ->u.tex.level, templ->format);
# 2188|->    return &surface->base;
# 2189|   }
# 2190|   

Error: CLANG_WARNING: [#def3681]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_compute.c:88:11: warning[core.NullDereference]: Array access (via field 'SysSemanticToIndex') results in a null pointer dereference
#   86|   {
#   87|      if (!restart) {
#   88|->       if (machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID] != -1) {
#   89|            unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID];
#   90|            int j;

Error: CLANG_WARNING: [#def3682]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_compute.c:121:10: warning[deadcode.DeadStores]: Value stored to 'grp_hit_barrier' is never read
#  119|         restart_threads = false;
#  120|         if (grp_hit_barrier) {
#  121|->          grp_hit_barrier = false;
#  122|            restart_threads = true;
#  123|         }

Error: CLANG_WARNING: [#def3683]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_compute.c:131:8: warning[core.NullDereference]: Access to field 'Tokens' results in a dereference of a null pointer (loaded from variable 'machine')
#  129|             struct tgsi_exec_machine *machine)
#  130|   {
#  131|->    if (machine->Tokens == cs->tokens) {
#  132|         tgsi_exec_machine_bind_shader(machine, NULL, NULL, NULL, NULL);
#  133|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3684]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_fs_exec.c: scope_hint: In function ‘softpipe_create_fs_variant_exec’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_fs_exec.c:202:11: warning[-Wanalyzer-malloc-leak]: leak of ‘shader’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_fs_exec.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3685]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c: scope_hint: In function ‘handle_op_uint’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:378:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:378:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3686]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:379:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:379:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3687]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:385:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:385:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3688]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:386:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:386:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3689]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:392:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:392:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3690]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:396:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:396:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3691]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:402:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:402:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3692]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:403:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:403:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3693]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:409:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:409:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3694]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:410:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:410:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3695]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:416:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:416:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3696]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:417:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:417:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3697]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:423:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:423:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3698]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:425:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:425:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3699]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:431:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:431:19: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3700]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:433:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:433:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3701]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:439:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:439:27: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3702]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:441:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:441:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3703]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:447:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:447:27: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3704]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:449:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:449:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3705]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c: scope_hint: In function ‘handle_op_int’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:494:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:494:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3706]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:495:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:495:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3707]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:501:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:501:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3708]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:502:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:502:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3709]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:508:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:508:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3710]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:512:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:512:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3711]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:518:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:518:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3712]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:519:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:519:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3713]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:525:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:525:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3714]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:526:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:526:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3715]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:532:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:532:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3716]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:533:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:533:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3717]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:539:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:539:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3718]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:541:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:541:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3719]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:547:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:547:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3720]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:549:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:549:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3721]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:555:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:555:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3722]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:557:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:557:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3723]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:563:14: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:563:14: note: read of 4 bytes from after the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3724]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:565:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_image.c:565:19: note: write of 4 bytes to beyond the end of ‘sdata’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3725]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_prim_vbuf.c: scope_hint: In function ‘sp_create_vbuf_backend’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_prim_vbuf.c:668:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cvbr’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_prim_vbuf.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3726]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_prim_vbuf.c:672:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cvbr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3727]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_blend.c: scope_hint: In function ‘sp_quad_blend_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_blend.c:1312:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stage’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_blend.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3728]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_depth_test.c: scope_hint: In function ‘sp_quad_depth_test_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_depth_test.c:1092:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stage’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_depth_test.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3729]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_depth_test.c:946: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_depth_test_tmp.h:133:7: warning[deadcode.DeadStores]: Value stored to 'depth16' is never read
#  131|   #endif
#  132|   
#  133|->       depth16 = (uint16_t (*)[TILE_SIZE]) &depth16[0][2];
#  134|   
#  135|         quads[i]->inout.mask = mask;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3730]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_fs.c: scope_hint: In function ‘sp_quad_shade_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_fs.c:170:11: warning[-Wanalyzer-malloc-leak]: leak of ‘qss’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_quad_fs.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3731]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_query.c: scope_hint: In function ‘softpipe_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_query.c:76:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sq’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_query.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3732]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_setup.c: scope_hint: In function ‘sp_setup_create_context’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_setup.c:1435:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘setup’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_setup.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3733]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_derived.c:308:23: warning[core.NullDereference]: Array access (via field 'file_max') results in a null pointer dereference
#  306|                         softpipe->vs->max_sampler);
#  307|      set_shader_sampler(softpipe, PIPE_SHADER_FRAGMENT,
#  308|->                       softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]);
#  309|      if (softpipe->gs) {
#  310|         set_shader_sampler(softpipe, PIPE_SHADER_GEOMETRY,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3734]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c: scope_hint: In function ‘softpipe_create_fs_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c:161:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_framebuffer.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3735]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c:352:21: warning[core.NullDereference]: Dereference of null pointer
#  350|                                  (state) ? state->draw_data : 0);
#  351|   
#  352|->    tgsi_free_tokens(state->shader.tokens);
#  353|      FREE(state);
#  354|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3736]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c: scope_hint: In function ‘softpipe_create_compute_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_shader.c:412:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3737]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_so.c: scope_hint: In function ‘softpipe_set_so_targets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_state_so.c:76:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*targets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_blitter.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_context.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3738]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘mip_filter_nearest’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:2191:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:358: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): [#def3739]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘create_filter_table’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:2324:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lut’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:2318:30: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3740]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:2803:15: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>' is a garbage value
# 2801|          * in texture format (quantization!).
# 2802|          */
# 2803|->       pc[0] = CLAMP(c0[0], 0.0F, 1.0F);
# 2804|         pc[1] = CLAMP(c0[1], 0.0F, 1.0F);
# 2805|         pc[2] = CLAMP(c0[2], 0.0F, 1.0F);

Error: CLANG_WARNING: [#def3741]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:2808:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2806|         pc[3] = CLAMP(c0[3], 0.0F, 1.0F);
# 2807|      } else {
# 2808|->       pc[0] = c0[0];
# 2809|         pc[1] = c0[1];
# 2810|         pc[2] = c0[2];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3742]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘softpipe_create_sampler_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:3476:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samp’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3743]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c: scope_hint: In function ‘softpipe_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_tex_sample.c:3635:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3744]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:303:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3745]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_transfer_map’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:449:15: warning[-Wanalyzer-malloc-leak]: leak of ‘spt’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:414:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3746]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c: scope_hint: In function ‘softpipe_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:508:11: warning[-Wanalyzer-malloc-leak]: leak of ‘spr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/softpipe/sp_texture.c:491:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3747]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1240:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1238|         switch (hwtnl->cmd.vdecl[i].identity.type) {
# 1239|         case SVGA3D_DECLTYPE_FLOAT1:
# 1240|->          width = 4;
# 1241|            break;
# 1242|         case SVGA3D_DECLTYPE_FLOAT2:

Error: CLANG_WARNING: [#def3748]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1243:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1241|            break;
# 1242|         case SVGA3D_DECLTYPE_FLOAT2:
# 1243|->          width = 4 * 2;
# 1244|            break;
# 1245|         case SVGA3D_DECLTYPE_FLOAT3:

Error: CLANG_WARNING: [#def3749]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1246:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1244|            break;
# 1245|         case SVGA3D_DECLTYPE_FLOAT3:
# 1246|->          width = 4 * 3;
# 1247|            break;
# 1248|         case SVGA3D_DECLTYPE_FLOAT4:

Error: CLANG_WARNING: [#def3750]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1249:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1247|            break;
# 1248|         case SVGA3D_DECLTYPE_FLOAT4:
# 1249|->          width = 4 * 4;
# 1250|            break;
# 1251|         case SVGA3D_DECLTYPE_D3DCOLOR:

Error: CLANG_WARNING: [#def3751]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1252:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1250|            break;
# 1251|         case SVGA3D_DECLTYPE_D3DCOLOR:
# 1252|->          width = 4;
# 1253|            break;
# 1254|         case SVGA3D_DECLTYPE_UBYTE4:

Error: CLANG_WARNING: [#def3752]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1255:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1253|            break;
# 1254|         case SVGA3D_DECLTYPE_UBYTE4:
# 1255|->          width = 1 * 4;
# 1256|            break;
# 1257|         case SVGA3D_DECLTYPE_SHORT2:

Error: CLANG_WARNING: [#def3753]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1258:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1256|            break;
# 1257|         case SVGA3D_DECLTYPE_SHORT2:
# 1258|->          width = 2 * 2;
# 1259|            break;
# 1260|         case SVGA3D_DECLTYPE_SHORT4:

Error: CLANG_WARNING: [#def3754]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1261:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1259|            break;
# 1260|         case SVGA3D_DECLTYPE_SHORT4:
# 1261|->          width = 2 * 4;
# 1262|            break;
# 1263|         case SVGA3D_DECLTYPE_UBYTE4N:

Error: CLANG_WARNING: [#def3755]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1264:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1262|            break;
# 1263|         case SVGA3D_DECLTYPE_UBYTE4N:
# 1264|->          width = 1 * 4;
# 1265|            break;
# 1266|         case SVGA3D_DECLTYPE_SHORT2N:

Error: CLANG_WARNING: [#def3756]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1267:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1265|            break;
# 1266|         case SVGA3D_DECLTYPE_SHORT2N:
# 1267|->          width = 2 * 2;
# 1268|            break;
# 1269|         case SVGA3D_DECLTYPE_SHORT4N:

Error: CLANG_WARNING: [#def3757]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1270:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1268|            break;
# 1269|         case SVGA3D_DECLTYPE_SHORT4N:
# 1270|->          width = 2 * 4;
# 1271|            break;
# 1272|         case SVGA3D_DECLTYPE_USHORT2N:

Error: CLANG_WARNING: [#def3758]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1273:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1271|            break;
# 1272|         case SVGA3D_DECLTYPE_USHORT2N:
# 1273|->          width = 2 * 2;
# 1274|            break;
# 1275|         case SVGA3D_DECLTYPE_USHORT4N:

Error: CLANG_WARNING: [#def3759]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1276:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1274|            break;
# 1275|         case SVGA3D_DECLTYPE_USHORT4N:
# 1276|->          width = 2 * 4;
# 1277|            break;
# 1278|         case SVGA3D_DECLTYPE_UDEC3:

Error: CLANG_WARNING: [#def3760]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1279:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1277|            break;
# 1278|         case SVGA3D_DECLTYPE_UDEC3:
# 1279|->          width = 4;
# 1280|            break;
# 1281|         case SVGA3D_DECLTYPE_DEC3N:

Error: CLANG_WARNING: [#def3761]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1282:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1280|            break;
# 1281|         case SVGA3D_DECLTYPE_DEC3N:
# 1282|->          width = 4;
# 1283|            break;
# 1284|         case SVGA3D_DECLTYPE_FLOAT16_2:

Error: CLANG_WARNING: [#def3762]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1285:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1283|            break;
# 1284|         case SVGA3D_DECLTYPE_FLOAT16_2:
# 1285|->          width = 2 * 2;
# 1286|            break;
# 1287|         case SVGA3D_DECLTYPE_FLOAT16_4:

Error: CLANG_WARNING: [#def3763]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1288:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1286|            break;
# 1287|         case SVGA3D_DECLTYPE_FLOAT16_4:
# 1288|->          width = 2 * 4;
# 1289|            break;
# 1290|         default:

Error: CLANG_WARNING: [#def3764]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_draw.c:1292:10: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 1290|         default:
# 1291|            assert(0);
# 1292|->          width = 0;
# 1293|            break;
# 1294|         }

Error: CLANG_WARNING: [#def3765]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_blit.c:58:23: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'src_tex')
#   56|      memset(blit, 0, sizeof(*blit));
#   57|   
#   58|->    blit->src.format = src_tex->format;
#   59|      blit->dst.format = dst_tex->format;
#   60|   

Error: CLANG_WARNING: [#def3766]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:179:7: warning[deadcode.DeadStores]: Value stored to 'state' is never read
#  177|         sws->fence_finish(sws, sq->fence, OS_TIMEOUT_INFINITE,
#  178|                           SVGA_FENCE_FLAG_QUERY);
#  179|->       state = sq->queryResult->state;
#  180|      }
#  181|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3767]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘allocate_query_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:285:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:284:21: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:284:21: note: in expansion of macro ‘CALLOC_STRUCT’
#  283|         assert(index != -1);
#  284|         alloc_entry = CALLOC_STRUCT(svga_qmem_alloc_entry);
#  285|->       alloc_entry->block_index = index;
#  286|      }
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3768]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:754:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:632:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1140:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:495:7: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1140:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:495:7: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1081:26: note: in definition of macro ‘SVGA_TRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:517:4: note: in expansion of macro ‘SVGA_RETRY_OOM’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1081:26: note: in definition of macro ‘SVGA_TRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1140:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:523:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1140:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:524:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_context.h:1140:7: note: in expansion of macro ‘SVGA_RETRY_CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:524:4: note: in expansion of macro ‘SVGA_RETRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_create_query’
#  752|      sq->type = query_type;
#  753|   
#  754|->    return &sq->base;
#  755|   
#  756|   fail:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3769]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c: scope_hint: In function ‘svga_begin_query’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:856:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
#  854|      svga_hwtnl_flush_retry(svga);
#  855|   
#  856|->    switch (sq->type) {
#  857|      case PIPE_QUERY_OCCLUSION_COUNTER:
#  858|      case PIPE_QUERY_OCCLUSION_PREDICATE:

Error: CLANG_WARNING: [#def3770]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_query.c:880:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  878|      case PIPE_QUERY_TIMESTAMP:
#  879|         assert(svga_have_vgpu10(svga));
#  880|->       ret = begin_query_vgpu10(svga, sq);
#  881|         assert(ret == PIPE_OK);
#  882|         break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3771]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_sampler.c: scope_hint: In function ‘svga_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_sampler.c:383:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sv’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_sampler.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_sampler.c:365:40: note: in expansion of macro ‘CALLOC_STRUCT’
#  381|                           SVGA_STATS_COUNT_SAMPLERVIEW);
#  382|   
#  383|->    return &sv->base;
#  384|   }
#  385|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3772]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_streamout.c: scope_hint: In function ‘svga_create_stream_output_target’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_streamout.c:400:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sot’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_streamout.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_streamout.c:389:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_pipe_streamout.c: scope_hint: In function ‘svga_create_stream_output_target’
#  398|      sot->base.buffer_size = buffer_size;
#  399|   
#  400|->    return &sot->base;
#  401|   }
#  402|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3773]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.c: scope_hint: In function ‘svga_user_buffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.c:610:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.c:587:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.c: scope_hint: In function ‘svga_user_buffer_create’
#  608|      ss->hud.num_resources++;
#  609|   
#  610|->    return &sbuf->b;
#  611|   
#  612|   no_sbuf:

Error: CLANG_WARNING: [#def3774]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_cmd.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_buffer.h:309:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  307|            if (ret != PIPE_OK) {
#  308|               svga_context_flush(svga, NULL);
#  309|->             ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
#  310|               assert(ret == PIPE_OK);
#  311|            }

Error: CLANG_WARNING: [#def3775]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_texture.c:419:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  417|            if (ret != PIPE_OK) {
#  418|               svga_context_flush(svga, NULL);
#  419|->             ret = SVGA3D_BindGBSurface(swc, surf);
#  420|               assert(ret == PIPE_OK);
#  421|            }

Error: CLANG_WARNING: [#def3776]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_texture.c:862:10: warning[deadcode.DeadStores]: Value stored to 'max_dim' is never read
#  860|         case PIPE_TEXTURE_CUBE_ARRAY:
#  861|         case PIPE_TEXTURE_2D_ARRAY:
#  862|->          max_dim = MAX2(max_dim, template->height0);
#  863|            break;
#  864|         case PIPE_TEXTURE_3D:

Error: CLANG_WARNING: [#def3777]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_resource_texture.c:865:10: warning[deadcode.DeadStores]: Value stored to 'max_dim' is never read
#  863|            break;
#  864|         case PIPE_TEXTURE_3D:
#  865|->          max_dim = MAX3(max_dim, template->height0, template->depth0);
#  866|            break;
#  867|         case PIPE_TEXTURE_RECT:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3778]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_sampler_view.c: scope_hint: In function ‘svga_destroy_sampler_view_priv’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_sampler_view.c:221:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_sampler_view.c:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_sampler_view.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_winsys.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_cmd.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_sampler_view.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
#  219|   svga_destroy_sampler_view_priv(struct svga_sampler_view *v)
#  220|   {
#  221|->    struct svga_texture *tex = svga_texture(v->texture);
#  222|   
#  223|      if (v->handle != tex->handle) {

Error: CLANG_WARNING: [#def3779]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_screen.c:94:16: warning[deadcode.DeadStores]: Value stored to 'build' during its initialization is never read
#   92|   svga_get_name( struct pipe_screen *pscreen )
#   93|   {
#   94|->    const char *build = "", *llvm = "", *mutex = "";
#   95|      static char name[100];
#   96|   #if MESA_DEBUG

Error: CLANG_WARNING: [#def3780]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_screen.c:94:29: warning[deadcode.DeadStores]: Value stored to 'llvm' during its initialization is never read
#   92|   svga_get_name( struct pipe_screen *pscreen )
#   93|   {
#   94|->    const char *build = "", *llvm = "", *mutex = "";
#   95|      static char name[100];
#   96|   #if MESA_DEBUG

Error: CLANG_WARNING: [#def3781]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:799:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_fs_variant'
#  797|      switch (type) {
#  798|      case PIPE_SHADER_FRAGMENT:
#  799|->       variant = CALLOC(1, sizeof(struct svga_fs_variant));
#  800|         break;
#  801|      case PIPE_SHADER_GEOMETRY:

Error: CLANG_WARNING: [#def3782]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:802:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_gs_variant'
#  800|         break;
#  801|      case PIPE_SHADER_GEOMETRY:
#  802|->       variant = CALLOC(1, sizeof(struct svga_gs_variant));
#  803|         break;
#  804|      case PIPE_SHADER_VERTEX:

Error: CLANG_WARNING: [#def3783]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:805:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_vs_variant'
#  803|         break;
#  804|      case PIPE_SHADER_VERTEX:
#  805|->       variant = CALLOC(1, sizeof(struct svga_vs_variant));
#  806|         break;
#  807|      case PIPE_SHADER_TESS_EVAL:

Error: CLANG_WARNING: [#def3784]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:808:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_tes_variant'
#  806|         break;
#  807|      case PIPE_SHADER_TESS_EVAL:
#  808|->       variant = CALLOC(1, sizeof(struct svga_tes_variant));
#  809|         break;
#  810|      case PIPE_SHADER_TESS_CTRL:

Error: CLANG_WARNING: [#def3785]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:811:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_tcs_variant'
#  809|         break;
#  810|      case PIPE_SHADER_TESS_CTRL:
#  811|->       variant = CALLOC(1, sizeof(struct svga_tcs_variant));
#  812|         break;
#  813|      case PIPE_SHADER_COMPUTE:

Error: CLANG_WARNING: [#def3786]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_shader.c:814:17: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct svga_shader_variant', which is incompatible with sizeof operand type 'struct svga_cs_variant'
#  812|         break;
#  813|      case PIPE_SHADER_COMPUTE:
#  814|->       variant = CALLOC(1, sizeof(struct svga_cs_variant));
#  815|         break;
#  816|      default:

Error: CLANG_WARNING: [#def3787]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state.c:364:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  362|   
#  363|         /* XXX preliminary code */
#  364|->       ret = SVGA3D_vgpu10_DefineRasterizerState(svga->swc,
#  365|                                                id,
#  366|                                                SVGA3D_FILLMODE_FILL,

Error: CLANG_WARNING: [#def3788]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_constants.c:76:18: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#   74|         }
#   75|         else {
#   76|->          *dest_u += 4;
#   77|         }
#   78|      }

Error: CLANG_WARNING: [#def3789]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_constants.c:914:4: warning[deadcode.DeadStores]: Value stored to 'cbuf' is never read
#  912|             shader == PIPE_SHADER_COMPUTE);
#  913|   
#  914|->    cbuf = &svga->curr.constbufs[shader][0];
#  915|   
#  916|      switch (shader) {

Error: CLANG_WARNING: [#def3790]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_constants.c:1005:38: warning[core.NullDereference]: Dereference of null pointer
# 1003|             * SVGA3D device requires a multiple of 16 bytes.
# 1004|             */
# 1005|->          const unsigned total_size = buffer->b.width0;
# 1006|   
# 1007|            if (offset + align(size, 16) <= total_size) {

Error: CLANG_WARNING: [#def3791]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:520:7: warning[deadcode.DeadStores]: Value stored to 'fw' is never read
#  518|   
#  519|      if (fw < 0 || fh < 0) {
#  520|->       fw = fh = fx = fy = 0;
#  521|         degenerate = true;
#  522|         goto out;

Error: CLANG_WARNING: [#def3792]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:520:12: warning[deadcode.DeadStores]: Although the value stored to 'fh' is used in the enclosing expression, the value is never actually read from 'fh'
#  518|   
#  519|      if (fw < 0 || fh < 0) {
#  520|->       fw = fh = fx = fy = 0;
#  521|         degenerate = true;
#  522|         goto out;

Error: CLANG_WARNING: [#def3793]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:520:17: warning[deadcode.DeadStores]: Although the value stored to 'fx' is used in the enclosing expression, the value is never actually read from 'fx'
#  518|   
#  519|      if (fw < 0 || fh < 0) {
#  520|->       fw = fh = fx = fy = 0;
#  521|         degenerate = true;
#  522|         goto out;

Error: CLANG_WARNING: [#def3794]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:520:22: warning[deadcode.DeadStores]: Although the value stored to 'fy' is used in the enclosing expression, the value is never actually read from 'fy'
#  518|   
#  519|      if (fw < 0 || fh < 0) {
#  520|->       fw = fh = fx = fy = 0;
#  521|         degenerate = true;
#  522|         goto out;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3795]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c: scope_hint: In function ‘emit_viewport’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:740:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&viewports’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c: scope_hint: In function ‘emit_viewport’
#  738|               return ret;
#  739|         }
#  740|->       memcpy(svga->state.hw_clear.viewports, viewports,
#  741|                max_viewports * sizeof viewports[0]);
#  742|      }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3796]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:747:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&prescale’
#  745|                 max_viewports * sizeof prescale[0]) != 0) {
#  746|         svga->dirty |= SVGA_NEW_PRESCALE;
#  747|->       memcpy(svga->state.hw_clear.prescale, prescale,
#  748|                max_viewports * sizeof prescale[0]);
#  749|   

Error: CLANG_WARNING: [#def3797]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_framebuffer.c:875:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  873|         if (svga_have_vgpu10(svga)) {
#  874|            //debug_printf("XXX emit DX10 clip plane\n");
#  875|->          ret = PIPE_OK;
#  876|         }
#  877|         else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3798]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_tgsi_transform.c:56:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_tgsi_transform.c: scope_hint: In function ‘write_vpos’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_state_tgsi_transform.c: scope_hint: In function ‘write_vpos’
#   54|   insert_at_head(struct svga_shader *head, struct svga_shader *shader)
#   55|   {
#   56|->    shader->parent = head;
#   57|      shader->next = head->next;
#   58|      head->next = shader;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3799]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c: scope_hint: In function ‘svga_create_surface_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c:423:11: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c:300:8: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_winsys.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_cmd.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_surface.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
#  421|   
#  422|      svga->hud.num_surface_views++;
#  423|->    retVal = &s->base;
#  424|   
#  425|   done:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3800]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c: scope_hint: In function ‘svga_vbuf_render_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c:391:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘svga_render’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c:389:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  389|      struct svga_vbuf_render *svga_render = CALLOC_STRUCT(svga_vbuf_render);
#  390|   
#  391|->    svga_render->svga = svga;
#  392|      svga_render->ibuf_size = 0;
#  393|      svga_render->vbuf_size = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3801]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c:409:11: warning[-Wanalyzer-malloc-leak]: leak of ‘svga_render’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_swtnl_backend.c:389:43: note: in expansion of macro ‘CALLOC_STRUCT’
#  407|      svga_render->base.destroy = svga_vbuf_render_destroy;
#  408|   
#  409|->    return &svga_render->base;
#  410|   }

Error: CLANG_WARNING: [#def3802]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svga_tgsi_insn.c:1365:11: warning[deadcode.DeadStores]: Although the value stored to 'srcIn' is used in the enclosing expression, the value is never actually read from 'srcIn'
# 1363|      SVGA3dShaderDestToken temp;
# 1364|   
# 1365|->    src0 = srcIn = translate_src_register( emit, reg );
# 1366|   
# 1367|      if (special) {

Error: CLANG_WARNING: [#def3803]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/svga/svgadump/svga_shader_dump.c:140:26: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'indreg')
#  138|         assert(indreg);
#  139|   
#  140|->       if (sh_srcreg_type(*indreg) == SVGA3DREG_LOOP) {
#  141|            _debug_printf("%s[aL+%u]", name, reg.number);
#  142|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3804]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c: scope_hint: In function ‘tegra_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c:855:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘presource’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3805]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c:862:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3806]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c: scope_hint: In function ‘tegra_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_context.c:904:26: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3807]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/tegra/tegra_screen.c: scope_hint: In function ‘tegra_screen_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3808]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_bufmgr.c:167:25: warning[deadcode.DeadStores]: Value stored to 'cleared_and_retried' is never read
#  165|                   if (!list_is_empty(&screen->bo_cache.time_list) &&
#  166|                       !cleared_and_retried) {
#  167|->                         cleared_and_retried = true;
#  168|                           v3d_bo_cache_free_all(&screen->bo_cache);
#  169|                           goto retry;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3809]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_disk_cache.c: scope_hint: In function ‘v3d_disk_cache_compute_key’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_disk_cache.c:90: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
#   88|           uint32_t ckey_size = v3d_key_size(nir->info.stage);
#   89|           struct v3d_key *ckey = malloc(ckey_size);
#   90|->         memcpy(ckey, key, ckey_size);
#   91|   
#   92|           struct blob blob;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3810]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_query_pipe.c: scope_hint: In function ‘v3d_create_query_pipe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3811]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3812]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:768:20: warning[-Wanalyzer-malloc-leak]: leak of ‘v3d_resource_setup(pscreen,  tmpl)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:757:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  766|           prsc->screen = pscreen;
#  767|   
#  768|->         rsc->cpp = util_format_get_blocksize(prsc->format);
#  769|           rsc->serial_id++;
#  770|   

Error: CLANG_WARNING: [#def3813]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:823:17: warning[deadcode.DeadStores]: Value stored to 'linear_ok' is never read
#  821|           /* No user-specified modifier; determine our own. */
#  822|           if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
#  823|->                 linear_ok = true;
#  824|                   rsc->tiled = should_tile;
#  825|           } else if (should_tile &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3814]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_resource_create_with_modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:824:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v3d_resource_setup(pscreen,  tmpl)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:757:36: note: in expansion of macro ‘CALLOC_STRUCT’
#  822|           if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
#  823|                   linear_ok = true;
#  824|->                 rsc->tiled = should_tile;
#  825|           } else if (should_tile &&
#  826|                      drm_find_modifier(DRM_FORMAT_MOD_BROADCOM_UIF,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3815]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c: scope_hint: In function ‘v3d_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:1087:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:28: included_from: Included from here.
# 1085|           psurf->context = pctx;
# 1086|           psurf->format = surf_tmpl->format;
# 1087|->         psurf->width = u_minify(ptex->width0, level);
# 1088|           psurf->height = u_minify(ptex->height0, level);
# 1089|           psurf->u.tex.level = level;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3816]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:1138:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:1072:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3d_resource.c:1119:17: note: in expansion of macro ‘v3d_X’
# 1136|           }
# 1137|   
# 1138|->         return &surface->base;
# 1139|   }
# 1140|   

Error: CLANG_WARNING: [#def3817]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_draw.c:555:47: warning[core.NullDereference]: Dereference of null pointer
#  553|                                  v3d->prog.cs->prog_data.vs,
#  554|                                  v3d->prog.vs->prog_data.vs,
#  555|->                                v3d->prog.gs ? v3d->prog.gs_bin->prog_data.gs : NULL,
#  556|                                  v3d->prog.gs ? v3d->prog.gs->prog_data.gs : NULL,
#  557|                                  &vpm_cfg_bin,

Error: CLANG_WARNING: [#def3818]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_draw.c:888:17: warning[core.NullDereference]: Access to field 'ez_state' results in a dereference of a null pointer (loaded from field 'zsa')
#  886|           }
#  887|   
#  888|->         switch (v3d->zsa->ez_state) {
#  889|           case V3D_EZ_UNDECIDED:
#  890|                   /* If the Z/S state didn't pick a direction but didn't

Error: CLANG_WARNING: [#def3819]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_emit.c:184:29: warning[deadcode.DeadStores]: Value stored to 'v3d' during its initialization is never read
#  182|                                                 enum V3DX(Varying_Flags_Action) higher))
#  183|   {
#  184|->         struct v3d_context *v3d = job->v3d;
#  185|           bool emitted_any = false;
#  186|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3820]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_query_perfcnt.c: scope_hint: In function ‘v3d42_create_batch_query_perfcnt’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_query_perfcnt.c:269:22: warning[-Wanalyzer-malloc-leak]: leak of ‘pquery’
#  267|   
#  268|           query = &pquery->base;
#  269|->         query->funcs = &perfcnt_query_funcs;
#  270|   
#  271|           /* Note that struct pipe_query isn't actually defined anywhere. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3821]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_state.c: scope_hint: In function ‘v3d_create_stream_output_target’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_state.c:1230:16: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_state.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_state.c:1219:18: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/v3d/v3dx_state.c: scope_hint: In function ‘v3d_create_stream_output_target’
# 1228|           target->base.buffer_size = buffer_size;
# 1229|   
# 1230|->         return &target->base;
# 1231|   }
# 1232|   

Error: CLANG_WARNING: [#def3822]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_blend.c:586:21: warning[core.NullDereference]: Dereference of null pointer
#  584|                   assert(output_var);
#  585|   
#  586|->                 if (output_var->data.location != FRAG_RESULT_COLOR &&
#  587|                       output_var->data.location != FRAG_RESULT_DATA0) {
#  588|                           continue;

Error: CLANG_WARNING: [#def3823]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:118:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  116|                      (chan->type == UTIL_FORMAT_TYPE_UNSIGNED ||
#  117|                       chan->type == UTIL_FORMAT_TYPE_SIGNED)) {
#  118|->                 nir_def *vpm = vpm_reads[0];
#  119|                   if (chan->type == UTIL_FORMAT_TYPE_SIGNED) {
#  120|                           temp = nir_ixor(b, vpm, nir_imm_int(b, 0x80808080));

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3824]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_get_vattr_channel_vpm’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:118:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*vpm_reads’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:361:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_get_vattr_channel_vpm’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
#  116|                      (chan->type == UTIL_FORMAT_TYPE_UNSIGNED ||
#  117|                       chan->type == UTIL_FORMAT_TYPE_SIGNED)) {
#  118|->                 nir_def *vpm = vpm_reads[0];
#  119|                   if (chan->type == UTIL_FORMAT_TYPE_SIGNED) {
#  120|                           temp = nir_ixor(b, vpm, nir_imm_int(b, 0x80808080));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3825]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:266:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:375:9: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:361:9: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c:362:17: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vc4_nir_lower_fs_input’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_nir_lower_io.c: scope_hint: In function ‘vc4_nir_lower_fs_input’
#  264|   
#  265|                   if (result != &intr->def) {
#  266|->                         nir_def_rewrite_uses_after(&intr->def,
#  267|                                                          result,
#  268|                                                          result->parent_instr);

Error: CLANG_WARNING: [#def3826]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_opt_constant_folding.c:79:32: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>>' is a garbage value due to array index out of bounds
#   77|           switch (inst->op) {
#   78|           case QOP_SHR:
#   79|->                 result = ui[0] >> ui[1];
#   80|                   break;
#   81|   

Error: CLANG_WARNING: [#def3827]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_program.c:1553:9: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
# 1551|                   num_entries++;
# 1552|   
# 1553|->         nir_variable *vars[num_entries];
# 1554|   
# 1555|           unsigned i = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3828]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.c: scope_hint: In function ‘qir_inst’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.c:592:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3829]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.c:745:25: warning[unix.Malloc]: Use of memory after it is freed
#  743|                                   list_first_entry(&block->instructions,
#  744|                                                    struct qinst, link);
#  745|->                         qir_remove_instruction(c, qinst);
#  746|                   }
#  747|           }

Error: CLANG_WARNING: [#def3830]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.c:812:23: warning[core.NullDereference]: Access to field 'sf' results in a dereference of a null pointer (loaded from variable 'last_inst')
#  810|                   last_inst = qir_MOV_dest(c, qir_reg(QFILE_NULL, 0), src);
#  811|           }
#  812|->         last_inst->sf = true;
#  813|   }
#  814|   

Error: CLANG_WARNING: [#def3831]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:169:35: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  167|                        struct qinst *inst, uint64_t *unpack)
#  168|   {
#  169|->         uint32_t mux0 = src0->mux == QPU_MUX_SMALL_IMM ? QPU_MUX_B : src0->mux;
#  170|           uint32_t mux1 = src1->mux == QPU_MUX_SMALL_IMM ? QPU_MUX_B : src1->mux;
#  171|   

Error: CLANG_WARNING: [#def3832]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:230:21: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
#  228|                       struct qpu_reg dst)
#  229|   {
#  230|->         if (dst.mux != QPU_MUX_R4) {
#  231|                   queue(block, qpu_a_MOV(dst, qpu_r4()));
#  232|                   set_last_cond_add(block, qinst->cond);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3833]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3834]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3835]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3836]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3837]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3838]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3839]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3840]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3841]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3842]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3843]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:550:37: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  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;
#  552|                           }

Error: CLANG_WARNING: [#def3844]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:550:37: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value
#  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;
#  552|                           }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3845]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:843:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3846]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c: scope_hint: In function ‘process_waddr_deps’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:229:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:428:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3847]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c: scope_hint: In function ‘calculate_deps’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:325:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qpu_schedule.c:428:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3848]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_register_allocate.c: scope_hint: In function ‘vc4_register_allocate’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3849]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_reorder_uniforms.c: scope_hint: In function ‘qir_reorder_uniforms’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:71:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform_index’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:830:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_qir.h:852:9: note: in expansion of macro ‘qir_for_each_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:46:9: note: in expansion of macro ‘qir_for_each_inst_inorder’
mesa-24.1.2-build/mesa-24.1.2/src/util/ralloc.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_reorder_uniforms.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367: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): [#def3850]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_create_with_modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:553:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:478:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3851]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:565:17: warning[deadcode.DeadStores]: Value stored to 'linear_ok' is never read
#  563|           /* No user-specified modifier; determine our own. */
#  564|           if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
#  565|->                 linear_ok = true;
#  566|                   rsc->tiled = should_tile;
#  567|           } else if (should_tile &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3852]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:566:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:478:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3853]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:649:24: warning[-Wanalyzer-malloc-leak]: leak of ‘vc4_resource_setup(pscreen,  tmpl)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3854]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c: scope_hint: In function ‘vc4_create_surface’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:776:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3855]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:785:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:760:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_defines.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_resource.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3856]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_state.c: scope_hint: In function ‘vc4_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_state.c:573:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3857]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3858]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_state.c:633:16: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_state.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/vc4/vc4_state.c:551:39: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3859]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:1138:11: warning[-Wanalyzer-malloc-leak]: leak of ‘grview’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:1123:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:1123:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:61:11: note: in expansion of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_create_sampler_view’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3860]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c: scope_hint: In function ‘virgl_context_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_context.c:1695:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vctx’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3861]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_encode.c: scope_hint: In function ‘virgl_encode_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_encode.c:747:7: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_encode.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_encode.c:741:16: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3862]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_encode.h:63:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stride’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3863]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_create_front’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c:649:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3864]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c: scope_hint: In function ‘virgl_resource_from_handle’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c:725:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_resource.c:723:33: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3865]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_streamout.c: scope_hint: In function ‘virgl_set_so_targets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_streamout.c:86:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘**targets.buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3866]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_video.c: scope_hint: In function ‘virgl_video_destroy_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/virgl/virgl_video.c:1277:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3867]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:1797:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1795|      case nir_op_mov:
# 1796|         assert(nir_op_infos[alu->op].num_inputs == 1);
# 1797|->       result = src[0];
# 1798|         break;
# 1799|   

Error: CLANG_WARNING: [#def3868]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:2044:22: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 2042|      case nir_op_fneu:
# 2043|         assert(nir_op_infos[alu->op].num_inputs == 2);
# 2044|->       if (raw_src[0] == raw_src[1])
# 2045|            result =  emit_unop(ctx, SpvOpIsNan, dest_type, src[0]);
# 2046|         else

Error: CLANG_WARNING: [#def3869]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:2052:22: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 2050|      case nir_op_feq:
# 2051|         assert(nir_op_infos[alu->op].num_inputs == 2);
# 2052|->       if (raw_src[0] == raw_src[1])
# 2053|            result =  emit_unop(ctx, SpvOpLogicalNot, dest_type,
# 2054|                                emit_unop(ctx, SpvOpIsNan, dest_type, src[0]));

Error: CLANG_WARNING: [#def3870]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:2367:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2365|         result = spirv_builder_emit_composite_construct(&ctx->builder, dest_type, constituents, num_components);
# 2366|      else
# 2367|->       result = constituents[0];
# 2368|      store_def(ctx, intr->def.index, result, nir_type_uint);
# 2369|   }

Error: CLANG_WARNING: [#def3871]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:2429:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2427|         result = spirv_builder_emit_composite_construct(&ctx->builder, dest_type, constituents, num_components);
# 2428|      else
# 2429|->       result = constituents[0];
# 2430|      store_def(ctx, intr->def.index, result, nir_type_uint);
# 2431|   }

Error: CLANG_WARNING: [#def3872]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:2515:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2513|                                                         num_components);
# 2514|      } else
# 2515|->       result = constituents[0];
# 2516|   
# 2517|      store_def(ctx, intr->def.index, result, nir_type_uint);

Error: CLANG_WARNING: [#def3873]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:3582:38: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3580|                                                                       num_components);
# 3581|               } else
# 3582|->                tex_src->const_offset = components[0];
# 3583|            } else
# 3584|               tex_src->offset = get_src_int(ctx, &tex->src[i].src);

Error: CLANG_WARNING: [#def3874]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4012:10: warning[deadcode.DeadStores]: Value stored to 'base' during its initialization is never read
# 4010|      nir_alu_type atype = nir_type_uint;
# 4011|   
# 4012|->    SpvId base = get_src(ctx, &deref->parent, &atype);
# 4013|   
# 4014|      switch (var->data.mode) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3875]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c: scope_hint: In function ‘nir_to_spirv’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4838:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4563:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4563:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4566:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4566:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:922:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4566:4: note: in expansion of macro ‘nir_foreach_shader_in_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4570:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4570:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:928:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4570:4: note: in expansion of macro ‘nir_foreach_shader_out_variable’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4583:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4585:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4589:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4589:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4591:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4594:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4594:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4596:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4618:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4618:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4618:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4803:8: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:66:61: note: in expansion of macro ‘BITSET_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:67:30: note: in expansion of macro ‘BITSET_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:212:31: note: in expansion of macro ‘BITSET_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4803:8: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
# 4836|      nir_metadata_require(entry, nir_metadata_block_index);
# 4837|   
# 4838|->    ctx.defs = rzalloc_array_size(ctx.mem_ctx,
# 4839|                                    sizeof(SpvId), entry->ssa_alloc);
# 4840|      ctx.def_types = ralloc_array_size(ctx.mem_ctx,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3876]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c: scope_hint: In function ‘get_type_def’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3877]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c:1281:4: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 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-401): [#def3878]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_batch.c:997:7: warning[-Wanalyzer-malloc-leak]: leak of ‘**batch.state.swapchain_obj.data’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_cache.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_batch.c:996:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_batch.c:996:7: note: in expansion of macro ‘util_dynarray_append’
#  995|         }
#  996|         util_dynarray_append(&bs->swapchain_obj, struct zink_resource_object*, res->obj);
#  997|->       simple_mtx_unlock(&batch->ref_lock);
#  998|         return false;
#  999|      }

Error: CLANG_WARNING: [#def3879]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_bo.c:493:34: warning[unix.Malloc]: Use of memory allocated with size zero
#  491|         memmove(&backing->chunks[low + 1], &backing->chunks[low],
#  492|                 sizeof(*backing->chunks) * (backing->num_chunks - low));
#  493|->       backing->chunks[low].begin = start_page;
#  494|         backing->chunks[low].end = end_page;
#  495|         backing->num_chunks++;

Error: CLANG_WARNING: [#def3880]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_bo.c:838:16: warning[deadcode.DeadStores]: Value stored to 'ok' is never read
#  836|                                              (uint64_t)backing_size * ZINK_SPARSE_BUFFER_PAGE_SIZE, true, cur_sem);
#  837|               if (!cur_sem) {
#  838|->                ok = sparse_backing_free(screen, bo, backing, backing_start, backing_size);
#  839|                  assert(ok && "sufficient memory should already be allocated");
#  840|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3881]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c:260:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pcolor’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.h:87:22: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.h:81:11: note: in expansion of macro ‘util_dynarray_element’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.h:87:22: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c: scope_hint: In function ‘zink_clear’
#  258|               clear->conditional = ctx->render_condition_active;
#  259|               clear->has_scissor = needs_rp;
#  260|->             memcpy(&clear->color, pcolor, sizeof(union pipe_color_union));
#  261|               zink_convert_color(screen, psurf->format, &clear->color, pcolor);
#  262|               if (scissor_state && needs_rp)

Error: CLANG_WARNING: [#def3882]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c:260:13: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  258|               clear->conditional = ctx->render_condition_active;
#  259|               clear->has_scissor = needs_rp;
#  260|->             memcpy(&clear->color, pcolor, sizeof(union pipe_color_union));
#  261|               zink_convert_color(screen, psurf->format, &clear->color, pcolor);
#  262|               if (scissor_state && needs_rp)

Error: CLANG_WARNING: [#def3883]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_clear.c:422:44: warning[core.NullDereference]: Access to field 'width' results in a dereference of a null pointer (loaded from variable 'zsurf')
#  420|   {
#  421|      struct pipe_framebuffer_state fb_state = {0};
#  422|->    fb_state.width = psurf ? psurf->width : zsurf->width;
#  423|      fb_state.height = psurf ? psurf->height : zsurf->height;
#  424|      fb_state.nr_cbufs = !!psurf;

Error: COMPILER_WARNING (CWE-563): [#def3884]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_compiler.c: scope_hint: In function ‘loop_io_var_mask’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_compiler.c:5503:9: warning[-Wunused-variable]: unused variable ‘is_vertex_input’
# 5503 |    bool is_vertex_input = nir->info.stage == MESA_SHADER_VERTEX && mode == nir_var_shader_in;
#      |         ^~~~~~~~~~~~~~~
# 5501|   loop_io_var_mask(nir_shader *nir, nir_variable_mode mode, bool indirect, bool patch, uint64_t mask)
# 5502|   {
# 5503|->    bool is_vertex_input = nir->info.stage == MESA_SHADER_VERTEX && mode == nir_var_shader_in;
# 5504|      u_foreach_bit64(slot, mask) {
# 5505|         if (patch)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3885]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘create_push_pool’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:967:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pool’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:957:40: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:829:4: note: in expansion of macro ‘VRAM_ALLOC_LOOP’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.h:127:7: note: in definition of macro ‘VRAM_ALLOC_LOOP’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:832:10: note: in expansion of macro ‘mesa_loge’
#  965|         sizes[1].descriptorCount = MAX_LAZY_DESCRIPTORS;
#  966|      }
#  967|->    pool->pool = create_pool(screen, !is_compute && has_fbfetch ? 2 : 1, sizes, 0);
#  968|      return pool;
#  969|   }

Error: CLANG_WARNING: [#def3886]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_kopper.c:1149:25: warning[deadcode.DeadStores]: Value stored to 'ctx' during its initialization is never read
# 1147|   zink_kopper_query_buffer_age(struct pipe_context *pctx, struct pipe_resource *pres)
# 1148|   {
# 1149|->    struct zink_context *ctx = zink_context(pctx);
# 1150|      struct zink_resource *res = zink_resource(pres);
# 1151|      assert(res->obj->dt);

Error: CLANG_WARNING: [#def3887]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_lower_cubemap_to_array.c:409:57: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'sampler')
#  407|      }
#  408|      assert(sampler);
#  409|->    sampler->type = make_2darray_from_cubemap_with_array(sampler->type);
#  410|   }
#  411|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3888]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_pipeline.c: scope_hint: In function ‘zink_create_gfx_pipeline_input’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_pipeline.c:662:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binding_map’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_pipeline.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_pipeline.c:927:41: note: in expansion of macro ‘rzalloc’
#  660|         if (!state->uses_dynamic_stride) {
#  661|            for (int i = 0; i < state->element_state->num_bindings; ++i) {
#  662|->             const unsigned buffer_id = binding_map[i];
#  663|               VkVertexInputBindingDescription *binding = &state->element_state->b.bindings[i];
#  664|               binding->stride = state->vertex_strides[buffer_id];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3889]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘generate_gfx_program_modules’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:428:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’
#  426|      bool default_variants = true;
#  427|      for (unsigned i = 0; i < MESA_SHADER_COMPUTE; i++) {
#  428|->       if (!(prog->stages_present & BITFIELD_BIT(i)))
#  429|            continue;
#  430|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3890]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘generate_gfx_program_modules_optimal’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:462:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’
#  460|      assert(!prog->objs[MESA_SHADER_VERTEX].mod);
#  461|      for (unsigned i = 0; i < MESA_SHADER_COMPUTE; i++) {
#  462|->       if (!(prog->stages_present & BITFIELD_BIT(i)))
#  463|            continue;
#  464|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3891]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3892]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘create_lib_cache’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:1035:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘libs’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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-476): [#def3893]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘precompile_compute_job’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:1368:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:1366:32: note: in expansion of macro ‘CALLOC_STRUCT’
# 1366|      comp->curr = comp->module = CALLOC_STRUCT(zink_shader_module);
# 1367|      assert(comp->module);
# 1368|->    comp->module->shobj = false;
# 1369|      comp->module->obj = zink_shader_compile(screen, false, comp->shader, comp->nir, NULL, NULL, &comp->base);
# 1370|      /* comp->nir will be freed by zink_shader_compile */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3894]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘zink_create_pipeline_lib’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:2014:4: warning[-Wanalyzer-malloc-leak]: leak of ‘gkey’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_program.c:2003:40: note: in expansion of macro ‘CALLOC_STRUCT’
# 2012|         gkey->modules[i] = prog->objs[i].mod;
# 2013|      gkey->pipeline = zink_create_gfx_pipeline_library(screen, prog);
# 2014|->    _mesa_set_add(&prog->libs->libs, gkey);
# 2015|      return gkey;
# 2016|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3895]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_render_pass.c: scope_hint: In function ‘get_render_pass’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3896]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_render_pass.c:701:10: warning[deadcode.DeadStores]: Value stored to 'clear_validate' is never read
#  699|            clears[fb_state->nr_cbufs].depthStencil.stencil = clear->zs.stencil;
#  700|            rpbi.clearValueCount = fb_state->nr_cbufs + 1;
#  701|->          clear_validate |= clear->zs.bits;
#  702|            assert(ctx->framebuffer->rp->state.clears);
#  703|         }

Error: CLANG_WARNING: [#def3897]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_resource.c:148:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  146|      }
#  147|   
#  148|->    qsort(dyn.data,
#  149|            util_dynarray_num_elements(&dyn, struct zink_debug_mem_entry *),
#  150|            sizeof(struct zink_debug_mem_entryos_entry *), debug_bos_count_compare);

Error: CLANG_WARNING: [#def3898]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_resource.c:531:23: warning[core.NullDereference]: Access to field 'pNext' results in a dereference of a null pointer (loaded from variable 'fmt_list')
#  529|         if (suboptimal_check_ici(screen, ici, mod))
#  530|            return true;
#  531|->       fmt_list->pNext = (void*)ici->pNext;
#  532|         ici->pNext = fmt_list;
#  533|         ici->flags |= VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT;

Error: CLANG_WARNING: [#def3899]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_resource.c:1380:72: warning[core.NullDereference]: Access to field 'plane' results in a dereference of a null pointer (loaded from field 'whandle')
# 1378|      if (obj->is_aux) {
# 1379|         obj->modifier = mod;
# 1380|->       obj->modifier_aspect = VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT << alloc_info->whandle->plane;
# 1381|         obj->plane_offsets[alloc_info->whandle->plane] = alloc_info->whandle->offset;
# 1382|         obj->plane_strides[alloc_info->whandle->plane] = alloc_info->whandle->stride;

Error: CLANG_WARNING: [#def3900]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_resource.c:2696:48: warning[core.NullDereference]: Access to field 'screen' results in a dereference of a null pointer (loaded from variable 'pctx')
# 2694|   
# 2695|      if (trans->base.b.usage & PIPE_MAP_WRITE) {
# 2696|->       struct zink_screen *screen = zink_screen(pctx->screen);
# 2697|         struct zink_resource *m = trans->staging_res ? zink_resource(trans->staging_res) :
# 2698|                                                        res;

Error: CLANG_WARNING: [#def3901]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_resource.c:3014:24: warning[deadcode.DeadStores]: Value stored to 'screen' during its initialization is never read
# 3012|   zink_image_unmap(struct pipe_context *pctx, struct pipe_transfer *ptrans)
# 3013|   {
# 3014|->    struct zink_screen *screen = zink_screen(pctx->screen);
# 3015|      struct zink_transfer *trans = (struct zink_transfer *)ptrans;
# 3016|      if (sizeof(void*) == 4)

Error: CLANG_WARNING: [#def3902]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.c:1716:7: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 1714|            return;
# 1715|         }
# 1716|->       result = VKSCR(EnumeratePhysicalDevices)(screen->instance, &pdev_count, pdevs);
# 1717|         assert(result == VK_SUCCESS);
# 1718|         assert(pdev_count > 0);

Error: CLANG_WARNING: [#def3903]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.c:1826:25: warning[deadcode.DeadStores]: Value stored to 'ctx' during its initialization is never read
# 1824|      struct zink_screen *screen = zink_screen(pscreen);
# 1825|      struct zink_resource *res = zink_resource(pres);
# 1826|->    struct zink_context *ctx = zink_context(pctx);
# 1827|   
# 1828|      /* if the surface is no longer a swapchain, this is a no-op */

Error: GCC_ANALYZER_WARNING: [#def3904]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.c: scope_hint: In function ‘zink_internal_create_screen’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.c:3389:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:51: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_screen.c:3268:33: note: in expansion of macro ‘rzalloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3905]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.c: scope_hint: In function ‘zink_create_vertex_elements_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.c:160:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strides[j]’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:108:29: note: in definition of macro ‘u_foreach_bit’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3906]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.c: scope_hint: In function ‘zink_create_vertex_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_state.c:810:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘zink_create_vertex_elements_state(&ctx.base,  num_elements,  elements)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/vulkan/util/vk_struct_type_cast.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:58: included_from: Included from here.
#  808|      ctx.base.screen = pscreen;
#  809|      struct zink_vertex_elements_state *elems = zink_create_vertex_elements_state(&ctx.base, num_elements, elements);
#  810|->    zstate->velems = *elems;
#  811|      zink_delete_vertex_elements_state(&ctx.base, elems);
#  812|   

Error: CLANG_WARNING: [#def3907]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_surface.c:474:4: warning[deadcode.DeadStores]: Value stored to 'entry' is never read
#  472|      surface->hash = hash;
#  473|      surface->ivci = ivci;
#  474|->    entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, surface->hash, &surface->ivci, surface);
#  475|      assert(entry);
#  476|      simple_mtx_lock(&res->obj->view_lock);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3908]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘zink_descriptor_util_init_fbfetch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_types.h:99:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:1720:7: note: in expansion of macro ‘VKSCR’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c: scope_hint: In function ‘zink_descriptor_util_init_fbfetch’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:1720:7: note: in expansion of macro ‘VKSCR’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/zink/zink_descriptors.c:1720:7: note: in expansion of macro ‘VKSCR’
#   97|   /* convenience macros for accessing dispatch table functions */
#   98|   #define VKCTX(fn) zink_screen(ctx->base.screen)->vk.fn
#   99|-> #define VKSCR(fn) screen->vk.fn
#  100|   
#  101|   #ifdef __cplusplus

Error: CLANG_WARNING: [#def3909]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/clover/api/program.cpp:453:4: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  451|      }
#  452|   
#  453|->    return r_prog;
#  454|   
#  455|   } catch (invalid_build_options_error &) {

Error: COMPILER_WARNING (CWE-563): [#def3910]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3911]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/clover/llvm/codegen/common.cpp:159:11: warning[deadcode.DeadStores]: Value stored to 'len' during its initialization is never read
#  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): [#def3912]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_helpers.c: scope_hint: In function ‘dri2_create_fence_fd’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_helpers.c:137:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_helpers.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3913]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_screen.c: scope_hint: In function ‘driConcatConfigs.part.0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3914]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3915]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3916]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_util.c:140:23: warning[core.NullDereference]: Access to field 'initScreen' results in a dereference of a null pointer (loaded from variable 'mesa')
#  138|                           "dri2", NULL, NULL, NULL, 0, NULL, 0);
#  139|   
#  140|->     *driver_configs = mesa->initScreen(screen, implicit);
#  141|       if (*driver_configs == NULL) {
#  142|           dri_destroy_screen(screen);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3917]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri_util.c: scope_hint: In function ‘driCreateNewScreen3’
mesa-24.1.2-build/mesa-24.1.2/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, implicit);
#  141|       if (*driver_configs == NULL) {
#  142|           dri_destroy_screen(screen);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3918]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c: scope_hint: In function ‘lvp_CmdPushDescriptorSet2KHR’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:269:16: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:73: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:266:77: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:266:77: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c: scope_hint: In function ‘lvp_CmdPushDescriptorSet2KHR’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:268:62: note: in expansion of macro ‘rzalloc’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  267|                  assert(uniform_data);
#  268|                  VkWriteDescriptorSetInlineUniformBlock *dst = rzalloc(ctx, VkWriteDescriptorSetInlineUniformBlock);
#  269|->                memcpy((void*)dst, uniform_data, sizeof(*uniform_data));
#  270|                  dst->pData = ralloc_size(ctx, uniform_data->dataSize);
#  271|                  memcpy((void*)dst->pData, uniform_data->pData, uniform_data->dataSize);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3919]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:312:96: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:310:19: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c:310:19: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_cmd_buffer.c: scope_hint: In function ‘lvp_CmdPushDescriptorSet2KHR’
#  310|                     vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR);
#  311|   
#  312|->                uint32_t accel_structs_size = sizeof(VkAccelerationStructureKHR) * accel_structs->accelerationStructureCount;
#  313|                  VkWriteDescriptorSetAccelerationStructureKHR *write_accel_structs =
#  314|                     rzalloc_size(ctx, sizeof(VkWriteDescriptorSetAccelerationStructureKHR) + accel_structs_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3920]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:455:132: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:73: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:453:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:453:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
#  453|               vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK);
#  454|            assert(uniform_data);
#  455|->          memcpy((uint8_t *)set->map + bind_layout->uniform_block_offset + write->dstArrayElement, uniform_data->pData, uniform_data->dataSize);
#  456|            continue;
#  457|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3921]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:64: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:625:82: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:624:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c:624:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_descriptor_set.c: scope_hint: In function ‘lvp_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  623|               const VkWriteDescriptorSetAccelerationStructureKHR *accel_structs =
#  624|                  vk_find_struct_const(write->pNext, WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR);
#  625|->             VK_FROM_HANDLE(vk_acceleration_structure, accel_struct, accel_structs->pAccelerationStructures[j]);
#  626|   
#  627|               desc[j].accel_struct = accel_struct ? vk_acceleration_structure_get_va(accel_struct) : 0;

Error: CLANG_WARNING: [#def3922]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:1768:11: warning[deadcode.DeadStores]: Although the value stored to 'priority' is used in the enclosing expression, the value is never actually read from 'priority'
# 1766|      if (priority < 0.6)
# 1767|         return 0;
# 1768|->    return priority = 1;
# 1769|   }
# 1770|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3923]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:2217:73: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:2186:7: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:2186:7: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:2216:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c:2216:16: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_device.c: scope_hint: In function ‘lvp_BindImageMemory2’
# 2215|               const VkBindImagePlaneMemoryInfo *plane_info =
# 2216|                  vk_find_struct_const(pBindInfos[i].pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 2217|->             uint8_t plane = lvp_image_aspects_to_plane(image, plane_info->planeAspect);
# 2218|               result = lvp_image_plane_bind(device, &image->planes[plane],
# 2219|                                             mem, bind_info->memoryOffset, &offset_B);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3924]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘update_inline_shader_state’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:307:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
#  305|         base_nir = shader->tess_ccw->nir;
#  306|      nir_function_impl *impl = nir_shader_get_entrypoint(base_nir);
#  307|->    unsigned ssa_alloc = impl->ssa_alloc;
#  308|      unsigned count = shader->inlines.count[0];
#  309|      if (count && pcbuf_dirty) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3925]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:331:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
#  329|         lvp_shader_optimize(nir);
#  330|         impl = nir_shader_get_entrypoint(nir);
#  331|->       if (ssa_alloc - impl->ssa_alloc < ssa_alloc / 2 &&
#  332|            !shader->inlines.must_inline) {
#  333|            /* not enough change; don't inline further */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3926]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:342:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(&v, 528)’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  340|            shader_state = lvp_shader_compile(state->device, shader, nir, true);
#  341|            struct lvp_inline_variant *variant = mem_dup(&v, sizeof(v));
#  342|->          variant->cso = shader_state;
#  343|            entry->key = variant;
#  344|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3927]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_vertex_buffers2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:1163:122: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810: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.1.2-build/mesa-24.1.2/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:60: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
# 1161|               state->pctx->buffer_unmap(state->pctx, xfer);
# 1162|               state->vb[idx].buffer.resource = get_buffer_resource(state->pctx, mem);
# 1163|->             state->vb[idx].buffer.resource->width0 = MIN2(vcb->offsets[i] + vcb->sizes[i], state->vb[idx].buffer.resource->width0);
# 1164|               state->vb_sizes[idx] = vcb->sizes[i];
# 1165|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3928]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_multi’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:2005:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
# 2003|   
# 2004|      for (unsigned i = 0; i < cmd->u.draw_multi_ext.draw_count; i++) {
# 2005|->       draws[i].start = cmd->u.draw_multi_ext.vertex_info[i].firstVertex;
# 2006|         draws[i].count = cmd->u.draw_multi_ext.vertex_info[i].vertexCount;
# 2007|         draws[i].index_bias = 0;

Error: CLANG_WARNING: [#def3929]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:2577:13: warning[deadcode.DeadStores]: Value stored to 'size' during its initialization is never read
# 2575|   {
# 2576|      struct vk_cmd_fill_buffer *fillcmd = &cmd->u.fill_buffer;
# 2577|->    uint32_t size = fillcmd->size;
# 2578|      struct lvp_buffer *dst = lvp_buffer_from_handle(fillcmd->dst_buffer);
# 2579|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3930]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_multi_indexed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:2658:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘draws’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/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
# 2656|   
# 2657|      unsigned size = cmd->u.draw_multi_indexed_ext.draw_count * sizeof(struct pipe_draw_start_count_bias);
# 2658|->    memcpy(draws, cmd->u.draw_multi_indexed_ext.index_info, size);
# 2659|      if (state->index_buffer_size != UINT32_MAX) {
# 2660|         for (unsigned i = 0; i < cmd->u.draw_multi_indexed_ext.draw_count; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3931]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c: scope_hint: In function ‘handle_draw_indirect’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:2699:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:4810:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:146:9: note: in definition of macro ‘lvp_forall_gfx_stage’
# 2697|            state->pctx->buffer_unmap(state->pctx, xfer);
# 2698|            index = get_buffer_resource(state->pctx, mem + state->index_offset);
# 2699|->          index->width0 = MIN2(state->index_buffer->width0 - state->index_offset, state->index_buffer_size);
# 2700|            state->info.index.resource = index;
# 2701|         }

Error: CLANG_WARNING: [#def3932]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_execute.c:3467:50: warning[core.NullDereference]: Access to field 'stride' results in a dereference of a null pointer (loaded from variable 'binding')
# 3465|         state->vertex_buffer_index[location] = attrs[i].binding;
# 3466|         state->velem.velems[location].src_format = lvp_vk_format_to_pipe_format(attrs[i].format);
# 3467|->       state->velem.velems[location].src_stride = binding->stride;
# 3468|         uint32_t d = binding->divisor;
# 3469|         switch (binding->inputRate) {

Error: CLANG_WARNING: [#def3933]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_formats.c:501:48: warning[core.NullDereference]: Access to field 'externalMemoryProperties' results in a dereference of a null pointer (loaded from variable 'external_props')
#  499|            break;
#  500|         }
#  501|->       external_props->externalMemoryProperties = (VkExternalMemoryProperties) {
#  502|            .externalMemoryFeatures = flags,
#  503|            .exportFromImportedHandleTypes = export_flags,

Error: COMPILER_WARNING (CWE-563): [#def3934]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_image.c: scope_hint: In function ‘lvp_image_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3935]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_image.c:45:21: warning[deadcode.DeadStores]: Value stored to 'pipe_format' during its initialization is never read
#   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: CLANG_WARNING: [#def3936]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_image.c:144:27: warning[core.NullDereference]: Dereference of null pointer
#  142|            whandle.plane = p;
#  143|            whandle.handle = 0;
#  144|->          whandle.stride = layouts[p].rowPitch;
#  145|            whandle.array_stride = layouts[p].arrayPitch;
#  146|            whandle.image_stride = layouts[p].depthPitch;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3937]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:57:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:85:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:86:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:86:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c: scope_hint: In function ‘try_lower_input_load’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_input_attachments.c:87:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3938]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c:95:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘vulkan_resource_from_deref’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3939]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_pipeline.c: scope_hint: In function ‘lvp_shader_init’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_pipeline.c:529:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_private.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/lavapipe/lvp_pipeline.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
#  527|   {
#  528|      nir_function_impl *impl = nir_shader_get_entrypoint(nir);
#  529|->    if (impl->ssa_alloc > 100) //skip for small shaders
#  530|         shader->inlines.must_inline = lvp_find_inlinable_uniforms(shader, nir);
#  531|      shader->pipeline_nir = lvp_create_pipeline_nir(nir);

Error: CLANG_WARNING: [#def3940]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/basetexture9.c:384:33: warning[core.NullDereference]: Access to field 'texture' results in a dereference of a null pointer
#  382|           NineBaseTexture9_UpdateSamplerView(This, 0);
#  383|   
#  384|->     last_layer = util_max_layer(This->view[0]->texture, base_level);
#  385|   
#  386|       nine_context_gen_mipmap(This->base.base.device, (struct NineUnknown *)This,

Error: CLANG_WARNING: [#def3941]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/basetexture9.c:496:36: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'resource')
#  494|       swizzle[2] = PIPE_SWIZZLE_Z;
#  495|       swizzle[3] = PIPE_SWIZZLE_W;
#  496|->     desc = util_format_description(resource->format);
#  497|       if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
#  498|           /* msdn doc is incomplete here and wrong.

Error: CLANG_WARNING: [#def3942]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/cubetexture9.c:135:91: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
#  133|               sfdesc.Width = sfdesc.Height = u_minify(EdgeLength, l);
#  134|               p = This->managed_buffer ?
#  135|->                 nine_suballocate(pParams->device->allocator, This->managed_buffer, offset + level_offsets[l]) : NULL;
#  136|   
#  137|               hr = NineSurface9_new(This->base.base.base.device, NineUnknown(This),

Error: CLANG_WARNING: [#def3943]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/cubetexture9.c:135:93: warning[core.NullDereference]: Array access (from variable 'level_offsets') results in a null pointer dereference
#  133|               sfdesc.Width = sfdesc.Height = u_minify(EdgeLength, l);
#  134|               p = This->managed_buffer ?
#  135|->                 nine_suballocate(pParams->device->allocator, This->managed_buffer, offset + level_offsets[l]) : NULL;
#  136|   
#  137|               hr = NineSurface9_new(This->base.base.base.device, NineUnknown(This),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3944]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_buffer_upload.c: scope_hint: In function ‘nine_upload_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3945]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_helpers.c: scope_hint: In function ‘nine_range_pool_more’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_helpers.c:28:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/iunknown.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_helpers.h:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_helpers.c:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_helpers.c:11:28: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3946]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_memory_helper.c: scope_hint: In function ‘nine_allocate’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_memory_helper.c:1063:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_memory_helper.c:80: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:68:16: note: in expansion of macro ‘align_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:58: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3947]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/vertexshader9.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.c:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_shader.h: scope_hint: In function ‘nine_shader_constant_combination_key’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_shader.h:277:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(328)’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.c:18: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/iunknown.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/device9.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_shader.h:274:26: note: in expansion of macro ‘MALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:54:41: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3948]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/u_math.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/box.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/device9.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def3949]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements_sw’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3950]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3951]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c: scope_hint: In function ‘NineQuery9_GetData’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:269:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&nresult’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/iunknown.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/device9.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:202:5: note: in expansion of macro ‘user_assert’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/nine_debug.h:96:26: note: in definition of macro ‘user_error’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:203:5: note: in expansion of macro ‘user_assert’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:203:5: note: in expansion of macro ‘user_assert’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/query9.c:204:5: note: in expansion of macro ‘user_assert’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3952]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/surface9.c: scope_hint: In function ‘NineSurface9_SetResourceResize’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/surface9.c:836:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/surface9.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3953]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/swapchain9.c:799:21: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  797|           if (failure) {
#  798|               for (i = 0; i < This->num_back_buffers; i++) {
#  799|->                 if (new_resource[i])
#  800|                       pipe_resource_reference(&new_resource[i], NULL);
#  801|                   if (new_handles[i])

Error: CLANG_WARNING: [#def3954]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/nine/swapchain9.c:807:42: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  805|               for (i = 0; i < This->num_back_buffers; i++) {
#  806|                   D3DWindowBuffer_release(This, This->present_handles[i]);
#  807|->                 This->present_handles[i] = new_handles[i];
#  808|                   pipe_resource_reference(&This->present_buffers[i], new_resource[i]);
#  809|                   pipe_resource_reference(&new_resource[i], NULL);

Error: CLANG_WARNING: [#def3955]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c:225:24: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'omx_base_PortType', which is incompatible with sizeof operand type 'omx_base_video_PortType'
#  223|   
#  224|      for (i = 0; i < 2; ++i) {
#  225|->       priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
#  226|         if (!priv->ports[i])
#  227|            return OMX_ErrorInsufficientResources;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3956]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c: scope_hint: In function ‘vid_dec_Constructor’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c:226:10: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 512)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_state.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_codec.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c:225:24: note: in expansion of macro ‘CALLOC’
#  224|      for (i = 0; i < 2; ++i) {
#  225|         priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
#  226|->       if (!priv->ports[i])
#  227|            return OMX_ErrorInsufficientResources;
#  228|   

Error: COMPILER_WARNING (CWE-563): [#def3957]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec_av1.c: scope_hint: In function ‘dec_av1_BeginFrame’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec_av1.c:2131:12: warning[-Wunused-but-set-variable]: variable ‘supported’ set but not used
# 2131 |       bool supported;
#      |            ^~~~~~~~~
# 2129|         struct pipe_screen *pscreen;
# 2130|         struct pipe_video_codec templat = {};
# 2131|->       bool supported;
# 2132|   
# 2133|         omx_screen = priv->screen;

Error: CLANG_WARNING: [#def3958]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c:184:24: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'omx_base_PortType', which is incompatible with sizeof operand type 'omx_base_video_PortType'
#  182|   
#  183|      for (i = 0; i < 2; ++i) {
#  184|->       priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
#  185|         if (!priv->ports[i])
#  186|            return OMX_ErrorInsufficientResources;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3959]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c: scope_hint: In function ‘vid_enc_Constructor’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c:185:10: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 512)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_state.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_video_codec.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c:184:24: note: in expansion of macro ‘CALLOC’
#  183|      for (i = 0; i < 2; ++i) {
#  184|         priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
#  185|->       if (!priv->ports[i])
#  186|            return OMX_ErrorInsufficientResources;
#  187|   

Error: CLANG_WARNING: [#def3960]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_enc.c:341:50: warning[core.NullDereference]: Access to field 'stride' results in a dereference of an undefined pointer value (loaded from variable 'transfer')
#  339|            enc_AllocateBackTexture(priv->ports[OMX_BASE_FILTER_INPUTPORT_INDEX],
#  340|                                    &resource, &transfer, NULL);
#  341|->          port->sPortParam.format.video.nStride = transfer->stride;
#  342|            pipe_texture_unmap(priv->s_pipe, transfer);
#  343|            pipe_resource_reference(&resource, NULL);

Error: CLANG_WARNING: [#def3961]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/vid_enc_common.c:49:4: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'to')
#   47|   void enc_MoveTasks(struct list_head *from, struct list_head *to)
#   48|   {
#   49|->    to->prev->next = from->next;
#   50|      from->next->prev = to->prev;
#   51|      from->prev->next = to;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3962]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘osmesa_st_framebuffer_flush_front’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3963]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaMakeCurrent’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:777:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘osbuffer’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_context.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:64: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3964]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaPixelStore’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3965]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3966]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:862:16: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'osmesa')
#  860|         return;
#  861|      case OSMESA_FORMAT:
#  862|->       *value = osmesa->format;
#  863|         return;
#  864|      case OSMESA_TYPE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3967]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c: scope_hint: In function ‘OSMesaGetIntegerv’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3968]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3969]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:866:16: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'osmesa')
#  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): [#def3970]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3971]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3972]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:869:16: warning[core.NullDereference]: Access to field 'user_row_length' results in a dereference of a null pointer (loaded from variable 'osmesa')
#  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): [#def3973]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3974]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3975]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/osmesa/osmesa.c:872:16: warning[core.NullDereference]: Access to field 'y_up' results in a dereference of a null pointer (loaded from variable 'osmesa')
#  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): [#def3976]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3977]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3978]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘partition_invoke’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3979]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:360:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘supported_nodes’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3980]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:366:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'supported_nodes'
#  364|         bool supported = false;
#  365|         TfLiteRegistration *registration;
#  366|->       TF_LITE_ENSURE_STATUS(context->GetNodeAndRegistration(
#  367|             context, node_index, &node, &registration));
#  368|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3981]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c: scope_hint: In function ‘tflite_plugin_create_delegate’
mesa-24.1.2-build/mesa-24.1.2/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): [#def3982]
mesa-24.1.2-build/mesa-24.1.2/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): [#def3983]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3984]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/teflon/tfl_device.c:457:7: warning[unix.Malloc]: Potential leak of memory pointed to by '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): [#def3985]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def3986]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/image.c:583:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  581|         void *tmp_d;
#  582|         unsigned tmp_p;
#  583|->       tmp_d  = data[1];
#  584|         data[1] = data[2];
#  585|         data[2] = tmp_d;

Error: CLANG_WARNING: [#def3987]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/image.c:584:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  582|         unsigned tmp_p;
#  583|         tmp_d  = data[1];
#  584|->       data[1] = data[2];
#  585|         data[2] = tmp_d;
#  586|         tmp_p = pitches[1];

Error: CLANG_WARNING: [#def3988]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/image.c:715:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  713|         void *tmp_d;
#  714|         unsigned tmp_p;
#  715|->       tmp_d  = data[1];
#  716|         data[1] = data[2];
#  717|         data[2] = tmp_d;

Error: CLANG_WARNING: [#def3989]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/image.c:716:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  714|         unsigned tmp_p;
#  715|         tmp_d  = data[1];
#  716|->       data[1] = data[2];
#  717|         data[2] = tmp_d;
#  718|         tmp_p = pitches[1];

Error: CLANG_WARNING: [#def3990]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:381:27: warning[deadcode.DeadStores]: Value stored to 'format' during its initialization is never read
#  379|   handleVASliceDataBufferType(vlVaContext *context, vlVaBuffer *buf)
#  380|   {
#  381|->    enum pipe_video_format format = u_reduce_video_profile(context->templat.profile);
#  382|      unsigned num_buffers = 0;
#  383|      void * const *buffers[3];

Error: GCC_ANALYZER_WARNING (CWE-131): [#def3991]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:400:31: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
#  398|               break;
#  399|   
#  400|->          buffers[num_buffers] = (void *const)&start_code_h264;
#  401|            sizes[num_buffers++] = sizeof(start_code_h264);
#  402|            break;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def3992]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:407:31: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
#  405|               break;
#  406|   
#  407|->          buffers[num_buffers] = (void *const)&start_code_h265;
#  408|            sizes[num_buffers++] = sizeof(start_code_h265);
#  409|            break;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def3993]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:417:34: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c: scope_hint: In function ‘handleVASliceDataBufferType’
#  415|   
#  416|            if (context->decoder->profile == PIPE_VIDEO_PROFILE_VC1_ADVANCED) {
#  417|->             buffers[num_buffers] = (void *const)&start_code_vc1;
#  418|               sizes[num_buffers++] = sizeof(start_code_vc1);
#  419|            }

Error: GCC_ANALYZER_WARNING (CWE-131): [#def3994]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:453:28: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  451|   
#  452|      if (format == PIPE_VIDEO_FORMAT_JPEG) {
#  453|->       buffers[num_buffers] = (void *const)&eoi_jpeg;
#  454|         sizes[num_buffers++] = sizeof(eoi_jpeg);
#  455|      }

Error: CLANG_WARNING: [#def3995]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture.c:712:29: warning[core.NullDereference]: Access to field 'mode' results in a dereference of a null pointer (loaded from variable 'p_intra_refresh')
#  710|         }
#  711|      } else {
#  712|->       p_intra_refresh->mode = INTRA_REFRESH_MODE_NONE;
#  713|         p_intra_refresh->region_size = 0;
#  714|         p_intra_refresh->offset = 0;

Error: CLANG_WARNING: [#def3996]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c:400:7: warning[deadcode.DeadStores]: Value stored to 'subsampling_x' is never read
#  398|      if (mono_chrome) {
#  399|         seq->color_config.color_range = av1_f(vlc, 1);
#  400|->       subsampling_x = subsampling_y = 1;
#  401|         seq->color_config.chroma_sample_position = 0;
#  402|         return;

Error: CLANG_WARNING: [#def3997]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c:400:23: warning[deadcode.DeadStores]: Although the value stored to 'subsampling_y' is used in the enclosing expression, the value is never actually read from 'subsampling_y'
#  398|      if (mono_chrome) {
#  399|         seq->color_config.color_range = av1_f(vlc, 1);
#  400|->       subsampling_x = subsampling_y = 1;
#  401|         seq->color_config.chroma_sample_position = 0;
#  402|         return;

Error: CLANG_WARNING: [#def3998]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c:407:7: warning[deadcode.DeadStores]: Value stored to 'subsampling_x' is never read
#  405|                 seq->color_config.matrix_coefficients == 0) { /* MC_IDENTITY */
#  406|         seq->color_config.color_range = 1;
#  407|->       subsampling_x = subsampling_y = 0;
#  408|      } else {
#  409|         seq->color_config.color_range = av1_f(vlc, 1);

Error: CLANG_WARNING: [#def3999]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c:407:23: warning[deadcode.DeadStores]: Although the value stored to 'subsampling_y' is used in the enclosing expression, the value is never actually read from 'subsampling_y'
#  405|                 seq->color_config.matrix_coefficients == 0) { /* MC_IDENTITY */
#  406|         seq->color_config.color_range = 1;
#  407|->       subsampling_x = subsampling_y = 0;
#  408|      } else {
#  409|         seq->color_config.color_range = av1_f(vlc, 1);

Error: COMPILER_WARNING (CWE-563): [#def4000]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c: scope_hint: In function ‘av1_sequence_header’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4001]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/picture_av1_enc.c:439:4: warning[deadcode.DeadStores]: Value stored to 'still_pic' is never read
#  437|   
#  438|      seq->profile = av1_f(vlc, 3);
#  439|->    still_pic = av1_f(vlc, 1);
#  440|      av1_f(vlc, 1);
#  441|      assert(!still_pic);

Error: CLANG_WARNING: [#def4002]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/postproc.c:629:7: warning[deadcode.DeadStores]: Value stored to 'dst' is never read
#  627|            return VA_STATUS_ERROR_ALLOCATION_FAILED;
#  628|   
#  629|->       dst = context->target = surf->buffer;
#  630|      }
#  631|   

Error: CLANG_WARNING: [#def4003]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/va/surface.c:350:13: warning[core.NullDereference]: Array access (via field 'data') results in a null pointer dereference
#  348|         int sw, sh, dw, dh;
#  349|   
#  350|->       sub = ((vlVaSubpicture **)surf->subpics.data)[i];
#  351|         if (!sub)
#  352|            continue;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4004]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/decode.c: scope_hint: In function ‘vlVdpDecoderFixVC1Startcode’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/decode.c:981:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/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): [#def4005]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4006]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/device.c: scope_hint: In function ‘vlVdpDeviceFree’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/device.c:239:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/device.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/device.c:175:10: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/device.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘vlVdpDeviceFree’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/vdpau_private.h: scope_hint: In function ‘vlVdpDeviceFree’
#  237|      vl_compositor_cleanup(&dev->compositor);
#  238|      pipe_sampler_view_reference(&dev->dummy_sv, NULL);
#  239|->    dev->context->destroy(dev->context);
#  240|      dev->vscreen->destroy(dev->vscreen);
#  241|      FREE(dev);

Error: GCC_ANALYZER_WARNING (CWE-787): [#def4007]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/ftab.c: scope_hint: In function ‘vlGetFuncFTAB’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/ftab.c:135:29: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4008]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/mixer.c:411:16: warning[core.NullDereference]: Access to field 'screen' results in a dereference of a null pointer (loaded from variable '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): [#def4009]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/mixer.c: scope_hint: In function ‘vlVdpVideoMixerRender’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4010]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/mixer.c:432:16: warning[core.NullDereference]: Access to field 'screen' results in a dereference of a null pointer (loaded from variable '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): [#def4011]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4012]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/vdpau/mixer.c:471:7: warning[unix.Malloc]: Use of memory after it is freed
#  469|      /* remove existing filter */
#  470|      if (vmixer->deint.filter) {
#  471|->       vl_deint_filter_cleanup(vmixer->deint.filter);
#  472|         FREE(vmixer->deint.filter);
#  473|         vmixer->deint.filter = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4013]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/xa/xa_context.c: scope_hint: In function ‘xa_context_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4014]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/xa/xa_tracker.c:464:19: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value
#  462|   
#  463|       if (width == template->width0 && height == template->height0 &&
#  464|-> 	template->format == fdesc.format &&
#  465|   	xa_flags_compat(srf->flags, new_flags))
#  466|   	return XA_ERR_NONE;

Error: CLANG_WARNING: [#def4015]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/xa/xa_tracker.c:494:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  492|       template->width0 = width;
#  493|       template->height0 = height;
#  494|->     template->format = fdesc.format;
#  495|   
#  496|       texture = xa->screen->resource_create(xa->screen, template);

Error: CLANG_WARNING: [#def4016]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c:495:53: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct amdgpu_bo_real_reusable', which is incompatible with sizeof operand type 'struct amdgpu_bo_real_reusable_slab'
#  493|   
#  494|         if (slab_backing)
#  495|->          new_bo = (struct amdgpu_bo_real_reusable *)CALLOC_STRUCT(amdgpu_bo_real_reusable_slab);
#  496|         else
#  497|            new_bo = CALLOC_STRUCT(amdgpu_bo_real_reusable);

Error: CLANG_WARNING: [#def4017]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c:1013:34: warning[unix.Malloc]: Use of memory allocated with size zero
# 1011|         memmove(&backing->chunks[low + 1], &backing->chunks[low],
# 1012|                 sizeof(*backing->chunks) * (backing->num_chunks - low));
# 1013|->       backing->chunks[low].begin = start_page;
# 1014|         backing->chunks[low].end = end_page;
# 1015|         backing->num_chunks++;

Error: CLANG_WARNING: [#def4018]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c:1039:7: warning[unix.Malloc]: Use of memory after it is freed
# 1037|   
# 1038|      while (!list_is_empty(&bo->backing)) {
# 1039|->       sparse_free_backing_buffer(aws, bo,
# 1040|                                    container_of(bo->backing.next,
# 1041|                                                 struct amdgpu_sparse_backing, list));

Error: CLANG_WARNING: [#def4019]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c:1178:16: warning[deadcode.DeadStores]: Value stored to 'ok' is never read
# 1176|                                       AMDGPU_VA_OP_REPLACE);
# 1177|               if (r) {
# 1178|->                ok = sparse_backing_free(aws, bo, backing, backing_start, backing_size);
# 1179|                  assert(ok && "sufficient memory should already be allocated");
# 1180|   

Error: CLANG_WARNING: [#def4020]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c:1663:7: warning[deadcode.DeadStores]: Value stored to 'r' is never read
# 1661|         char dmabufname[32];
# 1662|         snprintf(dmabufname, 32, "%d-%s", getpid(), util_get_process_name());
# 1663|->       r = ioctl(whandle->handle, DMA_BUF_SET_NAME_B, (uint64_t)(uintptr_t)dmabufname);
# 1664|      }
# 1665|   #endif

Error: CLANG_WARNING: [#def4021]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_cs.cpp:181:8: warning[core.NullDereference]: Access to field 'signalled' results in a dereference of a null pointer (loaded from variable 'afence')
#  179|      uint64_t *user_fence_cpu;
#  180|   
#  181|->    if (afence->signalled)
#  182|         return true;
#  183|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4022]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:119:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aws’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:424:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4023]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:563:8: warning[unix.Malloc]: Potential leak of memory pointed to by 'aws'
#  561|      FREE(aws);
#  562|   fail:
#  563|->    if (sws->kms_handles)
#  564|         _mesa_hash_table_destroy(sws->kms_handles, NULL);
#  565|      close(sws->fd);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4024]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c: scope_hint: In function ‘i915_drm_batchbuffer_reset’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:3: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4025]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c: scope_hint: In function ‘i915_drm_batchbuffer_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:59:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘batch’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4026]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘batch’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4027]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:107:30: warning[core.NullDereference]: Access to field 'vram' results in a dereference of a null pointer (loaded from variable 'nv04')
#  105|      if (dev->chipset < 0xc0) {
#  106|         struct nv04_fifo *nv04 = obj->data;
#  107|->       req.fb_ctxdma_handle = nv04->vram;
#  108|         req.tt_ctxdma_handle = nv04->gart;
#  109|      } else if (dev->chipset >= 0xe0) {

Error: CLANG_WARNING: [#def4028]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:112:30: warning[core.NullDereference]: Access to field 'engine' results in a dereference of a null pointer (loaded from variable 'nve0')
#  110|         struct nve0_fifo *nve0 = obj->data;
#  111|         req.fb_ctxdma_handle = 0xffffffff;
#  112|->       req.tt_ctxdma_handle = nve0->engine;
#  113|      }
#  114|   

Error: CLANG_WARNING: [#def4029]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:119:18: warning[core.NullDereference]: Access to field 'pushbuf' results in a dereference of a null pointer (loaded from variable 'fifo')
#  117|         return ret;
#  118|   
#  119|->    fifo->pushbuf = req.pushbuf_domains;
#  120|      fifo->notify = req.notifier_handle;
#  121|      obj->handle = req.channel;

Error: COMPILER_WARNING (CWE-563): [#def4030]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_object_channel_del’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:221:8: warning[-Wunused-variable]: unused variable ‘ret’
#  221 |    int ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#      |        ^~~
#  219|      };
#  220|   
#  221|->    int ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#  222|      assert(!ret);
#  223|   }

Error: CLANG_WARNING: [#def4031]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:221:8: warning[deadcode.DeadStores]: Value stored to 'ret' during its initialization is never read
#  219|      };
#  220|   
#  221|->    int ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#  222|      assert(!ret);
#  223|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4032]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_bo_new’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:631:14: warning[-Wanalyzer-malloc-leak]: leak of ‘nvbo’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_bo_new’
#  629|      struct nouveau_bo_priv *nvbo = calloc(1, sizeof(*nvbo));
#  630|      if (!nvbo)
#  631|->       return -ENOMEM;
#  632|   
#  633|      struct nouveau_bo *bo = &nvbo->base;

Error: CLANG_WARNING: [#def4033]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:820:24: warning[core.NullDereference]: Access to field 'handle' results in a dereference of a null pointer (loaded from variable 'bo')
#  818|      struct nouveau_client_priv *pcli = nouveau_client(client);
#  819|      struct nouveau_pushbuf *push = NULL;
#  820|->    if (pcli->kref_nr > bo->handle)
#  821|         push = pcli->kref[bo->handle].push;
#  822|      return push;

Error: CLANG_WARNING: [#def4034]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/nouveau/drm/nouveau.c:1686:19: warning[unix.Malloc]: Use of memory after it is freed
# 1684|         nouveau_bo_ref(NULL, &bo);
# 1685|   
# 1686|->       nvpb->bgn = nvpb->bo->map;
# 1687|         nvpb->ptr = nvpb->bgn;
# 1688|         push->cur = nvpb->bgn;

Error: CLANG_WARNING: [#def4035]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:79:18: warning[core.NullDereference]: Access to field 'handle' results in a dereference of a null pointer (loaded from variable 'bo')
#   77|      struct drm_radeon_gem_wait_idle args = {0};
#   78|   
#   79|->    args.handle = bo->handle;
#   80|      while (drmCommandWrite(bo->rws->fd, DRM_RADEON_GEM_WAIT_IDLE,
#   81|                             &args, sizeof(args)) == -EBUSY);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4036]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c: scope_hint: In function ‘radeon_bomgr_find_va’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:210:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘n’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_cache.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_cs.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:192:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/pipebuffer/pb_buffer.h:49: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/winsys/radeon_winsys.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:209:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4037]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c:345:28: warning[unix.Malloc]: Use of memory after it is freed
#  343|            (void) destroyed;
#  344|   
#  345|->          fenced_buf->flags &= ~PB_USAGE_GPU_READ_WRITE;
#  346|   
#  347|            ret = PIPE_OK;

Error: CLANG_WARNING: [#def4038]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c:669:31: warning[unix.Malloc]: Use of memory after it is freed
#  667|         if (fence) {
#  668|            ops->fence_reference(ops, &fenced_buf->fence, fence);
#  669|->          fenced_buf->flags |= fenced_buf->validation_flags;
#  670|            fenced_buffer_add_locked(fenced_mgr, fenced_buf);
#  671|         }

Error: CLANG_WARNING: [#def4039]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c:673:16: warning[unix.Malloc]: Use of memory after it is freed
#  671|         }
#  672|   
#  673|->       pb_fence(fenced_buf->buffer, fence);
#  674|   
#  675|         fenced_buf->vl = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4040]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c:237:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c:219:10: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create_buffer’
#  235|      }
#  236|   	 
#  237|->    return &buf->base;
#  238|   error2:
#  239|      FREE(buf);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4041]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c: scope_hint: In function ‘vmw_dma_bufmgr_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c:275:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_buffer.c:265:10: note: in expansion of macro ‘CALLOC_STRUCT’
#  273|      mgr->vws = vws;
#  274|      
#  275|->    return &mgr->base;
#  276|   }
#  277|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4042]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_context.c: scope_hint: In function ‘vmw_svga_winsys_context_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_context.c:837:11: warning[-Wanalyzer-malloc-leak]: leak of ‘vswc’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_context.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/svga/drm/vmw_context.c:781:11: note: in expansion of macro ‘CALLOC_STRUCT’
#  835|   
#  836|      vswc->base.force_coherent = vws->force_coherent;
#  837|->    return &vswc->base;
#  838|   
#  839|   out_no_hash:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4043]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/dri/dri_sw_winsys.c: scope_hint: In function ‘dri_sw_displaytarget_from_handle’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4044]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/dri/dri_sw_winsys.c: scope_hint: In function ‘dri_create_sw_winsys’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/dri/dri_sw_winsys.c:430:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/dri/dri_sw_winsys.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/dri/dri_sw_winsys.c:408:9: note: in expansion of macro ‘CALLOC_STRUCT’
#  428|      ws->base.displaytarget_display = dri_sw_displaytarget_display;
#  429|   
#  430|->    return &ws->base;
#  431|   }
#  432|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4045]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c: scope_hint: In function ‘kms_dri_create_winsys’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:539:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4046]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c: scope_hint: In function ‘wrapper_sw_winsys_wrap_pipe_screen’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:314:11: warning[-Wanalyzer-malloc-leak]: leak of ‘wsw’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4047]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_resource_reference’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:153:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:787:23: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:52:41: note: in expansion of macro ‘os_realloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:796:17: note: in expansion of macro ‘REALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘virgl_drm_resource_reference’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_call_once.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/simple_mtx.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:50:52: note: in definition of macro ‘p_atomic_inc_return’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_resource_reference’
#  151|      if (pipe_reference(&(*dres)->reference, &sres->reference)) {
#  152|   
#  153|->       if (!can_cache_resource(old->bind) ||
#  154|             p_atomic_read(&old->external)) {
#  155|            virgl_hw_res_destroy(qdws, old);

Error: CLANG_WARNING: [#def4048]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:733:19: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct virgl_hw_res *', which is incompatible with sizeof operand type 'struct virgl_hw_buf *'
#  731|      cbuf->cres = 0;
#  732|   
#  733|->    cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*));
#  734|      if (!cbuf->res_bo)
#  735|         return false;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4049]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c: scope_hint: In function ‘virgl_drm_cmd_buf_create’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:886:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:865:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:737:22: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:876:16: note: in expansion of macro ‘CALLOC’
#  884|      cbuf->in_fence_fd = -1;
#  885|      cbuf->base.buf = cbuf->buf;
#  886|->    return &cbuf->base;
#  887|   }
#  888|   

Error: CLANG_WARNING: [#def4050]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:1181:4: warning[deadcode.DeadStores]: Value stored to 'supports_capset_virgl' is never read
# 1179|      struct drm_virtgpu_context_set_param ctx_set_param = { 0 };
# 1180|      uint64_t supports_capset_virgl, supports_capset_virgl2;
# 1181|->    supports_capset_virgl = supports_capset_virgl2 = 0;
# 1182|   
# 1183|      supports_capset_virgl = ((1 << VIRGL_DRM_CAPSET_VIRGL) &

Error: CLANG_WARNING: [#def4051]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:1181:28: warning[deadcode.DeadStores]: Although the value stored to 'supports_capset_virgl2' is used in the enclosing expression, the value is never actually read from 'supports_capset_virgl2'
# 1179|      struct drm_virtgpu_context_set_param ctx_set_param = { 0 };
# 1180|      uint64_t supports_capset_virgl, supports_capset_virgl2;
# 1181|->    supports_capset_virgl = supports_capset_virgl2 = 0;
# 1182|   
# 1183|      supports_capset_virgl = ((1 << VIRGL_DRM_CAPSET_VIRGL) &

Error: CLANG_WARNING: [#def4052]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c:257:8: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  255|          }
#  256|   
#  257|->        ret = virgl_block_read(vws->sock_fd, &caps->caps, resp_size);
#  258|   
#  259|          while (dummy_size) {

Error: CLANG_WARNING: [#def4053]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c:271:8: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  269|          if (ret <= 0)
#  270|   	   return 0;
#  271|->        ret = virgl_block_read(vws->sock_fd, &dummy, sizeof(struct virgl_caps_v1));
#  272|      } else
#  273|          ret = virgl_block_read(vws->sock_fd, &caps->caps, sizeof(struct virgl_caps_v1));

Error: CLANG_WARNING: [#def4054]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c:273:8: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  271|          ret = virgl_block_read(vws->sock_fd, &dummy, sizeof(struct virgl_caps_v1));
#  272|      } else
#  273|->        ret = virgl_block_read(vws->sock_fd, &caps->caps, sizeof(struct virgl_caps_v1));
#  274|   
#  275|      return 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4055]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c: scope_hint: In function ‘virgl_vtest_recv_transfer_get_data’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4056]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:490:19: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct virgl_hw_res *', which is incompatible with sizeof operand type 'struct virgl_hw_buf *'
#  488|   
#  489|      cbuf->nres = 512;
#  490|->    cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*));
#  491|      if (!cbuf->res_bo) {
#  492|         FREE(cbuf);

Error: CLANG_WARNING: [#def4057]
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c:499:9: warning[core.NullDereference]: Access to field 'queryImage' results in a dereference of a null pointer (loaded from field 'image')
#  497|         return -1;
#  498|   
#  499|->    if (!dri->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_FD, &fd))
#  500|         return -1;
#  501|   

Error: CLANG_WARNING: [#def4058]
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c:1090:22: warning[core.NullDereference]: Array access (from variable 'modifiers') results in a null pointer dereference
# 1088|       * interface the client is using to build its modifier list.
# 1089|       */
# 1090|->    if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_INVALID) {
# 1091|         fprintf(stderr, "Only invalid modifier specified\n");
# 1092|         errno = EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4059]
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c: scope_hint: In function ‘gbm_dri_surface_create’
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c:1108:14: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
# 1106|      if (!modifiers) {
# 1107|         assert(!count);
# 1108|->       return &surf->base;
# 1109|      }
# 1110|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4060]
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c:1123: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
# 1121|       */
# 1122|      surf->base.v0.count = count;
# 1123|->    memcpy(surf->base.v0.modifiers, modifiers, count * sizeof(*modifiers));
# 1124|   
# 1125|      return &surf->base;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4061]
mesa-24.1.2-build/mesa-24.1.2/src/gbm/backends/dri/gbm_dri.c:1125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
# 1123|      memcpy(surf->base.v0.modifiers, modifiers, count * sizeof(*modifiers));
# 1124|   
# 1125|->    return &surf->base;
# 1126|   }
# 1127|   

Error: CPPCHECK_WARNING: [#def4062]
mesa-24.1.2-build/mesa-24.1.2/src/glx/create_context.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4063]
mesa-24.1.2-build/mesa-24.1.2/src/glx/dri2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4064]
mesa-24.1.2-build/mesa-24.1.2/src/glx/dri_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4065]
mesa-24.1.2-build/mesa-24.1.2/src/glx/dri_common.c: scope_hint: In function ‘createDriMode’
mesa-24.1.2-build/mesa-24.1.2/src/glx/dri_common.c:257:11: warning[-Wanalyzer-malloc-leak]: leak of ‘driConfig’
#  255|      driConfig->driConfig = driConfigs[i];
#  256|   
#  257|->    return &driConfig->base;
#  258|   }
#  259|   

Error: CPPCHECK_WARNING (CWE-562): [#def4066]
mesa-24.1.2-build/mesa-24.1.2/src/glx/dri_common.c:665: error[returnDanglingLifetime]: Returning pointer to local variable 'error' that will be invalid when returning.
#  663|      uint32_t attribs[2] = { GLX_RENDER_TYPE, renderType };
#  664|   
#  665|->    return base->vtable->create_context_attribs(base, config_base, shareList,
#  666|                                                  1, attribs, &error);
#  667|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4067]
mesa-24.1.2-build/mesa-24.1.2/src/glx/drisw_glx.c: scope_hint: In function ‘driswCreateDisplay’
mesa-24.1.2-build/mesa-24.1.2/src/glx/drisw_glx.c:1102:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pdpyp’
# 1100|      pdpyp->zink = zink;
# 1101|   
# 1102|->    return &pdpyp->base;
# 1103|   }
# 1104|   

Error: CPPCHECK_WARNING (CWE-571): [#def4068]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4069]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4070]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4071]
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def4072]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glx_pbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4073]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glx_query.c: scope_hint: In function ‘__glXQueryServerString’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4074]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glx_query.c: scope_hint: In function ‘__glXGetString’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def4075]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcmds.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4076]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcmds.c: scope_hint: In function ‘glXGetFBConfigFromVisualSGIX’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4077]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcmds.c:1493:31: warning[unix.Malloc]: Use of memory allocated with size zero
# 1491|                 config = config->next) {
# 1492|               if (config->fbconfigID != (int) GLX_DONT_CARE) {
# 1493|->                config_list[i] = config;
# 1494|                  i++;
# 1495|               }

Error: CLANG_WARNING: [#def4078]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcmds.c:1793:14: warning[unix.Malloc]: Potential leak of memory pointed to by 'config_list'
# 1791|      config_list = glXChooseFBConfig(dpy, vis->screen, attrib_list, &nconfigs);
# 1792|      if (nconfigs == 0)
# 1793|->       return NULL;
# 1794|   
# 1795|      config = config_list[0];

Error: CPPCHECK_WARNING: [#def4079]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcurrent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4080]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxcurrent.c:121:8: warning[core.NullDereference]: Access to field 'currentDrawable' results in a dereference of a null pointer (loaded from variable 'gc')
#  119|   
#  120|      if (oldGC == gc &&
#  121|->        gc->currentDrawable == draw && gc->currentReadable == read)
#  122|         return True;
#  123|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4081]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxext.c: scope_hint: In function ‘__glXInitialize’
mesa-24.1.2-build/mesa-24.1.2/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: [#def4082]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxextensions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def4083]
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxglvnddispatchfuncs.h:33: warning[uninitvar]: Uninitialized variable: r
#   31|           }
#   32|       }
#   33|->     return r;
#   34|   }
#   35|   

Error: CLANG_WARNING: [#def4084]
mesa-24.1.2-build/mesa-24.1.2/src/glx/g_glxglvnddispatchfuncs.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/glx/glxglvnddispatchfuncs.h:33:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#   31|           }
#   32|       }
#   33|->     return r;
#   34|   }
#   35|   

Error: CPPCHECK_WARNING: [#def4085]
mesa-24.1.2-build/mesa-24.1.2/src/glx/indirect_texture_compression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4086]
mesa-24.1.2-build/mesa-24.1.2/src/glx/indirect_vertex_array.c:644:41: warning[core.DivideZero]: Division by zero
#  642|          */
#  643|   
#  644|->       elements_per_request[0] = maxSize / single_vertex_size;
#  645|   
#  646|         vertex_requests = (count + elements_per_request[0] - 1)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4087]
mesa-24.1.2-build/mesa-24.1.2/src/glx/indirect_vertex_array.c: scope_hint: In function ‘__indirect_glVertexPointer’
mesa-24.1.2-build/mesa-24.1.2/src/glx/indirect_vertex_array.c:1130:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/glx/indirect_vertex_array.c:1193:4: note: in expansion of macro ‘COMMON_ARRAY_DATA_INIT’
mesa-24.1.2-build/mesa-24.1.2/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: [#def4088]
mesa-24.1.2-build/mesa-24.1.2/src/glx/pixel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4089]
mesa-24.1.2-build/mesa-24.1.2/src/glx/render2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4090]
mesa-24.1.2-build/mesa-24.1.2/src/glx/renderpix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4091]
mesa-24.1.2-build/mesa-24.1.2/src/glx/single2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4092]
mesa-24.1.2-build/mesa-24.1.2/src/glx/single2.c:751:7: warning[deadcode.DeadStores]: Value stored to 'retval' is never read
#  749|      case GL_SECONDARY_COLOR_ARRAY:
#  750|      case GL_FOG_COORD_ARRAY:
#  751|->       retval = __glXGetArrayEnable(state, cap, 0, &enable);
#  752|         assert(retval);
#  753|         return (GLboolean) enable;

Error: CLANG_WARNING: [#def4093]
mesa-24.1.2-build/mesa-24.1.2/src/glx/single2.c:756:7: warning[deadcode.DeadStores]: Value stored to 'retval' is never read
#  754|         break;
#  755|      case GL_TEXTURE_COORD_ARRAY:
#  756|->       retval = __glXGetArrayEnable(state, GL_TEXTURE_COORD_ARRAY,
#  757|                                      __glXGetActiveTextureUnit(state), &enable);
#  758|         assert(retval);

Error: CPPCHECK_WARNING: [#def4094]
mesa-24.1.2-build/mesa-24.1.2/src/glx/singlepix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4095]
mesa-24.1.2-build/mesa-24.1.2/src/glx/vertarr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-562): [#def4096]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4097]
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def4098]
mesa-24.1.2-build/mesa-24.1.2/src/gtest/src/gtest-all.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4099]
mesa-24.1.2-build/mesa-24.1.2/src/gtest/src/gtest_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4100]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_render.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/include/hwdef/rogue_hw_utils.h:151:13: warning[core.DivideZero]: Division by zero
#  149|      rogue_get_isp_scale_xy_from_samples(samples, &scale_x, &scale_y);
#  150|   
#  151|->    *x_out = DIV_ROUND_UP(width * scale_x, tile_samples_x);
#  152|      *y_out = DIV_ROUND_UP(height * scale_y, tile_samples_y);
#  153|   

Error: CLANG_WARNING: [#def4101]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_render.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/include/hwdef/rogue_hw_utils.h:152:13: warning[core.DivideZero]: Division by zero
#  150|   
#  151|      *x_out = DIV_ROUND_UP(width * scale_x, tile_samples_x);
#  152|->    *y_out = DIV_ROUND_UP(height * scale_y, tile_samples_y);
#  153|   
#  154|      if (PVR_HAS_FEATURE(dev_info, simple_internal_parameter_format)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4102]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c: scope_hint: In function ‘rogue_nir_pfo’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:89:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:65:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c: scope_hint: In function ‘rogue_nir_pfo’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4103]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/passes/rogue_schedule_instr_groups.c:835:27: warning[core.NullDereference]: Dereference of null pointer
#  833|      /* Ensure the final instruction group has a total size and offset that are a
#  834|       * multiple of the icache alignment. */
#  835|->    unsigned total_align = last_group->size.total % ROGUE_ISA_ICACHE_ALIGN;
#  836|      unsigned offset_align = last_group->size.offset % ROGUE_ISA_ICACHE_ALIGN;
#  837|   

Error: CLANG_WARNING: [#def4104]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue_validate.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue.h:617:14: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'unsigned long long'
#  615|   static inline bool rogue_io_supported(enum rogue_io io, uint64_t supported_ios)
#  616|   {
#  617|->    return !!(BITFIELD64_BIT(io - 1) & supported_ios);
#  618|   }
#  619|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4105]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue.h:1488:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘emitpix’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/usc/pvr_uscgen.c: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue_builder.h: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue_builder.h: scope_hint: In function ‘pvr_uscgen_eot’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4106]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/usc/pvr_uscgen.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue.h:1488:17: warning[core.NullDereference]: Access to field 'mod' results in a dereference of a null pointer (loaded from variable 'backend')
# 1486|                                               enum rogue_backend_op_mod mod)
# 1487|   {
# 1488|->    backend->mod |= BITFIELD64_BIT(mod);
# 1489|   }
# 1490|   

Error: CLANG_WARNING: [#def4107]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue_encode.c:824:46: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  822|         if (instr_size > 1) {
#  823|            instr_encoding->bitwise.ph0.ext = 1;
#  824|->          instr_encoding->bitwise.ph0.imm_7_0 = imm32._7_0;
#  825|            instr_encoding->bitwise.ph0.imm_15_8 = imm32._15_8;
#  826|         }

Error: CLANG_WARNING: [#def4108]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue_validate.c:503:12: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'instr')
#  501|      bool ends_block = false;
#  502|   
#  503|->    switch (instr->type) {
#  504|      case ROGUE_INSTR_TYPE_ALU:
#  505|         validate_alu_instr(state, rogue_instr_as_alu(instr));

Error: CLANG_WARNING: [#def4109]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c:75:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'error.text'
#   73|               raw);
#   74|      pvr_error_check(err_callback, error);
#   75|-> }
#   76|   
#   77|   static struct pvr_operand *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4110]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4111]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs32tp’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c:120:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
#  118|      assert(op);
#  119|   
#  120|->    op->type = UNRESOLVED;
#  121|      instruction &= PVR_ROGUE_PDSINST_REGS32TP_MASK;
#  122|      switch (pvr_pds_inst_decode_field_range_regs32tp(instruction)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4112]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4113]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_regs64tp’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c:254:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
#  252|      assert(op);
#  253|   
#  254|->    op->type = UNRESOLVED;
#  255|      instruction &= PVR_ROGUE_PDSINST_REGS64TP_MASK;
#  256|      switch (pvr_pds_inst_decode_field_range_regs64tp(instruction)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4114]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_add64’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4115]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4116]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_add32’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4117]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c:360:11: warning[-Wanalyzer-malloc-leak]: leak of ‘add’
#  358|      add->dst->instruction = &add->instruction;
#  359|   
#  360|->    return &add->instruction;
#  361|   }
#  362|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4118]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_sftlp64’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4119]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4120]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4121]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pds_disasm.c: scope_hint: In function ‘pvr_pds_disassemble_instruction_cmp’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4122]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4123]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:574:50: warning[deadcode.DeadStores]: Value stored to 'psBaseVertexEntry' during its initialization is never read
#  572|         if ((input_program->flags & PVR_PDS_VERTEX_FLAGS_DRAW_INDIRECT_VARIANT) ==
#  573|             0) {
#  574|->          struct pvr_const_map_entry_base_vertex *psBaseVertexEntry =
#  575|               (struct pvr_const_map_entry_base_vertex *)entry_write_state.entry;
#  576|   

Error: CLANG_WARNING: [#def4124]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:624:49: warning[deadcode.DeadStores]: Value stored to 'base_instance_entry' during its initialization is never read
#  622|      } else if (input_program->flags &
#  623|                 PVR_PDS_VERTEX_FLAGS_BASE_INSTANCE_VARIANT) {
#  624|->       struct pvr_const_map_entry_base_instance *base_instance_entry =
#  625|            (struct pvr_const_map_entry_base_instance *)entry_write_state.entry;
#  626|   

Error: CLANG_WARNING: [#def4125]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:647:49: warning[deadcode.DeadStores]: Value stored to 'base_instance_entry' during its initialization is never read
#  645|      } else if (input_program->flags &
#  646|                 PVR_PDS_VERTEX_FLAGS_BASE_INSTANCE_REQUIRED) {
#  647|->       struct pvr_const_map_entry_base_instance *base_instance_entry =
#  648|            (struct pvr_const_map_entry_base_instance *)entry_write_state.entry;
#  649|   

Error: COMPILER_WARNING (CWE-563): [#def4126]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4127]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1584:28: warning[deadcode.DeadStores]: Value stored to 'current_addr_literal_destination' during its initialization is never read
# 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): [#def4128]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c: scope_hint: In function ‘pvr_pds_generate_descriptor_upload_program’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4129]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1586:28: warning[deadcode.DeadStores]: Value stored to 'previous_addr_literal_destination' during its initialization is never read
# 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: CLANG_WARNING: [#def4130]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_bo.c:638:28: warning[core.NullDereference]: Access to field 'vma' results in a dereference of a null pointer (loaded from field 'bo')
#  636|      suballoc_bo->allocator = allocator;
#  637|      suballoc_bo->bo = pvr_bo_get_ref(allocator->bo);
#  638|->    suballoc_bo->dev_addr = allocator->bo->vma->dev_addr;
#  639|      suballoc_bo->offset = 0;
#  640|      suballoc_bo->size = aligned_size;

Error: CLANG_WARNING: [#def4131]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_clear.c:961:7: warning[deadcode.DeadStores]: Value stored to 'stream' is never read
#  959|            index_list3.instance_count = layer_count - 1;
#  960|         }
#  961|->       stream += pvr_cmd_length(VDMCTRL_INDEX_LIST3);
#  962|      }
#  963|   

Error: COMPILER_WARNING (CWE-563): [#def4132]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_CmdSetViewport’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_cmd_buffer.c:2561:19: warning[-Wunused-variable]: unused variable ‘total_count’
# 2561 |    const uint32_t total_count = firstViewport + viewportCount;
#      |                   ^~~~~~~~~~~
# 2559|   {
# 2560|      PVR_FROM_HANDLE(pvr_cmd_buffer, cmd_buffer, commandBuffer);
# 2561|->    const uint32_t total_count = firstViewport + viewportCount;
# 2562|   
# 2563|      assert(firstViewport < PVR_MAX_VIEWPORTS && viewportCount > 0);

Error: COMPILER_WARNING (CWE-563): [#def4133]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_compute_flat_pad_workgroup_size’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_cmd_buffer.c:4399:34: warning[-Wunused-variable]: unused variable ‘dev_info’
# 4399 |    const struct pvr_device_info *dev_info = &pdevice->dev_info;
#      |                                  ^~~~~~~~
# 4397|      const struct pvr_device_runtime_info *dev_runtime_info =
# 4398|         &pdevice->dev_runtime_info;
# 4399|->    const struct pvr_device_info *dev_info = &pdevice->dev_info;
# 4400|      uint32_t max_avail_coeff_regs =
# 4401|         dev_runtime_info->cdm_max_local_mem_size_regs;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4134]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_descriptor_set.c: scope_hint: In function ‘pvr_write_descriptor_set’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4135]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_descriptor_set.c: scope_hint: In function ‘pvr_copy_descriptor_set’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4136]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_descriptor_set.c:1939:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_private.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_descriptor_set.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4137]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_device.c:2311:7: warning[deadcode.DeadStores]: Value stored to 'size' is never read
# 2309|   
# 2310|      if (size == VK_WHOLE_SIZE)
# 2311|->       size = mem->bo->size - offset;
# 2312|   
# 2313|      /* From the Vulkan spec version 1.0.32 docs for MapMemory:

Error: CLANG_WARNING: [#def4138]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_device.c:2928:35: warning[core.NullDereference]: Array access (via field 'attachments') results in a null pointer dereference
# 2926|      framebuffer->attachment_count = pCreateInfo->attachmentCount;
# 2927|      for (uint32_t i = 0; i < framebuffer->attachment_count; i++) {
# 2928|->       framebuffer->attachments[i] =
# 2929|            pvr_image_view_from_handle(pCreateInfo->pAttachments[i]);
# 2930|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4139]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c: scope_hint: In function ‘pvr_hard_code_graphics_shader’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:52:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:230:7: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4140]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c: scope_hint: In function ‘pvr_hard_code_get_idfwdf_program’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:52:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/rogue/rogue.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hardcode.c:341:4: note: in expansion of macro ‘util_dynarray_append_mem’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4141]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c:457:11: warning[core.NullDereference]: Array access (via field 'used') results in a null pointer dereference
#  455|          * previously allocated a different attachment.
#  456|          */
#  457|->       if (buffer->used[start + i])
#  458|            *use_render_init = false;
#  459|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4142]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c: scope_hint: In function ‘pvr_surface_alloc_color_storage’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c:710:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
#  708|   
#  709|         /* Mark the attachment as using a tile buffer. */
#  710|->       resource->type = USC_MRT_RESOURCE_TYPE_MEMORY;
#  711|   
#  712|         /* Try allocating from an existing tile buffer. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4143]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c: scope_hint: In function ‘pvr_is_subpass_space_available.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c:1813:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1811|            }
# 1812|         } else {
# 1813|->          sp_dsts->color[i].type = USC_MRT_RESOURCE_TYPE_INVALID;
# 1814|         }
# 1815|      }

Error: CLANG_WARNING: [#def4144]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_hw_pass.c:2536:33: warning[core.NullDereference]: Dereference of null pointer
# 2534|            vk_format_get_blocksizebits(attachment->vk_format) % 32U;
# 2535|   
# 2536|->       int_attach->resource.type = USC_MRT_RESOURCE_TYPE_INVALID;
# 2537|         int_attach->resource.intermediate_size =
# 2538|            DIV_ROUND_UP(vk_format_get_blocksizebits(attachment->vk_format),

Error: CLANG_WARNING: [#def4145]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_common.c:388:50: warning[core.DivideZero]: Division by zero
#  386|       */
#  387|      partitions_available =
#  388|->       MIN2(max_partitions, usable_partition_size / partition_size);
#  389|   
#  390|      if (PVR_HAS_FEATURE(dev_info, xt_top_infrastructure))

Error: COMPILER_WARNING (CWE-563): [#def4146]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_context.c: scope_hint: In function ‘pvr_pds_sr_fence_terminate_program_create_and_upload’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4147]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_context.c:932:42: warning[deadcode.DeadStores]: Value stored to 'dev_runtime_info' during its initialization is never read
#  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: CLANG_WARNING: [#def4148]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:821:60: warning[core.DivideZero]: Division by zero
#  819|         }
#  820|   
#  821|->       state->origin_x_in_tiles = render_params->min_x_clip / tile_size_x;
#  822|         state->origin_y_in_tiles = render_params->min_y_clip / tile_size_y;
#  823|         state->width_in_tiles =

Error: CLANG_WARNING: [#def4149]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:1269:53: warning[core.DivideZero]: Division by zero
# 1267|         }
# 1268|   
# 1269|->       state->origin_x_in_tiles = (uint32_t)offset.x / tile_size_x;
# 1270|         state->origin_y_in_tiles = (uint32_t)offset.y / tile_size_y;
# 1271|         state->width_in_tiles =

Error: CLANG_WARNING: [#def4150]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:1270:53: warning[core.DivideZero]: Division by zero
# 1268|   
# 1269|         state->origin_x_in_tiles = (uint32_t)offset.x / tile_size_x;
# 1270|->       state->origin_y_in_tiles = (uint32_t)offset.y / tile_size_y;
# 1271|         state->width_in_tiles =
# 1272|            DIV_ROUND_UP((uint32_t)end.x, tile_size_x) - state->origin_x_in_tiles;

Error: COMPILER_WARNING (CWE-563): [#def4151]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_isp_primitive_block’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4152]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:3761:4: warning[deadcode.DeadStores]: Value stored to 'stream_size_in_bytes' is never read
# 3759|      }
# 3760|   
# 3761|->    stream_size_in_bytes =
# 3762|         pvr_isp_primitive_block_size(dev_info, src, num_mappings);
# 3763|   

Error: CLANG_WARNING: [#def4153]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:4408:7: warning[deadcode.DeadStores]: Value stored to 'cs_ptr' is never read
# 4406|         cs_byte_ptr = pvr_isp_ctrl_stream_sipf_write_aligned(cs_byte_ptr, tmp, 1);
# 4407|   
# 4408|->       cs_ptr = (uint32_t *)cs_byte_ptr;
# 4409|      } else {
# 4410|         pvr_csb_pack (cs_ptr, IPF_CONTROL_STREAM, word) {

Error: CLANG_WARNING: [#def4154]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:4413:7: warning[deadcode.DeadStores]: Value stored to 'cs_ptr' is never read
# 4411|            word.cs_type = PVRX(IPF_CS_TYPE_TERM);
# 4412|         }
# 4413|->       cs_ptr += pvr_cmd_length(IPF_CONTROL_STREAM);
# 4414|      }
# 4415|   

Error: CLANG_WARNING: [#def4155]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:5007:4: warning[deadcode.DeadStores]: Value stored to 'src_width' is never read
# 5005|   {
# 5006|      src_stride *= custom_mapping->texel_extend_src;
# 5007|->    src_width *= custom_mapping->texel_extend_src;
# 5008|      dst_stride *= custom_mapping->texel_extend_dst;
# 5009|      dst_width *= custom_mapping->texel_extend_dst;

Error: CLANG_WARNING: [#def4156]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:5009:4: warning[deadcode.DeadStores]: Value stored to 'dst_width' is never read
# 5007|      src_width *= custom_mapping->texel_extend_src;
# 5008|      dst_stride *= custom_mapping->texel_extend_dst;
# 5009|->    dst_width *= custom_mapping->texel_extend_dst;
# 5010|   
# 5011|      if (custom_mapping->texel_unwind_src > 0U) {

Error: COMPILER_WARNING (CWE-563): [#def4157]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_get_custom_mapping’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4158]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_job_transfer.c:5156:13: warning[deadcode.DeadStores]: Value stored to 'rect' during its initialization is never read
# 5154|      }
# 5155|   
# 5156|->    VkRect2D rect = transfer_cmd->scissor;
# 5157|      assert(
# 5158|         (rect.offset.x + rect.extent.width) <= custom_mapping->max_clip_size &&

Error: CLANG_WARNING: [#def4159]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_pass.c:336:7: warning[core.NullDereference]: Access to field 'usc_frag_prog_bo' results in a dereference of a null pointer (loaded from variable 'load_op')
#  334|         device,
#  335|         allocator,
#  336|->       load_op->usc_frag_prog_bo,
#  337|         pvr_pds_fragment_program_params.temp_count,
#  338|         pvr_pds_fragment_program_params.msaa_mode,

Error: CLANG_WARNING: [#def4160]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_pass.c:486:27: warning[core.NullDereference]: Access to field 'load_op' results in a dereference of a null pointer (loaded from variable 'attachment')
#  484|         pvr_assert(!(desc->flags & ~VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT));
#  485|   
#  486|->       attachment->load_op = desc->loadOp;
#  487|         attachment->store_op = desc->storeOp;
#  488|   

Error: CLANG_WARNING: [#def4161]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_pass.c:513:10: warning[core.NullDereference]: Dereference of null pointer
#  511|             dep->dstSubpass != VK_SUBPASS_EXTERNAL &&
#  512|             dep->srcSubpass != dep->dstSubpass) {
#  513|->          pass->subpasses[dep->dstSubpass].dep_count++;
#  514|         }
#  515|      }

Error: CLANG_WARNING: [#def4162]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_pipeline.c:326:26: warning[core.NullDereference]: Access to field 'stride' results in a dereference of a null pointer (loaded from variable '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-476): [#def4163]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_pipeline.c: scope_hint: In function ‘pvr_pds_vertex_attrib_init_dma_descriptions’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4164]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_query_compute.c: scope_hint: In function ‘pvr_init_tex_info’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4165]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_spm.c:757:51: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  755|      }
#  756|   
#  757|->    spm_eot_state->pixel_event_program_data_upload = pds_eot_program.pvr_bo;
#  758|      spm_eot_state->pixel_event_program_data_offset = pds_eot_program.data_offset;
#  759|   

Error: CLANG_WARNING: [#def4166]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_spm.c:1036:45: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1034|         goto err_free_consts_buffer;
# 1035|   
# 1036|->    spm_bgobj_state->pds_texture_data_upload = pds_texture_data_upload.pvr_bo;
# 1037|   
# 1038|      /* TODO: Is it worth to dedup this with pvr_pds_bgnd_pack_state() ? */

Error: CLANG_WARNING: [#def4167]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c:301:24: warning[core.NullDereference]: Access to field 'kick_usc_pds_upload' results in a dereference of a null pointer (loaded from variable 'entry_data')
#  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): [#def4168]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c: scope_hint: In function ‘pvr_transfer_frag_store_entry_data_destroy_no_ralloc_free’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c:301:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry_data’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c:242:14: note: in expansion of macro ‘vk_error’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4169]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/pvr_transfer_frag_store.c:372:24: warning[core.NullDereference]: Access to field 'kick_usc_pds_offset' results in a dereference of a null pointer (loaded from variable 'entry_data')
#  370|         return result;
#  371|   
#  372|->    *pds_dev_addr_out = entry_data->kick_usc_pds_offset;
#  373|      *reg_layout_out = &entry_data->sh_reg_layout;
#  374|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4170]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c: scope_hint: In function ‘pvr_drm_winsys_compute_submit’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4171]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:207:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4172]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c: scope_hint: In function ‘pvr_drm_winsys_null_job_submit’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/c11/threads.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_timeline.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4173]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:89:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4174]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:106:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4175]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c: scope_hint: In function ‘pvr_drm_winsys_render_submit’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4176]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:533:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4177]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:594:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4178]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:604:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4179]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c: scope_hint: In function ‘pvr_drm_winsys_transfer_submit’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys_helper.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4180]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:168:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4181]
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys.c: scope_hint: In function ‘pvr_winsys_create’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘display_fd’
mesa-24.1.2-build/mesa-24.1.2/src/imagination/vulkan/winsys/pvr_winsys.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4182]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_blit.c: scope_hint: In function ‘blorp_copy’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_blit.c:2988:39: warning[-Wunused-variable]: unused variable ‘src_view_fmtl’
# 2988 |       const struct isl_format_layout *src_view_fmtl =
#      |                                       ^~~~~~~~~~~~~
# 2986|          * surfaces (and vice-versa).
# 2987|          */
# 2988|->       const struct isl_format_layout *src_view_fmtl =
# 2989|            isl_format_get_layout(params.src.view.format);
# 2990|         assert((src_fmtl->channels.r.bits == 32) ==

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4183]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1239:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:461:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1237|   
# 1238|         if (params->dst.enabled) {
# 1239|->          blorp_emit_surface_state(batch, &params->dst,
# 1240|                                     params->fast_clear_op,
# 1241|                                     surface_maps[BLORP_RENDERBUFFER_BT_INDEX],

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4184]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1249:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:461:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1247|               params->depth.enabled ? &params->depth : &params->stencil;
# 1248|            blorp_emit_null_surface_state(batch, surface,
# 1249|->                                        surface_maps[BLORP_RENDERBUFFER_BT_INDEX]);
# 1250|         }
# 1251|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4185]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1487:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1481:19: note: in expansion of macro ‘blorp_emitn’
# 1485|                                 .MemoryAddress = clear_addr);
# 1486|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1487|->    dw[2] = info->clear_color.u32[0];
# 1488|      dw[3] = 0;
# 1489|      dw[4] = info->clear_color.u32[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4186]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1501:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1481:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:176:30: note: in definition of macro ‘_blorp_cmd_pack’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1481:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1481:38: note: in expansion of macro ‘GENX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1493:9: note: in expansion of macro ‘blorp_emitn’
# 1499|                       .MemoryAddress = clear_addr);
# 1500|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1501|->    dw[2] = info->clear_color.u32[2];
# 1502|      dw[3] = 0;
# 1503|      dw[4] = info->clear_color.u32[3];

Error: CLANG_WARNING: [#def4187]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1648:7: warning[deadcode.DeadStores]: Value stored to 'dst' is never read
# 1646|      if (cs_prog_data->push.cross_thread.size > 0) {
# 1647|         memcpy(dst, src, cs_prog_data->push.cross_thread.size);
# 1648|->       dst += cs_prog_data->push.cross_thread.size;
# 1649|         src += cs_prog_data->push.cross_thread.size;
# 1650|      }

Error: CLANG_WARNING: [#def4188]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:1649:7: warning[deadcode.DeadStores]: Value stored to 'src' is never read
# 1647|         memcpy(dst, src, cs_prog_data->push.cross_thread.size);
# 1648|         dst += cs_prog_data->push.cross_thread.size;
# 1649|->       src += cs_prog_data->push.cross_thread.size;
# 1650|      }
# 1651|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4189]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_blorp.c:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1397:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_deref_block_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1185:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1185:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_emit_pipeline’
# 1395|      }
# 1396|   
# 1397|->    blorp_emit_sf_config(batch, params, urb_deref_block_size);
# 1398|      blorp_emit_ps_config(batch, params);
# 1399|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4190]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h: scope_hint: In function ‘blorp_setup_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1582:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:26: included_from: Included from here.
# 1580|   
# 1581|         if (params->dst.enabled) {
# 1582|->          blorp_emit_surface_state(batch, &params->dst,
# 1583|                                     params->fast_clear_op,
# 1584|                                     surface_maps[BLORP_RENDERBUFFER_BT_INDEX],

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4191]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_elk.h:1592:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
# 1590|               params->depth.enabled ? &params->depth : &params->stencil;
# 1591|            blorp_emit_null_surface_state(batch, surface,
# 1592|->                                        surface_maps[BLORP_RENDERBUFFER_BT_INDEX]);
# 1593|         }
# 1594|   

Error: COMPILER_WARNING (CWE-563): [#def4192]
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:171: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_genX_state_brw.h: scope_hint: In function ‘intel_set_ps_dispatch_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_genX_state_brw.h:51:9: warning[-Wunused-but-set-variable]: variable ‘enable_8’ set but not used
#   51 |    bool enable_8  = prog_data->dispatch_8;
#      |         ^~~~~~~~
#   49|      assert(rasterization_samples != 0);
#   50|   
#   51|->    bool enable_8  = prog_data->dispatch_8;
#   52|      bool enable_16 = prog_data->dispatch_16;
#   53|      bool enable_32 = prog_data->dispatch_32;

Error: CLANG_WARNING: [#def4193]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_blorp.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h:171: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_genX_state_brw.h:66:7: warning[deadcode.DeadStores]: Value stored to 'enable_8' is never read
#   64|          ps->RenderTargetResolveType == RESOLVE_PARTIAL ||
#   65|          ps->RenderTargetResolveType == RESOLVE_FULL)
#   66|->       enable_8 = false;
#   67|   #elif GFX_VER >= 8
#   68|      /* BDW has the same wording as SKL, except some of the fields mentioned

Error: CLANG_WARNING: [#def4194]
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_genX_state_brw.h:102:10: warning[deadcode.DeadStores]: Value stored to 'enable_8' is never read
#  100|          */
#  101|         if (enable_32 || enable_16)
#  102|->          enable_8 = false;
#  103|         if (GFX_VER < 12 && enable_32)
#  104|            enable_16 = false;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4195]
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_uuid.c: scope_hint: In function ‘intel_uuid_compute_device_id’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4196]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:78:4: warning[core.CallAndMessage]: Called C++ object pointer is null
#   76|                           enum bblock_link_kind kind)
#   77|   {
#   78|->    successor->parents.push_tail(::link(mem_ctx, this, kind));
#   79|      children.push_tail(::link(mem_ctx, successor, kind));
#   80|   }

Error: CLANG_WARNING: [#def4197]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:248:10: warning[core.CallAndMessage]: Called C++ object pointer is null
#  246|   	 next = new_block();
#  247|            assert(cur_if != NULL);
#  248|->          cur_if->add_successor(mem_ctx, next, bblock_link_logical);
#  249|            cur_else->add_successor(mem_ctx, next, bblock_link_physical);
#  250|   

Error: CLANG_WARNING: [#def4198]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:274:13: warning[core.CallAndMessage]: Called C++ object pointer is null
#  272|            } else {
#  273|               assert(cur_if != NULL);
#  274|->             cur_if->add_successor(mem_ctx, cur_endif, bblock_link_logical);
#  275|            }
#  276|   

Error: CLANG_WARNING: [#def4199]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:359:38: warning[core.CallAndMessage]: Called C++ object pointer is null
#  357|             */
#  358|            assert(cur_do != NULL);
#  359|->          cur->add_successor(mem_ctx, cur_do->next(), bblock_link_logical);
#  360|   
#  361|   	 next = new_block();

Error: CLANG_WARNING: [#def4200]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:413:41: warning[core.CallAndMessage]: Called C++ object pointer is null
#  411|               cur->add_successor(mem_ctx, cur_do, bblock_link_logical);
#  412|            } else {
#  413|->             cur->add_successor(mem_ctx, cur_do->next(), bblock_link_logical);
#  414|            }
#  415|   

Error: CLANG_WARNING: [#def4201]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_cfg.cpp:611:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  609|         util_dynarray_append(scratch, link_desc, l);
#  610|      }
#  611|->    qsort(scratch->data, util_dynarray_num_elements(scratch, link_desc),
#  612|            sizeof(link_desc), compare_link_desc);
#  613|   }

Error: CLANG_WARNING: [#def4202]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_compiler.c:225:4: warning[deadcode.DeadStores]: Value stored to 'bits' is never read
#  223|   
#  224|      mask = 3;
#  225|->    bits += util_bitcount64(mask);
#  226|   
#  227|      u_foreach_bit64(bit, mask)

Error: CLANG_WARNING: [#def4203]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:849:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  847|         elem_size = 4;
#  848|         if (devinfo->ver >= 12) {
#  849|->          err |= reg(file, brw_inst_send_dst_reg_file(devinfo, inst),
#  850|                       brw_inst_dst_da_reg_nr(devinfo, inst));
#  851|            string(file, brw_reg_type_to_letters(type));

Error: CLANG_WARNING: [#def4204]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:853:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  851|            string(file, brw_reg_type_to_letters(type));
#  852|         } else if (brw_inst_dst_address_mode(devinfo, inst) == BRW_ADDRESS_DIRECT) {
#  853|->          err |= reg(file, brw_inst_send_dst_reg_file(devinfo, inst),
#  854|                       brw_inst_dst_da_reg_nr(devinfo, inst));
#  855|            unsigned subreg_nr = brw_inst_dst_da16_subreg_nr(devinfo, inst);

Error: CLANG_WARNING: [#def4205]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:879:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  877|                      elem_size);
#  878|            string(file, "<");
#  879|->          err |= control(file, "horiz stride", horiz_stride,
#  880|                           brw_inst_dst_hstride(devinfo, inst), NULL);
#  881|            string(file, ">");

Error: CLANG_WARNING: [#def4206]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:891:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  889|               format(file, " %d", brw_inst_dst_ia1_addr_imm(devinfo, inst));
#  890|            string(file, "]<");
#  891|->          err |= control(file, "horiz stride", horiz_stride,
#  892|                           brw_inst_dst_hstride(devinfo, inst), NULL);
#  893|            string(file, ">");

Error: CLANG_WARNING: [#def4207]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:905:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  903|               format(file, ".%u", 16 / elem_size);
#  904|            string(file, "<1>");
#  905|->          err |= control(file, "writemask", writemask,
#  906|                           brw_inst_da16_writemask(devinfo, inst), NULL);
#  907|            string(file, brw_reg_type_to_letters(type));

Error: CLANG_WARNING: [#def4208]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:909:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  907|            string(file, brw_reg_type_to_letters(type));
#  908|         } else {
#  909|->          err = 1;
#  910|            string(file, "Indirect align16 address mode not supported");
#  911|         }

Error: CLANG_WARNING: [#def4209]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:955:7: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  953|   
#  954|      if (!is_align1) {
#  955|->       err |= control(file, "writemask", writemask,
#  956|                        brw_inst_3src_a16_dst_writemask(devinfo, inst), NULL);
#  957|      }

Error: CLANG_WARNING: [#def4210]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:1236:10: warning[deadcode.DeadStores]: Value stored to '_file' is never read
# 1234|            _file = BRW_ARCHITECTURE_REGISTER_FILE;
# 1235|         } else {
# 1236|->          _file = BRW_IMMEDIATE_VALUE;
# 1237|            uint16_t imm_val = brw_inst_3src_a1_src0_imm(devinfo, inst);
# 1238|            enum brw_reg_type type = brw_inst_3src_a1_src0_type(devinfo, inst);

Error: CLANG_WARNING: [#def4211]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm.c:1394:10: warning[deadcode.DeadStores]: Value stored to '_file' is never read
# 1392|            _file = BRW_GENERAL_REGISTER_FILE;
# 1393|         } else {
# 1394|->          _file = BRW_IMMEDIATE_VALUE;
# 1395|            uint16_t imm_val = brw_inst_3src_a1_src2_imm(devinfo, inst);
# 1396|            enum brw_reg_type type = brw_inst_3src_a1_src2_type(devinfo, inst);

Error: CLANG_WARNING: [#def4212]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_disasm_info.cpp:159:8: warning[core.NullDereference]: Access to field 'opcode' results in a dereference of a null pointer (loaded from variable 'inst')
#  157|       * a corresponding hardware instruction to disassemble.
#  158|       */
#  159|->    if (inst->opcode == BRW_OPCODE_DO) {
#  160|         disasm->use_tail = true;
#  161|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4213]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu.c: scope_hint: In function ‘brw_num_sources_from_inst’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu.c:720:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu.c: scope_hint: In function ‘brw_num_sources_from_inst’
#  718|      } else {
#  719|         assert(desc->nsrc < 4);
#  720|->       return desc->nsrc;
#  721|      }
#  722|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4214]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu_compact.c: scope_hint: In function ‘brw_compact_instructions’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu_compact.c:2357:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
# 2355|         void *dst = store + offset;
# 2356|   
# 2357|->       old_ip[offset / sizeof(brw_compact_inst)] = src_offset / sizeof(brw_inst);
# 2358|         compacted_counts[src_offset / sizeof(brw_inst)] = compacted_count;
# 2359|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4215]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu_compact.c:2358:55: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compacted_counts’
# 2356|   
# 2357|         old_ip[offset / sizeof(brw_compact_inst)] = src_offset / sizeof(brw_inst);
# 2358|->       compacted_counts[src_offset / sizeof(brw_inst)] = compacted_count;
# 2359|   
# 2360|         brw_inst inst = precompact(p->isa, *src);

Error: CLANG_WARNING: [#def4216]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_bank_conflicts.cpp:285:10: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  283|            v(alloc(u.size)), size(u.size)
#  284|         {
#  285|->          memcpy(v, u.v,
#  286|                   DIV_ROUND_UP(u.size, vector_width) * sizeof(vector_type));
#  287|         }

Error: CLANG_WARNING: [#def4217]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_bank_conflicts.cpp:690:30: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  688|            const unsigned m = DIV_ROUND_UP(conflicts[r].size, vector_width);
#  689|            for (unsigned s = 0; s < m; s++)
#  690|->             any_conflicts[r] |= sums(conflicts[r].v[s]);
#  691|         }
#  692|   

Error: CLANG_WARNING: [#def4218]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_bank_conflicts.cpp:880:17: warning[cplusplus.NewDelete]: Use of memory allocated with size zero
#  878|            const unsigned reg = reg_of(r);
#  879|            const unsigned s = p.atom_of_reg(reg);
#  880|->          r.nr = map.v[s] + reg - p.reg_of_atom(s);
#  881|            r.offset = r.offset % REG_SIZE;
#  882|         }

Error: CLANG_WARNING: [#def4219]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_sel_peephole.cpp:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_builder.h:62:26: warning[core.NullDereference]: Access to field 'exec_size' results in a dereference of a null pointer (loaded from variable 'inst')
#   60|         fs_builder(fs_visitor *shader, bblock_t *block, fs_inst *inst) :
#   61|            shader(shader), block(block), cursor(inst),
#   62|->          _dispatch_width(inst->exec_size),
#   63|            _group(inst->group),
#   64|            force_writemask_all(inst->force_writemask_all)

Error: CLANG_WARNING: [#def4220]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_combine_constants.cpp:1505:14: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1503|            insert_block = imm->block;
# 1504|         } else {
# 1505|->          if (imm->block->start()->opcode == BRW_OPCODE_DO) {
# 1506|               /* DO blocks are weird. They can contain only the single DO
# 1507|                * instruction. As a result, MOV instructions cannot be added to

Error: CLANG_WARNING: [#def4221]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_cse.cpp:228:7: warning[deadcode.DeadStores]: Value stored to 'copy' is never read
#  226|            src = offset(src, bld, 1);
#  227|         }
#  228|->       copy = bld.LOAD_PAYLOAD(inst->dst, payload, inst->sources,
#  229|                                 inst->header_size);
#  230|      } else if (written != dst_width) {

Error: CLANG_WARNING: [#def4222]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_cse.cpp:239:7: warning[deadcode.DeadStores]: Value stored to 'copy' is never read
#  237|            src = offset(src, bld, 1);
#  238|         }
#  239|->       copy = bld.LOAD_PAYLOAD(inst->dst, payload, sources, 0);
#  240|      } else {
#  241|         copy = bld.MOV(inst->dst, src);

Error: CLANG_WARNING: [#def4223]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:906:10: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  904|         case BRW_OPCODE_SYNC:
#  905|            assert(src[0].file == BRW_IMMEDIATE_VALUE);
#  906|->          brw_SYNC(p, tgl_sync_function(src[0].ud));
#  907|   
#  908|            if (tgl_sync_function(src[0].ud) == TGL_SYNC_NOP)

Error: CLANG_WARNING: [#def4224]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1024:21: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1022|            break;
# 1023|         case BRW_OPCODE_FBH:
# 1024|->          brw_FBH(p, retype(dst, src[0].type), src[0]);
# 1025|            break;
# 1026|         case BRW_OPCODE_FBL:

Error: CLANG_WARNING: [#def4225]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1124:29: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1122|            assert(src[0].type == BRW_REGISTER_TYPE_UW);
# 1123|            assert(src[1].type == BRW_REGISTER_TYPE_UW);
# 1124|->          src[0].subnr = 0 * type_sz(src[0].type);
# 1125|            if (src[1].file == BRW_IMMEDIATE_VALUE) {
# 1126|               assert(src[1].ud == 0);

Error: CLANG_WARNING: [#def4226]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1136:29: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1134|            assert(src[0].type == BRW_REGISTER_TYPE_UW);
# 1135|            assert(src[1].type == BRW_REGISTER_TYPE_UW);
# 1136|->          src[0].subnr = 4 * type_sz(src[0].type);
# 1137|            if (src[1].file == BRW_IMMEDIATE_VALUE) {
# 1138|               assert(src[1].ud == 0);

Error: CLANG_WARNING: [#def4227]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1171:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1169|         case SHADER_OPCODE_MOV_RELOC_IMM:
# 1170|            assert(src[0].file == BRW_IMMEDIATE_VALUE);
# 1171|->          brw_MOV_reloc_imm(p, dst, dst.type, src[0].ud);
# 1172|            break;
# 1173|   

Error: CLANG_WARNING: [#def4228]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1186:10: warning[core.CallAndMessage]: 7th function call argument is an uninitialized value
# 1184|               BRW_OPCODE_SENDC : BRW_OPCODE_SEND;
# 1185|   
# 1186|->          brw_memory_fence(p, dst, src[0], send_op,
# 1187|                             brw_message_target(inst->sfid),
# 1188|                             inst->desc,

Error: CLANG_WARNING: [#def4229]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1262:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1260|            assert(src[1].file == BRW_IMMEDIATE_VALUE);
# 1261|            assert(src[1].type == BRW_REGISTER_TYPE_UD);
# 1262|->          generate_quad_swizzle(inst, dst, src[0], src[1].ud);
# 1263|            break;
# 1264|   

Error: CLANG_WARNING: [#def4230]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1273:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1271|            assert(src[2].file == BRW_IMMEDIATE_VALUE);
# 1272|            assert(src[2].type == BRW_REGISTER_TYPE_UD);
# 1273|->          const unsigned component = src[1].ud;
# 1274|            const unsigned cluster_size = src[2].ud;
# 1275|            assert(inst->src[0].file != ARF);

Error: CLANG_WARNING: [#def4231]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1321:43: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<<' is a garbage value
# 1319|             */
# 1320|            enum brw_rnd_mode mode =
# 1321|->             (enum brw_rnd_mode) (src[0].d << BRW_CR0_RND_MODE_SHIFT);
# 1322|            brw_float_controls_mode(p, mode, BRW_CR0_RND_MODE_MASK);
# 1323|         }

Error: CLANG_WARNING: [#def4232]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_generator.cpp:1329:10: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1327|            assert(src[0].file == BRW_IMMEDIATE_VALUE);
# 1328|            assert(src[1].file == BRW_IMMEDIATE_VALUE);
# 1329|->          brw_float_controls_mode(p, src[0].d, src[1].d);
# 1330|            break;
# 1331|   

Error: CLANG_WARNING: [#def4233]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_lower_simd_width.cpp:114:51: warning[core.DivideZero]: Division by zero
#  112|       */
#  113|      if (inst->is_3src(compiler) && !devinfo->supports_simd16_3src)
#  114|->       max_width = MIN2(max_width, inst->exec_size / reg_count);
#  115|   
#  116|      if (inst->opcode != BRW_OPCODE_MOV) {

Error: COMPILER_WARNING (CWE-563): [#def4234]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘fs_reg emit_work_group_id_setup(nir_to_brw_state&)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp:207:16: warning[-Wunused-variable]: unused variable ‘s’
#  207 |    fs_visitor &s = ntb.s;
#      |                ^
#  205|   emit_work_group_id_setup(nir_to_brw_state &ntb)
#  206|   {
#  207|->    fs_visitor &s = ntb.s;
#  208|      const fs_builder &bld = ntb.bld;
#  209|   

Error: COMPILER_WARNING (CWE-563): [#def4235]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp:2743:16: warning[-Wunused-variable]: unused variable ‘s’
# 2743 |    fs_visitor &s = ntb.s;
#      |                ^
# 2741|   {
# 2742|      const fs_builder &bld = ntb.bld;
# 2743|->    fs_visitor &s = ntb.s;
# 2744|      assert(s.stage == MESA_SHADER_VERTEX);
# 2745|   

Error: COMPILER_WARNING (CWE-563): [#def4236]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘fs_reg emit_shading_rate_setup(nir_to_brw_state&)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp:3924:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3924 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3922|   emit_shading_rate_setup(nir_to_brw_state &ntb)
# 3923|   {
# 3924|->    const intel_device_info *devinfo = ntb.devinfo;
# 3925|      const fs_builder &bld = ntb.bld;
# 3926|   

Error: COMPILER_WARNING (CWE-563): [#def4237]
mesa-24.1.2-build/mesa-24.1.2/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*, fs_reg, bool)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_nir.cpp:7926:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 7926 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 7924|                              bool bindless)
# 7925|   {
# 7926|->    const intel_device_info *devinfo = ntb.devinfo;
# 7927|   
# 7928|      enum lsc_opcode op = lsc_aop_for_nir_intrinsic(instr);

Error: CLANG_WARNING: [#def4238]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_opt_virtual_grfs.cpp:162:13: warning[deadcode.DeadStores]: Value stored to 'reg' is never read
#  160|               inst->remove(block);
#  161|            } else {
#  162|->             reg = vgrf_to_reg[inst->dst.nr];
#  163|               assert(new_reg_offset[reg] == 0);
#  164|               assert(new_virtual_grf[reg] == inst->dst.nr);

Error: COMPILER_WARNING (CWE-563): [#def4239]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_reg_allocate.cpp: scope_hint: In function ‘void brw_fs_alloc_reg_sets(brw_compiler*)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_reg_allocate.cpp:84:36: warning[-Wunused-variable]: unused variable ‘devinfo’
#   84 |    const struct intel_device_info *devinfo = compiler->devinfo;
#      |                                    ^~~~~~~
#   82|   brw_fs_alloc_reg_sets(struct brw_compiler *compiler)
#   83|   {
#   84|->    const struct intel_device_info *devinfo = compiler->devinfo;
#   85|      int base_reg_count = BRW_MAX_GRF;
#   86|   

Error: CLANG_WARNING: [#def4240]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_reg_allocate.cpp:84:36: warning[deadcode.DeadStores]: Value stored to 'devinfo' during its initialization is never read
#   82|   brw_fs_alloc_reg_sets(struct brw_compiler *compiler)
#   83|   {
#   84|->    const struct intel_device_info *devinfo = compiler->devinfo;
#   85|      int base_reg_count = BRW_MAX_GRF;
#   86|   

Error: CLANG_WARNING: [#def4241]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_fs_sel_peephole.cpp:194:41: warning[core.NullDereference]: Access to field 'src' results in a dereference of a null pointer
#  192|                                    .at(block, if_inst);
#  193|   
#  194|->          if (then_mov[i]->src[0].equals(else_mov[i]->src[0])) {
#  195|               ibld.MOV(then_mov[i]->dst, then_mov[i]->src[0]);
#  196|            } else {

Error: CLANG_WARNING: [#def4242]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_kernel.c:552:4: warning[unix.Malloc]: Potential leak of memory pointed to by '_store'
#  550|   
#  551|      /* Quick sanity check */
#  552|->    assert(util_dynarray_num_elements(&scratch_stores, nir_intrinsic_instr *) == 0 ||
#  553|             progress);
#  554|   

Error: COMPILER_WARNING (CWE-563): [#def4243]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/brw_mesh.cpp:640:12: warning[-Wunused-but-set-variable]: variable ‘inserted_back’ set but not used
#  640 |       bool inserted_back = false;
#      |            ^~~~~~~~~~~~~
#  638|         holes[found].pop_back();
#  639|   
#  640|->       bool inserted_back = false;
#  641|   
#  642|         for (auto it = order->begin(); it != order->end(); ++it) {

Error: CLANG_WARNING: [#def4244]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_mesh.cpp:677:10: warning[deadcode.DeadStores]: Value stored to 'inserted_back' is never read
#  675|            }
#  676|   
#  677|->          inserted_back = true;
#  678|            break;
#  679|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4245]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c: scope_hint: In function ‘brw_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:269:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:215:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c: scope_hint: In function ‘brw_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c: scope_hint: In function ‘brw_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:226:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:243:26: note: in expansion of macro ‘ffsll’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:263:13: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
/usr/include/sched.h:29: included_from: Included from here.
/usr/include/pthread.h:22: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/c11/threads.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_compiler.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_eu.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:263:13: note: in expansion of macro ‘util_dynarray_grow’
#  267|            /* first_hole is one beyond the end, so we don't need to add 1 */
#  268|            entry->range.length = first_hole - first_bit;
#  269|->          entry->benefit = 0;
#  270|   
#  271|            for (int i = 0; i < entry->range.length; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4246]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:314:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:214:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c: scope_hint: In function ‘brw_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_analyze_ubo_ranges.c:226:4: note: in expansion of macro ‘hash_table_foreach’
#  312|   
#  313|      for (int i = 0; i < nr_entries; i++) {
#  314|->       out_ranges[i] = entries[i].range;
#  315|   
#  316|         /* To this point, various values have been tracked in terms of the real

Error: CLANG_WARNING: [#def4247]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:162:24: warning[core.DivideZero]: Division by zero
#  160|       */
#  161|      const unsigned actual_cols = desc.use != GLSL_CMAT_USE_B ? desc.cols : desc.rows;
#  162|->    while ((actual_cols / packing_factor) < 8) {
#  163|         assert(packing_factor > 1);
#  164|         packing_factor /= 2;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4248]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:254:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_load_store’
#  252|   
#  253|      nir_deref_instr *pointer = nir_src_as_deref(intrin->src[ptr_src]);
#  254|->    const unsigned ptr_comp_width = glsl_get_bit_size(pointer->type);
#  255|      const unsigned ptr_num_comps = glsl_get_vector_elements(pointer->type);
#  256|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4249]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘lower_any_hit_for_intersection’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c:53:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303: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): [#def4250]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c:166:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_intersection_shader.c: scope_hint: In function ‘brw_nir_lower_intersection_shader’
mesa-24.1.2-build/mesa-24.1.2/src/util/set.h:129:56: note: in definition of macro ‘set_foreach’
#  164|   
#  165|      assert(impl->end_block->predecessors->entries == 1);
#  166|->    set_foreach(impl->end_block->predecessors, block_entry) {
#  167|         struct nir_block *block = (void *)block_entry->key;
#  168|         b->cursor = nir_after_block_before_jump(block);

Error: COMPILER_WARNING (CWE-563): [#def4251]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_ray_queries.c: scope_hint: In function ‘register_opaque_var’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4252]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_ray_queries.c:67:23: warning[deadcode.DeadStores]: Value stored to 'entry' during its initialization is never read
#   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: CLANG_WARNING: [#def4253]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_lower_rt_intrinsics.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt_builder.h:458:4: warning[deadcode.DeadStores]: Value stored to 'dst_align' is never read
#  456|      /* We're going to copy in 16B chunks */
#  457|      assert(size % 16 == 0);
#  458|->    dst_align = MIN2(dst_align, 16);
#  459|      src_align = MIN2(src_align, 16);
#  460|   

Error: CLANG_WARNING: [#def4254]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt_builder.h:459:4: warning[deadcode.DeadStores]: Value stored to 'src_align' is never read
#  457|      assert(size % 16 == 0);
#  458|      dst_align = MIN2(dst_align, 16);
#  459|->    src_align = MIN2(src_align, 16);
#  460|   
#  461|      for (unsigned offset = 0; offset < size; offset += 16) {

Error: CLANG_WARNING: [#def4255]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/brw_nir_rt_builder.h:611:13: warning[deadcode.DeadStores]: Value stored to 'committed_hit_dwords_0_3' during its initialization is never read
#  609|       *   committed.done            = false;
#  610|       */
#  611|->    nir_def *committed_hit_dwords_0_3 =
#  612|         brw_nir_rt_load(b, committed_addr, 16, 4, 32);
#  613|      committed_hit_dwords_0_3 =

Error: CLANG_WARNING: [#def4256]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:78:4: warning[core.CallAndMessage]: Called C++ object pointer is null
#   76|                           enum bblock_link_kind kind)
#   77|   {
#   78|->    successor->parents.push_tail(::link(mem_ctx, this, kind));
#   79|      children.push_tail(::link(mem_ctx, successor, kind));
#   80|   }

Error: CLANG_WARNING: [#def4257]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:248:10: warning[core.CallAndMessage]: Called C++ object pointer is null
#  246|   	 next = new_block();
#  247|            assert(cur_if != NULL);
#  248|->          cur_if->add_successor(mem_ctx, next, bblock_link_logical);
#  249|            cur_else->add_successor(mem_ctx, next, bblock_link_physical);
#  250|   

Error: CLANG_WARNING: [#def4258]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:274:13: warning[core.CallAndMessage]: Called C++ object pointer is null
#  272|            } else {
#  273|               assert(cur_if != NULL);
#  274|->             cur_if->add_successor(mem_ctx, cur_endif, bblock_link_logical);
#  275|            }
#  276|   

Error: CLANG_WARNING: [#def4259]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:359:38: warning[core.CallAndMessage]: Called C++ object pointer is null
#  357|             */
#  358|            assert(cur_do != NULL);
#  359|->          cur->add_successor(mem_ctx, cur_do->next(), bblock_link_logical);
#  360|   
#  361|   	 next = new_block();

Error: CLANG_WARNING: [#def4260]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:413:41: warning[core.CallAndMessage]: Called C++ object pointer is null
#  411|               cur->add_successor(mem_ctx, cur_do, bblock_link_logical);
#  412|            } else {
#  413|->             cur->add_successor(mem_ctx, cur_do->next(), bblock_link_logical);
#  414|            }
#  415|   

Error: CLANG_WARNING: [#def4261]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_cfg.cpp:611:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  609|         util_dynarray_append(scratch, link_desc, l);
#  610|      }
#  611|->    qsort(scratch->data, util_dynarray_num_elements(scratch, link_desc),
#  612|            sizeof(link_desc), compare_link_desc);
#  613|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4262]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_clip_util.c: scope_hint: In function ‘elk_clip_interp_vertex’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_clip_util.c:267:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t_nopersp’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_clip.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_clip_util.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_clip_util.c: scope_hint: In function ‘elk_clip_interp_vertex’
#  265|            if (interp != INTERP_MODE_FLAT) {
#  266|               struct elk_reg tmp = get_tmp(c);
#  267|->             struct elk_reg t =
#  268|                  interp == INTERP_MODE_NOPERSPECTIVE ? t_nopersp : t0;
#  269|   

Error: CLANG_WARNING: [#def4263]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_compiler.c:166:4: warning[deadcode.DeadStores]: Value stored to 'bits' is never read
#  164|   
#  165|      mask = 3;
#  166|->    bits += util_bitcount64(mask);
#  167|   
#  168|      assert(bits <= util_bitcount64(UINT64_MAX));

Error: CLANG_WARNING: [#def4264]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm.c:736:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  734|                      elem_size);
#  735|            string(file, "<");
#  736|->          err |= control(file, "horiz stride", horiz_stride,
#  737|                           elk_inst_dst_hstride(devinfo, inst), NULL);
#  738|            string(file, ">");

Error: CLANG_WARNING: [#def4265]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm.c:748:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  746|               format(file, " %d", elk_inst_dst_ia1_addr_imm(devinfo, inst));
#  747|            string(file, "]<");
#  748|->          err |= control(file, "horiz stride", horiz_stride,
#  749|                           elk_inst_dst_hstride(devinfo, inst), NULL);
#  750|            string(file, ">");

Error: CLANG_WARNING: [#def4266]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm.c:762:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  760|               format(file, ".%u", 16 / elem_size);
#  761|            string(file, "<1>");
#  762|->          err |= control(file, "writemask", writemask,
#  763|                           elk_inst_da16_writemask(devinfo, inst), NULL);
#  764|            string(file, elk_reg_type_to_letters(type));

Error: CLANG_WARNING: [#def4267]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm.c:766:10: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  764|            string(file, elk_reg_type_to_letters(type));
#  765|         } else {
#  766|->          err = 1;
#  767|            string(file, "Indirect align16 address mode not supported");
#  768|         }

Error: CLANG_WARNING: [#def4268]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm.c:805:7: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  803|   
#  804|      if (!is_align1) {
#  805|->       err |= control(file, "writemask", writemask,
#  806|                        elk_inst_3src_a16_dst_writemask(devinfo, inst), NULL);
#  807|      }

Error: CLANG_WARNING: [#def4269]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_disasm_info.c:159:29: warning[core.NullDereference]: Access to field 'opcode' results in a dereference of a null pointer (loaded from variable 'inst')
#  157|       * a corresponding hardware instruction to disassemble.
#  158|       */
#  159|->    if (devinfo->ver >= 6 && inst->opcode == ELK_OPCODE_DO) {
#  160|         disasm->use_tail = true;
#  161|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4270]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.c:807:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.c: scope_hint: In function ‘elk_num_sources_from_inst’
mesa-24.1.2-build/mesa-24.1.2/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: [#def4271]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4272]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4273]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4274]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4275]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4276]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4277]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4278]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4279]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4280]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4281]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4282]
mesa-24.1.2-build/mesa-24.1.2/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: [#def4283]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4284]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_compact.c: scope_hint: In function ‘elk_compact_instructions’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4285]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4286]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:54:14: warning[-Wanalyzer-malloc-leak]: leak of ‘error_msg.str’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2281:7: note: in expansion of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2284:10: note: in expansion of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:83:29: note: in definition of macro ‘CHECK’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:74:27: note: in expansion of macro ‘FC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:149:1: note: in expansion of macro ‘F’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c: scope_hint: In function ‘cat’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:318:7: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_defines.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:869:4: note: in expansion of macro ‘assume’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:870:4: note: in expansion of macro ‘assume’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:870:4: note: in expansion of macro ‘assume’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:118:1: note: in expansion of macro ‘FF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_inst.h:373:1: note: in expansion of macro ‘F8’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:12: note: in definition of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:322:10: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4287]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:55:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:76:22: note: in expansion of macro ‘CONTAINS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:2279:7: note: in expansion of macro ‘ERROR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:77:10: note: in expansion of macro ‘CAT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_eu_validate.c:73:20: note: in expansion of macro ‘ERROR_IF’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4288]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_bank_conflicts.cpp:285:10: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  283|            v(alloc(u.size)), size(u.size)
#  284|         {
#  285|->          memcpy(v, u.v,
#  286|                   DIV_ROUND_UP(u.size, vector_width) * sizeof(vector_type));
#  287|         }

Error: CLANG_WARNING: [#def4289]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_bank_conflicts.cpp:695:30: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  693|            const unsigned m = DIV_ROUND_UP(conflicts[r].size, vector_width);
#  694|            for (unsigned s = 0; s < m; s++)
#  695|->             any_conflicts[r] |= sums(conflicts[r].v[s]);
#  696|         }
#  697|   

Error: CLANG_WARNING: [#def4290]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_bank_conflicts.cpp:885:17: warning[cplusplus.NewDelete]: Use of memory allocated with size zero
#  883|            const unsigned reg = reg_of(r);
#  884|            const unsigned s = p.atom_of_reg(reg);
#  885|->          r.nr = map.v[s] + reg - p.reg_of_atom(s);
#  886|            r.offset = r.offset % REG_SIZE;
#  887|         }

Error: CLANG_WARNING: [#def4291]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_sel_peephole.cpp:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_builder.h:77:26: warning[core.NullDereference]: Access to field 'exec_size' results in a dereference of a null pointer (loaded from variable 'inst')
#   75|         fs_builder(elk_fs_visitor *shader, elk_bblock_t *block, elk_fs_inst *inst) :
#   76|            shader(shader), block(block), cursor(inst),
#   77|->          _dispatch_width(inst->exec_size),
#   78|            _group(inst->group),
#   79|            force_writemask_all(inst->force_writemask_all)

Error: CLANG_WARNING: [#def4292]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_cse.cpp:224:7: warning[deadcode.DeadStores]: Value stored to 'copy' is never read
#  222|            src = offset(src, bld, 1);
#  223|         }
#  224|->       copy = bld.LOAD_PAYLOAD(inst->dst, payload, inst->sources,
#  225|                                 inst->header_size);
#  226|      } else if (written != dst_width) {

Error: CLANG_WARNING: [#def4293]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_cse.cpp:235:7: warning[deadcode.DeadStores]: Value stored to 'copy' is never read
#  233|            src = offset(src, bld, 1);
#  234|         }
#  235|->       copy = bld.LOAD_PAYLOAD(inst->dst, payload, sources, 0);
#  236|      } else {
#  237|         copy = bld.MOV(inst->dst, src);

Error: CLANG_WARNING: [#def4294]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:1772:21: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1770|         case ELK_OPCODE_FBH:
# 1771|            assert(devinfo->ver >= 7);
# 1772|->          elk_FBH(p, retype(dst, src[0].type), src[0]);
# 1773|            break;
# 1774|         case ELK_OPCODE_FBL:

Error: CLANG_WARNING: [#def4295]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:1895:29: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1893|            assert(src[0].type == ELK_REGISTER_TYPE_UW);
# 1894|            assert(src[1].type == ELK_REGISTER_TYPE_UW);
# 1895|->          src[0].subnr = 0 * type_sz(src[0].type);
# 1896|            if (src[1].file == ELK_IMMEDIATE_VALUE) {
# 1897|               assert(src[1].ud == 0);

Error: CLANG_WARNING: [#def4296]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:1907:29: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1905|            assert(src[0].type == ELK_REGISTER_TYPE_UW);
# 1906|            assert(src[1].type == ELK_REGISTER_TYPE_UW);
# 1907|->          src[0].subnr = 4 * type_sz(src[0].type);
# 1908|            if (src[1].file == ELK_IMMEDIATE_VALUE) {
# 1909|               assert(src[1].ud == 0);

Error: CLANG_WARNING: [#def4297]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:1971:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1969|         case ELK_SHADER_OPCODE_MOV_RELOC_IMM:
# 1970|            assert(src[0].file == ELK_IMMEDIATE_VALUE);
# 1971|->          elk_MOV_reloc_imm(p, dst, dst.type, src[0].ud);
# 1972|            break;
# 1973|   

Error: CLANG_WARNING: [#def4298]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2005:10: warning[core.CallAndMessage]: 7th function call argument is an uninitialized value
# 2003|               ELK_OPCODE_SENDC : ELK_OPCODE_SEND;
# 2004|   
# 2005|->          elk_memory_fence(p, dst, src[0], send_op,
# 2006|                             elk_message_target(inst->sfid),
# 2007|                             inst->desc,

Error: CLANG_WARNING: [#def4299]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2072:10: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 2070|            assert(src[1].file == ELK_IMMEDIATE_VALUE);
# 2071|            assert(src[1].type == ELK_REGISTER_TYPE_UD);
# 2072|->          generate_quad_swizzle(inst, dst, src[0], src[1].ud);
# 2073|            break;
# 2074|   

Error: CLANG_WARNING: [#def4300]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2083:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2081|            assert(src[2].file == ELK_IMMEDIATE_VALUE);
# 2082|            assert(src[2].type == ELK_REGISTER_TYPE_UD);
# 2083|->          const unsigned component = src[1].ud;
# 2084|            const unsigned cluster_size = src[2].ud;
# 2085|            assert(inst->src[0].file != ARF && inst->src[0].file != FIXED_GRF);

Error: CLANG_WARNING: [#def4301]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2141:43: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<<' is a garbage value
# 2139|             */
# 2140|            enum elk_rnd_mode mode =
# 2141|->             (enum elk_rnd_mode) (src[0].d << ELK_CR0_RND_MODE_SHIFT);
# 2142|            elk_float_controls_mode(p, mode, ELK_CR0_RND_MODE_MASK);
# 2143|         }

Error: CLANG_WARNING: [#def4302]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2149:10: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 2147|            assert(src[0].file == ELK_IMMEDIATE_VALUE);
# 2148|            assert(src[1].file == ELK_IMMEDIATE_VALUE);
# 2149|->          elk_float_controls_mode(p, src[0].d, src[1].d);
# 2150|            break;
# 2151|   

Error: CLANG_WARNING: [#def4303]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_generator.cpp:2153:26: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 2151|   
# 2152|         case ELK_SHADER_OPCODE_READ_SR_REG:
# 2153|->          elk_MOV(p, dst, elk_sr0_reg(src[0].ud));
# 2154|            break;
# 2155|   

Error: COMPILER_WARNING (CWE-563): [#def4304]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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): [#def4305]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:2607:20: warning[-Wunused-variable]: unused variable ‘s’
# 2607 |    elk_fs_visitor &s = ntb.s;
#      |                    ^
# 2605|   {
# 2606|      const fs_builder &bld = ntb.bld;
# 2607|->    elk_fs_visitor &s = ntb.s;
# 2608|      assert(s.stage == MESA_SHADER_VERTEX);
# 2609|   

Error: COMPILER_WARNING (CWE-563): [#def4306]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplepos_setup(nir_to_elk_state&)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:3486:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3486 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3484|   emit_samplepos_setup(nir_to_elk_state &ntb)
# 3485|   {
# 3486|->    const intel_device_info *devinfo = ntb.devinfo;
# 3487|      const fs_builder &bld = ntb.bld;
# 3488|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def4307]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplemaskin_setup(nir_to_elk_state&)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:3666:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3666 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3664|   emit_samplemaskin_setup(nir_to_elk_state &ntb)
# 3665|   {
# 3666|->    const intel_device_info *devinfo = ntb.devinfo;
# 3667|      const fs_builder &bld = ntb.bld;
# 3668|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def4308]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:4063:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 4063 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 4061|                            nir_intrinsic_instr *instr)
# 4062|   {
# 4063|->    const intel_device_info *devinfo = ntb.devinfo;
# 4064|      const fs_builder &bld = ntb.bld;
# 4065|      elk_fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def4309]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg get_timestamp(const elk::fs_builder&)’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:4629:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 4629 |    const intel_device_info *devinfo = s.devinfo;
#      |                             ^~~~~~~
# 4627|   {
# 4628|      elk_fs_visitor &s = *bld.shader;
# 4629|->    const intel_device_info *devinfo = s.devinfo;
# 4630|   
# 4631|      assert(devinfo->ver >= 7);

Error: COMPILER_WARNING (CWE-563): [#def4310]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_nir.cpp:6322:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 6322 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 6320|                              bool bindless)
# 6321|   {
# 6322|->    const intel_device_info *devinfo = ntb.devinfo;
# 6323|      elk_fs_visitor &s = ntb.s;
# 6324|   

Error: CLANG_WARNING: [#def4311]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_fs_sel_peephole.cpp:194:41: warning[core.NullDereference]: Access to field 'src' results in a dereference of a null pointer
#  192|                                    .at(block, if_inst);
#  193|   
#  194|->          if (then_mov[i]->src[0].equals(else_mov[i]->src[0])) {
#  195|               ibld.MOV(then_mov[i]->dst, then_mov[i]->src[0]);
#  196|            } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4312]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c: scope_hint: In function ‘elk_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:262:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:210:7: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c: scope_hint: In function ‘elk_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4265:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c: scope_hint: In function ‘elk_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:219:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:236:26: note: in expansion of macro ‘ffsll’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:256:13: note: in expansion of macro ‘util_dynarray_grow’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
/usr/include/sched.h:29: included_from: Included from here.
/usr/include/pthread.h:22: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/c11/threads.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:256:13: note: in expansion of macro ‘util_dynarray_grow’
#  260|            /* first_hole is one beyond the end, so we don't need to add 1 */
#  261|            entry->range.length = first_hole - first_bit;
#  262|->          entry->benefit = 0;
#  263|   
#  264|            for (int i = 0; i < entry->range.length; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4313]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:308:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:209:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c: scope_hint: In function ‘elk_nir_analyze_ubo_ranges’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_nir_analyze_ubo_ranges.c:219:4: note: in expansion of macro ‘hash_table_foreach’
#  306|   
#  307|      for (int i = 0; i < nr_entries; i++) {
#  308|->       out_ranges[i] = entries[i].range;
#  309|      }
#  310|      for (int i = nr_entries; i < 4; i++) {

Error: CLANG_WARNING: [#def4314]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_reg_type.c:330:11: warning[core.NullDereference]: Dereference of null pointer
#  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-476): [#def4315]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_reg_type.c: scope_hint: In function ‘elk_a16_hw_3src_type_to_reg_type’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4316]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_schedule_instructions.cpp:1922:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1920|   
# 1921|      if (!post_reg_alloc) {
# 1922|->       memset(reads_remaining, 0, grf_count * sizeof(*reads_remaining));
# 1923|         memset(hw_reads_remaining, 0, hw_reg_count * sizeof(*hw_reads_remaining));
# 1924|         memset(written, 0, grf_count * sizeof(*written));

Error: CLANG_WARNING: [#def4317]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_shader.cpp:138:30: warning[core.BitwiseShift]: Left shift by '4294967292' overflows the capacity of 'int'
#  136|   
#  137|         const unsigned shift = 4 * (2 - i);
#  138|->       offset_bits |= (offset << shift) & (0xF << shift);
#  139|      }
#  140|   

Error: GCC_ANALYZER_WARNING (CWE-787): [#def4318]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_vue_map.c: scope_hint: In function ‘varying_name’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_vue_map.c:297:20: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/dev/intel_device_info.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_compiler.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_vue_map.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/elk/elk_vue_map.c:286:4: note: in expansion of macro ‘assume’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4319]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c: scope_hint: In function ‘print_kernel’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:210:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fp’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:544:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:557:4: note: in expansion of macro ‘util_dynarray_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c: scope_hint: In function ‘print_kernel’
<built-in>: note: argument 4 of ‘__builtin_fwrite’ must be non-null
#  208|      _mesa_sha1_update(&sha1_ctx, &val, sizeof(val))
#  209|   
#  210|->    fprintf(fp, "#include \"intel/compiler/brw_kernel.h\"\n");
#  211|      fprintf(fp, "\n");
#  212|   

Error: CLANG_WARNING: [#def4320]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:534:10: warning[unix.Malloc]: Potential leak of memory pointed to by 'input_files.data'
#  532|            break;
#  533|         default:
#  534|->          fprintf(stderr, "Unrecognized option \"%s\".\n", optarg);
#  535|            print_usage(argv[0], stderr);
#  536|            goto fail;

Error: CLANG_WARNING: [#def4321]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:545:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'clang_args.data'
#  543|   
#  544|      if (util_dynarray_num_elements(&input_files, char *) == 0) {
#  545|->       fprintf(stderr, "No input file(s).\n");
#  546|         print_usage(argv[0], stderr);
#  547|         goto fail;

Error: CLANG_WARNING: [#def4322]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:560:10: warning[unix.Malloc]: Potential leak of memory pointed to by 'infile'
#  558|         int fd = open(*infile, O_RDONLY);
#  559|         if (fd < 0) {
#  560|->          fprintf(stderr, "Failed to open %s\n", *infile);
#  561|            goto fail;
#  562|         }

Error: COMPILER_WARNING (CWE-252): [#def4323]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c: scope_hint: In function ‘main’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:572:7: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
#  572 |       read(fd, all_inputs + total_size, len);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  570|         }
#  571|         lseek(fd, 0, SEEK_SET);
#  572|->       read(fd, all_inputs + total_size, len);
#  573|         close(fd);
#  574|         total_size = new_size;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4324]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:580:7: warning[-Wanalyzer-null-argument]: use of NULL ‘all_inputs’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:544:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:557:4: note: in expansion of macro ‘util_dynarray_foreach’
mesa-24.1.2-build/mesa-24.1.2/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
#  578|      if (params.txt_outfile) {
#  579|         FILE *fp = fopen(params.txt_outfile, "w");
#  580|->       fwrite(all_inputs, total_size, 1, fp);
#  581|         fclose(fp);
#  582|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4325]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:580:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(params.txt_outfile, "w")’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:544:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:557:4: note: in expansion of macro ‘util_dynarray_foreach’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  578|      if (params.txt_outfile) {
#  579|         FILE *fp = fopen(params.txt_outfile, "w");
#  580|->       fwrite(all_inputs, total_size, 1, fp);
#  581|         fclose(fp);
#  582|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4326]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:614:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(params.spv_outfile, "w")’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:541:7: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:544:8: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_clc.c:557:4: note: in expansion of macro ‘util_dynarray_foreach’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  612|      if (params.spv_outfile) {
#  613|         FILE *fp = fopen(params.spv_outfile, "w");
#  614|->       fwrite(spirv_obj.data, spirv_obj.size, 1, fp);
#  615|         fclose(fp);
#  616|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4327]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:64:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘intel_nir_clamp_image_1d_2d_array_sizes_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4328]
mesa-24.1.2-build/mesa-24.1.2/src/intel/compiler/intel_nir_tcs_workarounds.c:130:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  128|   
#  129|      for (i = 0; i < num_end_preds; i++) {
#  130|->       emit_quads_workaround(&b, end_preds[i]);
#  131|      }
#  132|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4329]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/decoder/intel_batch_decoder.c: scope_hint: In function ‘intel_print_accumulated_instrs’
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_batch_decoder.c:1553:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_batch_decoder.c:1561:10: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4330]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/intel/decoder/intel_batch_decoder.c: scope_hint: In function ‘intel_batch_print_stats’
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_batch_decoder.c:1836:4: note: in expansion of macro ‘hash_table_foreach’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4331]
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_decoder.c:193:29: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  191|         char *p;
#  192|         if (strcmp(atts[i], "length") == 0) {
#  193|->          group->dw_length = strtoul(atts[i + 1], &p, 0);
#  194|         } else if (strcmp(atts[i], "bias") == 0) {
#  195|            group->bias = strtoul(atts[i + 1], &p, 0);

Error: CLANG_WARNING: [#def4332]
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_decoder.c:195:24: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  193|            group->dw_length = strtoul(atts[i + 1], &p, 0);
#  194|         } else if (strcmp(atts[i], "bias") == 0) {
#  195|->          group->bias = strtoul(atts[i + 1], &p, 0);
#  196|         } else if (strcmp(atts[i], "engine") == 0) {
#  197|            void *mem_ctx = ralloc_context(NULL);

Error: CLANG_WARNING: [#def4333]
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_decoder.c:495:43: warning[core.NullDereference]: Access to field 'fields' results in a dereference of a null pointer (loaded from variable 'group')
#  493|         g = g->next;
#  494|      }
#  495|->    move_field_to_spec(new_spec, old_spec, group->fields);
#  496|      move_field_to_spec(new_spec, old_spec, group->dword_length_field);
#  497|   }

Error: CLANG_WARNING: [#def4334]
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_decoder.c:1255:8: warning[core.NullDereference]: Access to field 'name' results in a dereference of a null pointer (loaded from field 'field')
# 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-476): [#def4335]
mesa-24.1.2-build/mesa-24.1.2/src/intel/decoder/intel_decoder.c: scope_hint: In function ‘iter_decode_field’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4336]
mesa-24.1.2-build/mesa-24.1.2/src/intel/dev/intel_device_info.c:1709:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1707|         break;
# 1708|      default:
# 1709|->       ret = false;
# 1710|         unreachable("Missing");
# 1711|      }

Error: CLANG_WARNING: [#def4337]
mesa-24.1.2-build/mesa-24.1.2/src/intel/dev/intel_device_info.h:204:4: note: expanded from macro 'intel_needs_workaround'
#  202|   #ifdef GFX_VERx10
#  203|   #define intel_needs_workaround(devinfo, id)         \
#  204|->    (INTEL_WA_ ## id ## _GFX_VER &&                              \
#  205|       BITSET_TEST(devinfo->workarounds, INTEL_WA_##id))
#  206|   #else

Error: CLANG_WARNING: [#def4338]
mesa-24.1.2-build/mesa-24.1.2/src/intel/dev/intel_device_info.h:204:5: note: expanded from macro 'intel_needs_workaround'
#  202|   #ifdef GFX_VERx10
#  203|   #define intel_needs_workaround(devinfo, id)         \
#  204|->    (INTEL_WA_ ## id ## _GFX_VER &&                              \
#  205|       BITSET_TEST(devinfo->workarounds, INTEL_WA_##id))
#  206|   #else

Error: CLANG_WARNING: [#def4339]
mesa-24.1.2-build/mesa-24.1.2/src/intel/dev/intel_device_info.h:205:5: note: expanded from macro 'intel_needs_workaround'
#  203|   #define intel_needs_workaround(devinfo, id)         \
#  204|      (INTEL_WA_ ## id ## _GFX_VER &&                              \
#  205|->     BITSET_TEST(devinfo->workarounds, INTEL_WA_##id))
#  206|   #else
#  207|   #define intel_needs_workaround(devinfo, id) \

Error: CLANG_WARNING: [#def4340]
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/gen_macros.h:59:17: note: expanded from macro 'GFX_VER'
#   57|   #endif
#   58|   
#   59|-> #define GFX_VER ((GFX_VERx10) / 10)
#   60|   
#   61|   /* Prefixing macros */

Error: CLANG_WARNING: [#def4341]
mesa-24.1.2-build/mesa-24.1.2/src/intel/genxml/gen_macros.h:93:19: note: expanded from macro 'GENX'
#   91|   #  define genX(x) gfx12_##x
#   92|   #elif (GFX_VERx10 == 125)
#   93|-> #  define GENX(X) GFX125_##X
#   94|   #  define genX(x) gfx125_##x
#   95|   #elif (GFX_VERx10 == 200)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4342]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.c: scope_hint: In function ‘isl_tiling_get_info’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.c:940:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘logical_el.<Ud390>.w’
#  938|   #undef tile_extent3d
#  939|   
#  940|->       phys_B.w = logical_el.w * bs;
#  941|         phys_B.h = 64 * 1024 / phys_B.w;
#  942|         break;

Error: CLANG_WARNING: [#def4343]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.c:940:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  938|   #undef tile_extent3d
#  939|   
#  940|->       phys_B.w = logical_el.w * bs;
#  941|         phys_B.h = 64 * 1024 / phys_B.w;
#  942|         break;

Error: CLANG_WARNING: [#def4344]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2347:11: note: Assuming 'usage' is not equal to ISL_AUX_USAGE_HIZ
# 2345|   isl_aux_usage_has_hiz(enum isl_aux_usage usage)
# 2346|   {
# 2347|->    return usage == ISL_AUX_USAGE_HIZ ||
# 2348|             usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|             usage == ISL_AUX_USAGE_HIZ_CCS;

Error: CLANG_WARNING: [#def4345]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2347:11: note: Left side of '||' is false
# 2345|   isl_aux_usage_has_hiz(enum isl_aux_usage usage)
# 2346|   {
# 2347|->    return usage == ISL_AUX_USAGE_HIZ ||
# 2348|             usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|             usage == ISL_AUX_USAGE_HIZ_CCS;

Error: CLANG_WARNING: [#def4346]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2348:11: note: Assuming 'usage' is equal to ISL_AUX_USAGE_HIZ_CCS_WT
# 2346|   {
# 2347|      return usage == ISL_AUX_USAGE_HIZ ||
# 2348|->           usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|             usage == ISL_AUX_USAGE_HIZ_CCS;
# 2350|   }

Error: CLANG_WARNING: [#def4347]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2348:11: note: Assuming 'usage' is not equal to ISL_AUX_USAGE_HIZ_CCS_WT
# 2346|   {
# 2347|      return usage == ISL_AUX_USAGE_HIZ ||
# 2348|->           usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|             usage == ISL_AUX_USAGE_HIZ_CCS;
# 2350|   }

Error: CLANG_WARNING: [#def4348]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2348:45: note: Left side of '||' is true
# 2346|   {
# 2347|      return usage == ISL_AUX_USAGE_HIZ ||
# 2348|->           usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|             usage == ISL_AUX_USAGE_HIZ_CCS;
# 2350|   }

Error: CLANG_WARNING: [#def4349]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2349:11: note: Assuming 'usage' is not equal to ISL_AUX_USAGE_HIZ_CCS
# 2347|      return usage == ISL_AUX_USAGE_HIZ ||
# 2348|             usage == ISL_AUX_USAGE_HIZ_CCS_WT ||
# 2349|->           usage == ISL_AUX_USAGE_HIZ_CCS;
# 2350|   }
# 2351|   

Error: CLANG_WARNING: [#def4350]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2377:11: note: Assuming 'usage' is not equal to ISL_AUX_USAGE_CCS_E
# 2375|   isl_aux_usage_has_ccs_e(enum isl_aux_usage usage)
# 2376|   {
# 2377|->    return usage == ISL_AUX_USAGE_CCS_E ||
# 2378|             usage == ISL_AUX_USAGE_FCV_CCS_E;
# 2379|   }

Error: CLANG_WARNING: [#def4351]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2377:11: note: Left side of '||' is false
# 2375|   isl_aux_usage_has_ccs_e(enum isl_aux_usage usage)
# 2376|   {
# 2377|->    return usage == ISL_AUX_USAGE_CCS_E ||
# 2378|             usage == ISL_AUX_USAGE_FCV_CCS_E;
# 2379|   }

Error: CLANG_WARNING: [#def4352]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:2378:11: note: Assuming 'usage' is equal to ISL_AUX_USAGE_FCV_CCS_E
# 2376|   {
# 2377|      return usage == ISL_AUX_USAGE_CCS_E ||
# 2378|->           usage == ISL_AUX_USAGE_FCV_CCS_E;
# 2379|   }
# 2380|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4353]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:299:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:182:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:182:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
#  297|   
#  298|      if (devinfo->has_flat_ccs) {
#  299|->       if (isl_drm_modifier_get_info(modifier)->supports_clear_color)
#  300|            return 2 * fmt_planes;
#  301|         else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4354]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:304:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:182:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c:182:4: note: in expansion of macro ‘isl_drm_modifier_info_for_each’
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_drm.c: scope_hint: In function ‘isl_drm_modifier_get_plane_count’
#  302|            return 1 * fmt_planes;
#  303|      } else {
#  304|->       if (isl_drm_modifier_get_info(modifier)->supports_clear_color)
#  305|            return 3 * fmt_planes;
#  306|         else if (isl_drm_modifier_has_aux(modifier))

Error: CLANG_WARNING: [#def4355]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_emit_depth_stencil.c:410:15: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from field 'depth_surf')
#  408|         clear.DepthClearValue = info->depth_clear_value;
#  409|   #else
#  410|->       switch (info->depth_surf->format) {
#  411|         case ISL_FORMAT_R32_FLOAT: {
#  412|            union { float f; uint32_t u; } fu;

Error: CLANG_WARNING: [#def4356]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_emit_depth_stencil.c:434:4: warning[deadcode.DeadStores]: Value stored to 'dw' is never read
#  432|      uint32_t *dw = batch;
#  433|      GENX(3DSTATE_DEPTH_BUFFER_pack)(NULL, dw, &db);
#  434|->    dw += GENX(3DSTATE_DEPTH_BUFFER_length);
#  435|   
#  436|   #if GFX_VER >= 6

Error: CLANG_WARNING: [#def4357]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_emit_depth_stencil.c:441:4: warning[deadcode.DeadStores]: Value stored to 'dw' is never read
#  439|   
#  440|      GENX(3DSTATE_HIER_DEPTH_BUFFER_pack)(NULL, dw, &hiz);
#  441|->    dw += GENX(3DSTATE_HIER_DEPTH_BUFFER_length);
#  442|   
#  443|   #if GFX_VER < 20

Error: CLANG_WARNING: [#def4358]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_emit_depth_stencil.c:445:4: warning[deadcode.DeadStores]: Value stored to 'dw' is never read
#  443|   #if GFX_VER < 20
#  444|      GENX(3DSTATE_CLEAR_PARAMS_pack)(NULL, dw, &clear);
#  445|->    dw += GENX(3DSTATE_CLEAR_PARAMS_length);
#  446|   #endif /* GFX_VER < 20 */
#  447|   #endif /* GFX_VER >= 6 */

Error: CLANG_WARNING: [#def4359]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_priv.h:101:20: note: expanded from macro 'MAX'
#   99|   
#  100|   #define MIN(a, b) ((a) < (b) ? (a) : (b))
#  101|-> #define MAX(a, b) ((a) > (b) ? (a) : (b))
#  102|   
#  103|   typedef void *(*isl_mem_copy_fn)(void *dest, const void *src, size_t n);

Error: CLANG_WARNING: [#def4360]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:376:28: note: Left side of '&&' is false
#  374|          * This restriction appears to exist only on Ivy Bridge.
#  375|          */
#  376|->       if (GFX_VERx10 == 70 && !ISL_DEV_IS_BAYTRAIL(dev) &&
#  377|             (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) &&
#  378|             info->surf->samples > 1)

Error: CLANG_WARNING: [#def4361]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:399:7: note: Taking false branch
#  397|          *    This field must be set to the same value as the Depth field.
#  398|          */
#  399|->       if (info->view->usage & (ISL_SURF_USAGE_RENDER_TARGET_BIT |
#  400|                                  ISL_SURF_USAGE_STORAGE_BIT))
#  401|            s.RenderTargetViewExtent = s.Depth;

Error: CLANG_WARNING: [#def4362]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:399:11: note: Assuming the condition is false
#  397|          *    This field must be set to the same value as the Depth field.
#  398|          */
#  399|->       if (info->view->usage & (ISL_SURF_USAGE_RENDER_TARGET_BIT |
#  400|                                  ISL_SURF_USAGE_STORAGE_BIT))
#  401|            s.RenderTargetViewExtent = s.Depth;

Error: CLANG_WARNING: [#def4363]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:402:7: note:  Execution continues on line 445
#  400|                                  ISL_SURF_USAGE_STORAGE_BIT))
#  401|            s.RenderTargetViewExtent = s.Depth;
#  402|->       break;
#  403|      case SURFTYPE_CUBE:
#  404|         s.MinimumArrayElement = info->view->base_array_layer;

Error: CLANG_WARNING: [#def4364]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:445:4: note: Taking false branch
#  443|   
#  444|   #if GFX_VER >= 7
#  445|->    if (INTEL_NEEDS_WA_1806565034) {
#  446|         /* Wa_1806565034:
#  447|          *

Error: CLANG_WARNING: [#def4365]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:445:8: note: 110 is not equal to 120
#  443|   
#  444|   #if GFX_VER >= 7
#  445|->    if (INTEL_NEEDS_WA_1806565034) {
#  446|         /* Wa_1806565034:
#  447|          *

Error: CLANG_WARNING: [#def4366]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:445:8: note: 80 is not equal to 120
#  443|   
#  444|   #if GFX_VER >= 7
#  445|->    if (INTEL_NEEDS_WA_1806565034) {
#  446|         /* Wa_1806565034:
#  447|          *

Error: CLANG_WARNING: [#def4367]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:445:8: note: 90 is not equal to 120
#  443|   
#  444|   #if GFX_VER >= 7
#  445|->    if (INTEL_NEEDS_WA_1806565034) {
#  446|         /* Wa_1806565034:
#  447|          *

Error: CLANG_WARNING: [#def4368]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:461:4: note: Taking false branch
#  459|   #endif
#  460|   
#  461|->    if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) {
#  462|         /* For render target surfaces, the hardware interprets field
#  463|          * MIPCount/LOD as LOD. The Broadwell PRM says:

Error: CLANG_WARNING: [#def4369]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:476:23: note: '?' condition is false
#  474|          */
#  475|         s.SurfaceMinLOD = info->view->base_level;
#  476|->       s.MIPCountLOD = MAX(info->view->levels, 1) - 1;
#  477|      }
#  478|   

Error: CLANG_WARNING: [#def4370]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:476:23: note: Assuming field 'levels' is <= 1
#  474|          */
#  475|         s.SurfaceMinLOD = info->view->base_level;
#  476|->       s.MIPCountLOD = MAX(info->view->levels, 1) - 1;
#  477|      }
#  478|   

Error: CLANG_WARNING: [#def4371]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:497:4: note: Taking false branch
#  495|   #endif
#  496|   
#  497|->    if (info->surf->dim_layout == ISL_DIM_LAYOUT_GFX9_1D) {
#  498|         /* For gfx9 1-D textures, surface pitch is ignored */
#  499|         s.SurfacePitch = 0;

Error: CLANG_WARNING: [#def4372]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:497:8: note: Assuming field 'dim_layout' is not equal to ISL_DIM_LAYOUT_GFX9_1D
#  495|   #endif
#  496|   
#  497|->    if (info->surf->dim_layout == ISL_DIM_LAYOUT_GFX9_1D) {
#  498|         /* For gfx9 1-D textures, surface pitch is ignored */
#  499|         s.SurfacePitch = 0;

Error: CLANG_WARNING: [#def4373]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:497:20: note: Field 'dim_layout' is not equal to ISL_DIM_LAYOUT_GFX9_1D
#  495|   #endif
#  496|   
#  497|->    if (info->surf->dim_layout == ISL_DIM_LAYOUT_GFX9_1D) {
#  498|         /* For gfx9 1-D textures, surface pitch is ignored */
#  499|         s.SurfacePitch = 0;

Error: CLANG_WARNING: [#def4374]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:518:4: note: Taking false branch
#  516|       *    If Surface Format is ASTC*, this field must be TILEMODE_YMAJOR.
#  517|       */
#  518|->    if (isl_format_get_layout(info->view->format)->txc == ISL_TXC_ASTC)
#  519|         assert(isl_tiling_is_any_y(info->surf->tiling));
#  520|   

Error: CLANG_WARNING: [#def4375]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:518:8: note: Assuming field 'txc' is not equal to ISL_TXC_ASTC
#  516|       *    If Surface Format is ASTC*, this field must be TILEMODE_YMAJOR.
#  517|       */
#  518|->    if (isl_format_get_layout(info->view->format)->txc == ISL_TXC_ASTC)
#  519|         assert(isl_tiling_is_any_y(info->surf->tiling));
#  520|   

Error: CLANG_WARNING: [#def4376]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:522:4: note: Taking false branch
#  520|   
#  521|      s.TileMode = isl_encode_tiling[info->surf->tiling];
#  522|->    if (isl_tiling_is_std_y(info->surf->tiling))
#  523|         s.TiledResourceMode = isl_tiling_encode_trmode[info->surf->tiling];
#  524|   #elif GFX_VER >= 8

Error: CLANG_WARNING: [#def4377]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:565:4: note: Taking false branch
#  563|       * the same time.
#  564|       */
#  565|->    if (info->surf->samples > 1) {
#  566|         assert(info->view->min_lod_clamp == 0);
#  567|         assert(info->view->base_level == 0);

Error: CLANG_WARNING: [#def4378]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:565:8: note: Assuming field 'samples' is <= 1
#  563|       * the same time.
#  564|       */
#  565|->    if (info->surf->samples > 1) {
#  566|         assert(info->view->min_lod_clamp == 0);
#  567|         assert(info->view->base_level == 0);

Error: CLANG_WARNING: [#def4379]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:600:4: note: Taking false branch
#  598|   #if (GFX_VERx10 >= 75)
#  599|      struct isl_swizzle swz = info->view->swizzle;
#  600|->    if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) {
#  601|         assert(isl_swizzle_supports_rendering(dev->info, swz));
#  602|      } else {

Error: CLANG_WARNING: [#def4380]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:621:4: note: Taking false branch
#  619|   
#  620|   #if GFX_VERx10 >= 45
#  621|->    if (info->x_offset_sa != 0 || info->y_offset_sa != 0) {
#  622|         /* There are fairly strict rules about when the offsets can be used.
#  623|          * These are mostly taken from the Sky Lake PRM documentation for

Error: CLANG_WARNING: [#def4381]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:621:8: note: Assuming field 'x_offset_sa' is equal to 0
#  619|   
#  620|   #if GFX_VERx10 >= 45
#  621|->    if (info->x_offset_sa != 0 || info->y_offset_sa != 0) {
#  622|         /* There are fairly strict rules about when the offsets can be used.
#  623|          * These are mostly taken from the Sky Lake PRM documentation for

Error: CLANG_WARNING: [#def4382]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:621:8: note: Left side of '||' is false
#  619|   
#  620|   #if GFX_VERx10 >= 45
#  621|->    if (info->x_offset_sa != 0 || info->y_offset_sa != 0) {
#  622|         /* There are fairly strict rules about when the offsets can be used.
#  623|          * These are mostly taken from the Sky Lake PRM documentation for

Error: CLANG_WARNING: [#def4383]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:621:34: note: Assuming field 'y_offset_sa' is equal to 0
#  619|   
#  620|   #if GFX_VERx10 >= 45
#  621|->    if (info->x_offset_sa != 0 || info->y_offset_sa != 0) {
#  622|         /* There are fairly strict rules about when the offsets can be used.
#  623|          * These are mostly taken from the Sky Lake PRM documentation for

Error: CLANG_WARNING: [#def4384]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:648:27: note: '?' condition is true
#  646|   
#  647|      const unsigned x_div = 4;
#  648|->    const unsigned y_div = GFX_VER >= 8 ? 4 : 2;
#  649|      assert(info->x_offset_sa % x_div == 0);
#  650|      assert(info->y_offset_sa % y_div == 0);

Error: CLANG_WARNING: [#def4385]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:659:4: note: Taking true branch
#  657|   
#  658|   #if GFX_VER >= 7
#  659|->    if (info->aux_usage != ISL_AUX_USAGE_NONE) {
#  660|         /* Check valid aux usages per-gen */
#  661|         if (GFX_VER >= 12) {

Error: CLANG_WARNING: [#def4386]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:659:8: note: Assuming field 'aux_usage' is not equal to ISL_AUX_USAGE_NONE
#  657|   
#  658|   #if GFX_VER >= 7
#  659|->    if (info->aux_usage != ISL_AUX_USAGE_NONE) {
#  660|         /* Check valid aux usages per-gen */
#  661|         if (GFX_VER >= 12) {

Error: CLANG_WARNING: [#def4387]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:661:7: note: Taking false branch
#  659|      if (info->aux_usage != ISL_AUX_USAGE_NONE) {
#  660|         /* Check valid aux usages per-gen */
#  661|->       if (GFX_VER >= 12) {
#  662|            assert(info->aux_usage == ISL_AUX_USAGE_MCS ||
#  663|                   info->aux_usage == ISL_AUX_USAGE_CCS_E ||

Error: CLANG_WARNING: [#def4388]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:669:14: note: Taking false branch
#  667|                   info->aux_usage == ISL_AUX_USAGE_MCS_CCS ||
#  668|                   info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  669|->       } else if (GFX_VER >= 9) {
#  670|            assert(info->aux_usage == ISL_AUX_USAGE_HIZ ||
#  671|                   info->aux_usage == ISL_AUX_USAGE_MCS ||

Error: CLANG_WARNING: [#def4389]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:669:14: note: Taking true branch
#  667|                   info->aux_usage == ISL_AUX_USAGE_MCS_CCS ||
#  668|                   info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  669|->       } else if (GFX_VER >= 9) {
#  670|            assert(info->aux_usage == ISL_AUX_USAGE_HIZ ||
#  671|                   info->aux_usage == ISL_AUX_USAGE_MCS ||

Error: CLANG_WARNING: [#def4390]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:674:14: note: Taking true branch
#  672|                   info->aux_usage == ISL_AUX_USAGE_CCS_D ||
#  673|                   info->aux_usage == ISL_AUX_USAGE_CCS_E);
#  674|->       } else if (GFX_VER >= 8) {
#  675|            assert(info->aux_usage == ISL_AUX_USAGE_HIZ ||
#  676|                   info->aux_usage == ISL_AUX_USAGE_MCS ||

Error: CLANG_WARNING: [#def4391]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:689:7: note: Taking true branch
#  687|          * On gfx12 HDC supports compression.
#  688|          */
#  689|->       if (GFX_VER < 12)
#  690|            assert(!(info->view->usage & ISL_SURF_USAGE_STORAGE_BIT));
#  691|   

Error: CLANG_WARNING: [#def4392]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:692:7: note: Taking false branch
#  690|            assert(!(info->view->usage & ISL_SURF_USAGE_STORAGE_BIT));
#  691|   
#  692|->       if (isl_surf_usage_is_depth(info->surf->usage))
#  693|            assert(isl_aux_usage_has_hiz(info->aux_usage));
#  694|   

Error: CLANG_WARNING: [#def4393]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:692:11: note: Assuming the condition is false
#  690|            assert(!(info->view->usage & ISL_SURF_USAGE_STORAGE_BIT));
#  691|   
#  692|->       if (isl_surf_usage_is_depth(info->surf->usage))
#  693|            assert(isl_aux_usage_has_hiz(info->aux_usage));
#  694|   

Error: CLANG_WARNING: [#def4394]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:695:7: note: Taking false branch
#  693|            assert(isl_aux_usage_has_hiz(info->aux_usage));
#  694|   
#  695|->       if (isl_surf_usage_is_stencil(info->surf->usage))
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   

Error: CLANG_WARNING: [#def4395]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:695:11: note: Assuming the condition is false
#  693|            assert(isl_aux_usage_has_hiz(info->aux_usage));
#  694|   
#  695|->       if (isl_surf_usage_is_stencil(info->surf->usage))
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   

Error: CLANG_WARNING: [#def4396]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:698:7: note: Taking false branch
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   
#  698|->       if (isl_aux_usage_has_hiz(info->aux_usage)) {
#  699|            /* For Gfx8-10, there are some restrictions around sampling from HiZ.
#  700|             * The Skylake PRM docs for RENDER_SURFACE_STATE::AuxiliarySurfaceMode

Error: CLANG_WARNING: [#def4397]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:698:7: note: Taking true branch
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   
#  698|->       if (isl_aux_usage_has_hiz(info->aux_usage)) {
#  699|            /* For Gfx8-10, there are some restrictions around sampling from HiZ.
#  700|             * The Skylake PRM docs for RENDER_SURFACE_STATE::AuxiliarySurfaceMode

Error: CLANG_WARNING: [#def4398]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:698:11: note: Calling 'isl_aux_usage_has_hiz'
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   
#  698|->       if (isl_aux_usage_has_hiz(info->aux_usage)) {
#  699|            /* For Gfx8-10, there are some restrictions around sampling from HiZ.
#  700|             * The Skylake PRM docs for RENDER_SURFACE_STATE::AuxiliarySurfaceMode

Error: CLANG_WARNING: [#def4399]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:698:11: note: Returning from 'isl_aux_usage_has_hiz'
#  696|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  697|   
#  698|->       if (isl_aux_usage_has_hiz(info->aux_usage)) {
#  699|            /* For Gfx8-10, there are some restrictions around sampling from HiZ.
#  700|             * The Skylake PRM docs for RENDER_SURFACE_STATE::AuxiliarySurfaceMode

Error: CLANG_WARNING: [#def4400]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:727:10: note: Control jumps to the 'default' case at line 732
#  725|   
#  726|            /* The format must be one of the following: */
#  727|->          switch (info->view->format) {
#  728|            case ISL_FORMAT_R32_FLOAT:
#  729|            case ISL_FORMAT_R24_UNORM_X8_TYPELESS:

Error: CLANG_WARNING: [#def4401]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:734:13: note:  Execution continues on line 800
#  732|            default:
#  733|               assert(!"Incompatible HiZ Sampling format");
#  734|->             break;
#  735|            }
#  736|         }

Error: CLANG_WARNING: [#def4402]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:774:7: note: Taking true branch
#  772|          * If CCS_E is in use, the format must support it.
#  773|          */
#  774|->       if (isl_aux_usage_has_ccs_e(info->aux_usage))
#  775|            assert(isl_format_supports_ccs_e(dev->info, info->view->format));
#  776|   

Error: CLANG_WARNING: [#def4403]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:774:11: note: Calling 'isl_aux_usage_has_ccs_e'
#  772|          * If CCS_E is in use, the format must support it.
#  773|          */
#  774|->       if (isl_aux_usage_has_ccs_e(info->aux_usage))
#  775|            assert(isl_format_supports_ccs_e(dev->info, info->view->format));
#  776|   

Error: CLANG_WARNING: [#def4404]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:774:11: note: Returning from 'isl_aux_usage_has_ccs_e'
#  772|          * If CCS_E is in use, the format must support it.
#  773|          */
#  774|->       if (isl_aux_usage_has_ccs_e(info->aux_usage))
#  775|            assert(isl_format_supports_ccs_e(dev->info, info->view->format));
#  776|   

Error: CLANG_WARNING: [#def4405]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:790:7: note: Taking false branch
#  788|          * it's in use while sampling, the format must support CCS_E.
#  789|          */
#  790|->       if (info->aux_usage == ISL_AUX_USAGE_CCS_D) {
#  791|            if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) {
#  792|               assert(isl_format_supports_ccs_d(dev->info, info->view->format));

Error: CLANG_WARNING: [#def4406]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:790:17: note: Field 'aux_usage' is not equal to ISL_AUX_USAGE_CCS_D
#  788|          * it's in use while sampling, the format must support CCS_E.
#  789|          */
#  790|->       if (info->aux_usage == ISL_AUX_USAGE_CCS_D) {
#  791|            if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) {
#  792|               assert(isl_format_supports_ccs_d(dev->info, info->view->format));

Error: CLANG_WARNING: [#def4407]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:800:30: note: Assigned value is garbage or undefined
#  798|   #endif
#  799|   #if GFX_VER >= 8
#  800|->       s.AuxiliarySurfaceMode = isl_encode_aux_mode[info->aux_usage];
#  801|   #else
#  802|         s.MCSEnable = true;

Error: CLANG_WARNING: [#def4408]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_surface_state.c:800:30: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  798|   #endif
#  799|   #if GFX_VER >= 8
#  800|->       s.AuxiliarySurfaceMode = isl_encode_aux_mode[info->aux_usage];
#  801|   #else
#  802|         s.MCSEnable = true;

Error: COMPILER_WARNING (CWE-563): [#def4409]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_tiled_memcpy_sse41.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘linear_to_tile4’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4410]
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘tile4_to_linear’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4411]
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf.c: scope_hint: In function ‘load_oa_metrics’
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf.c:793:4: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  791|       * the kernel is advertising.
#  792|       */
#  793|->    oa_register(perf);
#  794|   
#  795|      if (!INTEL_DEBUG(DEBUG_NO_OACONFIG)) {

Error: COMPILER_WARNING (CWE-563): [#def4412]
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf.c: scope_hint: In function ‘get_passes_mask’
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf.c:935:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
#  935 |       bool found = false;
#      |            ^~~~~
#  933|          * counter.
#  934|          */
#  935|->       bool found = false;
#  936|         for (uint32_t w = 0; w < BITSET_WORDS(INTEL_PERF_MAX_METRIC_SETS); w++) {
#  937|            if (!counter_info->query_mask[w])

Error: CLANG_WARNING: [#def4413]
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf.c:948:10: warning[deadcode.DeadStores]: Value stored to 'found' is never read
#  946|   
#  947|            BITSET_SET(queries_mask, query_idx);
#  948|->          found = true;
#  949|            break;
#  950|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4414]
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf_query.c: scope_hint: In function ‘read_oa_samples_until’
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf_query.c:1005:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf_query.c: scope_hint: In function ‘read_oa_samples_until’
# 1003|         exec_node_data(struct oa_sample_buf, tail_node, link);
# 1004|      uint32_t last_timestamp =
# 1005|->       tail_buf->len == 0 ? start_timestamp : tail_buf->last_timestamp;
# 1006|   
# 1007|      while (1) {

Error: CLANG_WARNING: [#def4415]
mesa-24.1.2-build/mesa-24.1.2/src/intel/perf/intel_perf_query.c:1086:12: warning[deadcode.DeadStores]: Although the value stored to 'last' is used in the enclosing expression, the value is never actually read from 'last'
# 1084|         query->oa.map = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->oa.bo, MAP_READ);
# 1085|   
# 1086|->    start = last = query->oa.map;
# 1087|      end = query->oa.map + perf_ctx->perf->query_layout.size;
# 1088|   

Error: CLANG_WARNING: [#def4416]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:482:11: warning[core.NullDereference]: Access to field 'map' results in a dereference of a null pointer (loaded from variable 'bo')
#  480|      assert((offset - bo_offset) + size <= bo->size);
#  481|   
#  482|->    return bo->map + (offset - bo_offset);
#  483|   }
#  484|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4417]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:482:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:471:4: note: in expansion of macro ‘anv_block_pool_foreach_bo’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4418]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4419]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:780:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
#  778|   
#  779|      uint32_t block_bucket = anv_state_pool_get_bucket(block_size);
#  780|->    anv_free_list_push(&pool->buckets[block_bucket].free_list,
#  781|                         &pool->table, st_idx, count);
#  782|   }

Error: CLANG_WARNING: [#def4420]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:916:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  914|      /* Every time we allocate a new state, add it to the state pool */
#  915|      uint32_t idx = 0;
#  916|->    result = anv_state_table_add(&pool->table, &idx, 1);
#  917|      assert(result == VK_SUCCESS);
#  918|   

Error: CLANG_WARNING: [#def4421]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_allocator.c:1273:7: warning[core.NullDereference]: Access to field 'map' results in a dereference of a null pointer (loaded from variable 'bo')
# 1271|   
# 1272|      /* We want it to look like it came from this pool */
# 1273|->    VG(VALGRIND_FREELIKE_BLOCK(bo->map, 0));
# 1274|      VG(VALGRIND_MEMPOOL_ALLOC(pool, bo->map, size));
# 1275|   

Error: CLANG_WARNING: [#def4422]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:88:12: warning[core.NullDereference]: Access to field 'alloc' results in a dereference of a null pointer (loaded from variable 'list')
#   86|   anv_reloc_list_finish(struct anv_reloc_list *list)
#   87|   {
#   88|->    vk_free(list->alloc, list->deps);
#   89|   }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4423]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘anv_batch_bo_destroy’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:375:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
#  373|   {
#  374|      anv_reloc_list_finish(&bbo->relocs);
#  375|->    anv_bo_pool_free(&cmd_buffer->device->batch_bo_pool, bbo->bo);
#  376|      vk_free(&cmd_buffer->vk.pool->alloc, bbo);
#  377|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4424]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘cmd_buffer_chain_to_batch_bo’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:494:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
#  492|      assert(batch->end == current_bbo->bo->map + current_bbo->bo->size);
#  493|   
#  494|->    emit_batch_buffer_start(batch, bbo->bo, 0);
#  495|   
#  496|      anv_batch_bo_finish(current_bbo, batch);

Error: CLANG_WARNING: [#def4425]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:494:35: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from variable 'bbo')
#  492|      assert(batch->end == current_bbo->bo->map + current_bbo->bo->size);
#  493|   
#  494|->    emit_batch_buffer_start(batch, bbo->bo, 0);
#  495|   
#  496|      anv_batch_bo_finish(current_bbo, batch);

Error: COMPILER_WARNING (CWE-563): [#def4426]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_blorp.c: scope_hint: In function ‘exec_ccs_op’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_blorp.c:1538:8: warning[-Wunused-variable]: unused variable ‘ret’
# 1538 |    int ret =
#      |        ^~~
# 1536|   
# 1537|      char flush_reason[64];
# 1538|->    int ret =
# 1539|         snprintf(flush_reason, sizeof(flush_reason),
# 1540|                  "ccs op start: %s", isl_aux_op_to_name(ccs_op));

Error: CLANG_WARNING: [#def4427]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_cmd_buffer.c:812:7: warning[core.NullDereference]: Dereference of null pointer
#  810|   
#  811|      struct anv_descriptor_set_layout *set_layout =
#  812|->       layout->set[set_index].layout;
#  813|   
#  814|      anv_cmd_buffer_maybe_dirty_descriptor_mode(

Error: CLANG_WARNING: [#def4428]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_cmd_buffer.c:1321:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1319|            &cmd_buffer->state.compute.base;
# 1320|   
# 1321|->       memcpy(pipe_state->push_constants.client_data + pInfo->offset,
# 1322|                pInfo->pValues, pInfo->size);
# 1323|         pipe_state->push_constants_data_dirty = true;

Error: CLANG_WARNING: [#def4429]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:696:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  694|   
#  695|      /* Initialize all samplers to 0 */
#  696|->    memset(samplers, 0, immutable_sampler_count * sizeof(*samplers));
#  697|   
#  698|      uint32_t buffer_view_count = 0;

Error: CLANG_WARNING: [#def4430]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:913:8: warning[core.NullDereference]: Access to field 'binding_count' results in a dereference of a null pointer (loaded from variable 'set_layout')
#  911|   set_layout_dynamic_binding(const struct anv_descriptor_set_layout *set_layout)
#  912|   {
#  913|->    if (set_layout->binding_count == 0)
#  914|         return NULL;
#  915|   

Error: COMPILER_WARNING (CWE-563): [#def4431]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_push_descriptor_set_init’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4432]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:2045:35: warning[deadcode.DeadStores]: Value stored to 'pdevice' during its initialization is never read
# 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): [#def4433]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_descriptor_set_write_image_view’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:2220:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:2220:34: note: write of 4 bytes to beyond the end of ‘desc_data’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_descriptor_set.c:2220:34: note: valid subscripts for ‘desc_data’ are ‘[0]’ to ‘[2]’
# 2218|         if (sampler) {
# 2219|            for (unsigned p = 0; p < sampler->n_planes; p++)
# 2220|->             desc_data[p].sampler = sampler->bindless_state.offset + p * 32;
# 2221|         }
# 2222|   

Error: CLANG_WARNING: [#def4434]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:1970:10: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'unsigned int'
# 1968|   
# 1969|         device->memory.desc_buffer_mem_types |=
# 1970|->          BITFIELD_BIT(device->memory.type_count);
# 1971|   
# 1972|         struct anv_memory_type *new_type =

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4435]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c: scope_hint: In function ‘intel_aux_map_buffer_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:3159:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
# 3157|      buf->base.map = buf->state.map;
# 3158|      buf->base.driver_bo = &buf->state;
# 3159|->    return &buf->base;
# 3160|   }
# 3161|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4436]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c: scope_hint: In function ‘anv_MapMemory2KHR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:4730:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:4728:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c:4728:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_device.c: scope_hint: In function ‘anv_MapMemory2KHR’
# 4728|            vk_find_struct_const(pMemoryMapInfo->pNext, MEMORY_MAP_PLACED_INFO_EXT);
# 4729|         assert(placed_info != NULL);
# 4730|->       placed_addr = placed_info->pPlacedAddress;
# 4731|      }
# 4732|   

Error: CLANG_WARNING: [#def4437]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1356:48: warning[core.NullDereference]: Access to field 'drmFormatModifier' results in a dereference of a null pointer (loaded from variable 'modifier_info')
# 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: GCC_ANALYZER_WARNING (CWE-476): [#def4438]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1356:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘modifier_info’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1299:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1299:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1329:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_formats.c:1329:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4439]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘add_all_surfaces_explicit_layout’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1393:16: warning[-Wunused-variable]: unused variable ‘n_mod_planes’
# 1393 |       uint32_t n_mod_planes =
#      |                ^~~~~~~~~~~~
# 1391|          * Most validation of plane layout occurs in add_surface().
# 1392|          */
# 1393|->       uint32_t n_mod_planes =
# 1394|            isl_drm_modifier_get_plane_count(devinfo,
# 1395|                                             drm_info->drmFormatModifier,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4440]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1651:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1882:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1882:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1641:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1641:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1647:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:1647:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_init’
# 1649|            isl_mod_info = choose_drm_format_mod(device->physical,
# 1650|                                                 mod_list_info->drmFormatModifierCount,
# 1651|->                                               mod_list_info->pDrmFormatModifiers);
# 1652|         }
# 1653|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4441]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_map_aux_tt’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:2300:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:2367:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:2367:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:2375:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_image.c:2375:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:5277:14: note: in expansion of macro ‘ANV_NULL_ADDRESS’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:5277:14: note: in expansion of macro ‘ANV_NULL_ADDRESS’
# 2298|       */
# 2299|      if (device->physical->alloc_aux_tt_mem &&
# 2300|->        (bo->alloc_flags & ANV_BO_ALLOC_AUX_CCS)) {
# 2301|         uint64_t main_aux_alignment =
# 2302|            intel_aux_map_get_alignment(device->aux_map_ctx);

Error: CLANG_WARNING: [#def4442]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c:138:8: warning[core.NullDereference]: Dereference of null pointer
#  136|      assert(binding < state->layout->set[set].layout->binding_count);
#  137|   
#  138|->    if (state->set[set].binding[binding].use_count < UINT8_MAX)
#  139|         state->set[set].binding[binding].use_count++;
#  140|   

Error: CLANG_WARNING: [#def4443]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c:623:30: warning[core.NullDereference]: Dereference of null pointer
#  621|         }
#  622|   
#  623|->    const uint32_t desc_bti = state->set[set].binding[binding].surface_offset;
#  624|      /* We don't care about the stride field for inline uniforms (see
#  625|       * build_desc_addr_for_res_index), but for anything else we should be

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4444]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1257:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
# 1255|                             struct apply_pipeline_layout_state *state)
# 1256|   {
# 1257|->    if (intrin->intrinsic == nir_intrinsic_vulkan_resource_index) {
# 1258|         b->cursor = nir_before_instr(&intrin->instr);
# 1259|         *set = nir_intrinsic_desc_set(intrin);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4445]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:141:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:76: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:113:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:114:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:115:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:117:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:119:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:121:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:216:37: note: in definition of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:121:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:125:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:127:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:129:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:132:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:134:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:253:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/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
#  139|         return NULL;
#  140|   
#  141|->    memcpy(obj_key_data, key_data, key_size);
#  142|      vk_pipeline_cache_object_init(&device->vk, &shader->base,
#  143|                                    &anv_shader_bin_ops, obj_key_data, key_size);

Error: CLANG_WARNING: [#def4446]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:232:17: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'xfb_info')
#  230|   
#  231|      if (xfb_info_in) {
#  232|->       *xfb_info = *xfb_info_in;
#  233|         typed_memcpy(xfb_info->outputs, xfb_info_in->outputs,
#  234|                      xfb_info_in->output_count);

Error: CLANG_WARNING: [#def4447]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:246:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  244|      shader->bind_map = *bind_map;
#  245|   
#  246|->    typed_memcpy(surface_to_descriptor, bind_map->surface_to_descriptor,
#  247|                   bind_map->surface_count);
#  248|      shader->bind_map.surface_to_descriptor = surface_to_descriptor;

Error: CLANG_WARNING: [#def4448]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:250:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  248|      shader->bind_map.surface_to_descriptor = surface_to_descriptor;
#  249|   
#  250|->    typed_memcpy(sampler_to_descriptor, bind_map->sampler_to_descriptor,
#  251|                   bind_map->sampler_count);
#  252|      shader->bind_map.sampler_to_descriptor = sampler_to_descriptor;

Error: CLANG_WARNING: [#def4449]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:254:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  252|      shader->bind_map.sampler_to_descriptor = sampler_to_descriptor;
#  253|   
#  254|->    typed_memcpy(embedded_sampler_to_binding, bind_map->embedded_sampler_to_binding,
#  255|                   bind_map->embedded_sampler_count);
#  256|      shader->bind_map.embedded_sampler_to_binding = embedded_sampler_to_binding;

Error: CLANG_WARNING: [#def4450]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_pipeline_cache.c:258:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  256|      shader->bind_map.embedded_sampler_to_binding = embedded_sampler_to_binding;
#  257|   
#  258|->    typed_memcpy(kernel_args, bind_map->kernel_args,
#  259|                   bind_map->kernel_arg_count);
#  260|      shader->bind_map.kernel_args = kernel_args;

Error: CLANG_WARNING: [#def4451]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:2364:7: note: expanded from macro 'anv_batch_emitn'
# 2362|   #define anv_batch_emitn(batch, n, cmd, ...) ({             \
# 2363|         void *__dst = anv_batch_emit_dwords(batch, n);       \
# 2364|->       if (__dst) {                                         \
# 2365|            struct cmd __template = {                         \
# 2366|               __anv_cmd_header(cmd),                         \

Error: CLANG_WARNING: [#def4452]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:2364:11: note: expanded from macro 'anv_batch_emitn'
# 2362|   #define anv_batch_emitn(batch, n, cmd, ...) ({             \
# 2363|         void *__dst = anv_batch_emit_dwords(batch, n);       \
# 2364|->       if (__dst) {                                         \
# 2365|            struct cmd __template = {                         \
# 2366|               __anv_cmd_header(cmd),                         \

Error: CLANG_WARNING: [#def4453]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:2391:4: note: expanded from macro 'anv_batch_emit'
# 2389|   
# 2390|   #define anv_batch_emit(batch, cmd, name)                            \
# 2391|->    for (struct cmd name = { __anv_cmd_header(cmd) },                    \
# 2392|           *_dst = anv_batch_emit_dwords(batch, __anv_cmd_length(cmd));    \
# 2393|           __builtin_expect(_dst != NULL, 1);                              \

Error: CLANG_WARNING: [#def4454]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:2393:26: note: expanded from macro 'anv_batch_emit'
# 2391|      for (struct cmd name = { __anv_cmd_header(cmd) },                    \
# 2392|           *_dst = anv_batch_emit_dwords(batch, __anv_cmd_length(cmd));    \
# 2393|->         __builtin_expect(_dst != NULL, 1);                              \
# 2394|           ({ __anv_cmd_pack(cmd)(batch, _dst, &name);                     \
# 2395|              VG(VALGRIND_CHECK_MEM_IS_DEFINED(_dst, __anv_cmd_length(cmd) * 4)); \

Error: CLANG_WARNING: [#def4455]
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/vulkan/grl/grl_metakernel_build_leaf.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/intel/vulkan/grl/grl_metakernel_build_leaf.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:5395:30: warning[deadcode.DeadStores]: Value stored to 'anv_surf' during its initialization is never read
# 5393|      assert(isl_aux_usage_has_mcs(image->planes[plane].aux_usage));
# 5394|   
# 5395|->    const struct anv_surface *anv_surf = &image->planes[plane].primary_surface;
# 5396|   
# 5397|      /* On TGL, the sampler has an issue with some 8 and 16bpp MSAA fast clears.

Error: COMPILER_WARNING (CWE-563): [#def4456]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_queue.c: scope_hint: In function ‘anv_queue_init’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4457]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_queue.c:70:32: warning[deadcode.DeadStores]: Value stored to 'pdevice' during its initialization is never read
#   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: CLANG_WARNING: [#def4458]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_rmv.c:690:4: warning[unix.Malloc]: Potential memory leak
#  688|      }
#  689|   
#  690|->    memcpy(create_token.descriptor_pool.pool_sizes, create_info->pPoolSizes,
#  691|             create_info->poolSizeCount * sizeof(VkDescriptorPoolSize));
#  692|   

Error: CLANG_WARNING: [#def4459]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:277:42: warning[core.NullDereference]: Array access (via field 'binds') results in a null pointer dereference
#  275|   
#  276|      if (submit->binds_len < submit->binds_capacity) {
#  277|->       submit->binds[submit->binds_len++] = *bind_op;
#  278|         return VK_SUCCESS;
#  279|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4460]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:419:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘trtt_submit.l1_binds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c: scope_hint: In function ‘anv_trtt_bind_add’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:537:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
#  417|                                uint64_t pte_addr, uint64_t entry_addr)
#  418|   {
#  419|->    binds[*binds_len] = (struct anv_trtt_bind) {
#  420|         .pte_addr = pte_addr,
#  421|         .entry_addr = entry_addr,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4461]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c: scope_hint: In function ‘anv_sparse_bind_trtt’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:580:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:537:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:538:4: note: in expansion of macro ‘STACK_ARRAY’
#  578|         result = anv_genX(device->info, write_trtt_entries)(&trtt_submit);
#  579|   
#  580|->    if (result == VK_SUCCESS)
#  581|         ANV_RMV(vm_binds, device, sparse_submit->binds, sparse_submit->binds_len);
#  582|   

Error: CLANG_WARNING: [#def4462]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_sparse.c:580:15: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  578|         result = anv_genX(device->info, write_trtt_entries)(&trtt_submit);
#  579|   
#  580|->    if (result == VK_SUCCESS)
#  581|         ANV_RMV(vm_binds, device, sparse_submit->binds, sparse_submit->binds_len);
#  582|   

Error: CLANG_WARNING: [#def4463]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_utrace.c:635:7: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  633|   
#  634|      if (submit->batch.status != VK_SUCCESS) {
#  635|->       result = submit->batch.status;
#  636|         goto error_reloc_list;
#  637|      }

Error: CLANG_WARNING: [#def4464]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_va.c:189:4: warning[deadcode.DeadStores]: Value stored to 'address' is never read
#  187|   
#  188|      uint64_t user_heaps_size = addressable_top - address;
#  189|->    address = va_add(&device->va.high_heap, address, user_heaps_size);
#  190|      assert(address <= trtt_start);
#  191|      address = va_add(&device->va.trtt, trtt_start, trtt_end - trtt_start);

Error: CLANG_WARNING: [#def4465]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_va.c:191:4: warning[deadcode.DeadStores]: Value stored to 'address' is never read
#  189|      address = va_add(&device->va.high_heap, address, user_heaps_size);
#  190|      assert(address <= trtt_start);
#  191|->    address = va_add(&device->va.trtt, trtt_start, trtt_end - trtt_start);
#  192|   
#  193|      if (INTEL_DEBUG(DEBUG_HEAPS))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4466]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:152:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:138:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:138:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4467]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:166:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4468]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:196:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:124:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:159:10: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c: scope_hint: In function ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_video.c:162:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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-476): [#def4469]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘get_gpu_size_estimate’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:151:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pMaxPrimitiveCounts’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:76: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘get_gpu_size_estimate’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:75: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:654:7: note: in expansion of macro ‘ANV_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘get_gpu_size_estimate’
#  149|            get_geometry(pInfo, g);
#  150|         uint32_t prim_count = pBuildRangeInfos != NULL ?
#  151|->          pBuildRangeInfos[g].primitiveCount : pMaxPrimitiveCounts[g];
#  152|   
#  153|         switch (pGeometry->geometryType) {

Error: CLANG_WARNING: [#def4470]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:151:47: warning[core.NullDereference]: Array access (from variable 'pMaxPrimitiveCounts') results in a null pointer dereference
#  149|            get_geometry(pInfo, g);
#  150|         uint32_t prim_count = pBuildRangeInfos != NULL ?
#  151|->          pBuildRangeInfos[g].primitiveCount : pMaxPrimitiveCounts[g];
#  152|   
#  153|         switch (pGeometry->geometryType) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4471]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘cmd_build_acceleration_structures’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:657:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bs’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘cmd_build_acceleration_structures’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:654:7: note: in expansion of macro ‘ANV_FROM_HANDLE’
#  655|                         pInfo->dstAccelerationStructure);
#  656|   
#  657|->       bs->build_method = device->bvh_build_method;
#  658|   
#  659|         bs->bvh_addr = anv_address_from_u64(vk_acceleration_structure_get_va(dst_accel));

Error: CLANG_WARNING: [#def4472]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:657:24: warning[core.NullDereference]: Access to field 'build_method' results in a dereference of a null pointer (loaded from variable 'bs')
#  655|                         pInfo->dstAccelerationStructure);
#  656|   
#  657|->       bs->build_method = device->bvh_build_method;
#  658|   
#  659|         bs->bvh_addr = anv_address_from_u64(vk_acceleration_structure_get_va(dst_accel));

Error: CLANG_WARNING: [#def4473]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:679:30: warning[core.NullDereference]: Dereference of null pointer
#  677|               &pGeometry->geometry.instances;
#  678|   
#  679|->          bs->num_instances = pBuildRangeInfos[0].primitiveCount;
#  680|            bs->instances_addr = instances->data.deviceAddress;
#  681|            bs->array_of_instances_ptr = instances->arrayOfPointers;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4474]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:679:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:1115:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘cmd_build_acceleration_structures’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c:654:7: note: in expansion of macro ‘ANV_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘cmd_build_acceleration_structures’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_acceleration_structure.c: scope_hint: In function ‘cmd_build_acceleration_structures’
#  677|               &pGeometry->geometry.instances;
#  678|   
#  679|->          bs->num_instances = pBuildRangeInfos[0].primitiveCount;
#  680|            bs->instances_addr = instances->data.deviceAddress;
#  681|            bs->array_of_instances_ptr = instances->arrayOfPointers;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4475]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:187:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:461:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:187:26: note: write of 4 bytes to beyond the end of ‘surface_offsets’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:187:26: note: valid subscripts for ‘surface_offsets’ are ‘[0]’ to ‘[1]’
#  185|   
#  186|         bt_map[i] = surface_state.offset + state_offset;
#  187|->       surface_offsets[i] = surface_state.offset;
#  188|         surface_maps[i] = surface_state.map;
#  189|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4476]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:188:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:461:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/blorp/blorp_genX_exec_brw.h: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:188:23: note: write of 8 bytes to beyond the end of ‘surface_maps’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:188:23: note: valid subscripts for ‘surface_maps’ are ‘[0]’ to ‘[1]’
#  186|         bt_map[i] = surface_state.offset + state_offset;
#  187|         surface_offsets[i] = surface_state.offset;
#  188|->       surface_maps[i] = surface_state.map;
#  189|      }
#  190|   

Error: COMPILER_WARNING (CWE-563): [#def4477]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c: scope_hint: In function ‘blorp_exec_on_blitter’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:454:27: warning[-Wunused-variable]: unused variable ‘cmd_buffer’
#  454 |    struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
#      |                           ^~~~~~~~~~
#  452|      assert(batch->flags & BLORP_BATCH_USE_BLITTER);
#  453|   
#  454|->    struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
#  455|      assert(anv_cmd_buffer_is_blitter_queue(cmd_buffer));
#  456|   

Error: CLANG_WARNING: [#def4478]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_blorp_exec.c:454:27: warning[deadcode.DeadStores]: Value stored to 'cmd_buffer' during its initialization is never read
#  452|      assert(batch->flags & BLORP_BATCH_USE_BLITTER);
#  453|   
#  454|->    struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
#  455|      assert(anv_cmd_buffer_is_blitter_queue(cmd_buffer));
#  456|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4479]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx125_CmdDrawMeshTasksIndirectCountEXT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2306:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2277:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4811:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx125_CmdDrawMeshTasksIndirectCountEXT’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx125_CmdDrawMeshTasksIndirectCountEXT’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_aux_map.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2297:4: note: in expansion of macro ‘anv_measure_snapshot’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2303:4: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_graphics_state.h:1190:11: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h: scope_hint: In function ‘gfx125_CmdDrawMeshTasksIndirectCountEXT’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:212:10: note: in expansion of macro ‘BITSET_BITWORD’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:67:30: note: in expansion of macro ‘BITSET_MASK’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:212:31: note: in expansion of macro ‘BITSET_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:67:56: note: in expansion of macro ‘BITSET_BIT’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:212:31: note: in expansion of macro ‘BITSET_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:231:15: note: in expansion of macro ‘BITSET_TEST_RANGE_INSIDE_WORD’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2303:4: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_graphics_state.h:1190:11: note: in expansion of macro ‘BITSET_TEST_RANGE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx125_CmdDrawMeshTasksIndirectCountEXT’
# 2304|   
# 2305|      bool uses_drawid = (task_prog_data && task_prog_data->uses_drawid) ||
# 2306|->                        mesh_prog_data->uses_drawid;
# 2307|   
# 2308|      struct mi_builder b;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4480]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:936: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx11_cmd_buffer_emit_generate_draws’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:90:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:1992:6: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/isl/isl.h:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_aux_map.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2008:4: note: in expansion of macro ‘anv_measure_snapshot’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx11_cmd_buffer_emit_generate_draws’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c: scope_hint: In function ‘gfx11_cmd_buffer_emit_generate_draws’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2021:7: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw.c:2021:7: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:617:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:639:7: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:639:7: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:356:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:501:7: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h:45:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4806:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx11_cmd_buffer_emit_generate_draws’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx11_cmd_buffer_emit_generate_draws’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_draw_generated_indirect.h: scope_hint: In function ‘gfx11_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): [#def4481]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c: scope_hint: In function ‘anv_h264_decode_video’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:867:107: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:1172:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:92: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_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.1.2-build/mesa-24.1.2/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/include/vulkan/vk_icd.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:75: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4482]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:1018:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:1172:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:866:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:1014:4: note: in expansion of macro ‘anv_batch_emit’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_cmd_video.c:1017:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4483]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1379:4: note: Assuming '_dst' is equal to null
# 1377|   {
# 1378|   #if GFX_VERx10 >= 125
# 1379|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VFG), vfg) {
# 1380|         vfg.DistributionMode = RR_STRICT;
# 1381|      }

Error: CLANG_WARNING: [#def4484]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1379:4: note: Loop condition is false. Execution continues on line 1382
# 1377|   {
# 1378|   #if GFX_VERx10 >= 125
# 1379|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VFG), vfg) {
# 1380|         vfg.DistributionMode = RR_STRICT;
# 1381|      }

Error: CLANG_WARNING: [#def4485]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1382:4: note: Assuming '_dst' is equal to null
# 1380|         vfg.DistributionMode = RR_STRICT;
# 1381|      }
# 1382|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF), vf) {
# 1383|         vf.GeometryDistributionEnable = true;
# 1384|      }

Error: CLANG_WARNING: [#def4486]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1382:4: note: Loop condition is false. Execution continues on line 1388
# 1380|         vfg.DistributionMode = RR_STRICT;
# 1381|      }
# 1382|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF), vf) {
# 1383|         vf.GeometryDistributionEnable = true;
# 1384|      }

Error: CLANG_WARNING: [#def4487]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1388:4: note: Assuming '_dst' is equal to null
# 1386|   
# 1387|   #if GFX_VER >= 12
# 1388|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_PRIMITIVE_REPLICATION), pr) {
# 1389|         pr.ReplicaMask = 1;
# 1390|      }

Error: CLANG_WARNING: [#def4488]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1388:4: note: Loop condition is false. Execution continues on line 1393
# 1386|   
# 1387|   #if GFX_VER >= 12
# 1388|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_PRIMITIVE_REPLICATION), pr) {
# 1389|         pr.ReplicaMask = 1;
# 1390|      }

Error: CLANG_WARNING: [#def4489]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1393:4: note: Assuming '_dst' is equal to null
# 1391|   #endif
# 1392|   
# 1393|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_RASTER), rr) {
# 1394|         rr.CullMode = CULLMODE_NONE;
# 1395|         rr.FrontFaceFillMode = FILL_MODE_SOLID;

Error: CLANG_WARNING: [#def4490]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1393:4: note: Loop condition is false. Execution continues on line 1399
# 1391|   #endif
# 1392|   
# 1393|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_RASTER), rr) {
# 1394|         rr.CullMode = CULLMODE_NONE;
# 1395|         rr.FrontFaceFillMode = FILL_MODE_SOLID;

Error: CLANG_WARNING: [#def4491]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1399:4: note: Assuming '_dst' is equal to null
# 1397|      }
# 1398|   
# 1399|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1400|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1401|   

Error: CLANG_WARNING: [#def4492]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1399:4: note: Loop condition is false. Execution continues on line 1400
# 1397|      }
# 1398|   
# 1399|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1400|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1401|   

Error: CLANG_WARNING: [#def4493]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1400:4: note: Assuming '_dst' is equal to null
# 1398|   
# 1399|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1400|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1401|   
# 1402|   #if GFX_VER >= 11

Error: CLANG_WARNING: [#def4494]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1400:4: note: Loop condition is false. Execution continues on line 1403
# 1398|   
# 1399|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1400|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1401|   
# 1402|   #if GFX_VER >= 11

Error: CLANG_WARNING: [#def4495]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1403:4: note: Assuming '_dst' is equal to null
# 1401|   
# 1402|   #if GFX_VER >= 11
# 1403|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS_2), zero);
# 1404|   #endif
# 1405|   

Error: CLANG_WARNING: [#def4496]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1403:4: note: Loop condition is false. Execution continues on line 1406
# 1401|   
# 1402|   #if GFX_VER >= 11
# 1403|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS_2), zero);
# 1404|   #endif
# 1405|   

Error: CLANG_WARNING: [#def4497]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1406:4: note: Assuming '_dst' is equal to null
# 1404|   #endif
# 1405|   
# 1406|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CLIP), clip) {
# 1407|         clip.ClipEnable = true;
# 1408|         clip.ClipMode = CLIPMODE_REJECT_ALL;

Error: CLANG_WARNING: [#def4498]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1406:4: note: Loop condition is false. Execution continues on line 1411
# 1404|   #endif
# 1405|   
# 1406|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CLIP), clip) {
# 1407|         clip.ClipEnable = true;
# 1408|         clip.ClipMode = CLIPMODE_REJECT_ALL;

Error: CLANG_WARNING: [#def4499]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1411:4: note: Assuming '_dst' is equal to null
# 1409|      }
# 1410|   
# 1411|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);

Error: CLANG_WARNING: [#def4500]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1411:4: note: Loop condition is false. Execution continues on line 1412
# 1409|      }
# 1410|   
# 1411|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);

Error: CLANG_WARNING: [#def4501]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1412:4: note: Assuming '_dst' is equal to null
# 1410|   
# 1411|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);

Error: CLANG_WARNING: [#def4502]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1412:4: note: Loop condition is false. Execution continues on line 1413
# 1410|   
# 1411|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);

Error: CLANG_WARNING: [#def4503]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1413:4: note: Assuming '_dst' is equal to null
# 1411|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);

Error: CLANG_WARNING: [#def4504]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1413:4: note: Loop condition is false. Execution continues on line 1414
# 1411|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);

Error: CLANG_WARNING: [#def4505]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1414:4: note: Assuming '_dst' is equal to null
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);

Error: CLANG_WARNING: [#def4506]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1414:4: note: Loop condition is false. Execution continues on line 1415
# 1412|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);

Error: CLANG_WARNING: [#def4507]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1415:4: note: Assuming '_dst' is equal to null
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   

Error: CLANG_WARNING: [#def4508]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1415:4: note: Loop condition is false. Execution continues on line 1416
# 1413|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   

Error: CLANG_WARNING: [#def4509]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1416:4: note: Assuming '_dst' is equal to null
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   
# 1418|      uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,

Error: CLANG_WARNING: [#def4510]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1416:4: note: Loop condition is false. Execution continues on line 1418
# 1414|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1415|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1416|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   
# 1418|      uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,

Error: CLANG_WARNING: [#def4511]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1418:4: note: 'vertex_elements' initialized to a null pointer value
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   
# 1418|->    uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,
# 1419|                                                  GENX(3DSTATE_VERTEX_ELEMENTS));
# 1420|      uint32_t *ve_pack_dest = &vertex_elements[1];

Error: CLANG_WARNING: [#def4512]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1418:32: note: Assuming '__dst' is null
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   
# 1418|->    uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,
# 1419|                                                  GENX(3DSTATE_VERTEX_ELEMENTS));
# 1420|      uint32_t *ve_pack_dest = &vertex_elements[1];

Error: CLANG_WARNING: [#def4513]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1418:32: note: Taking false branch
# 1416|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1417|   
# 1418|->    uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,
# 1419|                                                  GENX(3DSTATE_VERTEX_ELEMENTS));
# 1420|      uint32_t *ve_pack_dest = &vertex_elements[1];

Error: CLANG_WARNING: [#def4514]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1420:4: note: 've_pack_dest' initialized to a null pointer value
# 1418|      uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,
# 1419|                                                  GENX(3DSTATE_VERTEX_ELEMENTS));
# 1420|->    uint32_t *ve_pack_dest = &vertex_elements[1];
# 1421|   
# 1422|      for (int i = 0; i < 2; i++) {

Error: CLANG_WARNING: [#def4515]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1422:4: note: Loop condition is true.  Entering loop body
# 1420|      uint32_t *ve_pack_dest = &vertex_elements[1];
# 1421|   
# 1422|->    for (int i = 0; i < 2; i++) {
# 1423|         struct GENX(VERTEX_ELEMENT_STATE) element = {
# 1424|            .Valid = true,

Error: CLANG_WARNING: [#def4516]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1428:31: note: '?' condition is true
# 1426|            .Component0Control = VFCOMP_STORE_0,
# 1427|            .Component1Control = VFCOMP_STORE_0,
# 1428|->          .Component2Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1429|            .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };

Error: CLANG_WARNING: [#def4517]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1428:31: note: 'i' is equal to 0
# 1426|            .Component0Control = VFCOMP_STORE_0,
# 1427|            .Component1Control = VFCOMP_STORE_0,
# 1428|->          .Component2Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1429|            .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };

Error: CLANG_WARNING: [#def4518]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1429:31: note: '?' condition is true
# 1427|            .Component1Control = VFCOMP_STORE_0,
# 1428|            .Component2Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1429|->          .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };
# 1431|         GENX(VERTEX_ELEMENT_STATE_pack)(NULL, ve_pack_dest, &element);

Error: CLANG_WARNING: [#def4519]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1429:31: note: 'i' is equal to 0
# 1427|            .Component1Control = VFCOMP_STORE_0,
# 1428|            .Component2Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1429|->          .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };
# 1431|         GENX(VERTEX_ELEMENT_STATE_pack)(NULL, ve_pack_dest, &element);

Error: CLANG_WARNING: [#def4520]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1431:7: note: Calling 'GFX125_VERTEX_ELEMENT_STATE_pack'
# 1429|            .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };
# 1431|->       GENX(VERTEX_ELEMENT_STATE_pack)(NULL, ve_pack_dest, &element);
# 1432|         ve_pack_dest += GENX(VERTEX_ELEMENT_STATE_length);
# 1433|      }

Error: CLANG_WARNING: [#def4521]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:1431:45: note: Passing null pointer value via 2nd parameter 'dst'
# 1429|            .Component3Control = i == 0 ? VFCOMP_STORE_0 : VFCOMP_STORE_1_FP,
# 1430|         };
# 1431|->       GENX(VERTEX_ELEMENT_STATE_pack)(NULL, ve_pack_dest, &element);
# 1432|         ve_pack_dest += GENX(VERTEX_ELEMENT_STATE_length);
# 1433|      }

Error: CLANG_WARNING: [#def4522]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2063:34: warning[deadcode.DeadStores]: Value stored to 'pipeline' during its initialization is never read
# 2061|      struct anv_device *device = cmd_buffer->device;
# 2062|      struct anv_cmd_graphics_state *gfx = &cmd_buffer->state.gfx;
# 2063|->    struct anv_graphics_pipeline *pipeline =
# 2064|         anv_pipeline_to_graphics(cmd_buffer->state.gfx.base.pipeline);
# 2065|      struct anv_gfx_dynamic_state *hw_state = &gfx->dyn_state;

Error: CLANG_WARNING: [#def4523]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2065:34: warning[deadcode.DeadStores]: Value stored to 'hw_state' during its initialization is never read
# 2063|      struct anv_graphics_pipeline *pipeline =
# 2064|         anv_pipeline_to_graphics(cmd_buffer->state.gfx.base.pipeline);
# 2065|->    struct anv_gfx_dynamic_state *hw_state = &gfx->dyn_state;
# 2066|   
# 2067|      if (INTEL_DEBUG(DEBUG_REEMIT)) {

Error: CLANG_WARNING: [#def4524]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2080:8: note: Assuming the condition is false
# 2078|       * it after.
# 2079|       */
# 2080|->    if (intel_needs_workaround(device->info, 16011773973) &&
# 2081|          pipeline->uses_xfb &&
# 2082|          BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_SO_DECL_LIST)) {

Error: CLANG_WARNING: [#def4525]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2080:8: note: Left side of '&&' is true
# 2078|       * it after.
# 2079|       */
# 2080|->    if (intel_needs_workaround(device->info, 16011773973) &&
# 2081|          pipeline->uses_xfb &&
# 2082|          BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_SO_DECL_LIST)) {

Error: CLANG_WARNING: [#def4526]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2080:58: note: Left side of '&&' is false
# 2078|       * it after.
# 2079|       */
# 2080|->    if (intel_needs_workaround(device->info, 16011773973) &&
# 2081|          pipeline->uses_xfb &&
# 2082|          BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_SO_DECL_LIST)) {

Error: CLANG_WARNING: [#def4527]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2095:4: note: Taking true branch
# 2093|   
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|->    if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|          (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&

Error: CLANG_WARNING: [#def4528]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2095:8: note: 125 is equal to 125
# 2093|   
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|->    if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|          (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&

Error: CLANG_WARNING: [#def4529]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2095:8: note: Assuming the condition is true
# 2093|   
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|->    if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|          (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&

Error: CLANG_WARNING: [#def4530]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2095:8: note: Left side of '&&' is true
# 2093|   
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|->    if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|          (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&

Error: CLANG_WARNING: [#def4531]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2096:9: note: Assuming the condition is true
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|      if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|->        (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&
# 2098|          cmd_buffer->state.gfx.viewport_set) {

Error: CLANG_WARNING: [#def4532]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2096:65: note: Left side of '||' is true
# 2094|      /* Wa_18020335297 - Apply the WA when viewport ptr is reprogrammed. */
# 2095|      if (intel_needs_workaround(device->info, 18020335297) &&
# 2096|->        (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&
# 2098|          cmd_buffer->state.gfx.viewport_set) {

Error: CLANG_WARNING: [#def4533]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2098:8: note: Assuming field 'viewport_set' is true
# 2096|          (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC) ||
# 2097|           BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) &&
# 2098|->        cmd_buffer->state.gfx.viewport_set) {
# 2099|         /* For mesh, we implement the WA using CS stall. This is for
# 2100|          * simplicity and takes care of possible interaction with Wa_16014390852.

Error: CLANG_WARNING: [#def4534]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2102:7: note: Taking false branch
# 2100|          * simplicity and takes care of possible interaction with Wa_16014390852.
# 2101|          */
# 2102|->       if (anv_pipeline_is_mesh(pipeline)) {
# 2103|            genx_batch_emit_pipe_control(&cmd_buffer->batch, device->info,
# 2104|                                         _3D, ANV_PIPE_CS_STALL_BIT);

Error: CLANG_WARNING: [#def4535]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_gfx_state.c:2127:10: note: Calling 'emit_wa_18020335297_dummy_draw'
# 2125|            cmd_buffer_gfx_state_emission(cmd_buffer);
# 2126|   
# 2127|->          emit_wa_18020335297_dummy_draw(cmd_buffer);
# 2128|   
# 2129|            /* Dirty all emitted WA state to make sure that current real

Error: CLANG_WARNING: [#def4536]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_init_state.c:840:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  838|      }
#  839|   
#  840|->    return res;
#  841|   }
#  842|   

Error: CLANG_WARNING: [#def4537]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_init_state.c:1351:36: warning[deadcode.DeadStores]: Value stored to 'devinfo' during its initialization is never read
# 1349|   
# 1350|   #if GFX_VERx10 >= 125
# 1351|->    const struct intel_device_info *devinfo = &cmd_buffer->device->physical->info;
# 1352|   
# 1353|      if (!intel_needs_workaround(devinfo, 16014390852))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4538]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘gfx9_emit_vertex_input’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:146:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:138:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4806:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘gfx9_emit_vertex_input’
#  144|      const struct anv_device *device = pipeline->base.base.device;
#  145|      const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
#  146|->    const uint64_t inputs_read = vs_prog_data->inputs_read;
#  147|      const uint64_t double_inputs_read =
#  148|         vs_prog_data->double_inputs_read & inputs_read;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4539]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:262:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4806:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  260|      const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
#  261|      const bool needs_svgs_elem = pipeline->svgs_count > 1 ||
#  262|->                                 !vs_prog_data->uses_drawid;
#  263|      const uint32_t id_slot = pipeline->vs_input_elements;
#  264|      const uint32_t drawid_slot = id_slot + needs_svgs_elem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4540]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:281:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4806:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  279|             * well.  Just do all or nothing.
#  280|             */
#  281|->          uint32_t base_ctrl = (vs_prog_data->uses_firstvertex ||
#  282|                                  vs_prog_data->uses_baseinstance) ?
#  283|                                 VFCOMP_STORE_SRC : VFCOMP_STORE_0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4541]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:312:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4806:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#  310|         }
#  311|   
#  312|->       if (vs_prog_data->uses_drawid) {
#  313|            struct GENX(VERTEX_ELEMENT_STATE) element = {
#  314|               .VertexBufferIndex = ANV_DRAWID_VB_INDEX,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4542]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:649:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4810:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4810:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:56:20: note: in definition of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:545:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:56:20: note: in definition of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:546:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4811:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4811:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:644:10: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_sbe’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:644:10: note: in expansion of macro ‘anv_pipeline_emit’
#  647|   
#  648|               assert(mue->per_vertex_header_size_dw % 8 == 0);
#  649|->             sbe_mesh.PerVertexURBEntryOutputReadOffset = mue->per_vertex_header_size_dw / 8;
#  650|               sbe_mesh.PerVertexURBEntryOutputReadLength = DIV_ROUND_UP(mue->per_vertex_data_size_dw, 8);
#  651|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4543]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1316:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4807:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4808:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1296:4: note: in expansion of macro ‘anv_pipeline_emit’
# 1314|         hs.MaximumNumberofThreads = devinfo->max_tcs_threads - 1;
# 1315|         hs.IncludeVertexHandles = true;
# 1316|->       hs.InstanceCount = tcs_prog_data->instances - 1;
# 1317|   
# 1318|         hs.VertexURBEntryReadLength = 0;

Error: CLANG_WARNING: [#def4544]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1427:35: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
# 1425|            te.MaximumTessellationFactorNotOdd = 64.0;
# 1426|   #if GFX_VERx10 >= 125
# 1427|->          const struct anv_device *device = pipeline->base.base.device;
# 1428|            if (intel_needs_workaround(device->info, 22012699309))
# 1429|               te.TessellationDistributionMode = TEDMODE_RR_STRICT;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4545]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1539:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4810:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1532:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1532:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_wm’
# 1537|   
# 1538|         if (anv_pipeline_has_stage(pipeline, MESA_SHADER_FRAGMENT)) {
# 1539|->          if (wm_prog_data->early_fragment_tests) {
# 1540|               wm.EarlyDepthStencilControl         = EDSC_PREPS;
# 1541|            } else if (wm_prog_data->has_side_effects) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4546]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1851:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4812:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1828:4: note: in expansion of macro ‘anv_pipeline_emit’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_task_state’
# 1849|         task.EmitInlineParameter = true;
# 1850|   
# 1851|->       task.XP0Required = task_prog_data->uses_drawid;
# 1852|      }
# 1853|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4547]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c:1886:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:4811:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_pipeline.c: scope_hint: In function ‘emit_mesh_state’
# 1884|   
# 1885|      const unsigned output_topology =
# 1886|->       mesh_prog_data->primitive_type == MESA_PRIM_POINTS ? OUTPUT_POINT :
# 1887|         mesh_prog_data->primitive_type == MESA_PRIM_LINES  ? OUTPUT_LINE :
# 1888|                                                                OUTPUT_TRI;

Error: CLANG_WARNING: [#def4548]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_query.c:209:38: warning[core.DivideZero]: Division by zero
#  207|      }
#  208|      else if (pool->vk.query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR) {
#  209|->       pool->pass_size = pool->stride / n_passes;
#  210|         pool->data_offset = data_offset;
#  211|         pool->snapshot_size = (pool->pass_size - data_offset) / 2;

Error: COMPILER_WARNING (CWE-563): [#def4549]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c: scope_hint: In function ‘gfx125_emit_simpler_shader_init_compute’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c:368:35: warning[-Wunused-variable]: unused variable ‘prog_data’
#  368 |    const struct brw_cs_prog_data *prog_data =
#      |                                   ^~~~~~~~~
#  366|   #if GFX_VERx10 >= 125
#  367|      struct anv_shader_bin *cs_bin = state->kernel;
#  368|->    const struct brw_cs_prog_data *prog_data =
#  369|         (const struct brw_cs_prog_data *) cs_bin->prog_data;
#  370|      /* Currently our simple shaders are simple enough that they never spill. */

Error: CLANG_WARNING: [#def4550]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/genX_simple_shader.c:368:35: warning[deadcode.DeadStores]: Value stored to 'prog_data' during its initialization is never read
#  366|   #if GFX_VERx10 >= 125
#  367|      struct anv_shader_bin *cs_bin = state->kernel;
#  368|->    const struct brw_cs_prog_data *prog_data =
#  369|         (const struct brw_cs_prog_data *) cs_bin->prog_data;
#  370|      /* Currently our simple shaders are simple enough that they never spill. */

Error: CLANG_WARNING: [#def4551]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_batch_chain.c:597:50: warning[core.NullDereference]: Array access (via field 'objects') results in a null pointer dereference
#  595|         uint32_t last_idx = execbuf->bo_count - 1;
#  596|   
#  597|->       struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx];
#  598|         assert(execbuf->bos[idx] == batch_bo);
#  599|   

Error: CLANG_WARNING: [#def4552]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_batch_chain.c:601:27: warning[core.NullDereference]: Array access (via field 'bos') results in a null pointer dereference
#  599|   
#  600|         execbuf->objects[idx] = execbuf->objects[last_idx];
#  601|->       execbuf->bos[idx] = execbuf->bos[last_idx];
#  602|         execbuf->bos[idx]->exec_obj_index = idx;
#  603|   

Error: COMPILER_WARNING (CWE-563): [#def4553]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_batch_chain.c: scope_hint: In function ‘i915_queue_exec_locked’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_batch_chain.c:930:30: warning[-Wunused-variable]: unused variable ‘companion_rcs_cmd_buffer’
#  930 |       struct anv_cmd_buffer *companion_rcs_cmd_buffer =
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
#  928|   
#  929|      if (cmd_buffer_count != 0 && cmd_buffers[0]->companion_rcs_cmd_buffer) {
#  930|->       struct anv_cmd_buffer *companion_rcs_cmd_buffer =
#  931|            cmd_buffers[0]->companion_rcs_cmd_buffer;
#  932|         assert(companion_rcs_cmd_buffer->is_companion_rcs_cmd_buffer);

Error: CLANG_WARNING: [#def4554]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_batch_chain.c:930:30: warning[deadcode.DeadStores]: Value stored to 'companion_rcs_cmd_buffer' during its initialization is never read
#  928|   
#  929|      if (cmd_buffer_count != 0 && cmd_buffers[0]->companion_rcs_cmd_buffer) {
#  930|->       struct anv_cmd_buffer *companion_rcs_cmd_buffer =
#  931|            cmd_buffers[0]->companion_rcs_cmd_buffer;
#  932|         assert(companion_rcs_cmd_buffer->is_companion_rcs_cmd_buffer);

Error: CLANG_WARNING: [#def4555]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/i915/anv_device.c:377:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  375|      }
#  376|   
#  377|->    return result;
#  378|   }
#  379|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4556]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/xe/anv_batch_chain.c: scope_hint: In function ‘vk_sync_to_drm_xe_sync’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/xe/anv_batch_chain.c:100: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.1.2-build/mesa-24.1.2/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/include/vulkan/vk_icd.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:75: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/xe/anv_batch_chain.c: scope_hint: In function ‘vk_sync_to_drm_xe_sync’
#   98|                         DRM_XE_SYNC_TYPE_SYNCOBJ,
#   99|         .flags = signal ? DRM_XE_SYNC_FLAG_SIGNAL : 0,
#  100|->       .handle = syncobj->syncobj,
#  101|         .timeline_value = value,
#  102|      };

Error: CLANG_WARNING: [#def4557]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/xe/anv_kmd_backend.c:157:21: warning[core.NullDereference]: Access to field 'gem_handle' results in a dereference of a null pointer (loaded from variable 'bo')
#  155|      } else if (anv_bind->op == ANV_VM_UNBIND_ALL) {
#  156|         xe_bind.op = DRM_XE_VM_BIND_OP_UNMAP_ALL;
#  157|->       xe_bind.obj = bo->gem_handle;
#  158|         assert(anv_bind->address == 0);
#  159|         assert(anv_bind->size == 0);

Error: CLANG_WARNING: [#def4558]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:512:31: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  510|            return result;
#  511|   
#  512|->       pool->bos[pool->nbos++] = new_bo;
#  513|   
#  514|         /* This pointer will always point to the first BO in the list */

Error: CLANG_WARNING: [#def4559]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:555:31: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  553|         pool->map = map + center_bo_offset;
#  554|   
#  555|->       pool->bos[pool->nbos++] = new_bo;
#  556|         pool->wrapper_bo.map = new_bo;
#  557|      }

Error: CLANG_WARNING: [#def4560]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:588:14: warning[core.NullDereference]: Access to field 'map' results in a dereference of a null pointer (loaded from variable '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-476): [#def4561]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:588:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_block_pool_map.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:577:7: note: in expansion of macro ‘anv_block_pool_foreach_bo’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4562]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:955:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4563]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:965:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c: scope_hint: In function ‘anv_state_pool_return_blocks’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4564]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_allocator.c:1384:7: warning[core.NullDereference]: Access to field 'map' results in a dereference of a null pointer (loaded from variable 'bo')
# 1382|   
# 1383|      /* We want it to look like it came from this pool */
# 1384|->    VG(VALGRIND_FREELIKE_BLOCK(bo->map, 0));
# 1385|      VG(VALGRIND_MEMPOOL_ALLOC(pool, bo->map, size));
# 1386|   

Error: CLANG_WARNING: [#def4565]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_batch_chain.c:114:19: warning[core.NullDereference]: Access to field 'relocs' results in a dereference of a null pointer (loaded from variable 'list')
#  112|                         const VkAllocationCallbacks *alloc)
#  113|   {
#  114|->    vk_free(alloc, list->relocs);
#  115|      vk_free(alloc, list->reloc_bos);
#  116|      vk_free(alloc, list->deps);

Error: CLANG_WARNING: [#def4566]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_batch_chain.c:492:45: warning[core.NullDereference]: Array access (via field 'reloc_bos') results in a null pointer dereference
#  490|         assert(prev_bbo->relocs.relocs[reloc_idx].offset == bb_start_offset + 4);
#  491|   
#  492|->       prev_bbo->relocs.reloc_bos[reloc_idx] = next_bbo->bo;
#  493|         prev_bbo->relocs.relocs[reloc_idx].delta = next_bbo_offset;
#  494|   

Error: CLANG_WARNING: [#def4567]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_batch_chain.c:614:40: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from variable 'bbo')
#  612|      assert(batch->end == current_bbo->bo->map + current_bbo->bo->size);
#  613|   
#  614|->    emit_batch_buffer_start(cmd_buffer, bbo->bo, 0);
#  615|   
#  616|      anv_batch_bo_finish(current_bbo, batch);

Error: CLANG_WARNING: [#def4568]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_batch_chain.c:1159:26: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'write_return_addr')
# 1157|         emit_batch_buffer_start(primary, first_bbo->bo, 0);
# 1158|   
# 1159|->       *write_return_addr =
# 1160|            anv_address_physical(anv_batch_address(&primary->batch,
# 1161|                                                   primary->batch.next));

Error: CLANG_WARNING: [#def4569]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_batch_chain.c:1302:19: warning[core.NullDereference]: Access to field 'handle' results in a dereference of a null pointer (loaded from variable 'obj')
# 1300|         exec->bos[bo->exec_obj_index] = bo;
# 1301|   
# 1302|->       obj->handle = bo->gem_handle;
# 1303|         obj->relocation_count = 0;
# 1304|         obj->relocs_ptr = 0;

Error: CLANG_WARNING: [#def4570]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:450:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  448|   
#  449|      /* Initialize all samplers to 0 */
#  450|->    memset(samplers, 0, immutable_sampler_count * sizeof(*samplers));
#  451|   
#  452|      uint32_t buffer_view_count = 0;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4571]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_descriptor_set_write_image_view’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:34: note: write of 4 bytes to beyond the end of ‘desc_data’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4572]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_UpdateDescriptorSets’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:1728:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4573]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:975:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:83: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:1344:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:1344:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:1366:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4574]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:821:36: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'test_range')
#  819|      }
#  820|   
#  821|->    memory_range_merge(accum_range, *test_range);
#  822|   }
#  823|   

Error: COMPILER_WARNING (CWE-563): [#def4575]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘check_drm_format_mod’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:955:40: warning[-Wunused-variable]: unused variable ‘isl_mod_info’
#  955 |    const struct isl_drm_modifier_info *isl_mod_info =
#      |                                        ^~~~~~~~~~~~
#  953|         return VK_SUCCESS;
#  954|   
#  955|->    const struct isl_drm_modifier_info *isl_mod_info =
#  956|         isl_drm_modifier_get_info(image->vk.drm_format_mod);
#  957|   

Error: CLANG_WARNING: [#def4576]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:955:40: warning[deadcode.DeadStores]: Value stored to 'isl_mod_info' during its initialization is never read
#  953|         return VK_SUCCESS;
#  954|   
#  955|->    const struct isl_drm_modifier_info *isl_mod_info =
#  956|         isl_drm_modifier_get_info(image->vk.drm_format_mod);
#  957|   

Error: CLANG_WARNING: [#def4577]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:1751:10: warning[deadcode.DeadStores]: Value stored to 'did_bind' is never read
# 1749|               };
# 1750|   
# 1751|->          did_bind = true;
# 1752|         }
# 1753|      }

Error: COMPILER_WARNING (CWE-563): [#def4578]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘anv_layout_to_aux_state’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:1941:9: warning[-Wunused-but-set-variable]: variable ‘aux_supported’ set but not used
# 1941 |    bool aux_supported = true;
#      |         ^~~~~~~~~~~~~
# 1939|         vk_image_layout_to_usage_flags(layout, aspect) & image_aspect_usage;
# 1940|   
# 1941|->    bool aux_supported = true;
# 1942|      bool clear_supported = isl_aux_usage_has_fast_clears(aux_usage);
# 1943|   

Error: CLANG_WARNING: [#def4579]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:1955:10: warning[deadcode.DeadStores]: Value stored to 'aux_supported' is never read
# 1953|          */
# 1954|         if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT && devinfo->ver <= 9) {
# 1955|->          aux_supported = false;
# 1956|            clear_supported = false;
# 1957|         }

Error: CLANG_WARNING: [#def4580]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:1966:13: warning[deadcode.DeadStores]: Value stored to 'aux_supported' is never read
# 1964|         case ISL_AUX_USAGE_HIZ:
# 1965|            if (!anv_can_sample_with_hiz(devinfo, image)) {
# 1966|->             aux_supported = false;
# 1967|               clear_supported = false;
# 1968|            }

Error: CLANG_WARNING: [#def4581]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_image.c:1972:10: warning[deadcode.DeadStores]: Value stored to 'aux_supported' is never read
# 1970|   
# 1971|         case ISL_AUX_USAGE_CCS_D:
# 1972|->          aux_supported = false;
# 1973|            clear_supported = false;
# 1974|            break;

Error: CLANG_WARNING: [#def4582]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:89:8: warning[core.NullDereference]: Array access (via field 'use_count') results in a null pointer dereference
#   87|         &state->layout->set[set].layout->binding[binding];
#   88|   
#   89|->    if (state->set[set].use_count[binding] < UINT8_MAX)
#   90|         state->set[set].use_count[binding]++;
#   91|   

Error: CLANG_WARNING: [#def4583]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:312:35: warning[core.NullDereference]: Array access (via field 'surface_offsets') results in a null pointer dereference
#  310|                                    bind_layout->descriptor_offset);
#  311|         } else {
#  312|->          uint32_t surface_index = state->set[set].surface_offsets[binding];
#  313|            assert(array_size > 0 && array_size <= UINT16_MAX);
#  314|            assert(surface_index <= UINT16_MAX);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4584]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:554:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: scope_hint: In function ‘build_res_index_for_chain’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4763:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4585]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:862:30: warning[core.NullDereference]: Array access (via field 'surface_offsets') results in a null pointer dereference
#  860|      unsigned set = var->data.descriptor_set;
#  861|      unsigned binding = var->data.binding;
#  862|->    unsigned binding_offset = state->set[set].surface_offsets[binding];
#  863|   
#  864|      b->cursor = nir_before_instr(&intrin->instr);

Error: CLANG_WARNING: [#def4586]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:1344:44: warning[core.NullDereference]: Array access (via field 'surface_offsets') results in a null pointer dereference
# 1342|            assert(map->surface_count + array_size <= MAX_BINDING_TABLE_SIZE);
# 1343|            assert(!anv_descriptor_requires_bindless(pdevice, binding, false));
# 1344|->          state.set[set].surface_offsets[b] = map->surface_count;
# 1345|            if (binding->dynamic_offset_index < 0) {
# 1346|               struct anv_sampler **samplers = binding->immutable_samplers;

Error: CLANG_WARNING: [#def4587]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:1384:47: warning[core.NullDereference]: Array access (via field 'sampler_offsets') results in a null pointer dereference
# 1382|                */
# 1383|               assert(anv_descriptor_supports_bindless(pdevice, binding, true));
# 1384|->             state.set[set].sampler_offsets[b] = BINDLESS_OFFSET;
# 1385|            } else {
# 1386|               state.set[set].sampler_offsets[b] = map->sampler_count;

Error: CLANG_WARNING: [#def4588]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:1386:47: warning[core.NullDereference]: Array access (via field 'sampler_offsets') results in a null pointer dereference
# 1384|               state.set[set].sampler_offsets[b] = BINDLESS_OFFSET;
# 1385|            } else {
# 1386|->             state.set[set].sampler_offsets[b] = map->sampler_count;
# 1387|               struct anv_sampler **samplers = binding->immutable_samplers;
# 1388|               for (unsigned i = 0; i < binding->array_size; i++) {

Error: CLANG_WARNING: [#def4589]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:1410:11: warning[core.NullDereference]: Array access (via field 'use_count') results in a null pointer dereference
# 1408|         const uint32_t array_size = bind_layout->array_size;
# 1409|   
# 1410|->       if (state.set[set].use_count[binding] == 0)
# 1411|            continue;
# 1412|   

Error: CLANG_WARNING: [#def4590]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_nir_lower_ycbcr_textures.c:260:20: warning[core.NullDereference]: Dereference of null pointer
#  258|      }
#  259|      assert(y_isl_layout != NULL);
#  260|->    uint8_t y_bpc = y_isl_layout->channels_array[0].bits;
#  261|   
#  262|      /* |ycbcr_comp| holds components in the order : Cr-Y-Cb */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4591]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_add_executable’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline.c:974: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
#  972|            push_size += stage->bind_map.push_ranges[i].length;
#  973|         if (push_size > 0) {
#  974|->          fprintf(stream, "Push constant ranges:\n");
#  975|            for (unsigned i = 0; i < 4; i++) {
#  976|               if (stage->bind_map.push_ranges[i].length == 0)

Error: COMPILER_WARNING (CWE-563): [#def4592]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_compile_cs’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline.c:1478:43: warning[-Wunused-variable]: unused variable ‘sinfo’
# 1478 |    const VkPipelineShaderStageCreateInfo *sinfo = &info->stage;
#      |                                           ^~~~~
# 1476|                           const VkComputePipelineCreateInfo *info)
# 1477|   {
# 1478|->    const VkPipelineShaderStageCreateInfo *sinfo = &info->stage;
# 1479|      assert(sinfo->stage == VK_SHADER_STAGE_COMPUTE_BIT);
# 1480|   

Error: CLANG_WARNING: [#def4593]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline.c:1478:43: warning[deadcode.DeadStores]: Value stored to 'sinfo' during its initialization is never read
# 1476|                           const VkComputePipelineCreateInfo *info)
# 1477|   {
# 1478|->    const VkPipelineShaderStageCreateInfo *sinfo = &info->stage;
# 1479|      assert(sinfo->stage == VK_SHADER_STAGE_COMPUTE_BIT);
# 1480|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4594]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:101:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:69: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:80:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:81:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:82:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:84:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:86:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:88:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:216:37: note: in definition of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:88:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:92:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:94:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c: scope_hint: In function ‘anv_shader_bin_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:253:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4595]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:101:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#   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: CLANG_WARNING: [#def4596]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:134:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  132|                              reloc_values, rv_count);
#  133|   
#  134|->    memcpy(prog_data, prog_data_in, prog_data_size);
#  135|      typed_memcpy(prog_data_relocs, prog_data_in->relocs,
#  136|                   prog_data_in->num_relocs);

Error: CLANG_WARNING: [#def4597]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:135:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  133|   
#  134|      memcpy(prog_data, prog_data_in, prog_data_size);
#  135|->    typed_memcpy(prog_data_relocs, prog_data_in->relocs,
#  136|                   prog_data_in->num_relocs);
#  137|      prog_data->relocs = prog_data_relocs;

Error: CLANG_WARNING: [#def4598]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:138:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  136|                   prog_data_in->num_relocs);
#  137|      prog_data->relocs = prog_data_relocs;
#  138|->    memset(prog_data_param, 0,
#  139|             prog_data->nr_params * sizeof(*prog_data_param));
#  140|      prog_data->param = prog_data_param;

Error: CLANG_WARNING: [#def4599]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:149:17: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'xfb_info')
#  147|   
#  148|      if (xfb_info_in) {
#  149|->       *xfb_info = *xfb_info_in;
#  150|         typed_memcpy(xfb_info->outputs, xfb_info_in->outputs,
#  151|                      xfb_info_in->output_count);

Error: CLANG_WARNING: [#def4600]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:158:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  156|   
#  157|      shader->bind_map = *bind_map;
#  158|->    typed_memcpy(surface_to_descriptor, bind_map->surface_to_descriptor,
#  159|                   bind_map->surface_count);
#  160|      shader->bind_map.surface_to_descriptor = surface_to_descriptor;

Error: CLANG_WARNING: [#def4601]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_pipeline_cache.c:161:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  159|                   bind_map->surface_count);
#  160|      shader->bind_map.surface_to_descriptor = surface_to_descriptor;
#  161|->    typed_memcpy(sampler_to_descriptor, bind_map->sampler_to_descriptor,
#  162|                   bind_map->sampler_count);
#  163|      shader->bind_map.sampler_to_descriptor = sampler_to_descriptor;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4602]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c: scope_hint: In function ‘blorp_alloc_binding_table’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:176:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:176:26: note: write of 4 bytes to beyond the end of ‘surface_offsets’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4603]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:177:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: note: in expansion of macro ‘genX’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_blorp_exec.c:177:23: note: write of 8 bytes to beyond the end of ‘surface_maps’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4604]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4605]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_cmd_buffer.c: scope_hint: In function ‘transition_color_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4606]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c:98:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:2981:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
#   96|   
#   97|      /* Pull inputs_read out of the VS prog data */
#   98|->    const uint64_t inputs_read = vs_prog_data->inputs_read;
#   99|      const uint64_t double_inputs_read =
#  100|         vs_prog_data->double_inputs_read & inputs_read;

Error: COMPILER_WARNING (CWE-563): [#def4607]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c:158:16: warning[-Wunused-variable]: unused variable ‘binding’
#  158 |       uint32_t binding = vi->attributes[a].binding;
#      |                ^~~~~~~
#  156|         assume(format < ISL_NUM_FORMATS);
#  157|   
#  158|->       uint32_t binding = vi->attributes[a].binding;
#  159|         assert(binding < MAX_VBS);
#  160|   

Error: CLANG_WARNING: [#def4608]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c:158:16: warning[deadcode.DeadStores]: Value stored to 'binding' during its initialization is never read
#  156|         assume(format < ISL_NUM_FORMATS);
#  157|   
#  158|->       uint32_t binding = vi->attributes[a].binding;
#  159|         assert(binding < MAX_VBS);
#  160|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4609]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c:1397:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:2982:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/anv_private.h:2983:1: note: in expansion of macro ‘ANV_DECL_GET_GRAPHICS_PROG_DATA_FUNC’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_3dstate_hs_te_ds’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_pipeline.c:1388:4: note: in expansion of macro ‘anv_batch_emit’
# 1395|         hs.MaximumNumberofThreads = devinfo->max_tcs_threads - 1;
# 1396|         hs.IncludeVertexHandles = true;
# 1397|->       hs.InstanceCount = tcs_prog_data->instances - 1;
# 1398|   
# 1399|         hs.VertexURBEntryReadLength = 0;

Error: CLANG_WARNING: [#def4610]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_state.c:45:23: warning[deadcode.DeadStores]: Value stored to 'device' during its initialization is never read
#   43|   init_render_queue_state(struct anv_queue *queue)
#   44|   {
#   45|->    struct anv_device *device = queue->device;
#   46|      uint32_t cmds[128];
#   47|      struct anv_batch batch = {

Error: CLANG_WARNING: [#def4611]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_state.c:131:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  129|      }
#  130|   
#  131|->    return res;
#  132|   }
#  133|   

Error: CLANG_WARNING: [#def4612]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan_hasvk/genX_state.c:246:7: warning[deadcode.DeadStores]: Value stored to 'sl' is never read
#  244|         assert(sl->grid_size.height == 1);
#  245|      } else {
#  246|->       sl = vk_standard_sample_locations_state(samples);
#  247|      }
#  248|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4613]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader.c: scope_hint: In function ‘drm_construct_id_path_tag’
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader.c:345: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
#  343|            name = strdup(name + 1);
#  344|   
#  345|->       address = strchr(name, '@');
#  346|         if (address) {
#  347|            *address++ = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4614]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader.c: scope_hint: In function ‘loader_get_user_preferred_fd’
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader.c:561:44: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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
#  559|      }
#  560|   
#  561|->    bool is_render_and_display_gpu_diff = !!strcmp(default_tag, prime.str);
#  562|      if (original_fd) {
#  563|         if (is_render_and_display_gpu_diff) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def4615]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader.c:577:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
#  575|      free(default_tag);
#  576|      free(prime.str);
#  577|->    return is_render_and_display_gpu_diff;
#  578|    err:
#  579|      log_(debug ? _LOADER_WARNING : _LOADER_INFO,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4616]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri3_helper.c: scope_hint: In function ‘dri3_alloc_render_buffer’
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri3_helper.c:1667:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer_fds[0]’
# 1665|   #endif
# 1666|      {
# 1667|->       xcb_dri3_pixmap_from_buffer(draw->conn,
# 1668|                                     pixmap,
# 1669|                                     draw->drawable,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4617]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri_helper.c: scope_hint: In function ‘loader_update_screen_resources’
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri_helper.c:235:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
#  233|      for (unsigned c = 0; c < res->num_crtcs; c++) {
#  234|         crtc_cookies[c] =
#  235|->          xcb_randr_get_crtc_info_unchecked(res->conn, res->crtcs[c].id,
#  236|                                              res->config_timestamp);
#  237|      }

Error: CLANG_WARNING: [#def4618]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri_helper.c:235:55: warning[core.NullDereference]: Dereference of null pointer
#  233|      for (unsigned c = 0; c < res->num_crtcs; c++) {
#  234|         crtc_cookies[c] =
#  235|->          xcb_randr_get_crtc_info_unchecked(res->conn, res->crtcs[c].id,
#  236|                                              res->config_timestamp);
#  237|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4619]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_dri_helper.c:291:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
#  289|      for (unsigned c = 0; c < reply->num_crtcs; c++) {
#  290|         crtc_cookies[c] =
#  291|->          xcb_randr_get_crtc_info_unchecked(res->conn, new_crtcs[c],
#  292|                                              res->config_timestamp);
#  293|      }

Error: CPPCHECK_WARNING: [#def4620]
mesa-24.1.2-build/mesa-24.1.2/src/loader/loader_wayland_helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4621]
mesa-24.1.2-build/mesa-24.1.2/src/mapi/shared-glapi/glapi.c:123:12: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'struct _glapi_table', which is incompatible with sizeof operand type 'mapi_func'
#  121|         num_entries = MAPI_TABLE_NUM_SLOTS;
#  122|   
#  123|->    table = malloc(num_entries * sizeof(mapi_func));
#  124|      if (table) {
#  125|         memcpy(table, table_noop_array, num_entries * sizeof(mapi_func));

Error: GCC_ANALYZER_WARNING (CWE-131): [#def4622]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/accum.c: scope_hint: In function ‘accum_or_load’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4623]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/accum.c:235:14: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'GLfloat[4]', which is incompatible with sizeof operand type 'GLfloat'
#  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): [#def4624]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/accum.c: scope_hint: In function ‘accum_return’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4625]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/accum.c:328:17: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'GLfloat[4]', which is incompatible with sizeof operand type 'GLfloat'
#  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): [#def4626]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4627]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/accum.c:329:17: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'GLfloat[4]', which is incompatible with sizeof operand type 'GLfloat'
#  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): [#def4628]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/atifragshader.c: scope_hint: In function ‘_mesa_BeginFragmentShaderATI’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/atifragshader.c:345:41: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(12, 6)’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/atifragshader.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4629]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/atifragshader.c:350:10: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(112, 8)’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4630]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c: scope_hint: In function ‘new_gl_buffer_object’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c:1271:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_mesa_bufferobj_alloc(ctx,  id)’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4631]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c: scope_hint: In function ‘bufferobj_invalidate’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c:5105:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c: scope_hint: In function ‘bufferobj_invalidate’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4632]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c: scope_hint: In function ‘_mesa_InvalidateBufferData_no_error’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.c:5192:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4633]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c:1135:4: note: in expansion of macro ‘ASSERT_OUTSIDE_BEGIN_END’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4634]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c:1135:4: note: in expansion of macro ‘ASSERT_OUTSIDE_BEGIN_END’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.c: scope_hint: In function ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4635]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/condrender.c:88:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4636]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/condrender.c:88:46: warning[core.NullDereference]: Access to field 'pq' results in a dereference of a null pointer (loaded from variable 'q')
#   86|      }
#   87|   
#   88|->    cso_set_render_condition(st->cso_context, q->pq, inverted, m);
#   89|   }
#   90|   

Error: CLANG_WARNING: [#def4637]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.c:835:12: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'struct _glapi_table', which is incompatible with sizeof operand type '_glapi_proc'
#  833|   
#  834|   #if !USE_GLAPI_NOP_FEATURES
#  835|->    table = malloc(numEntries * sizeof(_glapi_proc));
#  836|      if (table) {
#  837|         _glapi_proc *entry = (_glapi_proc *) table;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4638]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.c: scope_hint: In function ‘_mesa_new_nop_table’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4639]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c: scope_hint: In function ‘write_ppm’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4640]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_depth_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4641]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_stencil_buffer’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4642]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapdvARB’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4643]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4644]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4645]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapfvARB’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4646]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4647]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4648]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/eval.c: scope_hint: In function ‘_mesa_GetnMapivARB’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4649]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4650]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4651]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.c:201:7: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  199|   
#  200|         i = name_to_index(ext);
#  201|->       offset = set_extension(&_mesa_extension_override_enables, i, enable);
#  202|         offset = set_extension(&_mesa_extension_override_disables, i, !enable);
#  203|         if (offset != 0)

Error: CLANG_WARNING: [#def4652]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.c:210:10: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  208|         if (!enable && recognized && offset <= 1) {
#  209|            printf("Warning: extension '%s' cannot be disabled\n", ext);
#  210|->          offset = set_extension(&_mesa_extension_override_disables, i, 0);
#  211|         }
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4653]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c:225:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c: scope_hint: In function ‘_mesa_FramebufferRenderbuffer_sw’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c: scope_hint: In function ‘_mesa_FramebufferRenderbuffer_sw’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4654]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c: scope_hint: In function ‘remove_attachment’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c:485:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘att’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4655]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c: scope_hint: In function ‘sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c:5657:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/fbobject.c: scope_hint: In function ‘sample_locations’
# 5655|      }
# 5656|   
# 5657|->    if (!fb->SampleLocationTable) {
# 5658|         size_t size = MAX_SAMPLE_LOCATION_TABLE_SIZE * 2 * sizeof(GLfloat);
# 5659|         fb->SampleLocationTable = malloc(size);

Error: CLANG_WARNING: [#def4656]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/feedback.c:365:25: warning[core.NullDereference]: Array access (from variable 'result') results in a null pointer dereference
#  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): [#def4657]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/feedback.c: scope_hint: In function ‘update_hit_record’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/feedback.c:365:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  363|            bool gpu_hit = false;
#  364|            if (metadata[1]) {
#  365|->             gpu_hit = !!result[index];
#  366|   
#  367|               if (gpu_hit) {

Error: CLANG_WARNING: [#def4658]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/ff_fragment_shader.c:615:7: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  613|      default:
#  614|         assert(0);
#  615|->       return src[0];
#  616|      }
#  617|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4659]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:131:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4660]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_bits’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:151:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4661]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:157:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4662]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:163:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4663]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:169:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4664]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:171:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4665]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:173:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4666]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:181:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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_EXT:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4667]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:187:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4668]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/menums.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/errors.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_max_bits’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:199:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_max_bits’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367:31: note: in definition of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:367: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): [#def4669]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:217:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_s3tc’
#  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): [#def4670]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_datatype’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:235:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4671]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_base_format’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:324:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4672]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:346:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4673]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_block_size_3d’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:366:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4674]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_get_format_swizzle’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:395:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4675]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:395:4: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  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): [#def4676]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:441:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_to_array_format’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4677]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_compressed’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:531:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4678]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_packed_depth_stencil’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:543:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4679]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer_color’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:554:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4680]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_unsigned’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:568:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4681]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_signed’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:585:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4682]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_integer’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:598:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4683]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_color_format’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:609:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4684]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_srgb’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:623:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4685]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_is_format_astc_2d’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:644:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4686]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_num_components’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:763:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4687]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_has_color_component’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:789:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4688]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:791:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4689]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:793:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4690]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:795:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4691]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:814:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4692]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_image_size64’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:842:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4693]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c: scope_hint: In function ‘_mesa_format_row_stride’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/formats.c:866:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4694]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/get.c:3466:21: warning[core.UndefinedBinaryOperatorResult]: The right operand of '<' is a garbage value
# 3464|   
# 3465|      case TYPE_INT_N:
# 3466|->       for (i = 0; i < v.value_int_n.n; i++)
# 3467|            params[i] = INT_TO_FIXED(v.value_int_n.ints[i]);
# 3468|         break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4695]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_spirv_shader_binary’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c:106:22: warning[-Wanalyzer-malloc-leak]: leak of ‘module’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_atomic.h:43:48: note: in definition of macro ‘p_atomic_set’
#  104|      memcpy(&module->Binary[0], binary, length);
#  105|   
#  106|->    for (int i = 0; i < n; ++i) {
#  107|         struct gl_shader *sh = shaders[i];
#  108|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4696]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_spirv_to_nir’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c:258:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
#  256|   
#  257|      for (unsigned i = 0; i < spirv_data->NumSpecializationConstants; ++i) {
#  258|->       spec_entries[i].id = spirv_data->SpecializationConstantsIndex[i];
#  259|         spec_entries[i].value.u32 = spirv_data->SpecializationConstantsValue[i];
#  260|         spec_entries[i].defined_on_module = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4697]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c: scope_hint: In function ‘_mesa_SpecializeShaderARB’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glspirv.c:402:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
#  400|   
#  401|      for (unsigned i = 0; i < numSpecializationConstants; ++i) {
#  402|->       spec_entries[i].id = pConstantIndex[i];
#  403|         spec_entries[i].value.u32 = pConstantValue[i];
#  404|         spec_entries[i].defined_on_module = false;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4698]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread_bufferobj.c: scope_hint: In function ‘_mesa_glthread_upload’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4699]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4700]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4701]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread_draw.c:908:7: warning[deadcode.DeadStores]: Value stored to 'index_bounds_valid' is never read
#  906|                                 &min_index, &max_index);
#  907|         }
#  908|->       index_bounds_valid = true;
#  909|      }
#  910|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4702]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/vbo/vbo.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:59: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c: scope_hint: In function ‘_mesa_dump_image’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:157:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:157:15: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4703]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:159:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:159:15: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4704]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:162:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:155:23: note: in definition of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/debug.c:578:10: note: in expansion of macro ‘UNCLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4705]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:169:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c:1625:7: note: in expansion of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4706]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mipmap.c:1658:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1656|   
# 1657|               /* do border along [img][row=0][col=0] */
# 1658|->             src = srcPtr[img * 2];
# 1659|               dst = dstPtr[img];
# 1660|               memcpy(dst, src, bpt);

Error: CLANG_WARNING: [#def4707]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c:1625:7: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 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-476): [#def4708]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c:50: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c: scope_hint: In function ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c:1625:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4709]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pack.c:1625:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/macros.h:168:23: note: in definition of macro ‘CLAMPED_FLOAT_TO_UBYTE’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4710]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/performance_monitor.c:123:41: warning[core.NullDereference]: Array access (from variable 'batch') results in a null pointer dereference
#  121|            if (c->flags & PIPE_DRIVER_QUERY_FLAG_BATCH) {
#  122|               cntr->batch_index = num_batch_counters;
#  123|->             batch[num_batch_counters++] = c->query_type;
#  124|            } else {
#  125|               cntr->query = pipe->create_query(pipe, c->query_type, 0);

Error: CLANG_WARNING: [#def4711]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/performance_monitor.c:137:25: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'union pipe_query_result', which is incompatible with sizeof operand type 'union pipe_numeric_type_union'
#  135|         m->batch_query = pipe->create_batch_query(pipe, num_batch_counters,
#  136|                                                     batch);
#  137|->       m->batch_result = CALLOC(num_batch_counters, sizeof(m->batch_result->batch[0]));
#  138|         if (!m->batch_query || !m->batch_result)
#  139|            goto fail;

Error: CLANG_WARNING: [#def4712]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/pipelineobj.c:535:36: warning[core.NullDereference]: Array access (via field 'CurrentProgram') results in a null pointer dereference
#  533|   
#  534|         for (i = 0; i < MESA_SHADER_STAGES; i++) {
#  535|->          struct gl_program *prog = ctx->_Shader->CurrentProgram[i];
#  536|            if (prog) {
#  537|               _mesa_program_init_subroutine_defaults(ctx, prog);

Error: CLANG_WARNING: [#def4713]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/robustness.c:73:35: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'struct _glapi_table', which is incompatible with sizeof operand type '_glapi_proc'
#   71|         int numEntries = MAX2(_glapi_get_dispatch_table_size(), _gloffset_COUNT);
#   72|   
#   73|->       ctx->Dispatch.ContextLost = malloc(numEntries * sizeof(_glapi_proc));
#   74|         if (!ctx->Dispatch.ContextLost)
#   75|            return;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4714]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:2149:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*source’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_ShaderSource’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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
# 2147|      /* Compute the original source sha1 before shader replacement. */
# 2148|      uint8_t original_sha1[SHA1_DIGEST_LENGTH];
# 2149|->    _mesa_sha1_compute(source, strlen(source), original_sha1);
# 2150|   
# 2151|   #ifdef ENABLE_SHADER_CACHE

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4715]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘valid_path_format’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3286:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘str’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘valid_path_format’
# 3284|      int i = 0;
# 3285|   
# 3286|->    if (!str[i] || (!relative_path && str[i] != '/'))
# 3287|         return false;
# 3288|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4716]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_NamedStringARB’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3491:41: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx,  string,  stringlen, "glNamedStringARB")’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:38: included_from: Included from here.
# 3489|         cp = strdup(str);
# 3490|      else {
# 3491|->       cp = calloc(sizeof(char), str_len + 1);
# 3492|         memcpy(cp, str, str_len);
# 3493|      }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4717]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘copy_string’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3492: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
# 3490|      else {
# 3491|         cp = calloc(sizeof(char), str_len + 1);
# 3492|->       memcpy(cp, str, str_len);
# 3493|      }
# 3494|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4718]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c: scope_hint: In function ‘_mesa_NamedStringARB’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3512:8: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx,  string,  stringlen, "glNamedStringARB")’
# 3510|      char *name_cp = copy_string(ctx, name, namelen, caller);
# 3511|      char *string_cp = copy_string(ctx, string, stringlen, caller);
# 3512|->    if (!name_cp || !string_cp) {
# 3513|         free(string_cp);
# 3514|         free(name_cp);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4719]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3542:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sh_incl_ht_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3535:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
# 3540|         if (!ht_entry) {
# 3541|            sh_incl_ht_entry = calloc(1, sizeof(struct sh_incl_path_ht_entry));
# 3542|->          sh_incl_ht_entry->path =
# 3543|               _mesa_hash_table_create(NULL, _mesa_hash_string,
# 3544|                                       _mesa_key_string_equal);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4720]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3545:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*entry.path)’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3535:4: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
# 3543|               _mesa_hash_table_create(NULL, _mesa_hash_string,
# 3544|                                       _mesa_key_string_equal);
# 3545|->          _mesa_hash_table_insert(path_ht, strdup(entry->path),
# 3546|                                    sh_incl_ht_entry);
# 3547|         } else {

Error: CLANG_WARNING: [#def4721]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:3559:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'string_cp'
# 3557|      }
# 3558|   
# 3559|->    simple_mtx_unlock(&ctx->Shared->ShaderIncludeMutex);
# 3560|   
# 3561|      free(name_cp);

Error: CPPCHECK_WARNING: [#def4722]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/sse_minmax.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4723]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/syncobj.c: scope_hint: In function ‘_mesa_unref_sync_object’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/syncobj.c:202:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syncObj’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4724]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/syncobj.c: scope_hint: In function ‘wait_sync’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4725]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_astc.cpp:386:25: warning[core.BitwiseShift]: Right operand is negative in right shift
#  384|         uint32_t out = 0;
#  385|         if (offset < 32)
#  386|->          out |= data[0] >> offset;
#  387|   
#  388|         if (0 < offset && offset <= 32)

Error: CLANG_WARNING: [#def4726]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_astc.cpp:1844:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1842|                  const uint16_t *src = &block_out[(sub_y * blk_w + sub_x) * 4];
# 1843|   
# 1844|->                dst[0] = src[0];
# 1845|                  dst[1] = src[1];
# 1846|                  dst[2] = src[2];

Error: CLANG_WARNING: [#def4727]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_bptc.c:87:19: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
#   85|      fetch_bptc_rgba_unorm_bytes(map, rowStride, i, j, texel_bytes);
#   86|   
#   87|->    texel[RCOMP] = UBYTE_TO_FLOAT(texel_bytes[0]);
#   88|      texel[GCOMP] = UBYTE_TO_FLOAT(texel_bytes[1]);
#   89|      texel[BCOMP] = UBYTE_TO_FLOAT(texel_bytes[2]);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4728]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_cpal.c:71:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘pix’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4729]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_fxt1.c:77:7: warning[deadcode.DeadStores]: Value stored to 'srcFormat' is never read
#   75|         pixels = tempImage;
#   76|         srcRowStride = 4 * srcWidth;
#   77|->       srcFormat = GL_RGBA;
#   78|      }
#   79|      else {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4730]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_rgtc.c: scope_hint: In function ‘extractsrc_u’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4731]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_rgtc.c: scope_hint: In function ‘extractsrc_s’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4732]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_s3tc.c:81:7: warning[deadcode.DeadStores]: Value stored to 'srcFormat' is never read
#   79|                        srcPacking);
#   80|         pixels = tempImage;
#   81|->       srcFormat = GL_RGB;
#   82|         srccomps = 3;
#   83|      }

Error: CLANG_WARNING: [#def4733]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_s3tc.c:138:7: warning[deadcode.DeadStores]: Value stored to 'srcFormat' is never read
#  136|                        srcPacking);
#  137|         pixels = tempImage;
#  138|->       srcFormat = GL_RGBA;
#  139|      }
#  140|      else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4734]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texobj.c: scope_hint: In function ‘_mesa_InvalidateTexSubImage’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texobj.c:2261:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2259|          *     equal to one."
# 2260|          */
# 2261|->       switch (t->Target) {
# 2262|         case GL_TEXTURE_BUFFER:
# 2263|            xBorder = 0;

Error: CLANG_WARNING: [#def4735]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texstate.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texobj.h:146:10: warning[core.NullDereference]: Access to field '_BaseFormat' results in a dereference of a null pointer (loaded from variable 'img')
#  144|          (texObj->_IsIntegerFormat ||
#  145|           (texObj->StencilSampling &&
#  146|->          img->_BaseFormat == GL_DEPTH_STENCIL)) &&
#  147|          sampler->Attrib.ReductionMode == GL_WEIGHTED_AVERAGE_EXT &&
#  148|          (sampler->Attrib.MagFilter != GL_NEAREST ||

Error: CLANG_WARNING: [#def4736]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texparam.c:2124:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2122|                                pname, &iparam, false);
# 2123|   
# 2124|->    *params = (GLfloat) iparam;
# 2125|   }
# 2126|   

Error: CLANG_WARNING: [#def4737]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texparam.c:2164:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2162|                                pname, &iparam, true);
# 2163|   
# 2164|->    *params = (GLfloat) iparam;
# 2165|   }
# 2166|   

Error: CLANG_WARNING: [#def4738]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texparam.c:2186:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2184|                                pname, &iparam, true);
# 2185|   
# 2186|->    *params = (GLfloat) iparam;
# 2187|   }
# 2188|   

Error: CLANG_WARNING: [#def4739]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texparam.c:2210:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2208|                                pname, &iparam, true);
# 2209|   
# 2210|->    *params = (GLfloat) iparam;
# 2211|   }
# 2212|   

Error: CLANG_WARNING: [#def4740]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texstore.c:389:56: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
#  387|                  dstRow[i] = (dstRow[i] & 0xFFFFFF00) | (stencil[i] & 0xFF);
#  388|               else
#  389|->                dstRow[i] = depth[i] << 8 | (stencil[i] & 0xFF);
#  390|            }
#  391|            src += srcRowStride;

Error: CLANG_WARNING: [#def4741]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texstore.c:475:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<<' is a garbage value
#  473|                  dstRow[i] = (dstRow[i] & 0xFFFFFF) | (stencil[i] << 24);
#  474|               else
#  475|->                dstRow[i] = depth[i] | (stencil[i] << 24);
#  476|            }
#  477|   

Error: CLANG_WARNING: [#def4742]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texstore.c:1046:7: warning[deadcode.DeadStores]: Value stored to 'depth' is never read
# 1044|         numSlices = depth;
# 1045|         sliceOffset = zoffset;
# 1046|->       depth = 1;
# 1047|         zoffset = 0;
# 1048|         srcImageStride = _mesa_image_image_stride(packing, width, height,

Error: CLANG_WARNING: [#def4743]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texstore.c:1047:7: warning[deadcode.DeadStores]: Value stored to 'zoffset' is never read
# 1045|         sliceOffset = zoffset;
# 1046|         depth = 1;
# 1047|->       zoffset = 0;
# 1048|         srcImageStride = _mesa_image_image_stride(packing, width, height,
# 1049|                                                   format, type);

Error: CLANG_WARNING: [#def4744]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/uniform_query.cpp:880:9: warning[deadcode.DeadStores]: Value stored to 'src' is never read
#  878|   	       /* Unigine Heaven benchmark gets here */
#  879|   	       memcpy(dst, src, src_vector_byte_stride * vectors * count);
#  880|-> 	       src += src_vector_byte_stride * vectors * count;
#  881|   	       dst += store->vector_stride * vectors * count;
#  882|   	    }

Error: CLANG_WARNING: [#def4745]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/uniform_query.cpp:881:9: warning[deadcode.DeadStores]: Value stored to 'dst' is never read
#  879|   	       memcpy(dst, src, src_vector_byte_stride * vectors * count);
#  880|   	       src += src_vector_byte_stride * vectors * count;
#  881|-> 	       dst += store->vector_stride * vectors * count;
#  882|   	    }
#  883|   	 } else {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4746]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_cache.c: scope_hint: In function ‘rehash’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4747]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_cache.c: scope_hint: In function ‘_mesa_program_cache_insert’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_cache.c:203:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘c’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_cache.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4748]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4749]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_parameter.c:118:27: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  116|                   /* smear last value to remaining positions */
#  117|                   for (; j < 4; j++)
#  118|->                    swz[j] = swz[j-1];
#  119|   
#  120|                   if (match == vSize) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4750]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c: scope_hint: In function ‘ptn_get_src’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:192:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘chans[3]’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_to_nir.c:795:4: note: in expansion of macro ‘BITSET_FOREACH_SET’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/prog_instruction.h:60:35: note: in definition of macro ‘GET_SWZ’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘ptn_get_src’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4751]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program.c:456:37: warning[unix.Malloc]: Use of memory allocated with size zero
#  454|         for (unsigned j = 0; j < num_src; j++) {
#  455|            if (inst->SrcReg[j].File == PROGRAM_STATE_VAR)
#  456|->             inst->SrcReg[j].Index = remap[inst->SrcReg[j].Index];
#  457|         }
#  458|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4752]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l: scope_hint: In function ‘handle_ident’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l:131:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*lval.inst’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:1486:21: note: in expansion of macro ‘yylex’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/mesa/program/lex.yy.c:1507:1: note: in expansion of macro ‘YY_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l:188:3: note: in expansion of macro ‘return_opcode’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/program/program_lexer.l:188:3: note: in expansion of macro ‘return_opcode’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4753]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atifs_to_nir.c: scope_hint: In function ‘st_nir_lower_atifs_samplers_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4754]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atom_sampler.c: scope_hint: In function ‘st_convert_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_atom_sampler.c:73:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texobj’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4755]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c: scope_hint: In function ‘draw_glfeedback_stage’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c:201:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4756]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c:203:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4757]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c: scope_hint: In function ‘draw_glselect_stage’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c:274:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4758]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_feedback.c:276:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4759]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_rasterpos.c: scope_hint: In function ‘new_draw_rastpos_stage’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_rasterpos.c:205:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/arrayobj.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_rasterpos.c:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4760]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_texture.c: scope_hint: In function ‘compressed_tex_fallback_allocate.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_texture.c:489:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*texImage.compressed_data’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/bufferobj.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_texture.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_cb_texture.c:488:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  487|   
#  488|      texImage->compressed_data = CALLOC_STRUCT(st_compressed_data);
#  489|->    texImage->compressed_data->ptr =
#  490|         malloc(data_size * _mesa_num_tex_faces(texImage->TexObject->Target));
#  491|      pipe_reference_init(&texImage->compressed_data->reference, 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4761]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_context.c: scope_hint: In function ‘st_create_context_priv’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_context.c:439:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘st’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_context.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4762]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c:99:12: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builtin_builder.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘get_input_vertices’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4763]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c:173:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_draw_hw_select.c: scope_hint: In function ‘fast_frustum_culling’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4764]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_manager.c:890:7: warning[deadcode.DeadStores]: Value stored to 'width' is never read
#  888|      else {
#  889|         _mesa_clear_texture_image(ctx, texImage);
#  890|->       width = height = depth = 0;
#  891|      }
#  892|      _mesa_update_texture_object_swizzle(ctx, texObj);

Error: CLANG_WARNING: [#def4765]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_manager.c:890:15: warning[deadcode.DeadStores]: Although the value stored to 'height' is used in the enclosing expression, the value is never actually read from 'height'
#  888|      else {
#  889|         _mesa_clear_texture_image(ctx, texImage);
#  890|->       width = height = depth = 0;
#  891|      }
#  892|      _mesa_update_texture_object_swizzle(ctx, texObj);

Error: CLANG_WARNING: [#def4766]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_manager.c:890:24: warning[deadcode.DeadStores]: Although the value stored to 'depth' is used in the enclosing expression, the value is never actually read from 'depth'
#  888|      else {
#  889|         _mesa_clear_texture_image(ctx, texImage);
#  890|->       width = height = depth = 0;
#  891|      }
#  892|      _mesa_update_texture_object_swizzle(ctx, texObj);

Error: CLANG_WARNING: [#def4767]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_manager.c:1182:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1180|             * an existing drawable.
# 1181|             */
# 1182|->          ret = _mesa_make_current(ctx, NULL, NULL);
# 1183|            st_framebuffers_purge(ctx->st);
# 1184|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4768]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_builtin.c: scope_hint: In function ‘lower_builtin_instr’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_builtin.c:169:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4769]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:69:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:102:18: note: in expansion of macro ‘ffs’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c: scope_hint: In function ‘add_sampler’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:902:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:908:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:914:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:934:4: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4770]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_pbo_compute.c:997:10: warning[deadcode.DeadStores]: Value stored to 'he' is never read
#  995|            };
#  996|            cs = st_create_nir_shader(st, &state);
#  997|->          he = _mesa_hash_table_insert(st->pbo.shaders, (void*)(uintptr_t)hash_key, cs);
#  998|         }
#  999|      }

Error: CLANG_WARNING: [#def4771]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_pbo_compute.c:1200:10: warning[deadcode.DeadStores]: Value stored to 'zoffset' is never read
# 1198|            depth = height;
# 1199|            height = 1;
# 1200|->          zoffset = yoffset;
# 1201|            yoffset = 0;
# 1202|         }

Error: CLANG_WARNING: [#def4772]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_pbo_compute.c:1201:10: warning[deadcode.DeadStores]: Value stored to 'yoffset' is never read
# 1199|            height = 1;
# 1200|            zoffset = yoffset;
# 1201|->          yoffset = 0;
# 1202|         }
# 1203|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4773]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_create_common_variant’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:713:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘v’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:706:34: note: in expansion of macro ‘CALLOC_STRUCT’
#  711|      struct gl_program_parameter_list *params = prog->Parameters;
#  712|   
#  713|->    v->key = *key;
#  714|   
#  715|      state.stream_output = prog->state.stream_output;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4774]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_common_variant’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:849:11: warning[-Wanalyzer-malloc-leak]: leak of ‘v’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:706:34: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/nir/pipe_nir.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:5052:7: note: in definition of macro ‘_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:724:7: note: in expansion of macro ‘NIR_PASS’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_common_variant’
#  847|      }
#  848|   
#  849|->    return v;
#  850|   }
#  851|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4775]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_fp_variant’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:1184:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpv’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:919:36: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/menums.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/errors.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:45: note: in definition of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c:1096:8: note: in expansion of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/src/mesa/state_tracker/st_program.c: scope_hint: In function ‘st_get_fp_variant’
# 1182|      }
# 1183|   
# 1184|->    return fpv;
# 1185|   }
# 1186|   

Error: CLANG_WARNING: [#def4776]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/vbo/vbo_save_api.c:549:37: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'fi_type', which is incompatible with sizeof operand type 'GLfloat'
#  547|   
#  548|         if (current_size) {
#  549|->          node->cold->current_data = malloc(current_size * sizeof(GLfloat));
#  550|            if (node->cold->current_data) {
#  551|               const char *buffer = (const char *)save->vertex_store->buffer_in_ram;

Error: CLANG_WARNING: [#def4777]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/vbo/vbo_save_api.c:805:10: warning[deadcode.DeadStores]: Value stored to 'available_bytes' is never read
#  803|         } else {
#  804|            save->current_bo_bytes_used = 0;
#  805|->          available_bytes = save->current_bo->Size;
#  806|         }
#  807|         buffer_offset = 0;

Error: CLANG_WARNING: [#def4778]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/vbo/vbo_save_api.c:888:38: warning[core.NullDereference]: Access to field 'buffer' results in a dereference of a null pointer (loaded from field 'obj')
#  886|      node->cold->info.index_size = 4;
#  887|      node->cold->info.instance_count = 1;
#  888|->    node->cold->info.index.resource = node->cold->ib.obj->buffer;
#  889|      if (merged_prim_count == 1) {
#  890|         node->cold->info.mode = merged_prims[0].mode;

Error: CLANG_WARNING: [#def4779]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_bb.cpp:379:9: warning[core.CallAndMessage]: Called C++ object pointer is uninitialized
#  377|      for (Graph::EdgeIterator ei = cfg.outgoing(); !ei.end(); ei.next())
#  378|         out[n++] = ei.getNode();
#  379|->    eR = out[1]->outgoing().getType();
#  380|   
#  381|      // IF block is out edge to the right

Error: CLANG_WARNING: [#def4780]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_emit_gv100.cpp:22: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_emit_gv100.h:232:11: warning[core.CallAndMessage]: Called C++ object pointer is null
#  230|   
#  231|      inline void emitBTS(int pos, const Value *val) {
#  232|->       if (val->inFile(FILE_THREAD_STATE)) {
#  233|            TSSemantic ts = val->reg.data.ts == TS_PQUAD_MACTIVE ? TS_MACTIVE : val->reg.data.ts;
#  234|            emitField(pos, 5, ts | 0x10);

Error: CLANG_WARNING: [#def4781]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_from_nir.cpp:2210:10: warning[deadcode.DeadStores]: Value stored to 'mask' is never read
# 2208|            break;
# 2209|         case nir_intrinsic_bindless_image_samples:
# 2210|->          mask = 0x8;
# 2211|            FALLTHROUGH;
# 2212|         case nir_intrinsic_image_samples:

Error: CLANG_WARNING: [#def4782]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_graph.cpp:147:14: warning[cplusplus.NewDelete]: Attempt to delete released memory
#  145|   {
#  146|      while (out)
#  147|->       delete out;
#  148|      while (in)
#  149|         delete in;

Error: CLANG_WARNING: [#def4783]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_graph.cpp:149:14: warning[cplusplus.NewDelete]: Attempt to delete released memory
#  147|         delete out;
#  148|      while (in)
#  149|->       delete in;
#  150|   
#  151|      if (graph) {

Error: CLANG_WARNING: [#def4784]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_bb.cpp:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_graph.h:92:56: warning[core.NullDereference]: Dereference of null pointer
#   90|         virtual void *get() const { return e; }
#   91|   
#   92|->       inline Node *getNode() const { assert(e); return d ?
#   93|                                                      e->origin : e->target; }
#   94|         inline Edge *getEdge() const { return e; }

Error: CLANG_WARNING: [#def4785]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_lowering_helper.cpp:319:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  317|      Instruction *hi = bld.mkOp1(insn->op, sTy, def1, src0[1]);
#  318|      if (insn->srcExists(1)) {
#  319|->       lo->setSrc(1, src1[0]);
#  320|         hi->setSrc(1, src1[1]);
#  321|      }

Error: CLANG_WARNING: [#def4786]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/codegen/nv50_ir_print.cpp:547:7: warning[deadcode.DeadStores]: Value stored to 'ty' is never read
#  545|   
#  546|      if (ty == TYPE_NONE)
#  547|->       ty = typeOfSize(reg.size);
#  548|   
#  549|      if (reg.file == FILE_SYSTEM_VALUE) {

Error: CLANG_WARNING: [#def4787]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir.c:831:22: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
#  829|         bytes_pow2 = util_next_power_of_two(bytes);
#  830|      } else {
#  831|->       bytes_pow2 = 1 << (util_last_bit(bytes) - 1);
#  832|      }
#  833|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4788]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:228:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:425:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:425:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c:249:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/compiler/nak_nir_lower_cf.c: scope_hint: In function ‘block_is_merge’
#  226|   {
#  227|      /* If it's unreachable, there is no merge */
#  228|->    if (block->imm_dom == NULL)
#  229|         return false;
#  230|   

Error: CLANG_WARNING: [#def4789]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_buffer.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_buffer.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/headers/nv_push.h:99:15: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'end')
#   97|   
#   98|      push->last_size = push->end;
#   99|->    *push->end = NVC0_FIFO_PKHDR_SQ(subc, mthd, size);
#  100|      push->end++;
#  101|   }

Error: CPPCHECK_WARNING: [#def4790]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/mme/mme_tu104_builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def4791]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim’
mesa-24.1.2-build/mesa-24.1.2/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: [#def4792]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/nouveau/mme/mme_tu104_sim.c:9: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim’
mesa-24.1.2-build/mesa-24.1.2/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: COMPILER_WARNING (CWE-563): [#def4793]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_comp_size’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c:146:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
#  146 |    static const uint8_t to_90b5[] = {
#      |                         ^~~~~~~
#  144|   to_90b5_remap_comp_size(uint8_t comp_size)
#  145|   {
#  146|->    static const uint8_t to_90b5[] = {
#  147|         [1] = NV90B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_ONE,
#  148|         [2] = NV90B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_TWO,

Error: COMPILER_WARNING (CWE-563): [#def4794]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_num_comps’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c:162:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
#  162 |    static const uint8_t to_90b5[] = {
#      |                         ^~~~~~~
#  160|   to_90b5_remap_num_comps(uint8_t num_comps)
#  161|   {
#  162|->    static const uint8_t to_90b5[] = {
#  163|         [1] = NV90B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_ONE,
#  164|         [2] = NV90B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_TWO,

Error: CLANG_WARNING: [#def4795]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c:282:10: warning[deadcode.DeadStores]: Value stored to 'src_addr' is never read
#  280|            src_layout = NV90B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_BLOCKLINEAR;
#  281|         } else {
#  282|->          src_addr += copy->src.array_stride;
#  283|            src_layout = NV90B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_PITCH;
#  284|         }

Error: CLANG_WARNING: [#def4796]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_copy.c:323:10: warning[deadcode.DeadStores]: Value stored to 'dst_addr' is never read
#  321|            dst_layout = NV90B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_BLOCKLINEAR;
#  322|         } else {
#  323|->          dst_addr += copy->dst.array_stride;
#  324|            dst_layout = NV90B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_PITCH;
#  325|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4797]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c: scope_hint: In function ‘lower_image_size_to_txs.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:192:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c: scope_hint: In function ‘lower_image_size_to_txs.part.0’
#  190|   
#  191|      nir_deref_instr *img = nir_src_as_deref(intrin->src[0]);
#  192|->    nir_def *lod = nir_tex_type_has_lod(img->type) ?
#  193|                         intrin->src[1].ssa : NULL;
#  194|      nir_def *size = nir_txs_deref(b, img, lod);

Error: CLANG_WARNING: [#def4798]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:677:37: warning[core.NullDereference]: Access to field 'zs_self_dep' results in a dereference of a null pointer (loaded from variable 'key')
#  675|      fs->info.hdr[5] = 0x80000000; /* getting a trap if FRAG_COORD_UMASK.w = 0 */
#  676|   
#  677|->    if (info->prop.fp.usesDiscard || key->zs_self_dep)
#  678|         fs->info.hdr[0] |= 0x8000;
#  679|      if (!info->prop.fp.separateFragData)

Error: CLANG_WARNING: [#def4799]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:856:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  854|      switch (info->type) {
#  855|      case PIPE_SHADER_VERTEX:
#  856|->       ret = nvk_vs_gen_header(shader, &info_out);
#  857|         break;
#  858|      case PIPE_SHADER_FRAGMENT:

Error: CLANG_WARNING: [#def4800]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:859:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  857|         break;
#  858|      case PIPE_SHADER_FRAGMENT:
#  859|->       ret = nvk_fs_gen_header(shader, fs_key, &info_out);
#  860|         shader->info.fs.uses_sample_shading = nir->info.fs.uses_sample_shading;
#  861|         break;

Error: CLANG_WARNING: [#def4801]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:863:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  861|         break;
#  862|      case PIPE_SHADER_GEOMETRY:
#  863|->       ret = nvk_gs_gen_header(shader, nir, &info_out);
#  864|         break;
#  865|      case PIPE_SHADER_TESS_CTRL:

Error: CLANG_WARNING: [#def4802]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:866:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  864|         break;
#  865|      case PIPE_SHADER_TESS_CTRL:
#  866|->       ret = nvk_tcs_gen_header(shader, &info_out);
#  867|         break;
#  868|      case PIPE_SHADER_TESS_EVAL:

Error: CLANG_WARNING: [#def4803]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_codegen.c:869:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  867|         break;
#  868|      case PIPE_SHADER_TESS_EVAL:
#  869|->       ret = nvk_tes_gen_header(shader, &info_out);
#  870|         break;
#  871|      case PIPE_SHADER_COMPUTE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4804]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c: scope_hint: In function ‘write_sampled_image_view_desc’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:81:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.h:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:601:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:601:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c: scope_hint: In function ‘write_sampled_image_view_desc’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
#   79|            sampler = binding_layout->immutable_samplers[elem];
#   80|         } else {
#   81|->          sampler = nvk_sampler_from_handle(info->sampler);
#   82|         }
#   83|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def4805]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:93:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:93:36: note: write of 12 bits to beyond the end of ‘desc’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.c:93:36: note: valid subscripts for ‘desc’ are ‘[0]’ to ‘[2]’
#   91|            uint8_t sampler_plane = MIN2(plane, sampler->plane_count - 1);
#   92|            assert(sampler->planes[sampler_plane].desc_index < (1 << 12));
#   93|->          desc[plane].sampler_index = sampler->planes[sampler_plane].desc_index;
#   94|         }
#   95|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4806]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:101:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_GetDescriptorSetLayoutSupport’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.h:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:309:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:309:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:312:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:312:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4807]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:146:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:137:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:138:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c: scope_hint: In function ‘nvk_CreateDescriptorSetLayout’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:140:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:382:36: note: in definition of macro ‘ALIGN_POT’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4808]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set_layout.c:218:54: warning[core.NullDereference]: Array access (via field 'immutable_samplers') results in a null pointer dereference
#  216|            for (uint32_t i = 0; i < binding->descriptorCount; i++) {
#  217|               VK_FROM_HANDLE(nvk_sampler, sampler, binding->pImmutableSamplers[i]);
#  218|->             layout->binding[b].immutable_samplers[i] = sampler;
#  219|               const uint8_t sampler_plane_count = sampler->vk.ycbcr_conversion ?
#  220|                  vk_format_get_plane_count(sampler->vk.ycbcr_conversion->state.format) : 1;

Error: CLANG_WARNING: [#def4809]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device.c:185:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  183|      uint32_t null_image[8] = { 0, };
#  184|      ASSERTED uint32_t null_image_index;
#  185|->    result = nvk_descriptor_table_add(dev, &dev->images,
#  186|                                        null_image, sizeof(null_image),
#  187|                                        &null_image_index);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4810]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c: scope_hint: In function ‘nvk_MapMemory2KHR’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c:339:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.h:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c:338:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c:338:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_device_memory.c: scope_hint: In function ‘nvk_MapMemory2KHR’
#  337|         const VkMemoryMapPlacedInfoEXT *placed_info =
#  338|            vk_find_struct_const(pMemoryMapInfo->pNext, MEMORY_MAP_PLACED_INFO_EXT);
#  339|->       fixed_addr = placed_info->pPlacedAddress;
#  340|      }
#  341|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4811]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:730:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.h:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:5: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:716:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:716:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:722:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:722:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_image_init’
#  728|               nil_select_best_drm_format_mod(&pdev->info, nil_format(p_format),
#  729|                                              mod_list_info->drmFormatModifierCount,
#  730|->                                            mod_list_info->pDrmFormatModifiers);
#  731|            assert(image->vk.drm_format_mod != DRM_FORMAT_MOD_INVALID);
#  732|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4812]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_GetImageMemoryRequirements2’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1032:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1030:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1030:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_GetImageMemoryRequirements2’
# 1030|         vk_find_struct_const(pInfo->pNext, IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO);
# 1031|      const VkImageAspectFlags aspects =
# 1032|->       image->disjoint ? plane_info->planeAspect : image->vk.aspects;
# 1033|   
# 1034|      nvk_get_image_memory_requirements(dev, image, aspects,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4813]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1288:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_instance.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_log.h:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_private.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1265:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1265:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_BindImageMemory2’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1287:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c:1287:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_image.c: scope_hint: In function ‘nvk_BindImageMemory2’
# 1286|            const VkBindImagePlaneMemoryInfo *plane_info =
# 1287|               vk_find_struct_const(pBindInfos[i].pNext, BIND_IMAGE_PLANE_MEMORY_INFO);
# 1288|->          uint8_t plane = nvk_image_memory_aspects_to_plane(image, plane_info->planeAspect);
# 1289|            nvk_image_plane_bind(dev, &image->planes[plane], mem, &offset_B);
# 1290|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4814]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘record_deref_descriptor_cbuf_use’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘record_deref_descriptor_cbuf_use’
#  146|   {
#  147|      nir_src *index_src = NULL;
#  148|->    if (deref->deref_type == nir_deref_type_array) {
#  149|         index_src = &deref->arr.index;
#  150|         deref = nir_deref_instr_parent(deref);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4815]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:203:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2760:1: note: in expansion of macro ‘NIR_DEFINE_SRC_AS_CONST’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
#  201|      uint64_t range = glsl_get_explicit_size(deref->type, false);
#  202|      bool offset_valid = true;
#  203|->    while (deref->deref_type != nir_deref_type_cast) {
#  204|         nir_deref_instr *parent = nir_deref_instr_parent(deref);
#  205|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4816]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:217:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
#  215|               offset += nir_src_as_uint(deref->arr.index) * stride;
#  216|            } else {
#  217|->             range = glsl_get_length(parent->type) * stride;
#  218|            }
#  219|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4817]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c:231:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_nir_lower_descriptors.c: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h: scope_hint: In function ‘ubo_deref_to_cbuf’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
#  229|   
#  230|         case nir_deref_type_struct: {
#  231|->          offset += glsl_get_struct_field_offset(parent->type,
#  232|                                                   deref->strct.index);
#  233|            break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4818]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue.c: scope_hint: In function ‘nvk_queue_submit_simple’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue.c:410:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dw’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue.c: scope_hint: In function ‘nvk_queue_submit_simple’
#  408|         return vk_error(queue, VK_ERROR_OUT_OF_DEVICE_MEMORY);
#  409|   
#  410|->    memcpy(push_map, dw, dw_count * 4);
#  411|   
#  412|      result = nvk_queue_submit_simple_drm_nouveau(queue, dw_count, push_bo,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4819]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c: scope_hint: In function ‘push_add_sync_wait’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c:88:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_descriptor_set.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_cmd_buffer.h:12: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c: scope_hint: In function ‘push_add_sync_wait’
#   86|      struct vk_drm_syncobj *sync = vk_sync_as_drm_syncobj(wait->sync);
#   87|      assert(sync != NULL);
#   88|->    push_add_syncobj_wait(pb, sync->syncobj, wait->wait_value);
#   89|   }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4820]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c: scope_hint: In function ‘push_add_sync_signal’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c:101:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_queue_drm_nouveau.c: scope_hint: In function ‘push_add_sync_signal’
#   99|         .flags = sig->signal_value ? DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ :
#  100|                                      DRM_NOUVEAU_SYNC_SYNCOBJ,
#  101|->       .handle = sync->syncobj,
#  102|         .timeline_value = sig->signal_value,
#  103|      };

Error: CLANG_WARNING: [#def4821]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/vulkan/nvk_upload_queue.c:303:34: warning[core.NullDereference]: Access to field 'bo' results in a dereference of a null pointer (loaded from field 'bo')
#  301|         const uint32_t data_bo_offset = queue->bo_data_start - data_size;
#  302|         assert(queue->bo_push_end + cmd_size <= data_bo_offset);
#  303|->       const uint64_t data_addr = queue->bo->bo->offset + data_bo_offset;
#  304|         memcpy(queue->bo->map + data_bo_offset, src, data_size);
#  305|         queue->bo_data_start = data_bo_offset;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4822]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c: scope_hint: In function ‘nouveau_ws_bo_new_tiled_locked’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:232:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:1: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:231:31: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:231:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  230|   
#  231|      struct nouveau_ws_bo *bo = CALLOC_STRUCT(nouveau_ws_bo);
#  232|->    bo->size = size;
#  233|      bo->align = align;
#  234|      bo->offset = -1ULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4823]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c: scope_hint: In function ‘nouveau_ws_bo_from_dma_buf_locked’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:322:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_bo.c:321:31: note: in expansion of macro ‘CALLOC_STRUCT’
#  320|   
#  321|      struct nouveau_ws_bo *bo = CALLOC_STRUCT(nouveau_ws_bo);
#  322|->    bo->size = info.size;
#  323|      bo->offset = info.offset;
#  324|      bo->handle = info.handle;

Error: COMPILER_WARNING (CWE-563): [#def4824]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_context.c: scope_hint: In function ‘nouveau_ws_channel_dealloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4825]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_context.c:119:8: warning[deadcode.DeadStores]: Value stored to 'ret' during its initialization is never read
#  117|      };
#  118|   
#  119|->    int ret = drmCommandWrite(fd, DRM_NOUVEAU_CHANNEL_FREE, &req, sizeof(req));
#  120|      assert(!ret);
#  121|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4826]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c: scope_hint: In function ‘nouveau_ws_device_new’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c:313:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘device’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_private.h:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.h:4: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c:1: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c:278:39: note: in expansion of macro ‘CALLOC_STRUCT’
#  311|      int ret = drmCommandWrite(fd, DRM_NOUVEAU_VM_INIT, &vminit, sizeof(vminit));
#  312|      if (ret == 0) {
#  313|->       device->has_vm_bind = true;
#  314|         util_vma_heap_init(&device->vma_heap, 4096, BDA - 4096);
#  315|         util_vma_heap_init(&device->bda_heap, BDA, KERN - BDA);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4827]
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c:402:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘device’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/nouveau/winsys/nouveau_device.c:278:39: note: in expansion of macro ‘CALLOC_STRUCT’
#  400|   
#  401|   out_err:
#  402|->    if (device->has_vm_bind) {
#  403|         util_vma_heap_finish(&device->vma_heap);
#  404|         util_vma_heap_finish(&device->bda_heap);

Error: CLANG_WARNING: [#def4828]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bi_lower_swizzle.c:285:33: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'unsigned int', which is incompatible with sizeof operand type 'bi_index'
#  283|   
#  284|      /* Now that we've lowered swizzles, clean up the mess */
#  285|->    BITSET_WORD *replicates_16 = calloc(sizeof(bi_index), ctx->ssa_alloc);
#  286|   
#  287|      bi_foreach_instr_global(ctx, ins) {

Error: CLANG_WARNING: [#def4829]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bi_opt_copy_prop.c:79:4: warning[core.NullDereference]: Dereference of null pointer
#   77|      bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc);
#   78|   
#   79|->    bi_foreach_instr_global_safe(ctx, ins) {
#   80|         if (ins->op == BI_OPCODE_MOV_I32 &&
#   81|             ins->src[0].type != BI_INDEX_REGISTER) {

Error: CLANG_WARNING: [#def4830]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bi_pressure_schedule.c:267:26: warning[unix.Malloc]: Use of memory allocated with size zero
#  265|         dag_prune_head(s->dag, &node->dag);
#  266|   
#  267|->       schedule[nr_ins++] = node;
#  268|         bi_liveness_ins_update_ssa(s->live, node->instr);
#  269|      }

Error: CLANG_WARNING: [#def4831]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_pack.c:659:4: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  657|      };
#  658|   
#  659|->    unsigned count = counts[clause->tuple_count - 1];
#  660|   
#  661|      for (unsigned pos = 0; pos < count; ++pos) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4832]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c: scope_hint: In function ‘bi_flatten_block’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c:446:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘instructions’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/compiler.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/compiler/bi_builder.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/compiler.h:973:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c:2131:4: note: in expansion of macro ‘bi_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c: scope_hint: In function ‘bi_flatten_block’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/compiler.h:985:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4833]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost/bi_schedule.c:446:25: warning[unix.Malloc]: Use of memory allocated with size zero
#  444|   
#  445|      bi_foreach_instr_in_block(block, ins)
#  446|->       instructions[i++] = ins;
#  447|   
#  448|      return instructions;

Error: COMPILER_WARNING (CWE-563): [#def4834]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_image_load’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c:1408:26: warning[-Wunused-variable]: unused variable ‘dim’
# 1408 |    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
#      |                          ^~~
# 1406|   bi_emit_image_load(bi_builder *b, nir_intrinsic_instr *instr)
# 1407|   {
# 1408|->    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
# 1409|      unsigned coord_comps = nir_image_intrinsic_coord_components(instr);
# 1410|      bool array = nir_intrinsic_image_array(instr);

Error: COMPILER_WARNING (CWE-563): [#def4835]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_lea_image_to’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c:1449:26: warning[-Wunused-variable]: unused variable ‘dim’
# 1449 |    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
#      |                          ^~~
# 1447|   bi_emit_lea_image_to(bi_builder *b, bi_index dest, nir_intrinsic_instr *instr)
# 1448|   {
# 1449|->    enum glsl_sampler_dim dim = nir_intrinsic_image_dim(instr);
# 1450|      bool array = nir_intrinsic_image_array(instr);
# 1451|      unsigned coord_comps = nir_image_intrinsic_coord_components(instr);

Error: COMPILER_WARNING (CWE-563): [#def4836]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_image_store’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bifrost_compile.c:1510:17: warning[-Wunused-variable]: unused variable ‘T’
# 1510 |    nir_alu_type T = nir_intrinsic_src_type(instr);
#      |                 ^
# 1508|       * not work for 16-bit stores, but those are not available in OpenCL.
# 1509|       */
# 1510|->    nir_alu_type T = nir_intrinsic_src_type(instr);
# 1511|      assert(nir_alu_type_get_type_size(T) == 32);
# 1512|   

Error: CLANG_WARNING: [#def4837]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bir.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/compiler/bi_builder.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/compiler.h:1091:11: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer
# 1089|   bi_next_block(bi_block *block)
# 1090|   {
# 1091|->    return list_first_entry(&(block->link), bi_block, link);
# 1092|   }
# 1093|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4838]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bi_ra.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/nodearray.h:207:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*a.<Ufed8>.sparse’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/bi_ra.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:27: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4839]
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:27: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4840]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/nodearray.h:216:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elem’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:27: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/nodearray.h:201:21: note: in expansion of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4841]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/valhall/va_merge_flow.c:175:4: warning[core.NullDereference]: Dereference of null pointer
#  173|      bi_instr *last_free = NULL;
#  174|   
#  175|->    bi_foreach_instr_in_block_safe_rev(block, I) {
#  176|         if ((I->op == BI_OPCODE_NOP) && (I->flow == VA_FLOW_DISCARD)) {
#  177|            /* Try to merge with the instruction *preceding* discard, because

Error: CLANG_WARNING: [#def4842]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/compiler/valhall/va_pack.c:600:60: warning[core.BitwiseShift]: Left shift by '38' overflows the capacity of 'int'
#  598|   
#  599|            if (src_info.size == VA_SIZE_16) {
#  600|->             hex |= (src.swizzle == BI_SWIZZLE_H11 ? 1 : 0) << offs;
#  601|            } else if (I->op == BI_OPCODE_BRANCHZ_I16) {
#  602|               hex |= ((uint64_t)va_pack_combine(I, src.swizzle) << 37);

Error: CLANG_WARNING: [#def4843]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h:88:11: warning[core.NullDereference]: Access to field 'addr' results in a dereference of a null pointer (loaded from variable '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): [#def4844]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h: scope_hint: In function ‘__pandecode_fetch_gpu_mem’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h:88:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c:439:13: note: in expansion of macro ‘PANDECODE_PTR_VAR’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/rb_tree.h: scope_hint: In function ‘__pandecode_fetch_gpu_mem’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4845]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_inject_mmap’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c:192:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mapped_mem’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/rb_tree.h: scope_hint: In function ‘pandecode_inject_mmap’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4846]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_create_context’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4847]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c:444:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_common.c:439:13: note: in expansion of macro ‘PANDECODE_PTR_VAR’
mesa-24.1.2-build/mesa-24.1.2/src/util/rb_tree.h: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode.h: scope_hint: In function ‘pandecode_shader_disassemble’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4848]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/decode_jm.c:189:37: warning[deadcode.DeadStores]: Value stored to 'u' during its initialization is never read
#  187|         GENX(pandecode_texture)(ctx, cl + pan_size(TEXTURE) * tex, tex);
#  188|   #else
#  189|->    mali_ptr *PANDECODE_PTR_VAR(ctx, u, textures);
#  190|   
#  191|      for (int tex = 0; tex < texture_count; ++tex) {

Error: CLANG_WARNING: [#def4849]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/kmod/panthor_kmod.c:885:33: warning[core.NullDereference]: Array access (from variable 'sync_ops') results in a null pointer dereference
#  883|            signal_vm_point = ++vm_new_sync_point;
#  884|            op_sync_cnt++;
#  885|->          sync_ops[syncop_ptr++] = (struct drm_panthor_sync_op){
#  886|               .flags = DRM_PANTHOR_SYNC_OP_SIGNAL |
#  887|                        DRM_PANTHOR_SYNC_OP_HANDLE_TYPE_TIMELINE_SYNCOBJ,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4850]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/kmod/panthor_kmod.c: scope_hint: In function ‘panthor_kmod_vm_bind’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/kmod/panthor_kmod.c:918:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sync_ops’
#  916|   
#  917|         for (uint32_t j = 0; j < ops[i].syncs.count; j++) {
#  918|->          sync_ops[syncop_ptr++] = (struct drm_panthor_sync_op){
#  919|               .flags = (ops[i].syncs.array[j].type == PAN_KMOD_SYNC_TYPE_WAIT
#  920|                            ? DRM_PANTHOR_SYNC_OP_WAIT

Error: CLANG_WARNING: [#def4851]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blend.c:548:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  546|   
#  547|      if (!rt_state->equation.blend_enable) {
#  548|->       ret = snprintf(str, len, "replace(%s%s%s%s)",
#  549|                        (rt_state->equation.color_mask & 1) ? "R" : "",
#  550|                        (rt_state->equation.color_mask & 2) ? "G" : "",

Error: CLANG_WARNING: [#def4852]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blend.c:593:7: warning[deadcode.DeadStores]: Value stored to 'str' is never read
#  591|               rt_state->equation.alpha_dst_factor)]);
#  592|         assert(ret > 0);
#  593|->       str += ret;
#  594|         len -= ret;
#  595|      }

Error: CLANG_WARNING: [#def4853]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blend.c:594:7: warning[deadcode.DeadStores]: Value stored to 'len' is never read
#  592|         assert(ret > 0);
#  593|         str += ret;
#  594|->       len -= ret;
#  595|      }
#  596|   }

Error: CLANG_WARNING: [#def4854]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:871:27: warning[deadcode.DeadStores]: Value stored to 'fmt' during its initialization is never read
#  869|         if (fb->zs.preload.s) {
#  870|            const struct pan_image_view *view = fb->zs.view.s ?: fb->zs.view.zs;
#  871|->          enum pipe_format fmt = util_format_get_depth_only(view->format);
#  872|   
#  873|            switch (view->format) {

Error: CLANG_WARNING: [#def4855]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:1048:27: warning[deadcode.DeadStores]: Value stored to 'fmt' during its initialization is never read
# 1046|         if (fb->zs.preload.s) {
# 1047|            const struct pan_image_view *view = fb->zs.view.s ?: fb->zs.view.zs;
# 1048|->          enum pipe_format fmt = util_format_get_depth_only(view->format);
# 1049|   
# 1050|            switch (view->format) {

Error: CLANG_WARNING: [#def4856]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.c:1351:10: warning[deadcode.DeadStores]: Value stored to 'always' is never read
# 1349|         if (util_format_is_depth_and_stencil(fmt) &&
# 1350|             fb->zs.clear.z != fb->zs.clear.s)
# 1351|->          always = true;
# 1352|   
# 1353|         /* We could use INTERSECT on Bifrost v7 too, but

Error: CLANG_WARNING: [#def4857]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:451:31: note: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'layout')
#  449|   {
#  450|      const struct util_format_description *desc =
#  451|->       util_format_description(layout->format);
#  452|   
#  453|      assert(row_stride >= 0 && surface_stride >= 0 && "negative stride");

Error: CLANG_WARNING: [#def4858]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:451:31: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'layout')
#  449|   {
#  450|      const struct util_format_description *desc =
#  451|->       util_format_description(layout->format);
#  452|   
#  453|      assert(row_stride >= 0 && surface_stride >= 0 && "negative stride");

Error: CLANG_WARNING: [#def4859]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:533:4: note: Initializing to a null pointer value
#  531|         util_format_description(format);
#  532|   
#  533|->    const struct pan_image_layout *layouts[MAX_IMAGE_PLANES] = {0};
#  534|      mali_ptr plane_ptrs[MAX_IMAGE_PLANES] = {0};
#  535|      int32_t row_strides[MAX_IMAGE_PLANES] = {0};

Error: CLANG_WARNING: [#def4860]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:538:4: note: Loop condition is true.  Entering loop body
#  536|      int32_t surface_strides[MAX_IMAGE_PLANES] = {0};
#  537|   
#  538|->    for (int i = 0; i < MAX_IMAGE_PLANES; i++) {
#  539|         const struct pan_image *base_image = pan_image_view_get_plane(iview, i);
#  540|   

Error: CLANG_WARNING: [#def4861]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:541:7: note: Taking true branch
#  539|         const struct pan_image *base_image = pan_image_view_get_plane(iview, i);
#  540|   
#  541|->       if (!base_image) {
#  542|            /* Every texture should have at least one plane. */
#  543|            assert(i > 0);

Error: CLANG_WARNING: [#def4862]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:541:11: note: Assuming 'base_image' is null
#  539|         const struct pan_image *base_image = pan_image_view_get_plane(iview, i);
#  540|   
#  541|->       if (!base_image) {
#  542|            /* Every texture should have at least one plane. */
#  543|            assert(i > 0);

Error: CLANG_WARNING: [#def4863]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:544:10: note:  Execution continues on line 573
#  542|            /* Every texture should have at least one plane. */
#  543|            assert(i > 0);
#  544|->          break;
#  545|         }
#  546|   

Error: CLANG_WARNING: [#def4864]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:573:4: note: Taking false branch
#  571|   
#  572|   #if PAN_ARCH >= 9
#  573|->    if (panfrost_format_is_yuv(format)) {
#  574|         for (int i = 0; i < MAX_IMAGE_PLANES; i++) {
#  575|            /* 3-plane YUV is submitted using two PLANE descriptors, where the

Error: CLANG_WARNING: [#def4865]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:591:7: note: Calling 'panfrost_emit_plane'
#  589|         }
#  590|      } else {
#  591|->       panfrost_emit_plane(layouts[0], format, plane_ptrs[0], level,
#  592|                             row_strides[0], surface_strides[0], 0, payload);
#  593|      }

Error: CLANG_WARNING: [#def4866]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:591:27: note: Passing null pointer value via 1st parameter 'layout'
#  589|         }
#  590|      } else {
#  591|->       panfrost_emit_plane(layouts[0], format, plane_ptrs[0], level,
#  592|                             row_strides[0], surface_strides[0], 0, payload);
#  593|      }

Error: CLANG_WARNING: [#def4867]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:614:7: note: '?' condition is false
#  612|   {
#  613|      unsigned nr_samples =
#  614|->       PAN_ARCH <= 7 ? pan_image_view_get_nr_samples(iview) : 1;
#  615|   
#  616|      /* Inject the addresses in, interleaving array indices, mip levels,

Error: CLANG_WARNING: [#def4868]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:614:7: note: PAN_ARCH is > 7
#  612|   {
#  613|      unsigned nr_samples =
#  614|->       PAN_ARCH <= 7 ? pan_image_view_get_nr_samples(iview) : 1;
#  615|   
#  616|      /* Inject the addresses in, interleaving array indices, mip levels,

Error: CLANG_WARNING: [#def4869]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:625:4: note: Taking false branch
#  623|      unsigned first_face = 0, last_face = 0;
#  624|   
#  625|->    if (iview->dim == MALI_TEXTURE_DIMENSION_CUBE) {
#  626|         panfrost_adjust_cube_dimensions(&first_face, &last_face, &first_layer,
#  627|                                         &last_layer);

Error: CLANG_WARNING: [#def4870]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:625:8: note: Assuming field 'dim' is not equal to MALI_TEXTURE_DIMENSION_CUBE
#  623|      unsigned first_face = 0, last_face = 0;
#  624|   
#  625|->    if (iview->dim == MALI_TEXTURE_DIMENSION_CUBE) {
#  626|         panfrost_adjust_cube_dimensions(&first_face, &last_face, &first_layer,
#  627|                                         &last_layer);

Error: CLANG_WARNING: [#def4871]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:632:4: note: Loop condition is true.  Entering loop body
#  630|      struct panfrost_surface_iter iter;
#  631|   
#  632|->    for (panfrost_surface_iter_begin(&iter, first_layer, last_layer,
#  633|                                       iview->first_level, iview->last_level,
#  634|                                       first_face, last_face, nr_samples);

Error: CLANG_WARNING: [#def4872]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:636:7: note: Calling 'panfrost_emit_surface'
#  634|                                       first_face, last_face, nr_samples);
#  635|           !panfrost_surface_iter_end(&iter); panfrost_surface_iter_next(&iter)) {
#  636|->       panfrost_emit_surface(iview, iter.level, iter.layer, iter.face,
#  637|                               iter.sample, format, &payload);
#  638|      }

Error: CLANG_WARNING: [#def4873]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:677:4: note: Taking false branch
#  675|      unsigned char swizzle[4];
#  676|   
#  677|->    if (PAN_ARCH >= 7 && util_format_is_depth_or_stencil(format)) {
#  678|         /* v7+ doesn't have an _RRRR component order, combine the
#  679|          * user swizzle with a .XXXX swizzle to emulate that.

Error: CLANG_WARNING: [#def4874]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:677:8: note: Left side of '&&' is true
#  675|      unsigned char swizzle[4];
#  676|   
#  677|->    if (PAN_ARCH >= 7 && util_format_is_depth_or_stencil(format)) {
#  678|         /* v7+ doesn't have an _RRRR component order, combine the
#  679|          * user swizzle with a .XXXX swizzle to emulate that.

Error: CLANG_WARNING: [#def4875]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:689:15: note: PAN_ARCH is not equal to 7
#  687|   
#  688|         util_format_compose_swizzles(replicate_x, iview->swizzle, swizzle);
#  689|->    } else if (PAN_ARCH == 7 && !panfrost_format_is_yuv(format)) {
#  690|   #if PAN_ARCH == 7
#  691|         /* v7 (only) restricts component orders when AFBC is in use.

Error: CLANG_WARNING: [#def4876]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:689:29: note: Left side of '&&' is false
#  687|   
#  688|         util_format_compose_swizzles(replicate_x, iview->swizzle, swizzle);
#  689|->    } else if (PAN_ARCH == 7 && !panfrost_format_is_yuv(format)) {
#  690|   #if PAN_ARCH == 7
#  691|         /* v7 (only) restricts component orders when AFBC is in use.

Error: CLANG_WARNING: [#def4877]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:706:7: note: Loop condition is false.  Exiting loop
#  704|   #endif
#  705|      } else {
#  706|->       STATIC_ASSERT(sizeof(swizzle) == sizeof(iview->swizzle));
#  707|         memcpy(swizzle, iview->swizzle, sizeof(swizzle));
#  708|      }

Error: CLANG_WARNING: [#def4878]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.c:710:4: note: Calling 'panfrost_emit_texture_payload'
#  708|      }
#  709|   
#  710|->    panfrost_emit_texture_payload(iview, format, payload->cpu);
#  711|   
#  712|      unsigned array_size = iview->last_layer - iview->first_layer + 1;

Error: CLANG_WARNING: [#def4879]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_desc.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_desc.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.h:157:11: warning[core.NullDereference]: Array access (via field 'planes') results in a null pointer dereference
#  155|         return NULL;
#  156|   
#  157|->    return iview->planes[idx];
#  158|   }
#  159|   

Error: CLANG_WARNING: [#def4880]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/disassemble.c:1242:7: warning[deadcode.DeadStores]: Value stored to 'word_ptr' is never read
# 1240|         branch_forward |= print_extended_branch_writeout_field(
# 1241|            ctx, fp, (uint8_t *)word_ptr, next);
# 1242|->       word_ptr += 3;
# 1243|      }
# 1244|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4881]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/disassemble.c: scope_hint: In function ‘disassemble_midgard’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4882]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/compiler.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/helpers.h:203:14: warning[core.BitwiseShift]: Left shift by '128' overflows the capacity of 'int'
#  201|   mask_of(unsigned nr_comp)
#  202|   {
#  203|->    return (1 << nr_comp) - 1;
#  204|   }
#  205|   

Error: CLANG_WARNING: [#def4883]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/helpers.h:203:14: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'int'
#  201|   mask_of(unsigned nr_comp)
#  202|   {
#  203|->    return (1 << nr_comp) - 1;
#  204|   }
#  205|   

Error: CLANG_WARNING: [#def4884]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c:1419:25: warning[deadcode.DeadStores]: Value stored to 'br' during its initialization is never read
# 1417|      assert(sample_iter < ARRAY_SIZE(ctx->writeout_branch[0]));
# 1418|   
# 1419|->    midgard_instruction *br = ctx->writeout_branch[rt][sample_iter];
# 1420|   
# 1421|      assert(!br);

Error: CLANG_WARNING: [#def4885]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c:3018:45: warning[unix.Malloc]: Use of memory allocated with size zero
# 3016|         midgard_block *block = (midgard_block *)_block;
# 3017|         util_dynarray_foreach(&block->bundles, midgard_bundle, bundle) {
# 3018|->          source_order_bundles[bundle_idx++] = bundle;
# 3019|         }
# 3020|      }

Error: CLANG_WARNING: [#def4886]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c:3034:25: warning[core.NullDereference]: Access to field 'tag' results in a dereference of an undefined pointer value
# 3032|   
# 3033|            if (!bundle->last_writeout && (current_bundle + 1 < bundle_count))
# 3034|->             lookahead = source_order_bundles[current_bundle + 1]->tag;
# 3035|   
# 3036|            emit_binary_bundle(ctx, block, bundle, binary, lookahead);

Error: COMPILER_WARNING (CWE-252): [#def4887]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c: scope_hint: In function ‘midgard_compile_shader_nir’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.c:3091:7: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
# 3091 |       asprintf(&shaderdb,
#      |       ^~~~~~~~~~~~~~~~~~~
# 3092 |                "%s shader: "
#      |                ~~~~~~~~~~~~~
# 3093 |                "%u inst, %u bundles, %u quadwords, "
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3094 |                "%u registers, %u threads, %u loops, "
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3095 |                "%u:%u spills:fills",
#      |                ~~~~~~~~~~~~~~~~~~~~~
# 3096 |                ctx->inputs->is_blend ? "PAN_SHADER_BLEND"
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3097 |                                      : gl_shader_stage_name(ctx->stage),
#      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3098 |                nr_ins, nr_bundles, ctx->quadword_count, nr_registers,
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3099 |                nr_threads, ctx->loop_count, ctx->spills, ctx->fills);
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3089|         /* Dump stats */
# 3090|   
# 3091|->       asprintf(&shaderdb,
# 3092|                  "%s shader: "
# 3093|                  "%u inst, %u bundles, %u quadwords, "

Error: CLANG_WARNING: [#def4888]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:516:43: warning[core.BitwiseShift]: Right shift by '32' overflows the capacity of 'int'
#  514|   
#  515|            for (unsigned i = 0; i < 4; ++i) {
#  516|->             unsigned submask = (ins->mask >> (i * comps_per_32b)) &
#  517|                                  BITFIELD_MASK(comps_per_32b);
#  518|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4889]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c: scope_hint: In function ‘emit_branch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:794:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/util/pan_ir.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_compile.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/compiler.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/helpers.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/compiler.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def4890]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:812:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4891]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:868:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4892]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:873:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c:822:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_emit.c: scope_hint: In function ‘emit_alu_bundle’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4893]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_nir_type_csel.c:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_nir_type_csel.c: scope_hint: In function ‘midgard_nir_type_csel’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_nir_type_csel.c:37:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:46:31: note: in definition of macro ‘BITSET_WORDS’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4894]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_opt_perspective.c:191:7: warning[core.NullDereference]: Dereference of null pointer
#  189|         bool rewritten = false;
#  190|   
#  191|->       mir_foreach_instr_in_block_safe(block, v) {
#  192|            if (v->dest != vary)
#  193|               continue;

Error: CLANG_WARNING: [#def4895]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_print_constant.c:44:7: warning[deadcode.DeadStores]: Value stored to 'opname' is never read
#   42|      /* Add a sentinel name to prevent crashing */
#   43|      if (!opname)
#   44|->       opname = "unknown";
#   45|   
#   46|      if (is_int) {

Error: CLANG_WARNING: [#def4896]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_ra.c:1074:36: warning[core.NullDereference]: Access to field 'mask' results in a dereference of a null pointer (loaded from variable 'last_spill')
# 1072|   
# 1073|                  if (last_id == bundle) {
# 1074|->                   last_spill->mask |= write_mask;
# 1075|                     u_foreach_bit(c, write_mask)
# 1076|                        last_spill->swizzle[0][c] = c;

Error: CLANG_WARNING: [#def4897]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_schedule.c:116:35: warning[core.NullDereference]: Access to field 'dependents' results in a dereference of a null pointer
#  114|      /* Initialize dependency graph */
#  115|      for (unsigned i = 0; i < count; ++i) {
#  116|->       instructions[i]->dependents =
#  117|            calloc(BITSET_WORDS(count), sizeof(BITSET_WORD));
#  118|   

Error: CLANG_WARNING: [#def4898]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/midgard/midgard_schedule.c:462:13: warning[deadcode.DeadStores]: Value stored to 'best_reuse_bytes' is never read
#  460|            if (j == type_size &&
#  461|                (reuse_bytes > best_reuse_bytes || best_place < 0)) {
#  462|->             best_reuse_bytes = reuse_bytes;
#  463|               best_place = i;
#  464|               break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4899]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/util/lcra.c: scope_hint: In function ‘lcra_alloc_equations’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4900]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4901]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘panvk_image_select_mod’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:143:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_physical_device.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_device.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:123:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:123:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:126:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:126:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4902]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘panvk_GetImageSubresourceLayout’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4903]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_image.c:251:13: warning[deadcode.DeadStores]: Value stored to 'plane' during its initialization is never read
#  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): [#def4904]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_mempool.c: scope_hint: In function ‘panvk_pool_reset’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_mempool.c:138:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_mempool.h:93:11: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_mempool.c: scope_hint: In function ‘panvk_pool_reset’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  136|         void *ptr = util_dynarray_grow(&pool->bo_pool->free_bos,
#  137|                                        struct panvk_priv_bo *, num_bos);
#  138|->       memcpy(ptr, util_dynarray_begin(&pool->bos),
#  139|                num_bos * sizeof(struct panvk_priv_bo *));
#  140|      } else {

Error: CLANG_WARNING: [#def4905]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_physical_device.c:1271:12: warning[core.NullDereference]: Access to field 'imageViewType' results in a dereference of a null pointer (loaded from variable 'image_view_info')
# 1269|          * its likely we can enable it for 1D and CUBE, needs testing however
# 1270|          */
# 1271|->       if ((image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D ||
# 1272|              image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D_ARRAY) &&
# 1273|             (format_feature_flags &

Error: CLANG_WARNING: [#def4906]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_priv_bo.c:72:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   70|   err_munmap_bo:
#   71|      if (priv_bo->addr.host) {
#   72|->       ret = os_munmap(priv_bo->addr.host, pan_kmod_bo_size(bo));
#   73|         assert(!ret);
#   74|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4907]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:162:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*batch.jobs.data’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:1955:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:1959:4: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:135:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:151:11: note: in expansion of macro ‘util_dynarray_num_elements’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_pool.h:118:31: note: in expansion of macro ‘PAN_DESC_AGGREGATE’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:160:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:160:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:160:13: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:161:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:161:10: note: in expansion of macro ‘util_dynarray_append’
#  160|               pan_pool_alloc_desc(&cmdbuf->desc_pool.base, JOB_HEADER);
#  161|            util_dynarray_append(&batch->jobs, void *, ptr.cpu);
#  162|->          pan_jc_add_job(&cmdbuf->desc_pool.base, &batch->jc, MALI_JOB_TYPE_NULL,
#  163|                           false, false, 0, 0, &ptr, false);
#  164|            list_addtail(&batch->node, &cmdbuf->batches);

Error: CLANG_WARNING: [#def4908]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_descriptor_set.c:996:7: warning[deadcode.DeadStores]: Value stored to 'desc_offset' is never read
#  994|      if (layout->num_imgs) {
#  995|         set->img_attrib_bufs = (void *)(push_set->storage.descs + desc_offset);
#  996|->       desc_offset += PANVK_MAX_DESC_SIZE * layout->num_imgs;
#  997|         set->img_fmts = push_set->storage.img_fmts;
#  998|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4909]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:294:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_device.h:14: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:564:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘get_resource_deref_binding’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_resource_deref_binding’
#  292|      *index_ssa = NULL;
#  293|   
#  294|->    if (deref->deref_type == nir_deref_type_array) {
#  295|         if (index_imm != NULL && nir_src_is_const(deref->arr.index))
#  296|            *index_imm = nir_src_as_uint(deref->arr.index);

Error: COMPILER_WARNING (CWE-563): [#def4910]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit_batch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/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: CLANG_WARNING: [#def4911]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:69:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   67|         };
#   68|   
#   69|->       ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_PANFROST_SUBMIT, &submit);
#   70|         assert(!ret);
#   71|   

Error: CLANG_WARNING: [#def4912]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:73:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   71|   
#   72|         if (debug & (PANVK_DEBUG_TRACE | PANVK_DEBUG_SYNC)) {
#   73|->          ret = drmSyncobjWait(dev->vk.drm_fd, &submit.out_sync, 1, INT64_MAX, 0,
#   74|                                 NULL);
#   75|            assert(!ret);

Error: CLANG_WARNING: [#def4913]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:108:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  106|         }
#  107|   
#  108|->       ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_PANFROST_SUBMIT, &submit);
#  109|         assert(!ret);
#  110|         if (debug & (PANVK_DEBUG_TRACE | PANVK_DEBUG_SYNC)) {

Error: CLANG_WARNING: [#def4914]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:111:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  109|         assert(!ret);
#  110|         if (debug & (PANVK_DEBUG_TRACE | PANVK_DEBUG_SYNC)) {
#  111|->          ret = drmSyncobjWait(dev->vk.drm_fd, &submit.out_sync, 1, INT64_MAX, 0,
#  112|                                 NULL);
#  113|            assert(!ret);

Error: COMPILER_WARNING (CWE-563): [#def4915]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_transfer_sync’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:138:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  138 |    int ret;
#      |        ^~~
#  136|   {
#  137|      struct panvk_device *dev = to_panvk_device(queue->vk.base.device);
#  138|->    int ret;
#  139|   
#  140|      struct drm_syncobj_handle handle = {

Error: CLANG_WARNING: [#def4916]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:146:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  144|      };
#  145|   
#  146|->    ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &handle);
#  147|      assert(!ret);
#  148|      assert(handle.fd >= 0);

Error: CLANG_WARNING: [#def4917]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:151:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  149|   
#  150|      handle.handle = syncobj;
#  151|->    ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &handle);
#  152|      assert(!ret);
#  153|   

Error: COMPILER_WARNING (CWE-563): [#def4918]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_signal_event_syncobjs’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:197:14: warning[-Wunused-variable]: unused variable ‘ret’
#  197 |          int ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_RESET, &objs);
#      |              ^~~
#  195|               .count_handles = 1};
#  196|   
#  197|->          int ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_RESET, &objs);
#  198|            assert(!ret);
#  199|            break;

Error: CLANG_WARNING: [#def4919]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:197:14: warning[deadcode.DeadStores]: Value stored to 'ret' during its initialization is never read
#  195|               .count_handles = 1};
#  196|   
#  197|->          int ret = drmIoctl(dev->vk.drm_fd, DRM_IOCTL_SYNCOBJ_RESET, &objs);
#  198|            assert(!ret);
#  199|            break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4920]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:225:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/os_mman.h:44: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/kmod/pan_kmod.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_instance.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_device.h:13: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_cmd_buffer.h:19: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
#  223|            vk_sync_as_drm_syncobj(submit->waits[i].sync);
#  224|   
#  225|->       semaphores[i + 1] = syncobj->syncobj;
#  226|      }
#  227|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4921]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:299:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit’
#  297|            vk_sync_as_drm_syncobj(submit->signals[i].sync);
#  298|   
#  299|->       panvk_queue_transfer_sync(queue, syncobj->syncobj);
#  300|      }
#  301|   

Error: COMPILER_WARNING (CWE-563): [#def4922]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c: scope_hint: In function ‘panvk_v6_QueueWaitIdle’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:334:8: warning[-Wunused-variable]: unused variable ‘ret’
#  334 |    int ret = drmSyncobjWait(queue->vk.base.device->drm_fd, &queue->sync, 1,
#      |        ^~~
#  332|         return VK_ERROR_DEVICE_LOST;
#  333|   
#  334|->    int ret = drmSyncobjWait(queue->vk.base.device->drm_fd, &queue->sync, 1,
#  335|                               INT64_MAX, DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL, NULL);
#  336|      assert(!ret);

Error: CLANG_WARNING: [#def4923]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_queue.c:334:8: warning[deadcode.DeadStores]: Value stored to 'ret' during its initialization is never read
#  332|         return VK_ERROR_DEVICE_LOST;
#  333|   
#  334|->    int ret = drmSyncobjWait(queue->vk.base.device->drm_fd, &queue->sync, 1,
#  335|                               INT64_MAX, DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL, NULL);
#  336|      assert(!ret);

Error: CLANG_WARNING: [#def4924]
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:62:28: note: expanded from macro 'BITSET_TEST'
#   60|   /* single bit operations
#   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))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4925]
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:2754: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_ra.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c: scope_hint: In function ‘ra_ctx_reset_block’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:63:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.available[<unknown>]’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:241:7: note: in expansion of macro ‘BITSET_SET’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3.h:1882:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:1405:4: note: in expansion of macro ‘foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/freedreno/ir3/ir3_shared_ra.c:241:7: note: in expansion of macro ‘BITSET_SET’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4926]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c:97: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h: scope_hint: In function ‘__bitclear_clear_range’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitset.h:273:7: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/iris/iris_state.c:3410:4: 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: [#def4927]
mesa-24.1.2-build/mesa-24.1.2/src/util/blake3/blake3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4928]
mesa-24.1.2-build/mesa-24.1.2/src/util/blake3/blake3.c:138:3: warning[deadcode.DeadStores]: Value stored to 'input' is never read
#  136|   
#  137|     size_t take = chunk_state_fill_buf(self, input, input_len);
#  138|->   input += take;
#  139|     input_len -= take;
#  140|   }

Error: CLANG_WARNING: [#def4929]
mesa-24.1.2-build/mesa-24.1.2/src/util/blake3/blake3.c:139:3: warning[deadcode.DeadStores]: Value stored to 'input_len' is never read
#  137|     size_t take = chunk_state_fill_buf(self, input, input_len);
#  138|     input += take;
#  139|->   input_len -= take;
#  140|   }
#  141|   

Error: CPPCHECK_WARNING (CWE-457): [#def4930]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4931]
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def4932]
mesa-24.1.2-build/mesa-24.1.2/src/util/blake3/blake3_dispatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4933]
mesa-24.1.2-build/mesa-24.1.2/src/util/box.h:37:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘boxes’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri2.c: scope_hint: In function ‘dri2_set_damage_region’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri2.c:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri2.c:2081:15: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/dri/dri2.c:2081: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: CPPCHECK_WARNING: [#def4934]
mesa-24.1.2-build/mesa-24.1.2/src/util/build_id.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4935]
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4936]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c: scope_hint: In function ‘mkdir_with_parents_if_needed’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4937]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:276:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'entry'
#  274|   
#  275|      unsigned processed_files = 0;
#  276|->    while (1) {
#  277|         dir_ent = readdir(dir);
#  278|         if (dir_ent == NULL)

Error: CLANG_WARNING: [#def4938]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:299:33: warning[core.NullDereference]: Access to field 'lru_name' results in a dereference of a null pointer (loaded from variable '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): [#def4939]
mesa-24.1.2-build/mesa-24.1.2/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): [#def4940]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c: scope_hint: In function ‘choose_lru_file_matching’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4941]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4942]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:419:12: warning[deadcode.DeadStores]: Although the value stored to 'd' is used in the enclosing expression, the value is never actually read from 'd'
#  417|      unsigned subdir_entries = 0;
#  418|      struct dirent *d;
#  419|->    while ((d = readdir(dir)) != NULL) {
#  420|         if(++subdir_entries > 2)
#  421|            break;

Error: COMPILER_WARNING (CWE-252): [#def4943]
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c: scope_hint: In function ‘disk_cache_touch_cache_user_marker’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4944]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_bptc.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/texcompress_bptc_tmp.h:514:13: warning[core.NullDereference]: Array access results in a null pointer dereference
#  512|      int weight;
#  513|   
#  514|->    weight = weights[index_bits][index];
#  515|   
#  516|      return ((64 - weight) * a + weight * b + 32) >> 6;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4945]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_bptc.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘write_rgb_indices_unorm’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4946]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_bptc.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘get_average_luminance_float’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4947]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/texcompress_bptc_tmp.h: scope_hint: In function ‘get_endpoints_float’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4948]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/texcompress_s3tc.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/format/texcompress_s3tc_tmp.h: scope_hint: In function ‘extractsrccolors’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4949]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:81:10: warning[deadcode.DeadStores]: Value stored to 'g1' is never read
#   79|            g0 = ubyte_to_float((value >>  8) & 0xff);
#   80|            b  = ubyte_to_float((value >> 16) & 0xff);
#   81|->          g1 = ubyte_to_float((value >> 24) & 0xff);
#   82|   
#   83|            dst[0] = r;    /* r */

Error: CLANG_WARNING: [#def4950]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:135:10: warning[deadcode.DeadStores]: Value stored to 'g1' is never read
#  133|            g0 = (value >>  8) & 0xff;
#  134|            b  = (value >> 16) & 0xff;
#  135|->          g1 = (value >> 24) & 0xff;
#  136|   
#  137|            dst[0] = r;    /* r */

Error: CLANG_WARNING: [#def4951]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:302:10: warning[deadcode.DeadStores]: Value stored to 'g1' is never read
#  300|            g0 = ubyte_to_float((value >>  0) & 0xff);
#  301|            r  = ubyte_to_float((value >>  8) & 0xff);
#  302|->          g1 = ubyte_to_float((value >> 16) & 0xff);
#  303|            b  = ubyte_to_float((value >> 24) & 0xff);
#  304|   

Error: CLANG_WARNING: [#def4952]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:356:10: warning[deadcode.DeadStores]: Value stored to 'g1' is never read
#  354|            g0 = (value >>  0) & 0xff;
#  355|            r  = (value >>  8) & 0xff;
#  356|->          g1 = (value >> 16) & 0xff;
#  357|            b  = (value >> 24) & 0xff;
#  358|   

Error: CLANG_WARNING: [#def4953]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:521:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
#  519|            y0 = (value >>  8) & 0xff;
#  520|            v  = (value >> 16) & 0xff;
#  521|->          y1 = (value >> 24) & 0xff;
#  522|   
#  523|            util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);

Error: CLANG_WARNING: [#def4954]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:568:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
#  566|            y0 = (value >>  8) & 0xff;
#  567|            u  = (value >> 16) & 0xff;
#  568|->          y1 = (value >> 24) & 0xff;
#  569|   
#  570|            util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);

Error: CLANG_WARNING: [#def4955]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:615:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
#  613|            y0 = (value >>  8) & 0xff;
#  614|            v  = (value >> 16) & 0xff;
#  615|->          y1 = (value >> 24) & 0xff;
#  616|   
#  617|            util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]);

Error: CLANG_WARNING: [#def4956]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:662:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
#  660|            y0 = (value >>  8) & 0xff;
#  661|            u  = (value >> 16) & 0xff;
#  662|->          y1 = (value >> 24) & 0xff;
#  663|   
#  664|            util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]);

Error: CLANG_WARNING: [#def4957]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:957:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
#  955|            y0 = (value >>  0) & 0xff;
#  956|            u  = (value >>  8) & 0xff;
#  957|->          y1 = (value >> 16) & 0xff;
#  958|            v  = (value >> 24) & 0xff;
#  959|   

Error: CLANG_WARNING: [#def4958]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:1004:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
# 1002|            y0 = (value >>  0) & 0xff;
# 1003|            u  = (value >> 24) & 0xff;
# 1004|->          y1 = (value >> 16) & 0xff;
# 1005|            v  = (value >>  8) & 0xff;
# 1006|   

Error: CLANG_WARNING: [#def4959]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:1052:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
# 1050|            y0 = (value >>  0) & 0xff;
# 1051|            u  = (value >>  8) & 0xff;
# 1052|->          y1 = (value >> 16) & 0xff;
# 1053|            v  = (value >> 24) & 0xff;
# 1054|   

Error: CLANG_WARNING: [#def4960]
mesa-24.1.2-build/mesa-24.1.2/src/util/format/u_format_yuv.c:1099:10: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
# 1097|            y0 = (value >>  0) & 0xff;
# 1098|            v  = (value >>  8) & 0xff;
# 1099|->          y1 = (value >> 16) & 0xff;
# 1100|            u  = (value >> 24) & 0xff;
# 1101|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4961]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:55:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lru_file_list’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4962]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:67:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘priv’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c: scope_hint: In function ‘get_video_buffer_private’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:132:11: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4963]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/util/u_cache.c:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:69:22: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'next')
#   67|       item->prev = list;
#   68|       item->next = list->next;
#   69|->     list->next->prev = item;
#   70|       list->next = item;
#   71|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4964]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:81:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4965]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:81:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_bbo’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c: scope_hint: In function ‘anv_batch_bo_list_clone’
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:389: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: CLANG_WARNING: [#def4966]
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_batch_chain.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/vulkan/anv_private.h:48: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/intel/common/intel_measure.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:81:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'item')
#   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: CLANG_WARNING: [#def4967]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:82:18: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'list')
#   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): [#def4968]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace_late.c: scope_hint: In function ‘pass’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace_late.c:8: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_texcoord_replace_late.c: scope_hint: In function ‘pass’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘pass’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4969]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dupl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c: scope_hint: In function ‘lima_nir_duplicate_load_const’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:121:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:121:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:121:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:93:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3050:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:94:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c: scope_hint: In function ‘lima_nir_duplicate_load_const’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:98:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1114:4: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:1121:4: note: in expansion of macro ‘nir_foreach_use_including_if_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:34:4: note: in expansion of macro ‘nir_foreach_use_safe’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/lima/ir/lima_nir_duplicate_consts.c:34:4: note: in expansion of macro ‘nir_foreach_use_safe’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4970]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4765:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/gl_nir_lower_atomics.c: scope_hint: In function ‘lower_deref_instr’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4971]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:82:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_clip_disable.c: scope_hint: In function ‘lower_clip_plane_store_io’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4972]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_gds()’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_gds’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4973]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_tex()’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_tex’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4974]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_vtx()’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/r600/r600_asm.c: scope_hint: In function ‘r600_bytecode_add_vtx_internal’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4975]
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/shaderapi.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/mtypes.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/mesa/main/glthread.h:56: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:83:22: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'prev')
#   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): [#def4976]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:103:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_helper_writes.c: scope_hint: In function ‘lower’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_helper_writes.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2668:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2684:4: note: in expansion of macro ‘nir_foreach_phi_src’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2668:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:2684: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): [#def4977]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:103:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘qinst’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir.c: scope_hint: In function ‘vir_remove_instruction’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/v3d_compiler.h:1536:9: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/broadcom/compiler/vir.c:2114: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: CLANG_WARNING: [#def4978]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_opt_copy_prop_vars.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:103:22: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'prev')
#  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: CLANG_WARNING: [#def4979]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:103:24: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'item')
#  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: CLANG_WARNING: [#def4980]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/gfx11_query.c:7: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_pipe.h:10: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_shader.h:119: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:103:24: warning[unix.Malloc]: Use of memory after it is freed
#  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): [#def4981]
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:211:9: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/src/util/disk_cache_os.c:308:16: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4982]
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_priv.h:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_free_signals’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:215:25: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c:107:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c: scope_hint: In function ‘etna_perfmon_free_signals’
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c:117:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.1.2-build/mesa-24.1.2/src/etnaviv/drm/etnaviv_perfmon.c:107:9: note: in expansion of macro ‘LIST_FOR_EACH_ENTRY_SAFE’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:215:25: note: read of 8 bytes from after the end of the region
mesa-24.1.2-build/mesa-24.1.2/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): [#def4983]
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c: scope_hint: In function ‘util_vma_heap_free’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:239:22: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:307:4: note: in expansion of macro ‘util_vma_foreach_hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4984]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:42: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:245:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘old_uses.next’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2100:10: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4254:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4296:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2144:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c: scope_hint: In function ‘nir_function_impl_lower_instructions’
mesa-24.1.2-build/mesa-24.1.2/src/util/list.h:191:27: note: in definition of macro ‘list_entry’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.c:2100: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): [#def4985]
mesa-24.1.2-build/mesa-24.1.2/src/util/log.c: scope_hint: In function ‘mesa_log_stream_flush’
mesa-24.1.2-build/mesa-24.1.2/src/util/log.c:416: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
#  414|      char *end;
#  415|      char *next = stream->msg;
#  416|->    while ((end = strchr(stream->msg + scan_offset, '\n'))) {
#  417|         *end = 0;
#  418|         mesa_log(stream->level, stream->tag, "%s", next);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4986]
mesa-24.1.2-build/mesa-24.1.2/src/util/simple_mtx.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h: scope_hint: In function ‘util_queue_fence_wait’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:66:42: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__atomic_load_4(&*fence.val, 0)’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:179:8: note: in expansion of macro ‘unlikely’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def4987]
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:92:29: note: expanded from macro 'STATIC_ASSERT'
#   90|    * Static (compile-time) assertion.
#   91|    */
#   92|-> #define STATIC_ASSERT(cond) do { \
#   93|      static_assert(cond, #cond); \
#   94|   } while (0)

Error: CPPCHECK_WARNING: [#def4988]
mesa-24.1.2-build/mesa-24.1.2/src/util/os_file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4989]
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:34: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c: scope_hint: In function ‘gallivm_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:497:10: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:348:30: note: in expansion of macro ‘MALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/util/compiler.h:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:497:10: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/gallivm/lp_bld_init.c:497: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): [#def4990]
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_context.h:6: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c: scope_hint: In function ‘nv50_hw_create_query’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘hq’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4991]
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_context.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c: scope_hint: In function ‘draw_create_geometry_shader’
mesa-24.1.2-build/mesa-24.1.2/src/util/os_memory_stdc.h:43:24: warning[-Wanalyzer-malloc-leak]: leak of ‘llvm_gs’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:810:10: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:787:17: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/auxiliary/draw/draw_gs.c:810:10: note: in expansion of macro ‘FREE’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.1.2-build/mesa-24.1.2/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): [#def4992]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_payload_buf_create’
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:260:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘payload’
#  258|      p_atomic_set(&payload->refcount, 1);
#  259|   
#  260|->    payload->buf = (uint8_t *) (payload + 1);
#  261|      payload->end = payload->buf + PAYLOAD_BUFFER_SIZE;
#  262|      payload->next = payload->buf;

Error: CLANG_WARNING: [#def4993]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:304:7: warning[unix.Malloc]: Use of memory after it is freed
#  302|         struct u_trace_chunk *chunk =
#  303|            list_first_entry(chunks, struct u_trace_chunk, node);
#  304|->       free_chunk(chunk);
#  305|      }
#  306|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4994]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c: scope_hint: In function ‘get_chunk’
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:347:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
#  345|      chunk = calloc(1, sizeof(*chunk));
#  346|   
#  347|->    chunk->utctx = ut->utctx;
#  348|      chunk->timestamps =
#  349|         ut->utctx->create_timestamp_buffer(ut->utctx, TIMESTAMP_BUF_SIZE);

Error: CLANG_WARNING: [#def4995]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:755:31: warning[core.NullDereference]: Access to field 'num_traces' results in a dereference of a null pointer (loaded from variable 'from_chunk')
#  753|   
#  754|         unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces,
#  755|->                               from_chunk->num_traces - from_idx);
#  756|         if (from_chunk == end_it.chunk)
#  757|            to_copy = MIN2(to_copy, end_it.event_idx - from_idx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4996]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_clone_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:755:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘from_chunk’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
#  753|   
#  754|         unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces,
#  755|->                               from_chunk->num_traces - from_idx);
#  756|         if (from_chunk == end_it.chunk)
#  757|            to_copy = MIN2(to_copy, end_it.event_idx - from_idx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4997]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c: scope_hint: In function ‘u_trace_disable_event_range’
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:806:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_chunk’
#  804|      while (current_chunk != end_it.chunk) {
#  805|         memset(&current_chunk->traces[start_idx], 0,
#  806|->              (current_chunk->num_traces - start_idx) *
#  807|                   sizeof(struct u_trace_event));
#  808|         start_idx = 0;

Error: CLANG_WARNING: [#def4998]
mesa-24.1.2-build/mesa-24.1.2/src/util/perf/u_trace.c:813:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  811|      }
#  812|   
#  813|->    memset(&current_chunk->traces[start_idx], 0,
#  814|             (end_it.event_idx - start_idx) * sizeof(struct u_trace_event));
#  815|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4999]
mesa-24.1.2-build/mesa-24.1.2/src/util/ralloc.c: scope_hint: In function ‘linear_vasprintf_rewrite_tail’
mesa-24.1.2-build/mesa-24.1.2/src/util/ralloc.c:1258:16: warning[-Wanalyzer-null-argument]: use of NULL ‘*str’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/ralloc.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def5000]
mesa-24.1.2-build/mesa-24.1.2/src/util/rb_tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5001]
mesa-24.1.2-build/mesa-24.1.2/src/util/rb_tree.c:301:18: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'x_p')
#  299|       /* Fixup RB tree after the delete */
#  300|       while (x != T->root && rb_node_is_black(x)) {
#  301|->         if (x == x_p->left) {
#  302|               struct rb_node *w = x_p->right;
#  303|               if (rb_node_is_red(w)) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5002]
mesa-24.1.2-build/mesa-24.1.2/src/util/register_allocate.c: scope_hint: In function ‘ra_compute_available_regs’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5003]
mesa-24.1.2-build/mesa-24.1.2/src/util/register_allocate.c:861:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘regs’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/register_allocate.c:78: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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): [#def5004]
mesa-24.1.2-build/mesa-24.1.2/src/util/register_allocate.c: scope_hint: In function ‘ra_select’
mesa-24.1.2-build/mesa-24.1.2/src/util/register_allocate.c:952:13: warning[-Wanalyzer-malloc-leak]: leak of ‘select_regs’
mesa-24.1.2-build/mesa-24.1.2/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: [#def5005]
mesa-24.1.2-build/mesa-24.1.2/src/util/rgtc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5006]
mesa-24.1.2-build/mesa-24.1.2/src/util/set.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5007]
mesa-24.1.2-build/mesa-24.1.2/src/util/sha1/sha1.c:100:2: warning[deadcode.DeadStores]: Value stored to 'a' is never read
#   98|   
#   99|   	/* Wipe variables */
#  100|-> 	a = b = c = d = e = 0;
#  101|   }
#  102|   

Error: CLANG_WARNING: [#def5008]
mesa-24.1.2-build/mesa-24.1.2/src/util/sha1/sha1.c:100:6: warning[deadcode.DeadStores]: Although the value stored to 'b' is used in the enclosing expression, the value is never actually read from 'b'
#   98|   
#   99|   	/* Wipe variables */
#  100|-> 	a = b = c = d = e = 0;
#  101|   }
#  102|   

Error: CLANG_WARNING: [#def5009]
mesa-24.1.2-build/mesa-24.1.2/src/util/sha1/sha1.c:100:10: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
#   98|   
#   99|   	/* Wipe variables */
#  100|-> 	a = b = c = d = e = 0;
#  101|   }
#  102|   

Error: CLANG_WARNING: [#def5010]
mesa-24.1.2-build/mesa-24.1.2/src/util/sha1/sha1.c:100:14: warning[deadcode.DeadStores]: Although the value stored to 'd' is used in the enclosing expression, the value is never actually read from 'd'
#   98|   
#   99|   	/* Wipe variables */
#  100|-> 	a = b = c = d = e = 0;
#  101|   }
#  102|   

Error: CLANG_WARNING: [#def5011]
mesa-24.1.2-build/mesa-24.1.2/src/util/sha1/sha1.c:100:18: warning[deadcode.DeadStores]: Although the value stored to 'e' is used in the enclosing expression, the value is never actually read from 'e'
#   98|   
#   99|   	/* Wipe variables */
#  100|-> 	a = b = c = d = e = 0;
#  101|   }
#  102|   

Error: CPPCHECK_WARNING: [#def5012]
mesa-24.1.2-build/mesa-24.1.2/src/util/slab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5013]
mesa-24.1.2-build/mesa-24.1.2/src/util/slab.c:226:17: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'elt')
#  224|   
#  225|      elt = pool->free;
#  226|->    pool->free = elt->next;
#  227|   
#  228|      CHECK_MAGIC(elt, SLAB_MAGIC_FREE);

Error: CPPCHECK_WARNING: [#def5014]
mesa-24.1.2-build/mesa-24.1.2/src/util/softfloat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def5015]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5016]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5017]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5018]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5019]
mesa-24.1.2-build/mesa-24.1.2/src/util/softfloat.c:420:42: warning[core.NullDereference]: Array access (from variable 'm_out') results in a null pointer dereference
#  418|       }
#  419|       if (word_jam)
#  420|->         m_out[index_word_lo(size_words)] |= 1;
#  421|   }
#  422|   

Error: CPPCHECK_WARNING (CWE-758): [#def5020]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5021]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5022]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5023]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5024]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5025]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5026]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5027]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5028]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5029]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5030]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5031]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5032]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5033]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5034]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5035]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5036]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5037]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5038]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5039]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5040]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5041]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5042]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5043]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5044]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5045]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5046]
mesa-24.1.2-build/mesa-24.1.2/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): [#def5047]
mesa-24.1.2-build/mesa-24.1.2/src/util/sparse_array.c: scope_hint: In function ‘_util_sparse_array_node_alloc’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5048]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/glcpp.h:36: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/glcpp/pp.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/string_buffer.h: scope_hint: In function ‘_mesa_string_buffer_append’
mesa-24.1.2-build/mesa-24.1.2/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: CPPCHECK_WARNING: [#def5049]
mesa-24.1.2-build/mesa-24.1.2/src/util/texcompress_astc_luts.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def5050]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_cpu_detect.c: scope_hint: In function ‘get_cpu_topology’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5051]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_cpu_detect.c:598:19: warning[unix.Malloc]: Potential leak of memory pointed to by 'L3_affinity_masks'
#  596|                  L3_affinity_masks = realloc(L3_affinity_masks, sizeof(util_affinity_mask) * num_L3_caches);
#  597|                  if (!L3_affinity_masks)
#  598|->                   return;
#  599|                  memset(&L3_affinity_masks[num_L3_caches - 1], 0, sizeof(util_affinity_mask));
#  600|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5052]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:59:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘subgraph’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5053]
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_ensure_cap’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:103:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:282:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/ralloc.h:53: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5054]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:103:13: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  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): [#def5055]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_command_buffer.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_cmd_buffer.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_ensure_cap’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:114:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*batch.jobs.data’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_descriptor_set.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_cmd_buffer.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:1955:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:1959:4: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:135:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/gen_macros.h:88:17: note: in definition of macro ‘GENX’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:183:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitpack_helpers.h:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:15: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/gen_macros.h:89: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:183:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:60: note: in definition of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_cmd_buffer.c:183:10: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
#  112|            return NULL;
#  113|   
#  114|->       buf->data = data;
#  115|         buf->capacity = capacity;
#  116|      }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5056]
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_pool.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_texture.h:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_desc.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_blitter.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:158:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_descriptor_set.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_cmd_buffer.h:17: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:474:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/genxml/gen_macros.h:89: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_desc.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_encoder.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_cmd_buffer.h:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:317:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_builder.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373: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): [#def5057]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:161:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_macros.h:53:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:474:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:91:34: note: in expansion of macro ‘pan_pool_alloc_desc_aggregate’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:199:30: note: in expansion of macro ‘pan_pool_alloc_desc’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:205:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:211:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_encoder.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:218:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:116:12: note: in expansion of macro ‘PREFIX4’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:220:4: note: in expansion of macro ‘pan_section_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/redhat-linux-build/src/panfrost/lib/genxml/v6_pack.h:93:43: note: in definition of macro ‘pan_pack’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/lib/pan_jc.h: scope_hint: In function ‘util_dynarray_grow_bytes’
mesa-24.1.2-build/mesa-24.1.2/src/panfrost/vulkan/panvk_vX_meta_clear.c:317:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373: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): [#def5058]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘util_dynarray_append_dynarray’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:198:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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-688): [#def5059]
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:64: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1675:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:744:15: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4246:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:4303:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1650:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1651:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1651:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1651:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1651:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:3054:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1651:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c: scope_hint: In function ‘nir_opt_sort_and_pack_stack’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1675:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/macros.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1675:13: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir_lower_shader_calls.c:1675: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): [#def5060]
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c: scope_hint: In function ‘dag_validate_node’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:202:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:282:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/src/util/macros.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/dag.c:255:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5061]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:207:38: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:494:11: note: in expansion of macro ‘util_dynarray_top’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:1522:4: note: in expansion of macro ‘vtn_assert’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:373:33: note: in definition of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_dynarray.h:97:27: note: in expansion of macro ‘MAX3’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c:507:4: note: in expansion of macro ‘util_dynarray_append’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/spirv/vtn_structured_cfg.c: scope_hint: In function ‘vtn_emit_cf_func_structured’
mesa-24.1.2-build/mesa-24.1.2/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-401): [#def5062]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c:43:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*buf.buf.data’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_resize.part.0’
#   41|   {
#   42|      if (new_num_elements > buf->num_elements) {
#   43|->       buf->data = realloc(buf->data, new_num_elements * sizeof(*buf->data));
#   44|         memset(&buf->data[buf->num_elements], 0,
#   45|                (new_num_elements - buf->num_elements) * sizeof(*buf->data));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5063]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c:44:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/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
#   42|      if (new_num_elements > buf->num_elements) {
#   43|         buf->data = realloc(buf->data, new_num_elements * sizeof(*buf->data));
#   44|->       memset(&buf->data[buf->num_elements], 0,
#   45|                (new_num_elements - buf->num_elements) * sizeof(*buf->data));
#   46|         buf->num_elements = new_num_elements;

Error: GCC_ANALYZER_WARNING (CWE-122): [#def5064]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c:85:13: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
#                                      └──────────────────────────────────┘
#                                                       ^
#   83|   
#   84|      buf->lowest_free_idx = num_elements;
#   85|->    buf->data[num_elements] |= 1;
#   86|      buf->num_set_elements = MAX2(buf->num_set_elements, num_elements + 1);
#   87|      return num_elements * 32;

Error: GCC_ANALYZER_WARNING (CWE-122): [#def5065]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c:85:28: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_idalloc.c: scope_hint: In function ‘util_idalloc_alloc’
#   83|   
#   84|      buf->lowest_free_idx = num_elements;
#   85|->    buf->data[num_elements] |= 1;
#   86|      buf->num_set_elements = MAX2(buf->num_set_elements, num_elements + 1);
#   87|      return num_elements * 32;

Error: CLANG_WARNING: [#def5066]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_printf.c:145:28: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  143|               fwrite(format, token - format, 1, out);
#  144|   
#  145|->          char *print_str = strndup(token, next_format - token);
#  146|            /* rebase spec_pos so we can use it with print_str */
#  147|            spec_pos += format - token;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5067]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_printf.c: scope_hint: In function ‘u_printf_impl’
mesa-24.1.2-build/mesa-24.1.2/src/util/u_printf.c:153:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/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
#  151|               uint64_t idx;
#  152|               memcpy(&idx, &buffer[buf_pos], 8);
#  153|->             fprintf(out, print_str, &fmt->strings[idx]);
#  154|   
#  155|            /* Never pass a 'n' spec to the host printf */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5068]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_printf.c:157: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
#  155|            /* Never pass a 'n' spec to the host printf */
#  156|            } else if (print_str[spec_pos] != 'n') {
#  157|->             char *vec_pos = strchr(print_str, 'v');
#  158|               char *mod_pos = strpbrk(print_str, "hl");
#  159|   

Error: CPPCHECK_WARNING: [#def5069]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5070]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.c: scope_hint: In function ‘util_queue_create_thread’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5071]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.c: scope_hint: In function ‘util_queue_add_job_locked’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5072]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_queue.h:76:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fences’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5073]
mesa-24.1.2-build/mesa-24.1.2/src/util/u_vector.h:90:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wl’
mesa-24.1.2-build/mesa-24.1.2/src/gallium/drivers/radeonsi/si_nir_optim.c: scope_hint: In function ‘nir_instr_worklist_destroy’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5074]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_video.c:30: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_bitstream.h: scope_hint: In function ‘vl_bitstream_write_byte_start_code’
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_bitstream.h:85:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5075]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec_mpeg12.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h:116:43: warning[core.BitwiseShift]: Right operand is negative in left shift
#  114|      /* align the data pointer */
#  115|      while (vlc->data != vlc->end && ((uintptr_t)vlc->data) & 3) {
#  116|->       vlc->buffer |= (uint64_t)*vlc->data << (24 + vlc->invalid_bits);
#  117|         ++vlc->data;
#  118|         vlc->invalid_bits -= 8;

Error: GCC_ANALYZER_WARNING (CWE-835): [#def5076]
mesa-24.1.2-build/mesa-24.1.2/src/gallium/frontends/omx/bellagio/vid_dec.c:46: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h: scope_hint: In function ‘vl_vlc_fillbits’
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h:131:14: warning[-Wanalyzer-infinite-loop]: infinite loop
#  129|   
#  130|      /* as long as the buffer needs to be filled */
#  131|->    while (vlc->invalid_bits > 0) {
#  132|         unsigned bytes_left = vlc->end - vlc->data;
#  133|   

Error: CLANG_WARNING: [#def5077]
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h:154:31: warning[core.BitwiseShift]: Left shift overflows the capacity of 'uint64_t'
#  152|   #endif
#  153|   
#  154|->          vlc->buffer |= value << vlc->invalid_bits;
#  155|            vlc->data += 4;
#  156|            vlc->invalid_bits -= 32;

Error: CLANG_WARNING: [#def5078]
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h:164:46: warning[core.BitwiseShift]: Right operand is negative in left shift
#  162|   
#  163|            /* not enough bytes left in buffer, read single bytes */
#  164|->          vlc->buffer |= (uint64_t)*vlc->data << (24 + vlc->invalid_bits);
#  165|            ++vlc->data;
#  166|            vlc->invalid_bits -= 8;

Error: CLANG_WARNING: [#def5079]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_video.c:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_rbsp.h:41: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/vl_vlc.h:372:26: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'long'
#  370|      if (bits_left < vl_vlc_valid_bits(vlc)) {
#  371|         vlc->invalid_bits = 32 - bits_left;
#  372|->       vlc->buffer &= ~0L << (vlc->invalid_bits + 32);
#  373|         vlc->end = vlc->data;
#  374|         vlc->bytes_left = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5080]
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c: scope_hint: In function ‘util_vma_hole_alloc’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5081]
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:191:16: warning[deadcode.DeadStores]: Value stored to 'end' is never read
#  189|               if ((end >> heap->nospan_shift) != (offset >> heap->nospan_shift)) {
#  190|                  /* can we shift the offset down and still fit in the current hole? */
#  191|->                end &= ~BITFIELD64_MASK(heap->nospan_shift);
#  192|                  assert(end >= size);
#  193|                  offset -= size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5082]
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:341:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hole’
mesa-24.1.2-build/mesa-24.1.2/src/util/vma.c:38:4: note: in expansion of macro ‘list_for_each_entry’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5083]
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5084]
mesa-24.1.2-build/mesa-24.1.2/src/util/xmlconfig.c:1067:4: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'filename' is still referred to by the stack variable 'userData' upon returning to the caller.  This will be a dangling reference
# 1065|      }
# 1066|   
# 1067|->    free(entries);
# 1068|   }
# 1069|   #else

Error: CLANG_WARNING: [#def5085]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c:128:32: warning[core.NullDereference]: Dereference of null pointer
#  126|      struct instance_info *info = (struct instance_info *)calloc(1, sizeof(struct instance_info));
#  127|   
#  128|->    info->GetInstanceProcAddr = chain_info->u.pLayerInfo->pfnNextGetInstanceProcAddr;
#  129|      PFN_vkCreateInstance fpCreateInstance =
#  130|         (PFN_vkCreateInstance)info->GetInstanceProcAddr(NULL, "vkCreateInstance");

Error: CLANG_WARNING: [#def5086]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c:197:16: warning[deadcode.DeadStores]: Value stored to 'type' during its initialization is never read
#  195|   static void print_gpu(const struct instance_info *info, unsigned index, VkPhysicalDevice device)
#  196|   {
#  197|->    const char *type = "";
#  198|      VkPhysicalDevicePCIBusInfoPropertiesEXT ext_pci_properties = (VkPhysicalDevicePCIBusInfoPropertiesEXT) {
#  199|         .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5087]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘device_select_EnumeratePhysicalDevices’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c:553:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5088]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘device_select_EnumeratePhysicalDeviceGroups’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5089]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/device-select-layer/device_select_layer.c: scope_hint: In function ‘get_instance_proc_addr.part.0’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5090]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/rmv/vk_rmv_exporter.c:687:16: warning[deadcode.DeadStores]: Value stored to 'v' during its initialization is never read
#  685|         if (str) {
#  686|            char *ptr = (char *)chunk->vendor_id;
#  687|->          char *v = strtok(str, ":");
#  688|            v = strtok(NULL, ":");
#  689|            strncpy(ptr, v + 1, sizeof(chunk->vendor_id) - 1);

Error: CLANG_WARNING: [#def5091]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/rmv/vk_rmv_exporter.c:697:16: warning[deadcode.DeadStores]: Value stored to 'v' during its initialization is never read
#  695|         if (str) {
#  696|            char *ptr = (char *)chunk->processor_brand;
#  697|->          char *v = strtok(str, ":");
#  698|            v = strtok(NULL, ":");
#  699|            strncpy(ptr, v + 1, sizeof(chunk->processor_brand) - 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5092]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyBuffer’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:43:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 40’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:40:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:40:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5093]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyImage’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:81:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 88’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:78:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:78:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5094]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyBufferToImage’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:122:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 72’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:119:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:119:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5095]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdCopyImageToBuffer’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:163:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 72’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5096]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdBlitImage’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:206:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 96’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:203:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:203:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5097]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c: scope_hint: In function ‘vk_common_CmdResolveImage’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:254:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)r * 88’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:251:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_cmd_copy.c:251:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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-476): [#def5098]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.c: scope_hint: In function ‘vk_common_GetImageSparseMemoryRequirements’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.c:509:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 64’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.c:506:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5099]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c: scope_hint: In function ‘vk_drm_syncobj_wait_many’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:243:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)j * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:35: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5100]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:244:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)j * 8’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:227:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5101]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:308:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  306|      }
#  307|   
#  308|->    err = drmSyncobjDestroy(device->drm_fd, sobj->syncobj);
#  309|      assert(!err);
#  310|   

Error: CLANG_WARNING: [#def5102]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_drm_syncobj.c:445:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  443|      }
#  444|   
#  445|->    err = drmSyncobjDestroy(drm_fd, syncobj);
#  446|      assert(err == 0);
#  447|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5103]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c: scope_hint: In function ‘vk_common_WaitForFences’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:272:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 24’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:37: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222: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): [#def5104]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:282:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_fence.c:268:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  280|         wait_flags |= VK_SYNC_WAIT_ANY;
#  281|   
#  282|->    VkResult result = vk_sync_wait_many(device, fenceCount, waits,
#  283|                                          wait_flags, abs_timeout_ns);
#  284|   

Error: CLANG_WARNING: [#def5105]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_graphics_state.c:379:16: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'vi')
#  377|   {
#  378|      if (IS_NEEDED(VI))
#  379|->       *dst->vi = *vi;
#  380|   
#  381|      if (IS_NEEDED(VI_BINDINGS_VALID))

Error: CLANG_WARNING: [#def5106]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_graphics_state.c:813:33: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'sample_locations')
#  811|   
#  812|      if (IS_NEEDED(MS_SAMPLE_LOCATIONS) && ms->sample_locations)
#  813|->       *dst->ms.sample_locations = *ms->sample_locations;
#  814|   }
#  815|   

Error: CLANG_WARNING: [#def5107]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_graphics_state.c:1583:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
# 1581|   
# 1582|      if (lib & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT) {
# 1583|->       if (rp.attachments & MESA_VK_RP_ATTACHMENT_ANY_COLOR_BITS)
# 1584|            needs |= MESA_VK_GRAPHICS_STATE_COLOR_BLEND_BIT;
# 1585|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5108]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘vk_meta_cache_object’
mesa-24.1.2-build/mesa-24.1.2/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.1.2-build/mesa-24.1.2/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): [#def5109]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘cache_key_create’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5110]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c: scope_hint: In function ‘create_rect_list_pipeline’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:345:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:28: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:337:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5111]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:383:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:337:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_meta.c:381:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5112]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c: scope_hint: In function ‘vk_common_GetPhysicalDeviceQueueFamilyProperties’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c:157:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 40’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c:154:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5113]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c: scope_hint: In function ‘vk_common_GetPhysicalDeviceSparseImageFormatProperties’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c:269:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 40’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:8: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_physical_device.c:266:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5114]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.c:849:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  847|   
#  848|      if (ops->preprocess_nir != NULL)
#  849|->       ops->preprocess_nir(device->physical, nir);
#  850|   
#  851|      struct vk_pipeline_precomp_shader *shader =

Error: CLANG_WARNING: [#def5115]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.c:852:7: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
#  850|   
#  851|      struct vk_pipeline_precomp_shader *shader =
#  852|->       vk_pipeline_precomp_shader_create(device, stage_sha1,
#  853|                                           sizeof(stage_sha1),
#  854|                                           &rs, nir);

Error: CLANG_WARNING: [#def5116]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.c:1438:10: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 1436|   
# 1437|            uint32_t shader_exec_count = 0;
# 1438|->          result = shader->ops->get_executable_properties(device, shader,
# 1439|                                                            &shader_exec_count,
# 1440|                                                            NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5117]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_compile_compute_stage’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline.c:1924:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipeline_layout’
# 1922|      _mesa_blake3_update(&blake3_ctx, &shader_flags, sizeof(shader_flags));
# 1923|   
# 1924|->    for (uint32_t i = 0; i < pipeline_layout->set_count; i++) {
# 1925|         if (pipeline_layout->set_layouts[i] != NULL) {
# 1926|            _mesa_blake3_update(&blake3_ctx,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5118]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:114:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:100:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:101:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:102:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c: scope_hint: In function ‘vk_raw_data_cache_object_create’
mesa-24.1.2-build/mesa-24.1.2/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: CLANG_WARNING: [#def5119]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:114:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  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: CLANG_WARNING: [#def5120]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:115:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  113|   
#  114|      memcpy(obj_key_data, key_data, key_size);
#  115|->    memcpy(obj_data, data, data_size);
#  116|   
#  117|      return data_obj;

Error: CLANG_WARNING: [#def5121]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.c:359:39: warning[core.NullDereference]: Dereference of null pointer
#  357|   
#  358|      if (object == NULL) {
#  359|->       struct disk_cache *disk_cache = cache->base.device->physical->disk_cache;
#  360|         if (!cache->skip_disk_cache && disk_cache && cache->object_cache) {
#  361|            cache_key cache_key;

Error: CLANG_WARNING: [#def5122]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:330:13: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  328|                                                &submit->_wait_points[i]);
#  329|            if (unlikely(result != VK_SUCCESS)) {
#  330|->             result = vk_queue_set_lost(queue,
#  331|                                          "Time point >= %"PRIu64" not found",
#  332|                                          submit->waits[i].wait_value);

Error: CLANG_WARNING: [#def5123]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:671:40: warning[core.NullDereference]: Array access (via field '_wait_temps') results in a null pointer dereference
#  669|         if (semaphore->temporary) {
#  670|            assert(semaphore->type == VK_SEMAPHORE_TYPE_BINARY);
#  671|->          sync = submit->_wait_temps[i] = semaphore->temporary;
#  672|            semaphore->temporary = NULL;
#  673|         } else {

Error: CLANG_WARNING: [#def5124]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:716:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  714|   
#  715|      if (info->buffer_binds)
#  716|->       typed_memcpy(submit->buffer_binds, info->buffer_binds, info->buffer_bind_count);
#  717|   
#  718|      for (uint32_t i = 0; i < info->buffer_bind_count; ++i) {

Error: CLANG_WARNING: [#def5125]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:729:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  727|   
#  728|      if (info->image_opaque_binds)
#  729|->       typed_memcpy(submit->image_opaque_binds, info->image_opaque_binds,
#  730|                      info->image_opaque_bind_count);
#  731|   

Error: CLANG_WARNING: [#def5126]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:743:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  741|   
#  742|      if (info->image_binds)
#  743|->       typed_memcpy(submit->image_binds, info->image_binds, info->image_bind_count);
#  744|   
#  745|      for (uint32_t i = 0; i < info->image_bind_count; ++i) {

Error: CLANG_WARNING: [#def5127]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:789:18: warning[core.NullDereference]: Array access (via field '_signal_points') results in a null pointer dereference
#  787|               goto fail;
#  788|   
#  789|->          sync = &submit->_signal_points[i]->sync;
#  790|            signal_value = 0;
#  791|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5128]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c: scope_hint: In function ‘vk_queue_wait_before_present’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:1059:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 24’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:43: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:1044:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_queue.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222: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: CLANG_WARNING: [#def5129]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:122:22: warning[core.NullDereference]: Array access (from variable 'attachments') results in a null pointer dereference
#  120|   
#  121|      for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) {
#  122|->       attachments[i] = (VkAttachmentDescription2) {
#  123|            .sType = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2,
#  124|            .pNext = NULL,

Error: CLANG_WARNING: [#def5130]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:194:14: warning[core.NullDereference]: Access to field 'pInputAttachments' results in a dereference of a null pointer (loaded from variable 'subpass')
#  192|            assert(ref->inputAttachmentIndex < subpass->inputAttachmentCount);
#  193|            VkAttachmentReference2 *att = (VkAttachmentReference2 *)
#  194|->             &subpass->pInputAttachments[ref->inputAttachmentIndex];
#  195|   
#  196|            att->aspectMask = ref->aspectMask;

Error: CLANG_WARNING: [#def5131]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:201:23: warning[core.NullDereference]: Array access (from variable 'dependencies') results in a null pointer dereference
#  199|   
#  200|      for (uint32_t i = 0; i < pCreateInfo->dependencyCount; i++) {
#  201|->       dependencies[i] = (VkSubpassDependency2) {
#  202|            .sType = VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2,
#  203|            .pNext = NULL,

Error: CLANG_WARNING: [#def5132]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:337:9: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'att')
#  335|                                  const VkAttachmentDescription2 *desc)
#  336|   {
#  337|->    *att = (struct vk_render_pass_attachment) {
#  338|         .format                 = desc->format,
#  339|         .aspects                = vk_format_aspects(desc->format),

Error: CLANG_WARNING: [#def5133]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:786:29: warning[core.NullDereference]: Array access (via field 'dependencies') results in a null pointer dereference
#  784|         const VkSubpassDependency2 *dep = &pCreateInfo->pDependencies[d];
#  785|   
#  786|->       pass->dependencies[d] = (struct vk_subpass_dependency) {
#  787|            .flags = dep->dependencyFlags,
#  788|            .src_subpass = dep->srcSubpass,

Error: CLANG_WARNING: [#def5134]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1102:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1100|         const VkSampleLocationsInfoEXT *sli_in = &att_sl_in->sampleLocationsInfo;
# 1101|   
# 1102|->       typed_memcpy(next_sl, sli_in->pSampleLocations,
# 1103|                      sli_in->sampleLocationsCount);
# 1104|   

Error: CLANG_WARNING: [#def5135]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1124:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1122|         const VkSampleLocationsInfoEXT *sli_in = &sp_sl_in->sampleLocationsInfo;
# 1123|   
# 1124|->       typed_memcpy(next_sl, sli_in->pSampleLocations,
# 1125|                      sli_in->sampleLocationsCount);
# 1126|   

Error: CLANG_WARNING: [#def5136]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1388:27: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'stencil_layout_out')
# 1386|   
# 1387|      if (stencil_layout != VK_IMAGE_LAYOUT_MAX_ENUM)
# 1388|->       *stencil_layout_out = stencil_layout;
# 1389|      else if (stencil_layout_out != NULL)
# 1390|         *stencil_layout_out = VK_IMAGE_LAYOUT_UNDEFINED;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5137]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘begin_subpass’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1639:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1627:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1627:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1629:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
# 1637|   
# 1638|         if (sp_att->attachment == VK_ATTACHMENT_UNUSED) {
# 1639|->          *color_attachment = (VkRenderingAttachmentInfo) {
# 1640|               .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
# 1641|               .imageView = VK_NULL_HANDLE,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5138]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1652:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1627:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1627:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1629:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
# 1650|            &cmd_buffer->attachments[sp_att->attachment];
# 1651|   
# 1652|->       *color_attachment = (VkRenderingAttachmentInfo) {
# 1653|            .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
# 1654|            .imageView = vk_image_view_to_handle(att_state->image_view),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5139]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘vk_common_CmdBeginRenderPass2’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2377:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘att_state’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2296:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2296:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘vk_common_CmdBeginRenderPass2’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
# 2375|            assert(util_last_bit(pass_att->view_mask) <= image_view->layer_count);
# 2376|   
# 2377|->       *att_state = (struct vk_attachment_state) {
# 2378|            .image_view = image_view,
# 2379|            .views_loaded = 0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5140]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c: scope_hint: In function ‘vk_sampler_border_color_value’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:79:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5141]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:81:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sampler.c:76:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5142]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c: scope_hint: In function ‘vk_common_WaitSemaphores’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:350:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 24’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:39: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222: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-401): [#def5143]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:361:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_semaphore.c:344:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_object.h:222:65: note: in definition of macro ‘VK_FROM_HANDLE’
#  359|         wait_flags |= VK_SYNC_WAIT_ANY;
#  360|   
#  361|->    VkResult result = vk_sync_wait_many(device, wait_count, waits,
#  362|                                          wait_flags, abs_timeout_ns);
#  363|   

Error: CLANG_WARNING: [#def5144]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:442:24: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  440|               break;
#  441|   
#  442|->          pShaders[i] = vk_shader_to_handle(shader);
#  443|            break;
#  444|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5145]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c: scope_hint: In function ‘vk_common_CmdBindShadersEXT’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:564:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:24: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:558:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:558:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:558:4: note: in expansion of macro ‘STACK_ARRAY’
#  562|      for (uint32_t i = 0; i < stageCount; i++) {
#  563|         vk_stages |= pStages[i];
#  564|->       stages[i] = vk_to_mesa_shader_stage(pStages[i]);
#  565|         shaders[i] = pShaders != NULL ? vk_shader_from_handle(pShaders[i]) : NULL;
#  566|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5146]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:565:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 8’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:558:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:558:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_shader.c:559:4: note: in expansion of macro ‘STACK_ARRAY’
#  563|         vk_stages |= pStages[i];
#  564|         stages[i] = vk_to_mesa_shader_stage(pStages[i]);
#  565|->       shaders[i] = pShaders != NULL ? vk_shader_from_handle(pShaders[i]) : NULL;
#  566|      }
#  567|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5147]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_binary.c: scope_hint: In function ‘vk_sync_binary_wait_many.part.0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_binary.c:102:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown>’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_binary.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_binary.c:97:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_sync_binary.c:97:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5148]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c: scope_hint: In function ‘vk_common_CmdPipelineBarrier’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:166:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 48’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:158:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:158:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:158:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
#  164|   
#  165|      for (uint32_t i = 0; i < memoryBarrierCount; i++) {
#  166|->       memory_barriers[i] = upgrade_memory_barrier(&pMemoryBarriers[i],
#  167|                                                     src_stage_mask2,
#  168|                                                     dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5149]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:171:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 80’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:158:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
#  169|      }
#  170|      for (uint32_t i = 0; i < bufferMemoryBarrierCount; i++) {
#  171|->       buffer_barriers[i] = upgrade_buffer_memory_barrier(&pBufferMemoryBarriers[i],
#  172|                                                            src_stage_mask2,
#  173|                                                            dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5150]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:176:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 96’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:158:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:159:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:160:4: note: in expansion of macro ‘STACK_ARRAY’
#  174|      }
#  175|      for (uint32_t i = 0; i < imageMemoryBarrierCount; i++) {
#  176|->       image_barriers[i] = upgrade_image_memory_barrier(&pImageMemoryBarriers[i],
#  177|                                                          src_stage_mask2,
#  178|                                                          dst_stage_mask2);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5151]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c: scope_hint: In function ‘vk_common_CmdWaitEvents’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:269:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 64’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:255:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:255:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:255:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_synchronization.c:255:4: note: in expansion of macro ‘STACK_ARRAY’
#  267|   
#  268|      for (uint32_t i = 0; i < eventCount; i++) {
#  269|->       deps[i] = (VkDependencyInfo) {
#  270|            .sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
#  271|            .memoryBarrierCount = 1,

Error: CLANG_WARNING: [#def5152]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_astc.c:277:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  275|   
#  276|      /* get the single_buf_size */
#  277|->    result = astc_prepare_buffer(device, astc, allocator,
#  278|                                   phy_dev_prop.properties.limits.minTexelBufferOffsetAlignment,
#  279|                                   NULL, &single_buf_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5153]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_astc.c: scope_hint: In function ‘vk_astc_create_shader_module’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_astc.c:413:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/rmv/vk_rmv_common.h:29: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_astc.h:25: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_texcompress_astc.c:23: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_device.h:272:1: note: in expansion of macro ‘VK_DEFINE_HANDLE_CASTS’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5154]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.c: scope_hint: In function ‘vk_spec_info_to_nir_spirv’
mesa-24.1.2-build/mesa-24.1.2/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): [#def5155]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:316:4: warning[-Wanalyzer-null-argument]: use of NULL ‘next_sl’ where non-null expected
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1102:7: note: in expansion of macro ‘typed_memcpy’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2296:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2296:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2394:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:2394:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:26: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1086:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1087:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1089:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1091:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c: scope_hint: In function ‘clone_rp_sample_locations’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/runtime/vk_render_pass.c:1102:7: note: in expansion of macro ‘typed_memcpy’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  314|   #define typed_memcpy(dest, src, count) do { \
#  315|      STATIC_ASSERT(sizeof(*(src)) == sizeof(*(dest))); \
#  316|->    memcpy((dest), (src), (count) * sizeof(*(src))); \
#  317|   } while (0)
#  318|   

Error: GCC_ANALYZER_WARNING (CWE-1335): [#def5156]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:329:38: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘32’)
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.c: scope_hint: In function ‘radv_GetPipelineExecutablePropertiesKHR’
mesa-24.1.2-build/mesa-24.1.2/src/compiler/shader_enums.h:31: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/glsl_types.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/amd/vulkan/radv_pipeline.h:16: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/util/macros.h:364:31: note: in definition of macro ‘MIN2’
#  327|   mesa_to_vk_shader_stage(gl_shader_stage mesa_stage)
#  328|   {
#  329|->    return (VkShaderStageFlagBits) (1 << ((uint32_t) mesa_stage));
#  330|   }
#  331|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5157]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c: scope_hint: In function ‘wsi_common_queue_present’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1367:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)s * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:40: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1364:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1365:16: note: in expansion of macro ‘MAX2’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1364:4: note: in expansion of macro ‘STACK_ARRAY’
# 1365|                  MAX2(1, pPresentInfo->waitSemaphoreCount));
# 1366|      for (uint32_t s = 0; s < MAX2(1, pPresentInfo->waitSemaphoreCount); s++)
# 1367|->       stage_flags[s] = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT;
# 1368|   
# 1369|      const VkPresentRegionsKHR *regions =

Error: CLANG_WARNING: [#def5158]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1506:13: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 1504|               has_signal_dma_buf = true;
# 1505|            } else if (result == VK_ERROR_FEATURE_NOT_PRESENT) {
# 1506|->             result = VK_SUCCESS;
# 1507|               has_signal_dma_buf = false;
# 1508|            } else {

Error: CLANG_WARNING: [#def5159]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common.c:1517:13: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 1515|               * chaining wsi_memory_signal_submit_info into VkSubmitInfo.
# 1516|               */
# 1517|->             result = VK_SUCCESS;
# 1518|               has_signal_dma_buf = false;
# 1519|               mem_signal = (struct wsi_memory_signal_submit_info) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5160]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c: scope_hint: In function ‘wsi_display_surface_get_capabilities2’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:973:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:54: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:940:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:940:7: note: in expansion of macro ‘vk_find_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:942:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:942:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c: scope_hint: In function ‘wsi_display_surface_get_capabilities2’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_display.c:948:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
#  971|               if (compat->presentModeCount) {
#  972|                  assert(present_mode);
#  973|->                compat->pPresentModes[0] = present_mode->presentMode;
#  974|                  compat->presentModeCount = 1;
#  975|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5161]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c: scope_hint: In function ‘wsi_create_native_image_mem’
mesa-24.1.2-build/mesa-24.1.2/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-476): [#def5162]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c: scope_hint: In function ‘wsi_drm_wait_for_explicit_sync_release’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:930:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)unacquired_image_count * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:33: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:914:4: note: in expansion of macro ‘STACK_ARRAY’
#  928|            continue;
#  929|   
#  930|->       flags[unacquired_image_count] = wsi_drm_image_explicit_sync_state(device, images[i]);
#  931|         handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  932|         points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5163]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:931:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)unacquired_image_count * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
#  929|   
#  930|         flags[unacquired_image_count] = wsi_drm_image_explicit_sync_state(device, images[i]);
#  931|->       handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  932|         points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  933|         indices[unacquired_image_count] = i;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5164]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:932:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)unacquired_image_count * 8’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:912:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
#  930|         flags[unacquired_image_count] = wsi_drm_image_explicit_sync_state(device, images[i]);
#  931|         handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  932|->       points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  933|         indices[unacquired_image_count] = i;
#  934|         unacquired_image_count++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5165]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:933:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)unacquired_image_count * 4’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:911:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_drm.c:913:4: note: in expansion of macro ‘STACK_ARRAY’
#  931|         handles[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].handle;
#  932|         points[unacquired_image_count] = images[i]->explicit_sync[WSI_ES_RELEASE].timeline;
#  933|->       indices[unacquired_image_count] = i;
#  934|         unacquired_image_count++;
#  935|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5166]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_headless.c: scope_hint: In function ‘wsi_create_null_image_mem’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_headless.c:404:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  402|         const struct VkDrmFormatModifierPropertiesEXT *mod_props =
#  403|            get_modifier_props(info, image->drm_modifier);
#  404|->       image->num_planes = mod_props->drmFormatModifierPlaneCount;
#  405|   
#  406|         for (uint32_t p = 0; p < image->num_planes; p++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5167]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_wait_for_explicit_sync_release_submission’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:1241:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 8’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:60: included_from: Included from here.
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:1239:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/util/vk_util.h:364:68: note: in definition of macro ‘STACK_ARRAY’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:1239:4: note: in expansion of macro ‘STACK_ARRAY’
# 1239|      STACK_ARRAY(struct wsi_image*, images, chain->base.image_count);
# 1240|      for (uint32_t i = 0; i < chain->base.image_count; i++)
# 1241|->       images[i] = &chain->images[i].base;
# 1242|   
# 1243|      VkResult result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5168]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:1596:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_manage_present_queue’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘x11_manage_present_queue’
# 1594|                             VkPresentModeKHR present_mode)
# 1595|   {
# 1596|->    if (wsi_conn->is_xwayland && !wsi_device->x11.xwaylandWaitReady) {
# 1597|         return false;
# 1598|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5169]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c: scope_hint: In function ‘wsi_x11_get_dri3_modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2246:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wsi_conn’
# 2244|                              const VkAllocationCallbacks *pAllocator)
# 2245|   {
# 2246|->    if (!wsi_conn->has_dri3_modifiers)
# 2247|         goto out;
# 2248|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def5170]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:23: note: write of 8 bytes to beyond the end of ‘modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:23: note: valid subscripts for ‘modifiers’ are ‘[0]’ to ‘[1]’
# 2300|   
# 2301|      for (int i = 0; i < n; i++) {
# 2302|->       modifiers_in[i] = modifiers[i];
# 2303|         num_modifiers_in[i] = counts[i];
# 2304|      }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def5171]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:34: note: read of 8 bytes from after the end of ‘modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2302:34: note: valid subscripts for ‘modifiers’ are ‘[0]’ to ‘[1]’
#                                          └──────────────────────────────┘
#                                                         ^
# 2300|   
# 2301|      for (int i = 0; i < n; i++) {
# 2302|->       modifiers_in[i] = modifiers[i];
# 2303|         num_modifiers_in[i] = counts[i];
# 2304|      }

Error: GCC_ANALYZER_WARNING (CWE-121): [#def5172]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:27: note: write of 4 bytes to beyond the end of ‘num_modifiers’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:27: note: valid subscripts for ‘num_modifiers’ are ‘[0]’ to ‘[1]’
# 2301|      for (int i = 0; i < n; i++) {
# 2302|         modifiers_in[i] = modifiers[i];
# 2303|->       num_modifiers_in[i] = counts[i];
# 2304|      }
# 2305|      *num_tranches_in = n;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def5173]
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:35: note: read of 4 bytes from after the end of ‘counts’
mesa-24.1.2-build/mesa-24.1.2/src/vulkan/wsi/wsi_common_x11.c:2303:35: note: valid subscripts for ‘counts’ are ‘[0]’ to ‘[1]’
#                                            └────────────────────────────┘
#                                                          ^
# 2301|      for (int i = 0; i < n; i++) {
# 2302|         modifiers_in[i] = modifiers[i];
# 2303|->       num_modifiers_in[i] = counts[i];
# 2304|      }
# 2305|      *num_tranches_in = n;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-149.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namemesa-24.1.2-6.fc41
store-results-to/tmp/tmpt0hhd7qs/mesa-24.1.2-6.fc41.tar.xz
time-created2024-07-03 17:11:49
time-finished2024-07-03 18:16:53
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpt0hhd7qs/mesa-24.1.2-6.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpt0hhd7qs/mesa-24.1.2-6.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9