Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:730:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dst’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c:34: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:747:27: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4128:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4128:4: note: in expansion of macro ‘foreach_list_typed_from’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_blend.c: scope_hint: In function ‘nir_blend_logicop’
#  728|   nir_f2f32(nir_builder *build, nir_def *src0)
#  729|   {
#  730|->    if (src0->bit_size == 32)
#  731|         return src0;
#  732|      return nir_build_alu1(build, nir_op_f2f32, src0);

Error: CLANG_WARNING: [#def2]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:50:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   48|      GET_CURRENT_CONTEXT(ctx);
#   49|      _mesa_glthread_finish_before(ctx, "GetFramebufferAttachmentParameteriv");
#   50|->    CALL_GetFramebufferAttachmentParameteriv(ctx->Dispatch.Current, (target, attachment, pname, params));
#   51|   }
#   52|   

Error: CLANG_WARNING: [#def3]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:82:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   80|      GLbitfield mask = cmd->mask;
#   81|      GLenum16 filter = cmd->filter;
#   82|->    CALL_BlitFramebuffer(ctx->Dispatch.Current, (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter));
#   83|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BlitFramebuffer), 8) / 8);
#   84|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def4]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:117:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  115|   {
#  116|      GLenum16 target = cmd->target;
#  117|->    CALL_GenerateMipmap(ctx->Dispatch.Current, (target));
#  118|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_GenerateMipmap), 8) / 8);
#  119|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def5]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:145:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  143|      GLuint index = cmd->index;
#  144|      GLuint divisor = cmd->divisor;
#  145|->    CALL_VertexAttribDivisor(ctx->Dispatch.Current, (index, divisor));
#  146|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribDivisor), 8) / 8);
#  147|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def6]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:177:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  175|      GLuint index = cmd->index;
#  176|      GLuint divisor = cmd->divisor;
#  177|->    CALL_VertexArrayVertexAttribDivisorEXT(ctx->Dispatch.Current, (vaobj, index, divisor));
#  178|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexArrayVertexAttribDivisorEXT), 8) / 8);
#  179|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def7]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:202:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  200|      GET_CURRENT_CONTEXT(ctx);
#  201|      _mesa_glthread_finish_before(ctx, "MapBufferRange");
#  202|->    return CALL_MapBufferRange(ctx->Dispatch.Current, (target, offset, length, access));
#  203|   }
#  204|   

Error: CLANG_WARNING: [#def8]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:220:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  218|      GLintptr offset = cmd->offset;
#  219|      GLsizeiptr length = cmd->length;
#  220|->    CALL_FlushMappedBufferRange(ctx->Dispatch.Current, (target, offset, length));
#  221|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_FlushMappedBufferRange), 8) / 8);
#  222|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def9]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:252:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  250|      GLenum16 internalFormat = cmd->internalFormat;
#  251|      GLuint buffer = cmd->buffer;
#  252|->    CALL_TexBuffer(ctx->Dispatch.Current, (target, internalFormat, buffer));
#  253|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexBuffer), 8) / 8);
#  254|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def10]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:280:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  278|   {
#  279|      GLuint array = cmd->array;
#  280|->    CALL_BindVertexArray(ctx->Dispatch.Current, (array));
#  281|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BindVertexArray), 8) / 8);
#  282|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def11]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:311:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  309|      const char *variable_data = (const char *) (cmd + 1);
#  310|      arrays = (GLuint *) variable_data;
#  311|->    CALL_DeleteVertexArrays(ctx->Dispatch.Current, (n, arrays));
#  312|      return cmd->cmd_base.cmd_size;
#  313|   }

Error: CLANG_WARNING: [#def12]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:323:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  321|      if (unlikely(arrays_size < 0 || (arrays_size > 0 && !arrays) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  322|         _mesa_glthread_finish_before(ctx, "DeleteVertexArrays");
#  323|->       CALL_DeleteVertexArrays(ctx->Dispatch.Current, (n, arrays));
#  324|         _mesa_glthread_DeleteVertexArrays(ctx, n, arrays);
#  325|         return;

Error: CLANG_WARNING: [#def13]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:341:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  339|      GET_CURRENT_CONTEXT(ctx);
#  340|      _mesa_glthread_finish_before(ctx, "GenVertexArrays");
#  341|->    CALL_GenVertexArrays(ctx->Dispatch.Current, (n, arrays));
#  342|      _mesa_glthread_GenVertexArrays(ctx, n, arrays);
#  343|   }

Error: CLANG_WARNING: [#def14]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:352:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  350|      GET_CURRENT_CONTEXT(ctx);
#  351|      _mesa_glthread_finish_before(ctx, "IsVertexArray");
#  352|->    return CALL_IsVertexArray(ctx->Dispatch.Current, (array));
#  353|   }
#  354|   

Error: CLANG_WARNING: [#def15]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:362:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  360|      GET_CURRENT_CONTEXT(ctx);
#  361|      _mesa_glthread_finish_before(ctx, "GetUniformIndices");
#  362|->    CALL_GetUniformIndices(ctx->Dispatch.Current, (program, uniformCount, uniformNames, uniformIndices));
#  363|   }
#  364|   

Error: CLANG_WARNING: [#def16]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:372:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  370|      GET_CURRENT_CONTEXT(ctx);
#  371|      _mesa_glthread_finish_before(ctx, "GetActiveUniformsiv");
#  372|->    CALL_GetActiveUniformsiv(ctx->Dispatch.Current, (program, uniformCount, uniformIndices, pname, params));
#  373|   }
#  374|   

Error: CLANG_WARNING: [#def17]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:382:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  380|      GET_CURRENT_CONTEXT(ctx);
#  381|      _mesa_glthread_finish_before(ctx, "GetActiveUniformName");
#  382|->    CALL_GetActiveUniformName(ctx->Dispatch.Current, (program, uniformIndex, bufSize, length, uniformName));
#  383|   }
#  384|   

Error: CLANG_WARNING: [#def18]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:392:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  390|      GET_CURRENT_CONTEXT(ctx);
#  391|      _mesa_glthread_finish_before(ctx, "GetUniformBlockIndex");
#  392|->    return CALL_GetUniformBlockIndex(ctx->Dispatch.Current, (program, uniformBlockName));
#  393|   }
#  394|   

Error: CLANG_WARNING: [#def19]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:402:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  400|      GET_CURRENT_CONTEXT(ctx);
#  401|      _mesa_glthread_finish_before(ctx, "GetActiveUniformBlockiv");
#  402|->    CALL_GetActiveUniformBlockiv(ctx->Dispatch.Current, (program, uniformBlockIndex, pname, params));
#  403|   }
#  404|   

Error: CLANG_WARNING: [#def20]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:412:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  410|      GET_CURRENT_CONTEXT(ctx);
#  411|      _mesa_glthread_finish_before(ctx, "GetActiveUniformBlockName");
#  412|->    CALL_GetActiveUniformBlockName(ctx->Dispatch.Current, (program, uniformBlockIndex, bufSize, length, uniformBlockName));
#  413|   }
#  414|   

Error: CLANG_WARNING: [#def21]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:430:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  428|      GLuint uniformBlockIndex = cmd->uniformBlockIndex;
#  429|      GLuint uniformBlockBinding = cmd->uniformBlockBinding;
#  430|->    CALL_UniformBlockBinding(ctx->Dispatch.Current, (program, uniformBlockIndex, uniformBlockBinding));
#  431|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_UniformBlockBinding), 8) / 8);
#  432|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def22]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:466:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  464|      GLintptr writeOffset = cmd->writeOffset;
#  465|      GLsizeiptr size = cmd->size;
#  466|->    CALL_CopyBufferSubData(ctx->Dispatch.Current, (readTarget, writeTarget, readOffset, writeOffset, size));
#  467|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_CopyBufferSubData), 8) / 8);
#  468|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def23]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:492:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  490|      GET_CURRENT_CONTEXT(ctx);
#  491|      _mesa_glthread_finish_before(ctx, "FenceSync");
#  492|->    return CALL_FenceSync(ctx->Dispatch.Current, (condition, flags));
#  493|   }
#  494|   

Error: CLANG_WARNING: [#def24]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:502:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  500|      GET_CURRENT_CONTEXT(ctx);
#  501|      _mesa_glthread_finish_before(ctx, "IsSync");
#  502|->    return CALL_IsSync(ctx->Dispatch.Current, (sync));
#  503|   }
#  504|   

Error: CLANG_WARNING: [#def25]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:516:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  514|   {
#  515|      GLsync sync = cmd->sync;
#  516|->    CALL_DeleteSync(ctx->Dispatch.Current, (sync));
#  517|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_DeleteSync), 8) / 8);
#  518|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def26]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:538:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  536|      GET_CURRENT_CONTEXT(ctx);
#  537|      _mesa_glthread_finish_before(ctx, "ClientWaitSync");
#  538|->    return CALL_ClientWaitSync(ctx->Dispatch.Current, (sync, flags, timeout));
#  539|   }
#  540|   

Error: CLANG_WARNING: [#def27]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:556:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  554|      GLbitfield flags = cmd->flags;
#  555|      GLuint64 timeout = cmd->timeout;
#  556|->    CALL_WaitSync(ctx->Dispatch.Current, (sync, flags, timeout));
#  557|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_WaitSync), 8) / 8);
#  558|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def28]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:580:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  578|      GET_CURRENT_CONTEXT(ctx);
#  579|      _mesa_glthread_finish_before(ctx, "GetInteger64v");
#  580|->    CALL_GetInteger64v(ctx->Dispatch.Current, (pname, params));
#  581|   }
#  582|   

Error: CLANG_WARNING: [#def29]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:590:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  588|      GET_CURRENT_CONTEXT(ctx);
#  589|      _mesa_glthread_finish_before(ctx, "GetSynciv");
#  590|->    CALL_GetSynciv(ctx->Dispatch.Current, (sync, pname, bufSize, length, values));
#  591|   }
#  592|   

Error: CLANG_WARNING: [#def30]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:614:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  612|      GLsizei height = cmd->height;
#  613|      GLboolean fixedsamplelocations = cmd->fixedsamplelocations;
#  614|->    CALL_TexImage2DMultisample(ctx->Dispatch.Current, (target, samples, internalformat, width, height, fixedsamplelocations));
#  615|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexImage2DMultisample), 8) / 8);
#  616|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def31]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:657:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  655|      GLsizei depth = cmd->depth;
#  656|      GLboolean fixedsamplelocations = cmd->fixedsamplelocations;
#  657|->    CALL_TexImage3DMultisample(ctx->Dispatch.Current, (target, samples, internalformat, width, height, depth, fixedsamplelocations));
#  658|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexImage3DMultisample), 8) / 8);
#  659|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def32]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:685:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  683|      GET_CURRENT_CONTEXT(ctx);
#  684|      _mesa_glthread_finish_before(ctx, "GetMultisamplefv");
#  685|->    CALL_GetMultisamplefv(ctx->Dispatch.Current, (pname, index, val));
#  686|   }
#  687|   

Error: CLANG_WARNING: [#def33]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:701:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  699|      GLuint index = cmd->index;
#  700|      GLbitfield mask = cmd->mask;
#  701|->    CALL_SampleMaski(ctx->Dispatch.Current, (index, mask));
#  702|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_SampleMaski), 8) / 8);
#  703|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def34]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:730:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  728|      GLuint buf = cmd->buf;
#  729|      GLenum16 mode = cmd->mode;
#  730|->    CALL_BlendEquationiARB(ctx->Dispatch.Current, (buf, mode));
#  731|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BlendEquationiARB), 8) / 8);
#  732|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def35]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:761:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  759|      GLenum16 modeRGB = cmd->modeRGB;
#  760|      GLenum16 modeA = cmd->modeA;
#  761|->    CALL_BlendEquationSeparateiARB(ctx->Dispatch.Current, (buf, modeRGB, modeA));
#  762|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BlendEquationSeparateiARB), 8) / 8);
#  763|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def36]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:793:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  791|      GLenum16 src = cmd->src;
#  792|      GLenum16 dst = cmd->dst;
#  793|->    CALL_BlendFunciARB(ctx->Dispatch.Current, (buf, src, dst));
#  794|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BlendFunciARB), 8) / 8);
#  795|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def37]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:829:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  827|      GLenum16 srcA = cmd->srcA;
#  828|      GLenum16 dstA = cmd->dstA;
#  829|->    CALL_BlendFuncSeparateiARB(ctx->Dispatch.Current, (buf, srcRGB, dstRGB, srcA, dstA));
#  830|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BlendFuncSeparateiARB), 8) / 8);
#  831|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def38]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:859:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  857|   {
#  858|      GLfloat value = cmd->value;
#  859|->    CALL_MinSampleShading(ctx->Dispatch.Current, (value));
#  860|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MinSampleShading), 8) / 8);
#  861|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def39]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:897:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  895|      variable_data += namelen;
#  896|      string = (GLchar *) variable_data;
#  897|->    CALL_NamedStringARB(ctx->Dispatch.Current, (type, namelen, name, stringlen, string));
#  898|      return cmd->cmd_base.cmd_size;
#  899|   }

Error: CLANG_WARNING: [#def40]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:910:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  908|      if (unlikely(name_size < 0 || (name_size > 0 && !name) || string_size < 0 || (string_size > 0 && !string) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  909|         _mesa_glthread_finish_before(ctx, "NamedStringARB");
#  910|->       CALL_NamedStringARB(ctx->Dispatch.Current, (type, namelen, name, stringlen, string));
#  911|         return;
#  912|      }

Error: CLANG_WARNING: [#def41]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:938:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  936|      const char *variable_data = (const char *) (cmd + 1);
#  937|      name = (GLchar *) variable_data;
#  938|->    CALL_DeleteNamedStringARB(ctx->Dispatch.Current, (namelen, name));
#  939|      return cmd->cmd_base.cmd_size;
#  940|   }

Error: CLANG_WARNING: [#def42]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:950:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  948|      if (unlikely(name_size < 0 || (name_size > 0 && !name) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
#  949|         _mesa_glthread_finish_before(ctx, "DeleteNamedStringARB");
#  950|->       CALL_DeleteNamedStringARB(ctx->Dispatch.Current, (namelen, name));
#  951|         return;
#  952|      }

Error: CLANG_WARNING: [#def43]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:966:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  964|      GET_CURRENT_CONTEXT(ctx);
#  965|      _mesa_glthread_finish_before(ctx, "CompileShaderIncludeARB");
#  966|->    CALL_CompileShaderIncludeARB(ctx->Dispatch.Current, (shader, count, path, length));
#  967|   }
#  968|   

Error: CLANG_WARNING: [#def44]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:976:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  974|      GET_CURRENT_CONTEXT(ctx);
#  975|      _mesa_glthread_finish_before(ctx, "IsNamedStringARB");
#  976|->    return CALL_IsNamedStringARB(ctx->Dispatch.Current, (namelen, name));
#  977|   }
#  978|   

Error: CLANG_WARNING: [#def45]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:986:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  984|      GET_CURRENT_CONTEXT(ctx);
#  985|      _mesa_glthread_finish_before(ctx, "GetNamedStringARB");
#  986|->    CALL_GetNamedStringARB(ctx->Dispatch.Current, (namelen, name, bufSize, stringlen, string));
#  987|   }
#  988|   

Error: CLANG_WARNING: [#def46]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:996:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  994|      GET_CURRENT_CONTEXT(ctx);
#  995|      _mesa_glthread_finish_before(ctx, "GetNamedStringivARB");
#  996|->    CALL_GetNamedStringivARB(ctx->Dispatch.Current, (namelen, name, pname, params));
#  997|   }
#  998|   

Error: CLANG_WARNING: [#def47]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1018:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1016|      const char *variable_data = (const char *) (cmd + 1);
# 1017|      name = (GLchar *) variable_data;
# 1018|->    CALL_BindFragDataLocationIndexed(ctx->Dispatch.Current, (program, colorNumber, index, name));
# 1019|      return cmd->cmd_base.cmd_size;
# 1020|   }

Error: CLANG_WARNING: [#def48]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1030:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1028|      if (unlikely(name_size < 0 || (name_size > 0 && !name) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1029|         _mesa_glthread_finish_before(ctx, "BindFragDataLocationIndexed");
# 1030|->       CALL_BindFragDataLocationIndexed(ctx->Dispatch.Current, (program, colorNumber, index, name));
# 1031|         return;
# 1032|      }

Error: CLANG_WARNING: [#def49]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1048:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1046|      GET_CURRENT_CONTEXT(ctx);
# 1047|      _mesa_glthread_finish_before(ctx, "GetFragDataIndex");
# 1048|->    return CALL_GetFragDataIndex(ctx->Dispatch.Current, (program, name));
# 1049|   }
# 1050|   

Error: CLANG_WARNING: [#def50]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1058:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1056|      GET_CURRENT_CONTEXT(ctx);
# 1057|      _mesa_glthread_finish_before(ctx, "GenSamplers");
# 1058|->    CALL_GenSamplers(ctx->Dispatch.Current, (count, samplers));
# 1059|   }
# 1060|   

Error: CLANG_WARNING: [#def51]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1076:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1074|      const char *variable_data = (const char *) (cmd + 1);
# 1075|      samplers = (GLuint *) variable_data;
# 1076|->    CALL_DeleteSamplers(ctx->Dispatch.Current, (count, samplers));
# 1077|      return cmd->cmd_base.cmd_size;
# 1078|   }

Error: CLANG_WARNING: [#def52]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1088:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1086|      if (unlikely(samplers_size < 0 || (samplers_size > 0 && !samplers) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1087|         _mesa_glthread_finish_before(ctx, "DeleteSamplers");
# 1088|->       CALL_DeleteSamplers(ctx->Dispatch.Current, (count, samplers));
# 1089|         return;
# 1090|      }

Error: CLANG_WARNING: [#def53]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1104:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1102|      GET_CURRENT_CONTEXT(ctx);
# 1103|      _mesa_glthread_finish_before(ctx, "IsSampler");
# 1104|->    return CALL_IsSampler(ctx->Dispatch.Current, (sampler));
# 1105|   }
# 1106|   

Error: CLANG_WARNING: [#def54]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1120:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1118|      GLuint unit = cmd->unit;
# 1119|      GLuint sampler = cmd->sampler;
# 1120|->    CALL_BindSampler(ctx->Dispatch.Current, (unit, sampler));
# 1121|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_BindSampler), 8) / 8);
# 1122|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def55]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1151:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1149|      GLenum16 pname = cmd->pname;
# 1150|      GLint param = cmd->param;
# 1151|->    CALL_SamplerParameteri(ctx->Dispatch.Current, (sampler, pname, param));
# 1152|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_SamplerParameteri), 8) / 8);
# 1153|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def56]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1183:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1181|      GLenum16 pname = cmd->pname;
# 1182|      GLfloat param = cmd->param;
# 1183|->    CALL_SamplerParameterf(ctx->Dispatch.Current, (sampler, pname, param));
# 1184|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_SamplerParameterf), 8) / 8);
# 1185|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def57]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1217:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1215|      const char *variable_data = (const char *) (cmd + 1);
# 1216|      params = (GLint *) variable_data;
# 1217|->    CALL_SamplerParameteriv(ctx->Dispatch.Current, (sampler, pname, params));
# 1218|      return cmd->cmd_base.cmd_size;
# 1219|   }

Error: CLANG_WARNING: [#def58]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1229:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1227|      if (unlikely(params_size < 0 || (params_size > 0 && !params) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1228|         _mesa_glthread_finish_before(ctx, "SamplerParameteriv");
# 1229|->       CALL_SamplerParameteriv(ctx->Dispatch.Current, (sampler, pname, params));
# 1230|         return;
# 1231|      }

Error: CLANG_WARNING: [#def59]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1256:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1254|      const char *variable_data = (const char *) (cmd + 1);
# 1255|      params = (GLfloat *) variable_data;
# 1256|->    CALL_SamplerParameterfv(ctx->Dispatch.Current, (sampler, pname, params));
# 1257|      return cmd->cmd_base.cmd_size;
# 1258|   }

Error: CLANG_WARNING: [#def60]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1268:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1266|      if (unlikely(params_size < 0 || (params_size > 0 && !params) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1267|         _mesa_glthread_finish_before(ctx, "SamplerParameterfv");
# 1268|->       CALL_SamplerParameterfv(ctx->Dispatch.Current, (sampler, pname, params));
# 1269|         return;
# 1270|      }

Error: CLANG_WARNING: [#def61]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1295:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1293|      const char *variable_data = (const char *) (cmd + 1);
# 1294|      params = (GLint *) variable_data;
# 1295|->    CALL_SamplerParameterIiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1296|      return cmd->cmd_base.cmd_size;
# 1297|   }

Error: CLANG_WARNING: [#def62]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1307:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1305|      if (unlikely(params_size < 0 || (params_size > 0 && !params) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1306|         _mesa_glthread_finish_before(ctx, "SamplerParameterIiv");
# 1307|->       CALL_SamplerParameterIiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1308|         return;
# 1309|      }

Error: CLANG_WARNING: [#def63]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1334:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1332|      const char *variable_data = (const char *) (cmd + 1);
# 1333|      params = (GLuint *) variable_data;
# 1334|->    CALL_SamplerParameterIuiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1335|      return cmd->cmd_base.cmd_size;
# 1336|   }

Error: CLANG_WARNING: [#def64]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1346:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1344|      if (unlikely(params_size < 0 || (params_size > 0 && !params) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 1345|         _mesa_glthread_finish_before(ctx, "SamplerParameterIuiv");
# 1346|->       CALL_SamplerParameterIuiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1347|         return;
# 1348|      }

Error: CLANG_WARNING: [#def65]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1363:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1361|      GET_CURRENT_CONTEXT(ctx);
# 1362|      _mesa_glthread_finish_before(ctx, "GetSamplerParameteriv");
# 1363|->    CALL_GetSamplerParameteriv(ctx->Dispatch.Current, (sampler, pname, params));
# 1364|   }
# 1365|   

Error: CLANG_WARNING: [#def66]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1373:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1371|      GET_CURRENT_CONTEXT(ctx);
# 1372|      _mesa_glthread_finish_before(ctx, "GetSamplerParameterfv");
# 1373|->    CALL_GetSamplerParameterfv(ctx->Dispatch.Current, (sampler, pname, params));
# 1374|   }
# 1375|   

Error: CLANG_WARNING: [#def67]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1383:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1381|      GET_CURRENT_CONTEXT(ctx);
# 1382|      _mesa_glthread_finish_before(ctx, "GetSamplerParameterIiv");
# 1383|->    CALL_GetSamplerParameterIiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1384|   }
# 1385|   

Error: CLANG_WARNING: [#def68]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1393:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1391|      GET_CURRENT_CONTEXT(ctx);
# 1392|      _mesa_glthread_finish_before(ctx, "GetSamplerParameterIuiv");
# 1393|->    CALL_GetSamplerParameterIuiv(ctx->Dispatch.Current, (sampler, pname, params));
# 1394|   }
# 1395|   

Error: CLANG_WARNING: [#def69]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1403:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1401|      GET_CURRENT_CONTEXT(ctx);
# 1402|      _mesa_glthread_finish_before(ctx, "GetQueryObjecti64v");
# 1403|->    CALL_GetQueryObjecti64v(ctx->Dispatch.Current, (id, pname, params));
# 1404|   }
# 1405|   

Error: CLANG_WARNING: [#def70]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1413:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1411|      GET_CURRENT_CONTEXT(ctx);
# 1412|      _mesa_glthread_finish_before(ctx, "GetQueryObjectui64v");
# 1413|->    CALL_GetQueryObjectui64v(ctx->Dispatch.Current, (id, pname, params));
# 1414|   }
# 1415|   

Error: CLANG_WARNING: [#def71]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1429:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1427|      GLuint id = cmd->id;
# 1428|      GLenum16 target = cmd->target;
# 1429|->    CALL_QueryCounter(ctx->Dispatch.Current, (id, target));
# 1430|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_QueryCounter), 8) / 8);
# 1431|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def72]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1458:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1456|      GLenum16 type = cmd->type;
# 1457|      GLuint value = cmd->value;
# 1458|->    CALL_VertexP2ui(ctx->Dispatch.Current, (type, value));
# 1459|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP2ui), 8) / 8);
# 1460|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def73]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1487:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1485|      GLenum16 type = cmd->type;
# 1486|      GLuint value = cmd->value;
# 1487|->    CALL_VertexP3ui(ctx->Dispatch.Current, (type, value));
# 1488|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP3ui), 8) / 8);
# 1489|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def74]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1516:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1514|      GLenum16 type = cmd->type;
# 1515|      GLuint value = cmd->value;
# 1516|->    CALL_VertexP4ui(ctx->Dispatch.Current, (type, value));
# 1517|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP4ui), 8) / 8);
# 1518|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def75]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1545:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1543|      GLenum16 type = cmd->type;
# 1544|      const GLuint *value = cmd->value;
# 1545|->    CALL_VertexP2uiv(ctx->Dispatch.Current, (type, value));
# 1546|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP2uiv), 8) / 8);
# 1547|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def76]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1574:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1572|      GLenum16 type = cmd->type;
# 1573|      const GLuint *value = cmd->value;
# 1574|->    CALL_VertexP3uiv(ctx->Dispatch.Current, (type, value));
# 1575|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP3uiv), 8) / 8);
# 1576|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def77]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1603:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1601|      GLenum16 type = cmd->type;
# 1602|      const GLuint *value = cmd->value;
# 1603|->    CALL_VertexP4uiv(ctx->Dispatch.Current, (type, value));
# 1604|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexP4uiv), 8) / 8);
# 1605|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def78]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1632:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1630|      GLenum16 type = cmd->type;
# 1631|      GLuint coords = cmd->coords;
# 1632|->    CALL_TexCoordP1ui(ctx->Dispatch.Current, (type, coords));
# 1633|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP1ui), 8) / 8);
# 1634|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def79]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1661:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1659|      GLenum16 type = cmd->type;
# 1660|      GLuint coords = cmd->coords;
# 1661|->    CALL_TexCoordP2ui(ctx->Dispatch.Current, (type, coords));
# 1662|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP2ui), 8) / 8);
# 1663|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def80]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1690:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1688|      GLenum16 type = cmd->type;
# 1689|      GLuint coords = cmd->coords;
# 1690|->    CALL_TexCoordP3ui(ctx->Dispatch.Current, (type, coords));
# 1691|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP3ui), 8) / 8);
# 1692|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def81]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1719:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1717|      GLenum16 type = cmd->type;
# 1718|      GLuint coords = cmd->coords;
# 1719|->    CALL_TexCoordP4ui(ctx->Dispatch.Current, (type, coords));
# 1720|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP4ui), 8) / 8);
# 1721|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def82]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1748:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1746|      GLenum16 type = cmd->type;
# 1747|      const GLuint *coords = cmd->coords;
# 1748|->    CALL_TexCoordP1uiv(ctx->Dispatch.Current, (type, coords));
# 1749|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP1uiv), 8) / 8);
# 1750|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def83]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1777:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1775|      GLenum16 type = cmd->type;
# 1776|      const GLuint *coords = cmd->coords;
# 1777|->    CALL_TexCoordP2uiv(ctx->Dispatch.Current, (type, coords));
# 1778|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP2uiv), 8) / 8);
# 1779|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def84]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1806:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1804|      GLenum16 type = cmd->type;
# 1805|      const GLuint *coords = cmd->coords;
# 1806|->    CALL_TexCoordP3uiv(ctx->Dispatch.Current, (type, coords));
# 1807|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP3uiv), 8) / 8);
# 1808|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def85]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1835:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1833|      GLenum16 type = cmd->type;
# 1834|      const GLuint *coords = cmd->coords;
# 1835|->    CALL_TexCoordP4uiv(ctx->Dispatch.Current, (type, coords));
# 1836|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_TexCoordP4uiv), 8) / 8);
# 1837|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def86]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1866:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1864|      GLenum16 type = cmd->type;
# 1865|      GLuint coords = cmd->coords;
# 1866|->    CALL_MultiTexCoordP1ui(ctx->Dispatch.Current, (texture, type, coords));
# 1867|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP1ui), 8) / 8);
# 1868|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def87]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1898:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1896|      GLenum16 type = cmd->type;
# 1897|      GLuint coords = cmd->coords;
# 1898|->    CALL_MultiTexCoordP2ui(ctx->Dispatch.Current, (texture, type, coords));
# 1899|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP2ui), 8) / 8);
# 1900|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def88]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1930:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1928|      GLenum16 type = cmd->type;
# 1929|      GLuint coords = cmd->coords;
# 1930|->    CALL_MultiTexCoordP3ui(ctx->Dispatch.Current, (texture, type, coords));
# 1931|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP3ui), 8) / 8);
# 1932|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def89]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1962:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1960|      GLenum16 type = cmd->type;
# 1961|      GLuint coords = cmd->coords;
# 1962|->    CALL_MultiTexCoordP4ui(ctx->Dispatch.Current, (texture, type, coords));
# 1963|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP4ui), 8) / 8);
# 1964|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def90]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:1994:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1992|      GLenum16 type = cmd->type;
# 1993|      const GLuint *coords = cmd->coords;
# 1994|->    CALL_MultiTexCoordP1uiv(ctx->Dispatch.Current, (texture, type, coords));
# 1995|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP1uiv), 8) / 8);
# 1996|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def91]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2026:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2024|      GLenum16 type = cmd->type;
# 2025|      const GLuint *coords = cmd->coords;
# 2026|->    CALL_MultiTexCoordP2uiv(ctx->Dispatch.Current, (texture, type, coords));
# 2027|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP2uiv), 8) / 8);
# 2028|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def92]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2058:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2056|      GLenum16 type = cmd->type;
# 2057|      const GLuint *coords = cmd->coords;
# 2058|->    CALL_MultiTexCoordP3uiv(ctx->Dispatch.Current, (texture, type, coords));
# 2059|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP3uiv), 8) / 8);
# 2060|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def93]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2090:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2088|      GLenum16 type = cmd->type;
# 2089|      const GLuint *coords = cmd->coords;
# 2090|->    CALL_MultiTexCoordP4uiv(ctx->Dispatch.Current, (texture, type, coords));
# 2091|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_MultiTexCoordP4uiv), 8) / 8);
# 2092|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def94]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2120:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2118|      GLenum16 type = cmd->type;
# 2119|      GLuint coords = cmd->coords;
# 2120|->    CALL_NormalP3ui(ctx->Dispatch.Current, (type, coords));
# 2121|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_NormalP3ui), 8) / 8);
# 2122|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def95]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2149:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2147|      GLenum16 type = cmd->type;
# 2148|      const GLuint *coords = cmd->coords;
# 2149|->    CALL_NormalP3uiv(ctx->Dispatch.Current, (type, coords));
# 2150|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_NormalP3uiv), 8) / 8);
# 2151|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def96]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2178:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2176|      GLenum16 type = cmd->type;
# 2177|      GLuint color = cmd->color;
# 2178|->    CALL_ColorP3ui(ctx->Dispatch.Current, (type, color));
# 2179|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ColorP3ui), 8) / 8);
# 2180|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def97]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2207:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2205|      GLenum16 type = cmd->type;
# 2206|      GLuint color = cmd->color;
# 2207|->    CALL_ColorP4ui(ctx->Dispatch.Current, (type, color));
# 2208|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ColorP4ui), 8) / 8);
# 2209|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def98]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2236:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2234|      GLenum16 type = cmd->type;
# 2235|      const GLuint *color = cmd->color;
# 2236|->    CALL_ColorP3uiv(ctx->Dispatch.Current, (type, color));
# 2237|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ColorP3uiv), 8) / 8);
# 2238|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def99]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2265:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2263|      GLenum16 type = cmd->type;
# 2264|      const GLuint *color = cmd->color;
# 2265|->    CALL_ColorP4uiv(ctx->Dispatch.Current, (type, color));
# 2266|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ColorP4uiv), 8) / 8);
# 2267|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def100]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2294:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2292|      GLenum16 type = cmd->type;
# 2293|      GLuint color = cmd->color;
# 2294|->    CALL_SecondaryColorP3ui(ctx->Dispatch.Current, (type, color));
# 2295|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_SecondaryColorP3ui), 8) / 8);
# 2296|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def101]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2323:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2321|      GLenum16 type = cmd->type;
# 2322|      const GLuint *color = cmd->color;
# 2323|->    CALL_SecondaryColorP3uiv(ctx->Dispatch.Current, (type, color));
# 2324|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_SecondaryColorP3uiv), 8) / 8);
# 2325|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def102]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2356:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2354|      GLboolean normalized = cmd->normalized;
# 2355|      GLuint value = cmd->value;
# 2356|->    CALL_VertexAttribP1ui(ctx->Dispatch.Current, (index, type, normalized, value));
# 2357|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP1ui), 8) / 8);
# 2358|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def103]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2391:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2389|      GLboolean normalized = cmd->normalized;
# 2390|      GLuint value = cmd->value;
# 2391|->    CALL_VertexAttribP2ui(ctx->Dispatch.Current, (index, type, normalized, value));
# 2392|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP2ui), 8) / 8);
# 2393|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def104]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2426:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2424|      GLboolean normalized = cmd->normalized;
# 2425|      GLuint value = cmd->value;
# 2426|->    CALL_VertexAttribP3ui(ctx->Dispatch.Current, (index, type, normalized, value));
# 2427|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP3ui), 8) / 8);
# 2428|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def105]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2461:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2459|      GLboolean normalized = cmd->normalized;
# 2460|      GLuint value = cmd->value;
# 2461|->    CALL_VertexAttribP4ui(ctx->Dispatch.Current, (index, type, normalized, value));
# 2462|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP4ui), 8) / 8);
# 2463|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def106]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2496:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2494|      GLboolean normalized = cmd->normalized;
# 2495|      const GLuint *value = cmd->value;
# 2496|->    CALL_VertexAttribP1uiv(ctx->Dispatch.Current, (index, type, normalized, value));
# 2497|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP1uiv), 8) / 8);
# 2498|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def107]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2531:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2529|      GLboolean normalized = cmd->normalized;
# 2530|      const GLuint *value = cmd->value;
# 2531|->    CALL_VertexAttribP2uiv(ctx->Dispatch.Current, (index, type, normalized, value));
# 2532|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP2uiv), 8) / 8);
# 2533|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def108]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2566:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2564|      GLboolean normalized = cmd->normalized;
# 2565|      const GLuint *value = cmd->value;
# 2566|->    CALL_VertexAttribP3uiv(ctx->Dispatch.Current, (index, type, normalized, value));
# 2567|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP3uiv), 8) / 8);
# 2568|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def109]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2601:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2599|      GLboolean normalized = cmd->normalized;
# 2600|      const GLuint *value = cmd->value;
# 2601|->    CALL_VertexAttribP4uiv(ctx->Dispatch.Current, (index, type, normalized, value));
# 2602|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_VertexAttribP4uiv), 8) / 8);
# 2603|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def110]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2626:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2624|      GET_CURRENT_CONTEXT(ctx);
# 2625|      _mesa_glthread_finish_before(ctx, "GetSubroutineUniformLocation");
# 2626|->    return CALL_GetSubroutineUniformLocation(ctx->Dispatch.Current, (program, shadertype, name));
# 2627|   }
# 2628|   

Error: CLANG_WARNING: [#def111]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2636:11: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2634|      GET_CURRENT_CONTEXT(ctx);
# 2635|      _mesa_glthread_finish_before(ctx, "GetSubroutineIndex");
# 2636|->    return CALL_GetSubroutineIndex(ctx->Dispatch.Current, (program, shadertype, name));
# 2637|   }
# 2638|   

Error: CLANG_WARNING: [#def112]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2646:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2644|      GET_CURRENT_CONTEXT(ctx);
# 2645|      _mesa_glthread_finish_before(ctx, "GetActiveSubroutineUniformiv");
# 2646|->    CALL_GetActiveSubroutineUniformiv(ctx->Dispatch.Current, (program, shadertype, index, pname, values));
# 2647|   }
# 2648|   

Error: CLANG_WARNING: [#def113]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2656:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2654|      GET_CURRENT_CONTEXT(ctx);
# 2655|      _mesa_glthread_finish_before(ctx, "GetActiveSubroutineUniformName");
# 2656|->    CALL_GetActiveSubroutineUniformName(ctx->Dispatch.Current, (program, shadertype, index, bufsize, length, name));
# 2657|   }
# 2658|   

Error: CLANG_WARNING: [#def114]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2666:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2664|      GET_CURRENT_CONTEXT(ctx);
# 2665|      _mesa_glthread_finish_before(ctx, "GetActiveSubroutineName");
# 2666|->    CALL_GetActiveSubroutineName(ctx->Dispatch.Current, (program, shadertype, index, bufsize, length, name));
# 2667|   }
# 2668|   

Error: CLANG_WARNING: [#def115]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2686:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2684|      const char *variable_data = (const char *) (cmd + 1);
# 2685|      indices = (GLuint *) variable_data;
# 2686|->    CALL_UniformSubroutinesuiv(ctx->Dispatch.Current, (shadertype, count, indices));
# 2687|      return cmd->cmd_base.cmd_size;
# 2688|   }

Error: CLANG_WARNING: [#def116]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2698:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2696|      if (unlikely(indices_size < 0 || (indices_size > 0 && !indices) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2697|         _mesa_glthread_finish_before(ctx, "UniformSubroutinesuiv");
# 2698|->       CALL_UniformSubroutinesuiv(ctx->Dispatch.Current, (shadertype, count, indices));
# 2699|         return;
# 2700|      }

Error: CLANG_WARNING: [#def117]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2715:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2713|      GET_CURRENT_CONTEXT(ctx);
# 2714|      _mesa_glthread_finish_before(ctx, "GetUniformSubroutineuiv");
# 2715|->    CALL_GetUniformSubroutineuiv(ctx->Dispatch.Current, (shadertype, location, params));
# 2716|   }
# 2717|   

Error: CLANG_WARNING: [#def118]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2725:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2723|      GET_CURRENT_CONTEXT(ctx);
# 2724|      _mesa_glthread_finish_before(ctx, "GetProgramStageiv");
# 2725|->    CALL_GetProgramStageiv(ctx->Dispatch.Current, (program, shadertype, pname, values));
# 2726|   }
# 2727|   

Error: CLANG_WARNING: [#def119]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2741:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2739|      GLenum16 pname = cmd->pname;
# 2740|      GLint value = cmd->value;
# 2741|->    CALL_PatchParameteri(ctx->Dispatch.Current, (pname, value));
# 2742|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_PatchParameteri), 8) / 8);
# 2743|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def120]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2772:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2770|      const char *variable_data = (const char *) (cmd + 1);
# 2771|      values = (GLfloat *) variable_data;
# 2772|->    CALL_PatchParameterfv(ctx->Dispatch.Current, (pname, values));
# 2773|      return cmd->cmd_base.cmd_size;
# 2774|   }

Error: CLANG_WARNING: [#def121]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2784:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2782|      if (unlikely(values_size < 0 || (values_size > 0 && !values) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2783|         _mesa_glthread_finish_before(ctx, "PatchParameterfv");
# 2784|->       CALL_PatchParameterfv(ctx->Dispatch.Current, (pname, values));
# 2785|         return;
# 2786|      }

Error: CLANG_WARNING: [#def122]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2806:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2804|      GLint location = cmd->location;
# 2805|      GLdouble x = cmd->x;
# 2806|->    CALL_Uniform1d(ctx->Dispatch.Current, (location, x));
# 2807|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_Uniform1d), 8) / 8);
# 2808|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def123]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2837:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2835|      GLdouble x = cmd->x;
# 2836|      GLdouble y = cmd->y;
# 2837|->    CALL_Uniform2d(ctx->Dispatch.Current, (location, x, y));
# 2838|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_Uniform2d), 8) / 8);
# 2839|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def124]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2871:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2869|      GLdouble y = cmd->y;
# 2870|      GLdouble z = cmd->z;
# 2871|->    CALL_Uniform3d(ctx->Dispatch.Current, (location, x, y, z));
# 2872|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_Uniform3d), 8) / 8);
# 2873|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def125]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2908:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2906|      GLdouble z = cmd->z;
# 2907|      GLdouble w = cmd->w;
# 2908|->    CALL_Uniform4d(ctx->Dispatch.Current, (location, x, y, z, w));
# 2909|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_Uniform4d), 8) / 8);
# 2910|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def126]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2944:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2942|      const char *variable_data = (const char *) (cmd + 1);
# 2943|      value = (GLdouble *) variable_data;
# 2944|->    CALL_Uniform1dv(ctx->Dispatch.Current, (location, count, value));
# 2945|      return cmd->cmd_base.cmd_size;
# 2946|   }

Error: CLANG_WARNING: [#def127]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2956:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2954|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2955|         _mesa_glthread_finish_before(ctx, "Uniform1dv");
# 2956|->       CALL_Uniform1dv(ctx->Dispatch.Current, (location, count, value));
# 2957|         return;
# 2958|      }

Error: CLANG_WARNING: [#def128]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2983:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2981|      const char *variable_data = (const char *) (cmd + 1);
# 2982|      value = (GLdouble *) variable_data;
# 2983|->    CALL_Uniform2dv(ctx->Dispatch.Current, (location, count, value));
# 2984|      return cmd->cmd_base.cmd_size;
# 2985|   }

Error: CLANG_WARNING: [#def129]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:2995:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2993|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 2994|         _mesa_glthread_finish_before(ctx, "Uniform2dv");
# 2995|->       CALL_Uniform2dv(ctx->Dispatch.Current, (location, count, value));
# 2996|         return;
# 2997|      }

Error: CLANG_WARNING: [#def130]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3022:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3020|      const char *variable_data = (const char *) (cmd + 1);
# 3021|      value = (GLdouble *) variable_data;
# 3022|->    CALL_Uniform3dv(ctx->Dispatch.Current, (location, count, value));
# 3023|      return cmd->cmd_base.cmd_size;
# 3024|   }

Error: CLANG_WARNING: [#def131]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3034:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3032|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3033|         _mesa_glthread_finish_before(ctx, "Uniform3dv");
# 3034|->       CALL_Uniform3dv(ctx->Dispatch.Current, (location, count, value));
# 3035|         return;
# 3036|      }

Error: CLANG_WARNING: [#def132]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3061:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3059|      const char *variable_data = (const char *) (cmd + 1);
# 3060|      value = (GLdouble *) variable_data;
# 3061|->    CALL_Uniform4dv(ctx->Dispatch.Current, (location, count, value));
# 3062|      return cmd->cmd_base.cmd_size;
# 3063|   }

Error: CLANG_WARNING: [#def133]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3073:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3071|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3072|         _mesa_glthread_finish_before(ctx, "Uniform4dv");
# 3073|->       CALL_Uniform4dv(ctx->Dispatch.Current, (location, count, value));
# 3074|         return;
# 3075|      }

Error: CLANG_WARNING: [#def134]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3102:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3100|      const char *variable_data = (const char *) (cmd + 1);
# 3101|      value = (GLdouble *) variable_data;
# 3102|->    CALL_UniformMatrix2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3103|      return cmd->cmd_base.cmd_size;
# 3104|   }

Error: CLANG_WARNING: [#def135]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3114:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3112|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3113|         _mesa_glthread_finish_before(ctx, "UniformMatrix2dv");
# 3114|->       CALL_UniformMatrix2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3115|         return;
# 3116|      }

Error: CLANG_WARNING: [#def136]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3144:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3142|      const char *variable_data = (const char *) (cmd + 1);
# 3143|      value = (GLdouble *) variable_data;
# 3144|->    CALL_UniformMatrix3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3145|      return cmd->cmd_base.cmd_size;
# 3146|   }

Error: CLANG_WARNING: [#def137]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3156:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3154|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3155|         _mesa_glthread_finish_before(ctx, "UniformMatrix3dv");
# 3156|->       CALL_UniformMatrix3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3157|         return;
# 3158|      }

Error: CLANG_WARNING: [#def138]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3186:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3184|      const char *variable_data = (const char *) (cmd + 1);
# 3185|      value = (GLdouble *) variable_data;
# 3186|->    CALL_UniformMatrix4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3187|      return cmd->cmd_base.cmd_size;
# 3188|   }

Error: CLANG_WARNING: [#def139]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3198:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3196|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3197|         _mesa_glthread_finish_before(ctx, "UniformMatrix4dv");
# 3198|->       CALL_UniformMatrix4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3199|         return;
# 3200|      }

Error: CLANG_WARNING: [#def140]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3228:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3226|      const char *variable_data = (const char *) (cmd + 1);
# 3227|      value = (GLdouble *) variable_data;
# 3228|->    CALL_UniformMatrix2x3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3229|      return cmd->cmd_base.cmd_size;
# 3230|   }

Error: CLANG_WARNING: [#def141]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3240:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3238|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3239|         _mesa_glthread_finish_before(ctx, "UniformMatrix2x3dv");
# 3240|->       CALL_UniformMatrix2x3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3241|         return;
# 3242|      }

Error: CLANG_WARNING: [#def142]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3270:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3268|      const char *variable_data = (const char *) (cmd + 1);
# 3269|      value = (GLdouble *) variable_data;
# 3270|->    CALL_UniformMatrix2x4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3271|      return cmd->cmd_base.cmd_size;
# 3272|   }

Error: CLANG_WARNING: [#def143]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3282:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3280|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3281|         _mesa_glthread_finish_before(ctx, "UniformMatrix2x4dv");
# 3282|->       CALL_UniformMatrix2x4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3283|         return;
# 3284|      }

Error: CLANG_WARNING: [#def144]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3312:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3310|      const char *variable_data = (const char *) (cmd + 1);
# 3311|      value = (GLdouble *) variable_data;
# 3312|->    CALL_UniformMatrix3x2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3313|      return cmd->cmd_base.cmd_size;
# 3314|   }

Error: CLANG_WARNING: [#def145]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3324:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3322|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3323|         _mesa_glthread_finish_before(ctx, "UniformMatrix3x2dv");
# 3324|->       CALL_UniformMatrix3x2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3325|         return;
# 3326|      }

Error: CLANG_WARNING: [#def146]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3354:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3352|      const char *variable_data = (const char *) (cmd + 1);
# 3353|      value = (GLdouble *) variable_data;
# 3354|->    CALL_UniformMatrix3x4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3355|      return cmd->cmd_base.cmd_size;
# 3356|   }

Error: CLANG_WARNING: [#def147]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3366:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3364|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3365|         _mesa_glthread_finish_before(ctx, "UniformMatrix3x4dv");
# 3366|->       CALL_UniformMatrix3x4dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3367|         return;
# 3368|      }

Error: CLANG_WARNING: [#def148]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3396:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3394|      const char *variable_data = (const char *) (cmd + 1);
# 3395|      value = (GLdouble *) variable_data;
# 3396|->    CALL_UniformMatrix4x2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3397|      return cmd->cmd_base.cmd_size;
# 3398|   }

Error: CLANG_WARNING: [#def149]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3408:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3406|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3407|         _mesa_glthread_finish_before(ctx, "UniformMatrix4x2dv");
# 3408|->       CALL_UniformMatrix4x2dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3409|         return;
# 3410|      }

Error: CLANG_WARNING: [#def150]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3438:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3436|      const char *variable_data = (const char *) (cmd + 1);
# 3437|      value = (GLdouble *) variable_data;
# 3438|->    CALL_UniformMatrix4x3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3439|      return cmd->cmd_base.cmd_size;
# 3440|   }

Error: CLANG_WARNING: [#def151]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3450:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3448|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3449|         _mesa_glthread_finish_before(ctx, "UniformMatrix4x3dv");
# 3450|->       CALL_UniformMatrix4x3dv(ctx->Dispatch.Current, (location, count, transpose, value));
# 3451|         return;
# 3452|      }

Error: CLANG_WARNING: [#def152]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3468:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3466|      GET_CURRENT_CONTEXT(ctx);
# 3467|      _mesa_glthread_finish_before(ctx, "GetUniformdv");
# 3468|->    CALL_GetUniformdv(ctx->Dispatch.Current, (program, location, params));
# 3469|   }
# 3470|   

Error: CLANG_WARNING: [#def153]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3486:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3484|      GLint location = cmd->location;
# 3485|      GLdouble x = cmd->x;
# 3486|->    CALL_ProgramUniform1d(ctx->Dispatch.Current, (program, location, x));
# 3487|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ProgramUniform1d), 8) / 8);
# 3488|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def154]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3520:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3518|      GLdouble x = cmd->x;
# 3519|      GLdouble y = cmd->y;
# 3520|->    CALL_ProgramUniform2d(ctx->Dispatch.Current, (program, location, x, y));
# 3521|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ProgramUniform2d), 8) / 8);
# 3522|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def155]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3557:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3555|      GLdouble y = cmd->y;
# 3556|      GLdouble z = cmd->z;
# 3557|->    CALL_ProgramUniform3d(ctx->Dispatch.Current, (program, location, x, y, z));
# 3558|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ProgramUniform3d), 8) / 8);
# 3559|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def156]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3597:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3595|      GLdouble z = cmd->z;
# 3596|      GLdouble w = cmd->w;
# 3597|->    CALL_ProgramUniform4d(ctx->Dispatch.Current, (program, location, x, y, z, w));
# 3598|      const unsigned cmd_size = (align(sizeof(struct marshal_cmd_ProgramUniform4d), 8) / 8);
# 3599|      assert(cmd_size == cmd->cmd_base.cmd_size);

Error: CLANG_WARNING: [#def157]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3636:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3634|      const char *variable_data = (const char *) (cmd + 1);
# 3635|      value = (GLdouble *) variable_data;
# 3636|->    CALL_ProgramUniform1dv(ctx->Dispatch.Current, (program, location, count, value));
# 3637|      return cmd->cmd_base.cmd_size;
# 3638|   }

Error: CLANG_WARNING: [#def158]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3648:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3646|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3647|         _mesa_glthread_finish_before(ctx, "ProgramUniform1dv");
# 3648|->       CALL_ProgramUniform1dv(ctx->Dispatch.Current, (program, location, count, value));
# 3649|         return;
# 3650|      }

Error: CLANG_WARNING: [#def159]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3678:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3676|      const char *variable_data = (const char *) (cmd + 1);
# 3677|      value = (GLdouble *) variable_data;
# 3678|->    CALL_ProgramUniform2dv(ctx->Dispatch.Current, (program, location, count, value));
# 3679|      return cmd->cmd_base.cmd_size;
# 3680|   }

Error: CLANG_WARNING: [#def160]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3690:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3688|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3689|         _mesa_glthread_finish_before(ctx, "ProgramUniform2dv");
# 3690|->       CALL_ProgramUniform2dv(ctx->Dispatch.Current, (program, location, count, value));
# 3691|         return;
# 3692|      }

Error: CLANG_WARNING: [#def161]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3720:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3718|      const char *variable_data = (const char *) (cmd + 1);
# 3719|      value = (GLdouble *) variable_data;
# 3720|->    CALL_ProgramUniform3dv(ctx->Dispatch.Current, (program, location, count, value));
# 3721|      return cmd->cmd_base.cmd_size;
# 3722|   }

Error: CLANG_WARNING: [#def162]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3732:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3730|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3731|         _mesa_glthread_finish_before(ctx, "ProgramUniform3dv");
# 3732|->       CALL_ProgramUniform3dv(ctx->Dispatch.Current, (program, location, count, value));
# 3733|         return;
# 3734|      }

Error: CLANG_WARNING: [#def163]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3762:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3760|      const char *variable_data = (const char *) (cmd + 1);
# 3761|      value = (GLdouble *) variable_data;
# 3762|->    CALL_ProgramUniform4dv(ctx->Dispatch.Current, (program, location, count, value));
# 3763|      return cmd->cmd_base.cmd_size;
# 3764|   }

Error: CLANG_WARNING: [#def164]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3774:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3772|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3773|         _mesa_glthread_finish_before(ctx, "ProgramUniform4dv");
# 3774|->       CALL_ProgramUniform4dv(ctx->Dispatch.Current, (program, location, count, value));
# 3775|         return;
# 3776|      }

Error: CLANG_WARNING: [#def165]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3806:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3804|      const char *variable_data = (const char *) (cmd + 1);
# 3805|      value = (GLdouble *) variable_data;
# 3806|->    CALL_ProgramUniformMatrix2dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3807|      return cmd->cmd_base.cmd_size;
# 3808|   }

Error: CLANG_WARNING: [#def166]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3818:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3816|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3817|         _mesa_glthread_finish_before(ctx, "ProgramUniformMatrix2dv");
# 3818|->       CALL_ProgramUniformMatrix2dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3819|         return;
# 3820|      }

Error: CLANG_WARNING: [#def167]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3851:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3849|      const char *variable_data = (const char *) (cmd + 1);
# 3850|      value = (GLdouble *) variable_data;
# 3851|->    CALL_ProgramUniformMatrix3dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3852|      return cmd->cmd_base.cmd_size;
# 3853|   }

Error: CLANG_WARNING: [#def168]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3863:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3861|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3862|         _mesa_glthread_finish_before(ctx, "ProgramUniformMatrix3dv");
# 3863|->       CALL_ProgramUniformMatrix3dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3864|         return;
# 3865|      }

Error: CLANG_WARNING: [#def169]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3896:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3894|      const char *variable_data = (const char *) (cmd + 1);
# 3895|      value = (GLdouble *) variable_data;
# 3896|->    CALL_ProgramUniformMatrix4dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3897|      return cmd->cmd_base.cmd_size;
# 3898|   }

Error: CLANG_WARNING: [#def170]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3908:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3906|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3907|         _mesa_glthread_finish_before(ctx, "ProgramUniformMatrix4dv");
# 3908|->       CALL_ProgramUniformMatrix4dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3909|         return;
# 3910|      }

Error: CLANG_WARNING: [#def171]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3941:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3939|      const char *variable_data = (const char *) (cmd + 1);
# 3940|      value = (GLdouble *) variable_data;
# 3941|->    CALL_ProgramUniformMatrix2x3dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3942|      return cmd->cmd_base.cmd_size;
# 3943|   }

Error: CLANG_WARNING: [#def172]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3953:7: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3951|      if (unlikely(value_size < 0 || (value_size > 0 && !value) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
# 3952|         _mesa_glthread_finish_before(ctx, "ProgramUniformMatrix2x3dv");
# 3953|->       CALL_ProgramUniformMatrix2x3dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3954|         return;
# 3955|      }

Error: CLANG_WARNING: [#def173]
mesa-24.0.5-build/mesa-24.0.5/redhat-linux-build/src/mapi/glapi/gen/marshal_generated3.c:3986:4: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 3984|      const char *variable_data = (const char *) (cmd + 1);
# 3985|      value = (GLdouble *) variable_data;
# 3986|->    CALL_ProgramUniformMatrix2x4dv(ctx->Dispatch.Current, (program, location, count, transpose, value));
# 3987|      return cmd->cmd_base.cmd_size;
# 3988|   }

Error: CLANG_WARNING: [#def174]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1509:23: warning[deadcode.DeadStores]: Value stored to 'blkZLog2' during its initialization is never read
# 1507|           const UINT_32 blkXLog2 = Log2(dim.w);
# 1508|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1509|->         const UINT_32 blkZLog2 = Log2(dim.d);
# 1510|           const UINT_32 blkXMask = dim.w - 1;
# 1511|           const UINT_32 blkYMask = dim.h - 1;

Error: CLANG_WARNING: [#def175]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1510:23: warning[deadcode.DeadStores]: Value stored to 'blkXMask' during its initialization is never read
# 1508|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1509|           const UINT_32 blkZLog2 = Log2(dim.d);
# 1510|->         const UINT_32 blkXMask = dim.w - 1;
# 1511|           const UINT_32 blkYMask = dim.h - 1;
# 1512|           const UINT_32 blkZMask = dim.d - 1;

Error: CLANG_WARNING: [#def176]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1511:23: warning[deadcode.DeadStores]: Value stored to 'blkYMask' during its initialization is never read
# 1509|           const UINT_32 blkZLog2 = Log2(dim.d);
# 1510|           const UINT_32 blkXMask = dim.w - 1;
# 1511|->         const UINT_32 blkYMask = dim.h - 1;
# 1512|           const UINT_32 blkZMask = dim.d - 1;
# 1513|   

Error: CLANG_WARNING: [#def177]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:1512:23: warning[deadcode.DeadStores]: Value stored to 'blkZMask' during its initialization is never read
# 1510|           const UINT_32 blkXMask = dim.w - 1;
# 1511|           const UINT_32 blkYMask = dim.h - 1;
# 1512|->         const UINT_32 blkZMask = dim.d - 1;
# 1513|   
# 1514|           ADDR_BIT_SETTING swizzle[ADDR_MAX_EQUATION_BIT] = {};

Error: CLANG_WARNING: [#def178]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1152:23: warning[deadcode.DeadStores]: Value stored to 'blkZLog2' during its initialization is never read
# 1150|           const UINT_32 blkXLog2 = Log2(dim.w);
# 1151|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1152|->         const UINT_32 blkZLog2 = Log2(dim.d);
# 1153|           const UINT_32 blkXMask = dim.w - 1;
# 1154|           const UINT_32 blkYMask = dim.h - 1;

Error: CLANG_WARNING: [#def179]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1153:23: warning[deadcode.DeadStores]: Value stored to 'blkXMask' during its initialization is never read
# 1151|           const UINT_32 blkYLog2 = Log2(dim.h);
# 1152|           const UINT_32 blkZLog2 = Log2(dim.d);
# 1153|->         const UINT_32 blkXMask = dim.w - 1;
# 1154|           const UINT_32 blkYMask = dim.h - 1;
# 1155|           const UINT_32 blkZMask = dim.d - 1;

Error: CLANG_WARNING: [#def180]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1154:23: warning[deadcode.DeadStores]: Value stored to 'blkYMask' during its initialization is never read
# 1152|           const UINT_32 blkZLog2 = Log2(dim.d);
# 1153|           const UINT_32 blkXMask = dim.w - 1;
# 1154|->         const UINT_32 blkYMask = dim.h - 1;
# 1155|           const UINT_32 blkZMask = dim.d - 1;
# 1156|   

Error: CLANG_WARNING: [#def181]
mesa-24.0.5-build/mesa-24.0.5/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp:1155:23: warning[deadcode.DeadStores]: Value stored to 'blkZMask' during its initialization is never read
# 1153|           const UINT_32 blkXMask = dim.w - 1;
# 1154|           const UINT_32 blkYMask = dim.h - 1;
# 1155|->         const UINT_32 blkZMask = dim.d - 1;
# 1156|   
# 1157|           ADDR_BIT_SETTING swizzle[ADDR_MAX_EQUATION_BIT] = {};

Error: CLANG_WARNING: [#def182]
mesa-24.0.5-build/mesa-24.0.5/src/amd/compiler/aco_scheduler_ilp.cpp:261:25: warning[core.BitwiseShift]: Left shift by '255' overflows the capacity of 'unsigned int'
#  259|   remove_entry(SchedILPContext& ctx, const Instruction* const instr, const uint32_t idx)
#  260|   {
#  261|->    const mask_t mask = ~BITFIELD_BIT(idx);
#  262|      ctx.active_mask &= mask;
#  263|   

Error: CLANG_WARNING: [#def183]
mesa-24.0.5-build/mesa-24.0.5/src/amd/compiler/aco_scheduler_ilp.cpp:261:25: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'unsigned int'
#  259|   remove_entry(SchedILPContext& ctx, const Instruction* const instr, const uint32_t idx)
#  260|   {
#  261|->    const mask_t mask = ~BITFIELD_BIT(idx);
#  262|      ctx.active_mask &= mask;
#  263|   

Error: CLANG_WARNING: [#def184]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vpelib/src/core/vpelib.c:332:63: warning[core.NullDereference]: Access to field 'num_streams' results in a dereference of a null pointer (loaded from variable 'param')
#  330|               vpe_free_stream_ctx(vpe_priv);
#  331|   
#  332|->         vpe_priv->stream_ctx = vpe_alloc_stream_ctx(vpe_priv, param->num_streams);
#  333|       }
#  334|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vpelib/src/core/vpelib.c:332:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘param’
#  330|               vpe_free_stream_ctx(vpe_priv);
#  331|   
#  332|->         vpe_priv->stream_ctx = vpe_alloc_stream_ctx(vpe_priv, param->num_streams);
#  333|       }
#  334|   

Error: CLANG_WARNING: [#def186]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vpelib/src/core/vpelib.c:595:21: warning[core.NullDereference]: Access to field 'num_streams' results in a dereference of a null pointer (loaded from variable 'param')
#  593|   
#  594|       // copy the param, reset saved configs
#  595|->     for (i = 0; i < param->num_streams; i++) {
#  596|           vpe_priv->stream_ctx[i].num_configs = 0;
#  597|           for (j = 0; j < VPE_CMD_TYPE_COUNT; j++)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/layers/radv_sqtt_layer.c:211:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reloc’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_object.h:221:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/layers/radv_sqtt_layer.c:1687:7: note: in expansion of macro ‘RADV_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.h:108:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
#  209|   
#  210|      if (device->shader_use_invisible_vram) {
#  211|->       if (!radv_shader_dma_submit(device, submission, &pipeline->base.shader_upload_seq))
#  212|            return VK_ERROR_UNKNOWN;
#  213|      }

Error: CLANG_WARNING: [#def188]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/meta/radv_meta_bufimage.c:880:4: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  878|      };
#  879|   
#  880|->    result = radv_compute_pipeline_create(radv_device_to_handle(device), device->meta_state.cache, &vk_pipeline_info_3d,
#  881|                                            NULL, &device->meta_state.cleari.pipeline_3d);
#  882|      ralloc_free(cs_3d);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/radv_acceleration_structure.c: scope_hint: In function ‘radv_CmdBuildAccelerationStructuresKHR’
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/radv_acceleration_structure.c:1313:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bvh_states’
# 1311|         get_build_layout(cmd_buffer->device, leaf_node_count, pInfos + i, &bvh_states[i].accel_struct,
# 1312|                          &bvh_states[i].scratch);
# 1313|->       bvh_states[i].config = build_config(leaf_node_count, pInfos + i);
# 1314|   
# 1315|         if (bvh_states[i].config.internal_type != INTERNAL_BUILD_TYPE_UPDATE) {

Error: CLANG_WARNING: [#def190]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/radv_shader_info.c:1679:34: warning[core.NullDereference]: Dereference of null pointer
# 1677|      /* Task/mesh I/O uses the task ring buffers. */
# 1678|      if (producer->stage == MESA_SHADER_TASK) {
# 1679|->       consumer->info.ms.has_task = true;
# 1680|      }
# 1681|   }

Error: CLANG_WARNING: [#def191]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/radv_video.c:1252:36: warning[core.NullDereference]: Array access (via field 'dpbAddrLo') results in a null pointer dereference
# 1250|         addr = radv_buffer_get_va(dpb_img->bindings[0].bo) + dpb_img->bindings[0].offset;
# 1251|   
# 1252|->       dynamic_dpb_t2->dpbAddrLo[i] = addr;
# 1253|         dynamic_dpb_t2->dpbAddrHi[i] = addr >> 32;
# 1254|         ++dynamic_dpb_t2->dpbArraySize;

Error: CLANG_WARNING: [#def192]
mesa-24.0.5-build/mesa-24.0.5/src/amd/vulkan/radv_video.c:1349:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1347|      update_h264_scaling(result.scaling_list_4x4, result.scaling_list_8x8, &scaling_lists);
# 1348|   
# 1349|->    memset(it_ptr, 0, IT_SCALING_TABLE_SIZE);
# 1350|      memcpy(it_ptr, result.scaling_list_4x4, 6 * 16);
# 1351|      memcpy((char *)it_ptr + 96, result.scaling_list_8x8, 2 * 64);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c:619:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/util/macros.h:110:40: note: in definition of macro ‘container_of’
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c:1437:7: note: in expansion of macro ‘list_for_each_entry_safe’
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘handle_copy_query_results_cpu_job’
#  617|   
#  618|               offsets[i] = query->timestamp.offset;
#  619|->             syncs[i] = vk_sync_as_drm_syncobj(query->timestamp.sync)->syncobj;
#  620|            }
#  621|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘process_singlesync_waits’
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c:954:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/broadcom/vulkan/v3dv_queue.c: scope_hint: In function ‘process_singlesync_waits’
#  952|   
#  953|      for (uint32_t i = 0; i < count; i++) {
#  954|->       uint32_t syncobj = vk_sync_as_drm_syncobj(waits[i].sync)->syncobj;
#  955|         int wait_fd = -1;
#  956|   

Error: CLANG_WARNING: [#def195]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc.c:125:63: warning[core.NullDereference]: Access to field 'nir_options' results in a dereference of a null pointer (loaded from variable 'options')
#  123|      bool optimize = options && options->optimize;
#  124|      nir_shader *s =
#  125|->       nir_load_libclc_shader(64, NULL, &libclc_spirv_options, options->nir_options, optimize);
#  126|      if (!s) {
#  127|         clc_error(logger, "D3D12: spirv_to_nir failed on libclc blob");

Error: COMPILER_WARNING (CWE-252): [#def196]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc.c:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc.c: scope_hint: In function ‘clc_libclc_new’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.h:99:7: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
#   99 |       asprintf(&_msg, fmt, ##__VA_ARGS__);           \
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.h:105:37: note: in expansion of macro ‘clc_log’
#  105 | #define clc_error(logger, fmt, ...) clc_log(logger, error, fmt, ##__VA_ARGS__)
#      |                                     ^~~~~~~
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc.c:100:7: note: in expansion of macro ‘clc_error’
#  100 |       clc_error(logger, "D3D12: failed to allocate a clc_libclc");
#      |       ^~~~~~~~~
#   97|         if (!logger || !logger->level) break;          \
#   98|         char *_msg = NULL;                             \
#   99|->       asprintf(&_msg, fmt, ##__VA_ARGS__);           \
#  100|         assert(_msg);                                  \
#  101|         logger->level(logger->priv, _msg);             \

Error: COMPILER_WARNING (CWE-252): [#def197]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.cpp:72: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.cpp: scope_hint: In function ‘void llvm_log_handler(const llvm::DiagnosticInfo&, void*)’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.h:99:15: warning[-Wunused-result]: ignoring return value of ‘int asprintf(char**, const char*, ...)’ declared with attribute ‘warn_unused_result’
#   99 |       asprintf(&_msg, fmt, ##__VA_ARGS__);           \
#      |       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.h:105:37: note: in expansion of macro ‘clc_log’
#  105 | #define clc_error(logger, fmt, ...) clc_log(logger, error, fmt, ##__VA_ARGS__)
#      |                                     ^~~~~~~
mesa-24.0.5-build/mesa-24.0.5/src/compiler/clc/clc_helpers.cpp:99:4: note: in expansion of macro ‘clc_error’
#   99 |    clc_error(logger, "%s", log.c_str());
#      |    ^~~~~~~~~
#   97|         if (!logger || !logger->level) break;          \
#   98|         char *_msg = NULL;                             \
#   99|->       asprintf(&_msg, fmt, ##__VA_ARGS__);           \
#  100|         assert(_msg);                                  \
#  101|         logger->level(logger->priv, _msg);             \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:99:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘producer_info.fog’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:872:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:878:4: note: in expansion of macro ‘nir_foreach_variable_in_list’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:884:4: note: in expansion of macro ‘nir_foreach_variable_in_shader’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:153:5: note: in expansion of macro ‘nir_foreach_variable_with_modes’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4109:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4166:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4109:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:188:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:192:4: note: in expansion of macro ‘nir_foreach_block’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3000:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3000:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3000:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:193:7: note: in expansion of macro ‘nir_foreach_instr’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4628:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c: scope_hint: In function ‘gather_info_on_varying_deref’
#   97|      nir_variable *var = nir_deref_instr_get_variable(deref);
#   98|   
#   99|->    if (!glsl_type_is_array(var->type) || !is_gl_identifier(var->name))
#  100|         return;
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:145:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cursor.<Ue980>.block’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:1150:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:920:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c:57:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_opt_loop_unroll.c: scope_hint: In function ‘complex_unroll_loop_body’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:282:28: note: in definition of macro ‘exec_node_data’
mesa-24.0.5-build/mesa-24.0.5/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: CLANG_WARNING: [#def200]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/state_tracker/st_program.c:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/nir/pipe_nir.h:11: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4166:4: warning[core.NullDereference]: Dereference of null pointer
# 4164|      nir_function *func = NULL;
# 4165|   
# 4166|->    nir_foreach_function(function, shader) {
# 4167|         assert(func == NULL);
# 4168|         if (function->is_entrypoint) {

Error: CLANG_WARNING: [#def201]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_linking_helpers.c:58:34: warning[core.BitwiseShift]: Left shift by '4294967253' overflows the capacity of 'unsigned long long'
#   56|   
#   57|      unsigned slots = glsl_count_attribute_slots(type, false);
#   58|->    return BITFIELD64_MASK(slots) << location;
#   59|   }
#   60|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_point_size_mov.c: scope_hint: In function ‘lower_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_point_size_mov.c:39:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4109:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4166:4: note: in expansion of macro ‘nir_foreach_function’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4109:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4166:4: note: in expansion of macro ‘nir_foreach_function’
#   37|              nir_variable *out)
#   38|   {
#   39|->    nir_shader *shader = impl->function->shader;
#   40|      nir_builder b;
#   41|      nir_variable *in, *new_out = NULL;

Error: CLANG_WARNING: [#def203]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_wpos_ytransform.c:105:7: warning[deadcode.DeadStores]: Value stored to 'wpos_input' is never read
#  103|                                 nir_imm_vec4(b, adjX, adjY[0], 0.0f, 0.0f));
#  104|         }
#  105|->       wpos_input = wpos_temp;
#  106|      } else {
#  107|         /* MOV wpos_temp, input[wpos]

Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_passthrough_gs.c: scope_hint: In function ‘nir_create_passthrough_gs’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_passthrough_gs.c:148:21: warning[-Wanalyzer-malloc-leak]: leak of ‘*nir.xfb_info’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_passthrough_gs.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:80:16: note: in expansion of macro ‘MALLOC’
#  146|      memcpy(nir->info.xfb_stride, prev_stage->info.xfb_stride, sizeof(prev_stage->info.xfb_stride));
#  147|      if (prev_stage->xfb_info) {
#  148|->       nir->xfb_info = mem_dup(prev_stage->xfb_info, nir_xfb_info_size(prev_stage->xfb_info->output_count));
#  149|      }
#  150|   

Error: CLANG_WARNING: [#def205]
mesa-24.0.5-build/mesa-24.0.5/src/egl/drivers/dri2/platform_drm.c:124:21: warning[core.NullDereference]: Dereference of null pointer
#  122|         return false;
#  123|   
#  124|->    if (shifts[0] != visual->rgba_shifts.red ||
#  125|          shifts[1] != visual->rgba_shifts.green ||
#  126|          shifts[2] != visual->rgba_shifts.blue ||

Error: COMPILER_WARNING (CWE-252): [#def206]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/vulkan/tu_knl_drm_msm.cc:26: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/common/redump.h: scope_hint: In function ‘void rd_write_section(int, rd_sect_type, const void*, int)’
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/common/redump.h:67:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#   67 |    write(fd, &type, 4);
#      |    ~~~~~^~~~~~~~~~~~~~
#   65|   rd_write_section(int fd, enum rd_sect_type type, const void *buf, int sz)
#   66|   {
#   67|->    write(fd, &type, 4);
#   68|      write(fd, &sz, 4);
#   69|      write(fd, buf, sz);

Error: COMPILER_WARNING (CWE-252): [#def207]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/common/redump.h:68:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#   68 |    write(fd, &sz, 4);
#      |    ~~~~~^~~~~~~~~~~~
#   66|   {
#   67|      write(fd, &type, 4);
#   68|->    write(fd, &sz, 4);
#   69|      write(fd, buf, sz);
#   70|   }

Error: COMPILER_WARNING (CWE-252): [#def208]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/common/redump.h:69:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#   69 |    write(fd, buf, sz);
#      |    ~~~~~^~~~~~~~~~~~~
#   67|      write(fd, &type, 4);
#   68|      write(fd, &sz, 4);
#   69|->    write(fd, buf, sz);
#   70|   }
#   71|   

Error: CLANG_WARNING: [#def209]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/ir3/ir3_ra_validate.c:286:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  284|      }
#  285|   
#  286|->    struct reg_state srcs[size];
#  287|   
#  288|      unsigned offset = 0;

Error: CLANG_WARNING: [#def210]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/ir3/ir3_spill.c:1478:57: warning[core.NullDereference]: Access to field 'interval_start' results in a dereference of a null pointer (loaded from variable 'def')
# 1476|         struct ir3_register *child_def =
# 1477|            extract(new_val->def,
# 1478|->                  (child->interval.reg->interval_start - def->interval_start) /
# 1479|                    reg_elem_size(def), reg_elems(child->interval.reg),
# 1480|                    NULL, pred);

Error: CLANG_WARNING: [#def211]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/ir3/ir3_validate.c:207:32: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'last_reg')
#  205|            /* nothing yet */
#  206|         } else if (n > 0) {
#  207|->          validate_assert(ctx, (last_reg->flags & IR3_REG_HALF) ==
#  208|                                    (reg->flags & IR3_REG_HALF));
#  209|         }

Error: CLANG_WARNING: [#def212]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/vulkan/tu_knl.cc:253:46: warning[core.NullDereference]: Access to field 'has_cached_non_coherent_memory' results in a dereference of a null pointer (loaded from variable 'device')
#  251|         l1_dcache = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
#  252|   #endif
#  253|->       device->has_cached_non_coherent_memory = l1_dcache > 0;
#  254|         device->level1_dcache_size = l1_dcache;
#  255|      }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/cso_cache/cso_context.c:209:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘samplers_to_restore’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:46:24: note: in expansion of macro ‘os_malloc’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/cso_cache/cso_context.c:185:29: note: in expansion of macro ‘MALLOC’
#  207|   
#  208|            if (sampler && cso_hash_take(hash, sampler->hash_key))
#  209|->             samplers_to_restore[to_restore++] = sampler;
#  210|         }
#  211|      }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def214]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_pt_so_emit.c:163:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer_total_bytes[ob]’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_decompose_tmp.h:48:1: note: in expansion of macro ‘FUNC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_decompose_tmp.h:54:4: note: in expansion of macro ‘FUNC_ENTER’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_decompose_tmp.h:65:19: note: in expansion of macro ‘GET_ELT’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_decompose_tmp.h:66:10: note: in expansion of macro ‘POINT’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/draw/draw_pt_so_emit.c: scope_hint: In function ‘so_emit_prim’
#  161|               return;
#  162|            }
#  163|->          if ((buffer_total_bytes[ob] + write_size + dst_offset) >
#  164|                draw->so.targets[ob]->target.buffer_size) {
#  165|               return;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/util/u_box.h:22:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘boxes’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/dri/dri2.c: scope_hint: In function ‘dri2_set_damage_region’
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/dri/dri2.c:36: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/dri/dri2.c:2123:15: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/dri/dri2.c:2123:15: note: in expansion of macro ‘CALLOC’
#   20|   u_box_2d(unsigned x,unsigned y, unsigned w, unsigned h, struct pipe_box *box)
#   21|   {
#   22|->    box->x = x;
#   23|      box->y = y;
#   24|      box->z = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c: scope_hint: In function ‘UploadYcbcrBlocks’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:431:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:544:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  429|               stream->intra = intra;
#  430|               stream->coding = mb->macroblock_modes.bits.dct_type;
#  431|->             stream->block_num = buf->block_num++;
#  432|   
#  433|               buf->num_ycbcr_blocks[0]++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:452:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:544:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  450|            stream->intra = intra;
#  451|            stream->coding = 0;
#  452|->          stream->block_num = buf->block_num++;
#  453|   
#  454|            buf->num_ycbcr_blocks[tb]++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:461:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:544:13: note: in expansion of macro ‘CALLOC_STRUCT’
#  459|      }
#  460|   
#  461|->    memcpy(buf->texels, mb->blocks, 64 * sizeof(short) * num_blocks);
#  462|      buf->texels += 64 * num_blocks;
#  463|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_create_vertex_elements’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:3779:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
# 3777|         calloc(1, sizeof(struct crocus_vertex_element_state));
# 3778|   
# 3779|->    cso->count = count;
# 3780|   
# 3781|      crocus_pack_command(GENX(3DSTATE_VERTEX_ELEMENTS), cso->vertex_elements, ve) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def220]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:6084:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry_size[3]’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:110: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_batch.h: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
# 6082|         if (ice->urb.vsize == entry_size[MESA_SHADER_VERTEX] &&
# 6083|             ice->urb.gs_present == gs_present &&
# 6084|->           ice->urb.gsize == entry_size[MESA_SHADER_GEOMETRY] &&
# 6085|             ice->urb.tess_present == tess_present &&
# 6086|             ice->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] &&

Error: GCC_ANALYZER_WARNING (CWE-457): [#def221]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:6094:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry_size[3]’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_batch.h: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c: scope_hint: In function ‘crocus_upload_dirty_render_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_genx_macros.h:120:4: note: in expansion of macro ‘_crocus_pack_command’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_state.c:5879:7: note: in expansion of macro ‘crocus_emit_cmd’
# 6092|            ice->urb.vsize = entry_size[MESA_SHADER_VERTEX];
# 6093|            ice->urb.gs_present = gs_present;
# 6094|->          ice->urb.gsize = entry_size[MESA_SHADER_GEOMETRY];
# 6095|            ice->urb.tess_present = tess_present;
# 6096|            ice->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL];

Error: CLANG_WARNING: [#def222]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_program.c:2060:55: warning[core.NullDereference]: Access to field 'prog_data' results in a dereference of a null pointer (loaded from variable 'shader')
# 2058|                       struct iris_compiled_shader *shader)
# 2059|   {
# 2060|->    struct brw_vue_prog_data *vue_prog_data = (void *) shader->prog_data;
# 2061|      struct brw_vue_map *vue_map = &vue_prog_data->vue_map;
# 2062|      struct brw_vue_map *old_map = !ice->shaders.last_vue_shader ? NULL :

Error: CLANG_WARNING: [#def223]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_resource.c:931:52: warning[core.NullDereference]: Access to field 'modifier' results in a dereference of a null pointer (loaded from field 'mod_info')
#  929|            assert(res->aux.usage != ISL_AUX_USAGE_STC_CCS);
#  930|            initial_state =
#  931|->             isl_drm_modifier_get_default_aux_state(res->mod_info->modifier);
#  932|         } else if (devinfo->has_flat_ccs) {
#  933|            assert(res->aux.surf.size_B == 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c: scope_hint: In function ‘lima_resource_from_handle’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:304:1: warning[-Wanalyzer-malloc-leak]: leak of ‘res’
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:25: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:324:32: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:50:21: note: in expansion of macro ‘os_free’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:303:4: note: in expansion of macro ‘FREE’
#  302|   
#  303|      FREE(res);
#  304|-> }
#  305|   
#  306|   static struct pipe_resource *

Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:397:7: warning[-Wanalyzer-malloc-leak]: leak of ‘res’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/lima/lima_resource.c:324:32: note: in expansion of macro ‘CALLOC_STRUCT’
#  395|      }
#  396|   
#  397|->    if (screen->ro) {
#  398|         /* Make sure that renderonly has a handle to our buffer in the
#  399|          * display's fd, so that a later renderonly_get_handle()

Error: CPPCHECK_WARNING: [#def226]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/r300/compiler/radeon_compiler_util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def227]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1893:30: warning[core.NullDereference]: Access to field 'dpbCurrLo' results in a dereference of a null pointer (loaded from variable 'dynamic_dpb_t2')
# 1891|         RADEON_USAGE_READWRITE | RADEON_USAGE_SYNCHRONIZED, RADEON_DOMAIN_VRAM);
# 1892|      addr = dec->ws->buffer_get_virtual_address(dpb->dpb.res->buf);
# 1893|->    dynamic_dpb_t2->dpbCurrLo = addr;
# 1894|      dynamic_dpb_t2->dpbCurrHi = addr >> 32;
# 1895|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def228]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_get_vs_prolog_args’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_shader.c:3774:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*input_vgprs[first_vs_vgpr]’
# 3772|         first_vs_vgpr + 3 : first_vs_vgpr + (key->vs_prolog.as_ls ? 2 : 1);
# 3773|   
# 3774|->    args->ac.vertex_id = input_vgprs[vertex_id_vgpr];
# 3775|      args->ac.instance_id = input_vgprs[instance_id_vgpr];
# 3776|   

Error: CLANG_WARNING: [#def229]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_shader_llvm_vs.c:104:4: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  102|      LLVMValueRef func = ctx->main_fn.value;
#  103|   
#  104|->    LLVMValueRef input_vgprs[num_input_vgprs];
#  105|      for (int i = 0; i < num_input_vgprs; i++)
#  106|         input_vgprs[i] = LLVMGetParam(func, num_input_sgprs + i);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def230]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_shader_llvm_vs.c: scope_hint: In function ‘si_llvm_build_vs_prolog’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_shader_llvm_vs.c:128:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*input_vgprs[<unknown>]’
#  126|      }
#  127|   
#  128|->    ctx->abi.vertex_id = input_vgprs[args->ac.vertex_id.arg_index - num_input_sgprs];
#  129|      ctx->abi.instance_id = input_vgprs[args->ac.instance_id.arg_index - num_input_sgprs];
#  130|   

Error: CLANG_WARNING: [#def231]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_vpe.c:434:30: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  432|      plane_size->surface_size.width = surfaces[0]->width;
#  433|      plane_size->surface_size.height = surfaces[0]->height;
#  434|->    plane_size->surface_pitch = pitch;  // Byte alignment
#  435|   
#  436|      switch (format) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_vpe.c: scope_hint: In function ‘si_vpe_processor_process_frame’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_vpe.c:712:4: warning[-Wanalyzer-malloc-leak]: leak of ‘*build_param.streams’
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_vpe.c:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/radeonsi/si_vpe.c:705:48: note: in expansion of macro ‘CALLOC’
#  710|      }
#  711|   
#  712|->    si_vpe_set_surface_info(vpeproc,
#  713|                              process_properties,
#  714|                              vpeproc->src_surfaces,

Error: CLANG_WARNING: [#def233]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:3717:61: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'var')
# 3715|      SpvId sampled_type;
# 3716|   
# 3717|->    bool is_buffer = glsl_get_sampler_dim(glsl_without_array(var->type)) ==
# 3718|                       GLSL_SAMPLER_DIM_BUF;
# 3719|      if (is_buffer)

Error: CLANG_WARNING: [#def234]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_resource.c:1012:75: warning[core.NullDereference]: Access to field 'plane' results in a dereference of a null pointer (loaded from variable 'whandle')
# 1010|         if (obj->is_aux) {
# 1011|            obj->modifier = mod;
# 1012|->          obj->modifier_aspect = VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT << whandle->plane;
# 1013|            obj->plane_offsets[whandle->plane] = whandle->offset;
# 1014|            obj->plane_strides[whandle->plane] = whandle->stride;

Error: CLANG_WARNING: [#def235]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_screen.c:2364:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 2362|               assert(!"how did this fail?");
# 2363|            } else {
# 2364|->             ret = true;
# 2365|            }
# 2366|         }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def236]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_state.c: scope_hint: In function ‘zink_create_vertex_elements_state’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_state.c:160:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strides[i]’
mesa-24.0.5-build/mesa-24.0.5/src/util/bitset.h:34: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:34: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_types.h:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_state.h:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_state.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/bitscan.h:108:29: note: in definition of macro ‘u_foreach_bit’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_state.c:130:4: note: in expansion of macro ‘u_foreach_bit’
#  158|            ves->hw_state.dynbindings[i].binding = ves->bindings[i].binding;
#  159|            ves->hw_state.dynbindings[i].inputRate = ves->bindings[i].inputRate;
#  160|->          ves->hw_state.dynbindings[i].stride = strides[i];
#  161|            if (ves->divisor[i])
#  162|               ves->hw_state.dynbindings[i].divisor = ves->divisor[i];

Error: CLANG_WARNING: [#def237]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/zink/zink_surface.c:352:17: warning[unix.Malloc]: Potential memory leak
#  350|         struct zink_resource *transient = zink_resource(pctx->screen->resource_create(pctx->screen, &rtempl));
#  351|         if (!transient)
#  352|->          return NULL;
#  353|         ivci.image = transient->obj->image;
#  354|         csurf->transient = (struct zink_ctx_surface*)wrap_surface(pctx, (struct pipe_surface*)create_surface(pctx, &transient->base.b, templ, &ivci, true));

Error: CLANG_WARNING: [#def238]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/dri/kopper.c:707:8: warning[core.NullDereference]: Dereference of null pointer
#  705|      }
#  706|   
#  707|->    if (drawable->stvis.samples > 1) {
#  708|         /* Resolve the front buffer. */
#  709|         dri_pipe_blit(ctx->st->pipe,

Error: CLANG_WARNING: [#def239]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/lavapipe/lvp_execute.c:4036:8: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 4034|      uint32_t binding_offset = offsetof(struct lvp_descriptor_set_layout, binding);
# 4035|      /* base equal */
# 4036|->    if (memcmp(pa + hash_start_offset, pb + hash_start_offset, binding_offset - hash_start_offset))
# 4037|         return false;
# 4038|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def240]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c:922:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[<unknown>]’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_math.h:48: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/util/u_box.h:5: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/util/u_inlines.h:42: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/basetexture9.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c:914:5: note: in expansion of macro ‘u_foreach_bit’
#  920|               ve.velems[n] = vdecl->elems[index];
#  921|               ve.velems[n].vertex_buffer_index =
#  922|->                 vtxbuf_holes_map[ve.velems[n].vertex_buffer_index];
#  923|               b = ve.velems[n].vertex_buffer_index;
#  924|               ve.velems[n].src_stride = context->vtxstride[b];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def241]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c: scope_hint: In function ‘update_vertex_elements_sw’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/nine/nine_state.c:3197:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[<unknown>]’
# 3195|               ve.velems[n] = vdecl->elems[index];
# 3196|               ve.velems[n].vertex_buffer_index =
# 3197|->                 vtxbuf_holes_map[ve.velems[n].vertex_buffer_index];
# 3198|               b = ve.velems[n].vertex_buffer_index;
# 3199|               /* XXX wine just uses 1 here: */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/va/buffer.c: scope_hint: In function ‘vlVaDestroyBuffer’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/va/buffer.c:320:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  318|         VACodedBufferSegment* node = buf->data;
#  319|         while(!node) {
#  320|->          VACodedBufferSegment* next = (VACodedBufferSegment*) node->next;
#  321|            FREE(node);
#  322|            node = next;

Error: CLANG_WARNING: [#def243]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/va/buffer.c:320:63: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'node')
#  318|         VACodedBufferSegment* node = buf->data;
#  319|         while(!node) {
#  320|->          VACodedBufferSegment* next = (VACodedBufferSegment*) node->next;
#  321|            FREE(node);
#  322|            node = next;

Error: CLANG_WARNING: [#def244]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c:169:8: warning[core.NullDereference]: Access to field 'signalled' results in a dereference of a null pointer (loaded from variable 'afence')
#  167|      int r;
#  168|   
#  169|->    if (afence->signalled)
#  170|         return true;
#  171|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:118:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ws’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/util/u_inlines.h:34: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:56:41: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:420:13: note: in expansion of macro ‘CALLOC_STRUCT’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/util/u_inlines.h: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
mesa-24.0.5-build/mesa-24.0.5/src/util/u_debug.h:50: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/auxiliary/pipebuffer/pb_buffer.h:48: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_atomic.h:51:52: note: in definition of macro ‘p_atomic_dec_return’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c: scope_hint: In function ‘amdgpu_winsys_destroy_locked’
#  116|      destroy = pipe_reference(&ws->reference, NULL);
#  117|      if (destroy && dev_tab) {
#  118|->       _mesa_hash_table_remove_key(dev_tab, ws->dev);
#  119|         if (_mesa_hash_table_num_entries(dev_tab) == 0) {
#  120|            _mesa_hash_table_destroy(dev_tab, NULL);

Error: CPPCHECK_WARNING: [#def246]
mesa-24.0.5-build/mesa-24.0.5/src/glx/dri2_glx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def247]
mesa-24.0.5-build/mesa-24.0.5/src/glx/dri3_glx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def248]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_blorp.c:46: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1436:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_deref_block_size’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1203:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1203:4: note: in expansion of macro ‘blorp_emit_dynamic’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/crocus/crocus_blorp.c: scope_hint: In function ‘blorp_emit_pipeline’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_emit_pipeline’
# 1434|      }
# 1435|   
# 1436|->    blorp_emit_sf_config(batch, params, urb_deref_block_size);
# 1437|      blorp_emit_ps_config(batch, params);
# 1438|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def249]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_blorp_exec.c:35: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_setup_binding_table’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1648:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:31: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_blorp_exec.c:438:1: note: in expansion of macro ‘genX’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1646|   
# 1647|         if (params->dst.enabled) {
# 1648|->          blorp_emit_surface_state(batch, &params->dst,
# 1649|                                     params->fast_clear_op,
# 1650|                                     surface_maps[BLORP_RENDERBUFFER_BT_INDEX],

Error: GCC_ANALYZER_WARNING (CWE-457): [#def250]
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1658:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_blorp_exec.c:438:1: note: in expansion of macro ‘genX’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_setup_binding_table’
# 1656|               params->depth.enabled ? &params->depth : &params->stencil;
# 1657|            blorp_emit_null_surface_state(batch, surface,
# 1658|->                                        surface_maps[BLORP_RENDERBUFFER_BT_INDEX]);
# 1659|         }
# 1660|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_blorp.c:46: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1932:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1926:19: note: in expansion of macro ‘blorp_emitn’
# 1930|                                 .MemoryAddress = clear_addr);
# 1931|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1932|->    dw[2] = info->clear_color.u32[0];
# 1933|      dw[3] = 0;
# 1934|      dw[4] = info->clear_color.u32[1];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1946:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1926:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:156:30: note: in definition of macro ‘_blorp_cmd_pack’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1926:19: note: in expansion of macro ‘blorp_emitn’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1926:38: note: in expansion of macro ‘GENX’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h: scope_hint: In function ‘blorp_update_clear_color’
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:1938:9: note: in expansion of macro ‘blorp_emitn’
# 1944|                       .MemoryAddress = clear_addr);
# 1945|      /* dw starts at dword 1, but we need to fill dwords 3 and 5 */
# 1946|->    dw[2] = info->clear_color.u32[2];
# 1947|      dw[3] = 0;
# 1948|      dw[4] = info->clear_color.u32[3];

Error: CLANG_WARNING: [#def253]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_blorp.c:46: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:2126:7: warning[deadcode.DeadStores]: Value stored to 'dst' is never read
# 2124|      if (cs_prog_data->push.cross_thread.size > 0) {
# 2125|         memcpy(dst, src, cs_prog_data->push.cross_thread.size);
# 2126|->       dst += cs_prog_data->push.cross_thread.size;
# 2127|         src += cs_prog_data->push.cross_thread.size;
# 2128|      }

Error: CLANG_WARNING: [#def254]
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:2127:7: warning[deadcode.DeadStores]: Value stored to 'src' is never read
# 2125|         memcpy(dst, src, cs_prog_data->push.cross_thread.size);
# 2126|         dst += cs_prog_data->push.cross_thread.size;
# 2127|->       src += cs_prog_data->push.cross_thread.size;
# 2128|      }
# 2129|   

Error: CPPCHECK_WARNING: [#def255]
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/i915/intel_engine.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def256]
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/i915/intel_gem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def257]
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:151: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_blorp.c:46: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/intel_genX_state.h: scope_hint: In function ‘intel_set_ps_dispatch_state’
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/intel_genX_state.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: [#def258]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/drivers/iris/iris_blorp.c:46: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/blorp/blorp_genX_exec.h:151: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/intel_genX_state.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: [#def259]
mesa-24.0.5-build/mesa-24.0.5/src/intel/common/intel_genX_state.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): [#def260]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_clip_util.c: scope_hint: In function ‘brw_clip_interp_vertex’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_clip_util.c:267:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t_nopersp’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_eu.h:42: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_clip.h:36: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_clip_util.c:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_clip_util.c: scope_hint: In function ‘brw_clip_interp_vertex’
#  265|            if (interp != INTERP_MODE_FLAT) {
#  266|               struct brw_reg tmp = get_tmp(c);
#  267|->             struct brw_reg t =
#  268|                  interp == INTERP_MODE_NOPERSPECTIVE ? t_nopersp : t0;
#  269|   

Error: CLANG_WARNING: [#def261]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_disasm_info.c:161:29: warning[core.NullDereference]: Access to field 'opcode' results in a dereference of a null pointer (loaded from variable 'inst')
#  159|       * a corresponding hardware instruction to disassemble.
#  160|       */
#  161|->    if (devinfo->ver >= 6 && inst->opcode == BRW_OPCODE_DO) {
#  162|         disasm->use_tail = true;
#  163|      }

Error: CLANG_WARNING: [#def262]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_generator.cpp:2341:29: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 2339|               brw_AND(p, dst, dst, brw_imm_ud(0xffffffff));
# 2340|            } else {
# 2341|->             brw_MOV(p, dst, brw_sr0_reg(src[0].ud));
# 2342|            }
# 2343|            break;

Error: COMPILER_WARNING (CWE-563): [#def263]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘fs_reg emit_samplemaskin_setup(nir_to_brw_state&)’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp:3912:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3912 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3910|   emit_samplemaskin_setup(nir_to_brw_state &ntb)
# 3911|   {
# 3912|->    const intel_device_info *devinfo = ntb.devinfo;
# 3913|      const fs_builder &bld = ntb.bld;
# 3914|      fs_visitor &s = ntb.s;

Error: COMPILER_WARNING (CWE-563): [#def264]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘fs_reg emit_shading_rate_setup(nir_to_brw_state&)’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp:3964:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 3964 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 3962|   emit_shading_rate_setup(nir_to_brw_state &ntb)
# 3963|   {
# 3964|->    const intel_device_info *devinfo = ntb.devinfo;
# 3965|      const fs_builder &bld = ntb.bld;
# 3966|   

Error: COMPILER_WARNING (CWE-563): [#def265]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp: scope_hint: In function ‘fs_reg get_timestamp(const brw::fs_builder&)’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp:5159:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 5159 |    const intel_device_info *devinfo = s.devinfo;
#      |                             ^~~~~~~
# 5157|   {
# 5158|      fs_visitor &s = *bld.shader;
# 5159|->    const intel_device_info *devinfo = s.devinfo;
# 5160|   
# 5161|      assert(devinfo->ver >= 7);

Error: COMPILER_WARNING (CWE-563): [#def266]
mesa-24.0.5-build/mesa-24.0.5/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.0.5-build/mesa-24.0.5/src/intel/compiler/brw_fs_nir.cpp:7854:29: warning[-Wunused-variable]: unused variable ‘devinfo’
# 7854 |    const intel_device_info *devinfo = ntb.devinfo;
#      |                             ^~~~~~~
# 7852|                              bool bindless)
# 7853|   {
# 7854|->    const intel_device_info *devinfo = ntb.devinfo;
# 7855|      fs_visitor &s = ntb.s;
# 7856|   

Error: CLANG_WARNING: [#def267]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_eu_compact.c:81: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_eu.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_inst.h:1421:59: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'unsigned long long'
# 1419|                             uint64_t value)
# 1420|   {
# 1421|->    const uint64_t mask = ((1ull << (high - low + 1)) - 1) << low;
# 1422|   
# 1423|      /* Make sure the supplied value actually fits in the given bitfield. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_nir_clamp_image_1d_2d_array_sizes.c: scope_hint: In function ‘brw_nir_clamp_image_1d_2d_array_sizes_instr’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_nir_clamp_image_1d_2d_array_sizes.c:64:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_nir_clamp_image_1d_2d_array_sizes.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_control_flow.h:31: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:29: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:134:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:101:4: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h: scope_hint: In function ‘brw_nir_clamp_image_1d_2d_array_sizes_instr’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:102:7: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4628:1: note: in expansion of macro ‘NIR_SRC_AS_’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_nir_clamp_image_1d_2d_array_sizes.c: scope_hint: In function ‘brw_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: [#def269]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_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: CLANG_WARNING: [#def270]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_reg_type.c:471:11: warning[core.NullDereference]: Dereference of null pointer
#  469|   
#  470|      for (enum brw_reg_type i = 0; i <= BRW_REGISTER_TYPE_LAST; i++) {
#  471|->       if (table[i].reg_type == hw_type) {
#  472|            return i;
#  473|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_reg_type.c: scope_hint: In function ‘brw_a16_hw_3src_type_to_reg_type’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_reg_type.c:471:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘table’
#  469|   
#  470|      for (enum brw_reg_type i = 0; i <= BRW_REGISTER_TYPE_LAST; i++) {
#  471|->       if (table[i].reg_type == hw_type) {
#  472|            return i;
#  473|         }

Error: CLANG_WARNING: [#def272]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_schedule_instructions.cpp:1988:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1986|   
# 1987|      if (!post_reg_alloc) {
# 1988|->       memset(reads_remaining, 0, grf_count * sizeof(*reads_remaining));
# 1989|         memset(hw_reads_remaining, 0, hw_reg_count * sizeof(*hw_reads_remaining));
# 1990|         memset(written, 0, grf_count * sizeof(*written));

Error: CLANG_WARNING: [#def273]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_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): [#def274]
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_vue_map.c: scope_hint: In function ‘varying_name’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_vue_map.c:297:20: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-24.0.5-build/mesa-24.0.5/src/util/bitscan.h:45: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/bitset.h:34: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/dev/intel_device_info.h:31: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_compiler.h:29: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_vue_map.c:43: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_vue_map.c:286:4: note: in expansion of macro ‘assume’
mesa-24.0.5-build/mesa-24.0.5/src/intel/compiler/brw_vue_map.c:297:20: note: valid subscripts for ‘brw_names’ are ‘[0]’ to ‘[2]’
#                                                       └─────────────────┘
#                                                                ^
#  295|      };
#  296|   
#  297|->    return brw_names[slot - VARYING_SLOT_MAX];
#  298|   }
#  299|   

Error: CLANG_WARNING: [#def275]
mesa-24.0.5-build/mesa-24.0.5/src/intel/isl/isl_surface_state.c:347:7: note:  Execution continues on line 390
#  345|                                  ISL_SURF_USAGE_STORAGE_BIT))
#  346|            s.RenderTargetViewExtent = s.Depth;
#  347|->       break;
#  348|      case SURFTYPE_CUBE:
#  349|         s.MinimumArrayElement = info->view->base_array_layer;

Error: CLANG_WARNING: [#def276]
mesa-24.0.5-build/mesa-24.0.5/src/intel/isl/isl_surface_state.c:636:11: note: Assuming the condition is false
#  634|            assert(isl_aux_usage_has_hiz(info->aux_usage));
#  635|   
#  636|->       if (isl_surf_usage_is_stencil(info->surf->usage))
#  637|            assert(info->aux_usage == ISL_AUX_USAGE_STC_CCS);
#  638|   

Error: CLANG_WARNING: [#def277]
mesa-24.0.5-build/mesa-24.0.5/src/intel/isl/isl_surface_state.c:668:10: note: Control jumps to 'case ISL_FORMAT_R16_UNORM:'  at line 671
#  666|   
#  667|            /* The format must be one of the following: */
#  668|->          switch (info->view->format) {
#  669|            case ISL_FORMAT_R32_FLOAT:
#  670|            case ISL_FORMAT_R24_UNORM_X8_TYPELESS:

Error: CLANG_WARNING: [#def278]
mesa-24.0.5-build/mesa-24.0.5/src/intel/isl/isl_surface_state.c:672:13: note:  Execution continues on line 741
#  670|            case ISL_FORMAT_R24_UNORM_X8_TYPELESS:
#  671|            case ISL_FORMAT_R16_UNORM:
#  672|->             break;
#  673|            default:
#  674|               assert(!"Incompatible HiZ Sampling format");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_private.h:73: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:33: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2446:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_object.h:221:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2445:13: note: in expansion of macro ‘ANV_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2441:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2441:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h: scope_hint: In function ‘anv_descriptor_set_write’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_descriptor_set_write’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_object.h:221:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2445:13: note: in expansion of macro ‘ANV_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_object.h:221:65: note: in definition of macro ‘VK_FROM_HANDLE’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_descriptor_set.c:2445:13: note: in expansion of macro ‘ANV_FROM_HANDLE’
# 2444|            for (uint32_t j = 0; j < write->descriptorCount; j++) {
# 2445|               ANV_FROM_HANDLE(vk_acceleration_structure, accel,
# 2446|->                             accel_write->pAccelerationStructures[j]);
# 2447|               anv_descriptor_set_write_acceleration_structure(device, set, accel,
# 2448|                                                               write->dstBinding,

Error: COMPILER_WARNING (CWE-563): [#def280]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_image_map_aux_tt’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_image.c:2248:19: warning[-Wunused-variable]: unused variable ‘bo’
# 2248 |    struct anv_bo *bo = main_addr.bo;
#      |                   ^~
# 2246|      const struct anv_address main_addr = anv_image_address(
# 2247|         image, &image->planes[plane].primary_surface.memory_range);
# 2248|->    struct anv_bo *bo = main_addr.bo;
# 2249|      assert(bo != NULL);
# 2250|   

Error: CLANG_WARNING: [#def281]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_sparse.c:601:4: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  599|      STACK_ARRAY_FINISH(l1_binds);
#  600|      STACK_ARRAY_FINISH(l3l2_binds);
#  601|->    return result;
#  602|   }
#  603|   

Error: CLANG_WARNING: [#def282]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1311:4: note: Loop condition is false. Execution continues on line 1314
# 1309|   {
# 1310|   #if GFX_VERx10 >= 125
# 1311|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VFG), vfg) {
# 1312|         vfg.DistributionMode = RR_STRICT;
# 1313|      }

Error: CLANG_WARNING: [#def283]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1314:4: note: Loop condition is false. Execution continues on line 1320
# 1312|         vfg.DistributionMode = RR_STRICT;
# 1313|      }
# 1314|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF), vf) {
# 1315|         vf.GeometryDistributionEnable = true;
# 1316|      }

Error: CLANG_WARNING: [#def284]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1320:4: note: Loop condition is false. Execution continues on line 1325
# 1318|   
# 1319|   #if GFX_VER >= 12
# 1320|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_PRIMITIVE_REPLICATION), pr) {
# 1321|         pr.ReplicaMask = 1;
# 1322|      }

Error: CLANG_WARNING: [#def285]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1325:4: note: Loop condition is false. Execution continues on line 1331
# 1323|   #endif
# 1324|   
# 1325|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_RASTER), rr) {
# 1326|         rr.CullMode = CULLMODE_NONE;
# 1327|         rr.FrontFaceFillMode = FILL_MODE_SOLID;

Error: CLANG_WARNING: [#def286]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1331:4: note: Loop condition is false. Execution continues on line 1332
# 1329|      }
# 1330|   
# 1331|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1332|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1333|   

Error: CLANG_WARNING: [#def287]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1332:4: note: Loop condition is false. Execution continues on line 1335
# 1330|   
# 1331|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), zero);
# 1332|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), zero);
# 1333|   
# 1334|   #if GFX_VER >= 11

Error: CLANG_WARNING: [#def288]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1335:4: note: Loop condition is false. Execution continues on line 1338
# 1333|   
# 1334|   #if GFX_VER >= 11
# 1335|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS_2), zero);
# 1336|   #endif
# 1337|   

Error: CLANG_WARNING: [#def289]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1338:4: note: Loop condition is false. Execution continues on line 1343
# 1336|   #endif
# 1337|   
# 1338|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CLIP), clip) {
# 1339|         clip.ClipEnable = true;
# 1340|         clip.ClipMode = CLIPMODE_REJECT_ALL;

Error: CLANG_WARNING: [#def290]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1343:4: note: Loop condition is false. Execution continues on line 1344
# 1341|      }
# 1342|   
# 1343|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1344|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1345|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);

Error: CLANG_WARNING: [#def291]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1344:4: note: Loop condition is false. Execution continues on line 1345
# 1342|   
# 1343|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1344|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1345|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1346|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);

Error: CLANG_WARNING: [#def292]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1345:4: note: Loop condition is false. Execution continues on line 1346
# 1343|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), zero);
# 1344|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1345|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1346|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1347|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);

Error: CLANG_WARNING: [#def293]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1346:4: note: Loop condition is false. Execution continues on line 1347
# 1344|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), zero);
# 1345|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1346|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1347|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1348|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);

Error: CLANG_WARNING: [#def294]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1347:4: note: Loop condition is false. Execution continues on line 1348
# 1345|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), zero);
# 1346|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1347|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1348|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1349|   

Error: CLANG_WARNING: [#def295]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_gfx_state.c:1348:4: note: Loop condition is false. Execution continues on line 1350
# 1346|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), zero);
# 1347|      anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), zero);
# 1348|->    anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), zero);
# 1349|   
# 1350|      uint32_t *vertex_elements = anv_batch_emitn(&cmd_buffer->batch, 1 + 2 * 2,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def296]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c: scope_hint: In function ‘anv_h264_decode_video’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:853:107: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:26: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1158:1: note: in expansion of macro ‘genX’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_private.h:90: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:852:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/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.0.5-build/mesa-24.0.5/include/vulkan/vulkan.h:52: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/include/vulkan/vk_icd.h:10: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_object.h:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_acceleration_structure.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/anv_private.h:73: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:852:7: note: in expansion of macro ‘vk_find_struct_const’
#  851|      const struct VkVideoDecodeH264PictureInfoKHR *h264_pic_info =
#  852|         vk_find_struct_const(frame_info->pNext, VIDEO_DECODE_H264_PICTURE_INFO_KHR);
#  853|->    const StdVideoH264SequenceParameterSet *sps = vk_video_find_h264_dec_std_sps(&params->vk, h264_pic_info->pStdPictureInfo->seq_parameter_set_id);
#  854|      const StdVideoH264PictureParameterSet *pps = vk_video_find_h264_dec_std_pps(&params->vk, h264_pic_info->pStdPictureInfo->pic_parameter_set_id);
#  855|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1004:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1158:1: note: in expansion of macro ‘genX’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:852:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:852:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1000:4: note: in expansion of macro ‘anv_batch_emit’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1003:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan/genX_video.c:1003:13: note: in expansion of macro ‘vk_find_struct_const’
# 1002|            const struct VkVideoDecodeH264DpbSlotInfoKHR *dpb_slot =
# 1003|               vk_find_struct_const(frame_info->pReferenceSlots[i].pNext, VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR);
# 1004|->          const StdVideoDecodeH264ReferenceInfo *ref_info = dpb_slot->pStdReferenceInfo;
# 1005|            int idx = frame_info->pReferenceSlots[i].slotIndex;
# 1006|            avc_dpb.NonExistingFrame[idx] = ref_info->flags.is_non_existing;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_descriptor_set.c: scope_hint: In function ‘anv_UpdateDescriptorSets’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_descriptor_set.c:1728:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_descriptor_set.c:31: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_descriptor_set.c:1721:13: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/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): [#def299]
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:975:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline_cache.h:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_private.h:83: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:1343:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:1343:4: note: in expansion of macro ‘vk_foreach_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:1365:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:1365:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:104:12: note: in definition of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:1365:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:966:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c: scope_hint: In function ‘anv_get_image_format_properties’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/intel/vulkan_hasvk/anv_formats.c:973:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/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: [#def300]
mesa-24.0.5-build/mesa-24.0.5/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: [#def301]
mesa-24.0.5-build/mesa-24.0.5/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: CPPCHECK_WARNING: [#def302]
mesa-24.0.5-build/mesa-24.0.5/src/loader/loader_dri3_helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-562): [#def303]
mesa-24.0.5-build/mesa-24.0.5/src/loader/loader_dri3_helper.c:1919: error[returnDanglingLifetime]: Returning pointer to local variable 'error' that will be invalid when returning.
# 1917|         close(fds[i]);
# 1918|   
# 1919|->    return ret;
# 1920|   }
# 1921|   #endif

Error: CPPCHECK_WARNING: [#def304]
mesa-24.0.5-build/mesa-24.0.5/src/loader/loader_dri_helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def305]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/arrayobj.c:362:11: warning[unix.Malloc]: Use of memory after it is freed
#  360|   
#  361|         bool deleteFlag;
#  362|->       if (oldObj->SharedAndImmutable) {
#  363|            deleteFlag = p_atomic_dec_zero(&oldObj->RefCount);
#  364|         } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def306]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c: scope_hint: In function ‘set_texture_attachment’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c:607:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘att’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c: scope_hint: In function ‘set_texture_attachment’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c: scope_hint: In function ‘set_texture_attachment’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c: scope_hint: In function ‘set_texture_attachment’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/fbobject.c: scope_hint: In function ‘set_texture_attachment’
#  605|                          GLuint layer, GLboolean layered)
#  606|   {
#  607|->    struct gl_renderbuffer *rb = att->Renderbuffer;
#  608|   
#  609|      if (rb)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def307]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/performance_monitor.c: scope_hint: In function ‘init_perf_monitor’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/performance_monitor.c:123:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-24.0.5-build/mesa-24.0.5/src/util/os_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:38: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/include/pipe/p_state.h:47: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/shader_types.h:42: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/mtypes.h:44: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/extensions.h:39: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/context.h:54: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/performance_monitor.c:39: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:48:31: note: in expansion of macro ‘os_calloc’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/performance_monitor.c:99:25: note: in expansion of macro ‘CALLOC’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/shader_info.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/consts_exts.h:36: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/mtypes.h:43: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/performance_monitor.c:114:7: note: in expansion of macro ‘BITSET_FOREACH_SET’
#  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: GCC_ANALYZER_WARNING (CWE-476): [#def308]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/pipelineobj.c:406:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/mesa/main/pipelineobj.c: scope_hint: In function ‘_mesa_ActiveShaderProgram_no_error’
#  404|       * glIsProgramPipeline and GetProgramPipelineInfoLog
#  405|       */
#  406|->    pipe->EverBound = GL_TRUE;
#  407|   
#  408|      if (!no_error && shProg != NULL && !shProg->data->LinkStatus) {

Error: CLANG_WARNING: [#def309]
mesa-24.0.5-build/mesa-24.0.5/src/mesa/state_tracker/st_program.c:351:8: warning[core.NullDereference]: Access to field 'options' results in a dereference of a null pointer (loaded from variable 'nir')
#  349|      NIR_PASS_V(nir, nir_split_var_copies);
#  350|      NIR_PASS_V(nir, nir_lower_var_copies);
#  351|->    if (nir->options->lower_all_io_to_temps ||
#  352|          nir->options->lower_all_io_to_elements ||
#  353|          nir->info.stage == MESA_SHADER_VERTEX ||

Error: CLANG_WARNING: [#def310]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/codegen/nv50_ir_bb.cpp:23: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/codegen/nv50_ir.h:35: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/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: GCC_ANALYZER_WARNING (CWE-476): [#def311]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c: scope_hint: In function ‘block_is_merge’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:208:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:311:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:311:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:311:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:229:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c:229:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/compiler/nak_nir_add_barriers.c: scope_hint: In function ‘block_is_merge’
#  206|   {
#  207|      /* If it's unreachable, there is no merge */
#  208|->    if (block->imm_dom == NULL)
#  209|         return false;
#  210|   

Error: CLANG_WARNING: [#def312]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/headers/nv_push.c:103:22: warning[deadcode.DeadStores]: Value stored to 'mthd_name' during its initialization is never read
#  101|   
#  102|         while (count--) {
#  103|->          const char *mthd_name = "";
#  104|            if (mthd < 0x100) {
#  105|               mthd_name = P_PARSE_NV906F_MTHD(mthd);

Error: CLANG_WARNING: [#def313]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/headers/nv_push.c:185:16: warning[deadcode.DeadStores]: Value stored to 'mthd_name' is never read
#  183|                  break;
#  184|               default:
#  185|->                mthd_name = "";
#  186|                  break;
#  187|               }

Error: GCC_ANALYZER_WARNING (CWE-131): [#def314]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/mme/mme_tu104_dump.c: scope_hint: In function ‘mme_tu104_dump’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/mme/mme_tu104_dump.c:24:24: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#   22|      assert(encoded_size % 12 == 0);
#   23|   
#   24|->    uint32_t *swapped = malloc(encoded_size);
#   25|      for (uint32_t i = 0; i < (encoded_size / 12); i++) {
#   26|         swapped[i * 3 + 0] = encoded[i * 3 + 2];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/mme/mme_tu104_dump.c:26:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘swapped’
#   24|      uint32_t *swapped = malloc(encoded_size);
#   25|      for (uint32_t i = 0; i < (encoded_size / 12); i++) {
#   26|->       swapped[i * 3 + 0] = encoded[i * 3 + 2];
#   27|         swapped[i * 3 + 1] = encoded[i * 3 + 1];
#   28|         swapped[i * 3 + 2] = encoded[i * 3 + 0];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c: scope_hint: In function ‘nvk_GetPipelineExecutableStatisticsKHR’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:188:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_private.h:11: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.h:8: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:5: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:260:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:183:4: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:260:22: note: in expansion of macro ‘vk_outarray_next_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:183:4: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:183:4: note: in expansion of macro ‘vk_outarray_append_typed’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:119:11: note: in definition of macro ‘WRITE_STR’
#  186|                   "Size of the compiled shader binary, in bytes");
#  187|         stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
#  188|->       stat->value.u64 = shader->code_size;
#  189|      }
#  190|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c: scope_hint: In function ‘nvk_GetPipelineExecutableInternalRepresentationsKHR’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_pipeline.c:246:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  244|         shader_for_exe_idx(pipeline, pExecutableInfo->executableIndex);
#  245|   
#  246|->    if (shader->nak != NULL && shader->nak->asm_str != NULL) {
#  247|         vk_outarray_append_typed(VkPipelineExecutableInternalRepresentationKHR, &out, ir) {
#  248|            WRITE_STR(ir->name, "NAK assembly");

Error: GCC_ANALYZER_WARNING (CWE-688): [#def318]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c: scope_hint: In function ‘nvk_shader_init’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c:452:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/wsi/wsi_common.h:30: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_physical_device.h:16: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c:9: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_alloc.h:227:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c:445:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c: scope_hint: In function ‘nvk_shader_init’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_alloc.h:224:4: note: in expansion of macro ‘vk_multialloc_add_size’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c:446:4: note: in expansion of macro ‘VK_MULTIALLOC_DECL_SIZE’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c: scope_hint: In function ‘nvk_shader_init’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_alloc.h:251:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_alloc.h:252:4: note: in expansion of macro ‘_VK_MULTIALLOC_UPDATE_POINTER’
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c: scope_hint: In function ‘nvk_shader_init’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  450|         return NULL;
#  451|   
#  452|->    memcpy(obj_key_data, key_data, key_size);
#  453|   
#  454|      vk_pipeline_cache_object_init(&dev->vk, &shader->base,

Error: CLANG_WARNING: [#def319]
mesa-24.0.5-build/mesa-24.0.5/src/nouveau/vulkan/nvk_shader.c:452:4: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  450|         return NULL;
#  451|   
#  452|->    memcpy(obj_key_data, key_data, key_size);
#  453|   
#  454|      vk_pipeline_cache_object_init(&dev->vk, &shader->base,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def320]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/compiler/bi_ra.c:30: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/compiler/nodearray.h: scope_hint: In function ‘nodearray_orr.part.0’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/compiler/nodearray.h:207:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*a.<U8b48>.sparse’ where non-null expected
mesa-24.0.5-build/mesa-24.0.5/src/util/u_debug.h:52: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/u_memory.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/compiler/bi_ra.c:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/macros.h:364:27: note: in definition of macro ‘MIN2’
mesa-24.0.5-build/mesa-24.0.5/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: CLANG_WARNING: [#def321]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/pan_texture.c:557:10: note:  Execution continues on line 586
#  555|            /* Every texture should have at least one plane. */
#  556|            assert(i > 0);
#  557|->          break;
#  558|         }
#  559|   

Error: CLANG_WARNING: [#def322]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/pan_texture.c:727:9: note: Assuming the condition is false
#  725|      }
#  726|   
#  727|->    if ((dev->debug & PAN_DBG_YUV) && PAN_ARCH == 7 &&
#  728|          panfrost_is_yuv(desc->layout)) {
#  729|         if (desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED) {

Error: CLANG_WARNING: [#def323]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/pan_texture.c:727:35: note: Left side of '&&' is false
#  725|      }
#  726|   
#  727|->    if ((dev->debug & PAN_DBG_YUV) && PAN_ARCH == 7 &&
#  728|          panfrost_is_yuv(desc->layout)) {
#  729|         if (desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED) {

Error: CLANG_WARNING: [#def324]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_cmd_buffer.c:414:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  412|                              cmdbuf->state.clear[i].color, col, fmt, false);
#  413|            } else {
#  414|->             memset(cmdbuf->state.clear[i].color, 0,
#  415|                      sizeof(cmdbuf->state.clear[0].color));
#  416|            }

Error: CLANG_WARNING: [#def325]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_cmd_buffer.c:445:7: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  443|         fbinfo->rts[cb].crc_valid = &cmdbuf->state.fb.crc_valid[cb];
#  444|   
#  445|->       memcpy(fbinfo->rts[cb].clear_value, clears[idx].color,
#  446|                sizeof(fbinfo->rts[cb].clear_value));
#  447|         fbinfo->nr_samples =

Error: COMPILER_WARNING (CWE-563): [#def326]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_device.c: scope_hint: In function ‘panvk_QueueWaitIdle’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_device.c:992:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  992 |    int ret;
#      |        ^~~
#  990|         .flags = DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL,
#  991|      };
#  992|->    int ret;
#  993|   
#  994|      ret = drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_WAIT, &wait);

Error: CLANG_WARNING: [#def327]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_device.c:994:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  992|      int ret;
#  993|   
#  994|->    ret = drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_WAIT, &wait);
#  995|      assert(!ret);
#  996|   

Error: CLANG_WARNING: [#def328]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_formats.c:349:25: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'external_properties')
#  347|      }
#  348|   
#  349|->    *external_properties = (VkExternalMemoryProperties){
#  350|         .externalMemoryFeatures = flags,
#  351|         .exportFromImportedHandleTypes = export_flags,

Error: CLANG_WARNING: [#def329]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_formats.c:428:12: warning[core.NullDereference]: Access to field 'imageViewType' results in a dereference of a null pointer (loaded from variable 'image_view_info')
#  426|          * its likely we can enable it for 1D and CUBE, needs testing however
#  427|          */
#  428|->       if ((image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D ||
#  429|              image_view_info->imageViewType == VK_IMAGE_VIEW_TYPE_2D_ARRAY) &&
#  430|             (format_feature_flags &

Error: CLANG_WARNING: [#def330]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_cs.c:561:8: warning[deadcode.DeadStores]: Value stored to 'miny' during its initialization is never read
#  559|   
#  560|      /* Viewport height can be negative */
#  561|->    int miny = MIN2((int)viewport->y, (int)(viewport->y + viewport->height));
#  562|      int maxy = MAX2((int)viewport->y, (int)(viewport->y + viewport->height));
#  563|   

Error: COMPILER_WARNING (CWE-563): [#def331]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_queue_submit_batch’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:46:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#   46 |    int ret;
#      |        ^~~
#   44|      unsigned debug = dev->physical_device->instance->debug_flags;
#   45|      const struct panfrost_device *pdev = &dev->physical_device->pdev;
#   46|->    int ret;
#   47|   
#   48|      /* Reset the batch if it's already been issued */

Error: CLANG_WARNING: [#def332]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:70:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   68|         };
#   69|   
#   70|->       ret =
#   71|            drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_PANFROST_SUBMIT, &submit);
#   72|         assert(!ret);

Error: CLANG_WARNING: [#def333]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:75:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#   73|   
#   74|         if (debug & (PANVK_DEBUG_TRACE | PANVK_DEBUG_SYNC)) {
#   75|->          ret = drmSyncobjWait(panfrost_device_fd(pdev), &submit.out_sync, 1,
#   76|                                 INT64_MAX, 0, NULL);
#   77|            assert(!ret);

Error: CLANG_WARNING: [#def334]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:106:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  104|         }
#  105|   
#  106|->       ret =
#  107|            drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_PANFROST_SUBMIT, &submit);
#  108|         assert(!ret);

Error: CLANG_WARNING: [#def335]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:110:10: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  108|         assert(!ret);
#  109|         if (debug & (PANVK_DEBUG_TRACE | PANVK_DEBUG_SYNC)) {
#  110|->          ret = drmSyncobjWait(panfrost_device_fd(pdev), &submit.out_sync, 1,
#  111|                                 INT64_MAX, 0, NULL);
#  112|            assert(!ret);

Error: COMPILER_WARNING (CWE-563): [#def336]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_queue_transfer_sync’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:133:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
#  133 |    int ret;
#      |        ^~~
#  131|   {
#  132|      const struct panfrost_device *pdev = &queue->device->physical_device->pdev;
#  133|->    int ret;
#  134|   
#  135|      struct drm_syncobj_handle handle = {

Error: CLANG_WARNING: [#def337]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:141:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  139|      };
#  140|   
#  141|->    ret = drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD,
#  142|                     &handle);
#  143|      assert(!ret);

Error: CLANG_WARNING: [#def338]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:147:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  145|   
#  146|      handle.handle = syncobj;
#  147|->    ret = drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE,
#  148|                     &handle);
#  149|      assert(!ret);

Error: COMPILER_WARNING (CWE-563): [#def339]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_signal_event_syncobjs’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:194:14: warning[-Wunused-variable]: unused variable ‘ret’
#  194 |          int ret =
#      |              ^~~
#  192|               .count_handles = 1};
#  193|   
#  194|->          int ret =
#  195|               drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_RESET, &objs);
#  196|            assert(!ret);

Error: CLANG_WARNING: [#def340]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:194:14: warning[deadcode.DeadStores]: Value stored to 'ret' during its initialization is never read
#  192|               .count_handles = 1};
#  193|   
#  194|->          int ret =
#  195|               drmIoctl(panfrost_device_fd(pdev), DRM_IOCTL_SYNCOBJ_RESET, &objs);
#  196|            assert(!ret);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_v6_queue_submit’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:224:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_cs.h:37: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:33: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_private.h:1069:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:209:1: note: in expansion of macro ‘panvk_per_arch’
/usr/include/sys/mman.h:25: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/os_mman.h:44: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/kmod/pan_kmod.h:29: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/pan_bo.h:33: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/lib/pan_encoder.h:35: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_cs.h:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_v6_queue_submit’
#  222|            vk_sync_as_drm_syncobj(submit->waits[i].sync);
#  223|   
#  224|->       semaphores[i + 1] = syncobj->syncobj;
#  225|      }
#  226|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:304:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_private.h:1069:30: note: in expansion of macro ‘panvk_arch_name’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c:209:1: note: in expansion of macro ‘panvk_per_arch’
mesa-24.0.5-build/mesa-24.0.5/src/panfrost/vulkan/panvk_vX_device.c: scope_hint: In function ‘panvk_v6_queue_submit’
#  302|            vk_sync_as_drm_syncobj(submit->signals[i].sync);
#  303|   
#  304|->       panvk_queue_transfer_sync(queue, syncobj->syncobj);
#  305|      }
#  306|   

Error: CLANG_WARNING: [#def343]
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/lavapipe/lvp_execute.c:26: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/gallium/frontends/lavapipe/lvp_private.h:35: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/list.h:55:16: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'item')
#   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): [#def344]
mesa-24.0.5-build/mesa-24.0.5/src/util/list.h:103:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_helper_writes.c: scope_hint: In function ‘lower’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_lower_helper_writes.c:26: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:32: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4117:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:4159:4: note: in expansion of macro ‘nir_foreach_function_with_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:160:4: note: in expansion of macro ‘nir_foreach_function_impl’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:164:7: note: in expansion of macro ‘nir_foreach_block_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:735:33: note: in definition of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:759:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:761:12: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h: scope_hint: In function ‘lower’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:3004:4: note: in expansion of macro ‘foreach_list_typed_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir_builder.h:165:10: note: in expansion of macro ‘nir_foreach_instr_safe’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/glsl/list.h:742:10: note: in expansion of macro ‘exec_node_data_forward’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:2623:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:2639:4: note: in expansion of macro ‘nir_foreach_phi_src’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:2623:4: note: in expansion of macro ‘foreach_list_typed’
mesa-24.0.5-build/mesa-24.0.5/src/compiler/nir/nir.h:2639: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: CLANG_WARNING: [#def345]
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/ir3/tests/delay.c:27: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/freedreno/ir3/ir3.h:33: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/util/list.h:110:24: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'item')
#  108|   static inline void list_delinit(struct list_head *item)
#  109|   {
#  110|->     item->prev->next = item->next;
#  111|       item->next->prev = item->prev;
#  112|       item->next = item;

Error: CLANG_WARNING: [#def346]
mesa-24.0.5-build/mesa-24.0.5/src/util/strtod.c:73:11: warning[core.NonNullParamChecker]: Null pointer passed to 3rd parameter expecting 'nonnull'
#   71|   #if defined(_GNU_SOURCE) && defined(HAVE_STRTOD_L)
#   72|      if (!loc) _mesa_locale_init();
#   73|->    return strtod_l(s, end, loc);
#   74|   #else
#   75|      return strtod(s, end);

Error: CLANG_WARNING: [#def347]
mesa-24.0.5-build/mesa-24.0.5/src/util/strtod.c:89:11: warning[core.NonNullParamChecker]: Null pointer passed to 3rd parameter expecting 'nonnull'
#   87|   #if defined(_GNU_SOURCE) && defined(HAVE_STRTOD_L)
#   88|      if (!loc) _mesa_locale_init();
#   89|->    return strtof_l(s, end, loc);
#   90|   #elif defined(HAVE_STRTOF)
#   91|      return strtof(s, end);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_hash_shader_stage’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:210:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.h:28: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:24: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:62:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:62:10: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_hash_shader_stage’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:280:16: note: in definition of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:185:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:185:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:187:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c:187:7: note: in expansion of macro ‘vk_find_struct_const’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/util/vk_util.h:266:4: note: in expansion of macro ‘vk_foreach_struct’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_hash_shader_stage’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_pipeline.c: scope_hint: In function ‘vk_pipeline_hash_shader_stage’
#  208|         assert(iinfo);
#  209|         assert(iinfo->identifierSize <= VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT);
#  210|->       _mesa_sha1_update(&ctx, iinfo->pIdentifier, iinfo->identifierSize);
#  211|      }
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def349]
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c: scope_hint: In function ‘vk_sync_binary_wait_many’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c:99:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)i * 24’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c:26: included_from: Included from here.
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c:94:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c:94:4: note: in expansion of macro ‘STACK_ARRAY’
mesa-24.0.5-build/mesa-24.0.5/src/vulkan/runtime/vk_sync_binary.c:94:4: note: in expansion of macro ‘STACK_ARRAY’
#   97|         struct vk_sync_binary *binary = to_vk_sync_binary(waits[i].sync);
#   98|   
#   99|->       timeline_waits[i] = (struct vk_sync_wait) {
#  100|            .sync = &binary->timeline,
#  101|            .stage_mask = waits[i].stage_mask,

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-149.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namemesa-24.1.2-6.fc41
diffbase-store-results-to/tmp/tmpt0hhd7qs/mesa-24.1.2-6.fc41.tar.xz
diffbase-time-created2024-07-03 17:11:49
diffbase-time-finished2024-07-03 18:16:53
diffbase-toolcsmock
diffbase-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'
diffbase-tool-versioncsmock-3.5.3-1.el9
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.0.5-1.fc40
store-results-to/tmp/tmpbur8rg2q/mesa-24.0.5-1.fc40.tar.xz
time-created2024-07-03 16:11:58
time-finished2024-07-03 17:10:39
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbur8rg2q/mesa-24.0.5-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpbur8rg2q/mesa-24.0.5-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9