Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/asm_offset.c: scope_hint: In function ‘main’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/asm_offset.c:133:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen("gen_defines.asm", "w")’ where non-null expected vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/asm_offset.c: scope_hint: In function ‘main’ <built-in>: note: argument 2 of ‘__builtin_fputc’ must be non-null # 131| # 132| FILE *file = loader_fopen("gen_defines.asm", "w"); # 133|-> fprintf(file, "\n"); # 134| if (assembler == MASM) { # 135| for (size_t i = 0; i < sizeof(values) / sizeof(values[0]); ++i) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/debug_utils.c: scope_hint: In function ‘terminator_CreateDebugUtilsMessengerEXT’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/debug_utils.c:251:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘loader_instance_heap_alloc(instance, 4, 1)’ # 249| } # 250| if (inst->debug_utils_messengers_list.list && # 251|-> inst->debug_utils_messengers_list.capacity > (*pNextIndex) * sizeof(struct loader_used_object_status)) { # 252| inst->debug_utils_messengers_list.list[*pNextIndex].status = VK_FALSE; # 253| if (NULL != pAllocator) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/debug_utils.c: scope_hint: In function ‘terminator_CreateDebugReportCallbackEXT’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/debug_utils.c:527:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘loader_instance_heap_alloc(instance, 4, 1)’ # 525| } # 526| if (inst->debug_report_callbacks_list.list && # 527|-> inst->debug_report_callbacks_list.capacity > (*pNextIndex) * sizeof(struct loader_used_object_status)) { # 528| inst->debug_report_callbacks_list.list[*pNextIndex].status = VK_FALSE; # 529| if (NULL != pAllocator) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdBeginRendering’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3206:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/include/vulkan/vulkan.h:11: included_from: Included from here. vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/loader_common.h:33: included_from: Included from here. vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/allocation.h:31: included_from: Included from here. vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:32: included_from: Included from here. # 3204| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRenderingInfo) { # 3205| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3206|-> disp->CmdBeginRendering(commandBuffer, pRenderingInfo); # 3207| } # 3208| Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdBindVertexBuffers2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3214:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3212| const VkDeviceSize *pStrides) { # 3213| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3214|-> disp->CmdBindVertexBuffers2(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides); # 3215| } # 3216| Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdBlitImage2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3219:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3217| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdBlitImage2(VkCommandBuffer commandBuffer, const VkBlitImageInfo2 *pBlitImageInfo) { # 3218| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3219|-> disp->CmdBlitImage2(commandBuffer, pBlitImageInfo); # 3220| } # 3221| Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdCopyBuffer2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3224:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3222| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdCopyBuffer2(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2 *pCopyBufferInfo) { # 3223| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3224|-> disp->CmdCopyBuffer2(commandBuffer, pCopyBufferInfo); # 3225| } # 3226| Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdCopyBufferToImage2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3230:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3228| const VkCopyBufferToImageInfo2 *pCopyBufferToImageInfo) { # 3229| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3230|-> disp->CmdCopyBufferToImage2(commandBuffer, pCopyBufferToImageInfo); # 3231| } # 3232| Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdCopyImage2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3235:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3233| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdCopyImage2(VkCommandBuffer commandBuffer, const VkCopyImageInfo2 *pCopyImageInfo) { # 3234| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3235|-> disp->CmdCopyImage2(commandBuffer, pCopyImageInfo); # 3236| } # 3237| Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdCopyImageToBuffer2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3241:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3239| const VkCopyImageToBufferInfo2 *pCopyImageToBufferInfo) { # 3240| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3241|-> disp->CmdCopyImageToBuffer2(commandBuffer, pCopyImageToBufferInfo); # 3242| } # 3243| Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdEndRendering’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3246:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3244| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdEndRendering(VkCommandBuffer commandBuffer) { # 3245| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3246|-> disp->CmdEndRendering(commandBuffer); # 3247| } # 3248| Error: GCC_ANALYZER_WARNING (CWE-476): [#def12] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdPipelineBarrier2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3252:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3250| const VkDependencyInfo *pDependencyInfo) { # 3251| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3252|-> disp->CmdPipelineBarrier2(commandBuffer, pDependencyInfo); # 3253| } # 3254| Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdResetEvent2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3258:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3256| VkPipelineStageFlags2 stageMask) { # 3257| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3258|-> disp->CmdResetEvent2(commandBuffer, event, stageMask); # 3259| } # 3260| Error: GCC_ANALYZER_WARNING (CWE-476): [#def14] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdResolveImage2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3264:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3262| const VkResolveImageInfo2 *pResolveImageInfo) { # 3263| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3264|-> disp->CmdResolveImage2(commandBuffer, pResolveImageInfo); # 3265| } # 3266| Error: GCC_ANALYZER_WARNING (CWE-476): [#def15] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetCullMode’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3269:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3267| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetCullMode(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode) { # 3268| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3269|-> disp->CmdSetCullMode(commandBuffer, cullMode); # 3270| } # 3271| Error: GCC_ANALYZER_WARNING (CWE-476): [#def16] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetDepthBiasEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3274:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3272| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthBiasEnable(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable) { # 3273| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3274|-> disp->CmdSetDepthBiasEnable(commandBuffer, depthBiasEnable); # 3275| } # 3276| Error: GCC_ANALYZER_WARNING (CWE-476): [#def17] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetDepthBoundsTestEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3280:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3278| VkBool32 depthBoundsTestEnable) { # 3279| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3280|-> disp->CmdSetDepthBoundsTestEnable(commandBuffer, depthBoundsTestEnable); # 3281| } # 3282| Error: GCC_ANALYZER_WARNING (CWE-476): [#def18] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetDepthCompareOp’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3285:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3283| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthCompareOp(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp) { # 3284| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3285|-> disp->CmdSetDepthCompareOp(commandBuffer, depthCompareOp); # 3286| } # 3287| Error: GCC_ANALYZER_WARNING (CWE-476): [#def19] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetDepthTestEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3290:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3288| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthTestEnable(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable) { # 3289| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3290|-> disp->CmdSetDepthTestEnable(commandBuffer, depthTestEnable); # 3291| } # 3292| Error: GCC_ANALYZER_WARNING (CWE-476): [#def20] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetDepthWriteEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3295:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3293| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthWriteEnable(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable) { # 3294| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3295|-> disp->CmdSetDepthWriteEnable(commandBuffer, depthWriteEnable); # 3296| } # 3297| Error: GCC_ANALYZER_WARNING (CWE-476): [#def21] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetEvent2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3301:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3299| const VkDependencyInfo *pDependencyInfo) { # 3300| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3301|-> disp->CmdSetEvent2(commandBuffer, event, pDependencyInfo); # 3302| } # 3303| Error: GCC_ANALYZER_WARNING (CWE-476): [#def22] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetFrontFace’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3306:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3304| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetFrontFace(VkCommandBuffer commandBuffer, VkFrontFace frontFace) { # 3305| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3306|-> disp->CmdSetFrontFace(commandBuffer, frontFace); # 3307| } # 3308| Error: GCC_ANALYZER_WARNING (CWE-476): [#def23] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetPrimitiveRestartEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3312:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3310| VkBool32 primitiveRestartEnable) { # 3311| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3312|-> disp->CmdSetPrimitiveRestartEnable(commandBuffer, primitiveRestartEnable); # 3313| } # 3314| Error: GCC_ANALYZER_WARNING (CWE-476): [#def24] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetPrimitiveTopology’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3318:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3316| VkPrimitiveTopology primitiveTopology) { # 3317| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3318|-> disp->CmdSetPrimitiveTopology(commandBuffer, primitiveTopology); # 3319| } # 3320| Error: GCC_ANALYZER_WARNING (CWE-476): [#def25] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetRasterizerDiscardEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3324:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3322| VkBool32 rasterizerDiscardEnable) { # 3323| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3324|-> disp->CmdSetRasterizerDiscardEnable(commandBuffer, rasterizerDiscardEnable); # 3325| } # 3326| Error: GCC_ANALYZER_WARNING (CWE-476): [#def26] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetScissorWithCount’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3330:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3328| const VkRect2D *pScissors) { # 3329| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3330|-> disp->CmdSetScissorWithCount(commandBuffer, scissorCount, pScissors); # 3331| } # 3332| Error: GCC_ANALYZER_WARNING (CWE-476): [#def27] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetStencilOp’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3337:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3335| VkCompareOp compareOp) { # 3336| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3337|-> disp->CmdSetStencilOp(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp); # 3338| } # 3339| Error: GCC_ANALYZER_WARNING (CWE-476): [#def28] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetStencilTestEnable’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3342:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3340| LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetStencilTestEnable(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable) { # 3341| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3342|-> disp->CmdSetStencilTestEnable(commandBuffer, stencilTestEnable); # 3343| } # 3344| Error: GCC_ANALYZER_WARNING (CWE-476): [#def29] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdSetViewportWithCount’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3348:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3346| const VkViewport *pViewports) { # 3347| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3348|-> disp->CmdSetViewportWithCount(commandBuffer, viewportCount, pViewports); # 3349| } # 3350| Error: GCC_ANALYZER_WARNING (CWE-476): [#def30] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdWaitEvents2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3354:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3352| const VkEvent *pEvents, const VkDependencyInfo *pDependencyInfos) { # 3353| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3354|-> disp->CmdWaitEvents2(commandBuffer, eventCount, pEvents, pDependencyInfos); # 3355| } # 3356| Error: GCC_ANALYZER_WARNING (CWE-476): [#def31] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCmdWriteTimestamp2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3360:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3358| VkQueryPool queryPool, uint32_t query) { # 3359| const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer); # 3360|-> disp->CmdWriteTimestamp2(commandBuffer, stage, queryPool, query); # 3361| } # 3362| Error: GCC_ANALYZER_WARNING (CWE-476): [#def32] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkCreatePrivateDataSlot’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3368:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3366| VkPrivateDataSlot *pPrivateDataSlot) { # 3367| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3368|-> return disp->CreatePrivateDataSlot(device, pCreateInfo, pAllocator, pPrivateDataSlot); # 3369| } # 3370| Error: GCC_ANALYZER_WARNING (CWE-476): [#def33] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkDestroyPrivateDataSlot’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3374:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3372| const VkAllocationCallbacks *pAllocator) { # 3373| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3374|-> disp->DestroyPrivateDataSlot(device, privateDataSlot, pAllocator); # 3375| } # 3376| Error: GCC_ANALYZER_WARNING (CWE-476): [#def34] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkGetDeviceBufferMemoryRequirements’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3381:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3379| VkMemoryRequirements2 *pMemoryRequirements) { # 3380| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3381|-> disp->GetDeviceBufferMemoryRequirements(device, pInfo, pMemoryRequirements); # 3382| } # 3383| Error: GCC_ANALYZER_WARNING (CWE-476): [#def35] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkGetDeviceImageMemoryRequirements’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3388:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3386| VkMemoryRequirements2 *pMemoryRequirements) { # 3387| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3388|-> disp->GetDeviceImageMemoryRequirements(device, pInfo, pMemoryRequirements); # 3389| } # 3390| Error: GCC_ANALYZER_WARNING (CWE-476): [#def36] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkGetDeviceImageSparseMemoryRequirements’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3395:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3393| VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements) { # 3394| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3395|-> disp->GetDeviceImageSparseMemoryRequirements(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements); # 3396| } # 3397| Error: GCC_ANALYZER_WARNING (CWE-476): [#def37] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkGetPrivateData’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3401:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3399| VkPrivateDataSlot privateDataSlot, uint64_t *pData) { # 3400| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3401|-> disp->GetPrivateData(device, objectType, objectHandle, privateDataSlot, pData); # 3402| } # 3403| Error: GCC_ANALYZER_WARNING (CWE-476): [#def38] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkSetPrivateData’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3407:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3405| VkPrivateDataSlot privateDataSlot, uint64_t data) { # 3406| const VkLayerDispatchTable *disp = loader_get_dispatch(device); # 3407|-> return disp->SetPrivateData(device, objectType, objectHandle, privateDataSlot, data); # 3408| } # 3409| Error: GCC_ANALYZER_WARNING (CWE-476): [#def39] vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c: scope_hint: In function ‘vkQueueSubmit2’ vulkan-loader-1.3.296.0-build/Vulkan-Loader-vulkan-sdk-1.3.296.0/loader/trampoline.c:3413:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3411| VkFence fence) { # 3412| const VkLayerDispatchTable *disp = loader_get_dispatch(queue); # 3413|-> return disp->QueueSubmit2(queue, submitCount, pSubmits, fence); # 3414| }
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-145.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | vulkan-loader-1.3.296.0-1.fc42 |
store-results-to | /tmp/tmpsucum3wh/vulkan-loader-1.3.296.0-1.fc42.tar.xz |
time-created | 2024-11-13 03:35:16 |
time-finished | 2024-11-13 03:36:57 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsucum3wh/vulkan-loader-1.3.296.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsucum3wh/vulkan-loader-1.3.296.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |