Newly introduced findings
List of Findings
Error: COMPILER_WARNING (CWE-563): [#def1]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c: scope_hint: In function ‘amd_cp_print_packet_gfx11’
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:1900:19: warning[-Wunused-variable]: unused variable ‘dw2’
Error: COMPILER_WARNING (CWE-563): [#def2]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:3069:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def3]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:4603:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def4]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:4606:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def5]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:5335:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def6]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:5338:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def7]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:5350:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def8]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx11.c:5353:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def9]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c: scope_hint: In function ‘amd_cp_print_packet_gfx12’
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:1757:19: warning[-Wunused-variable]: unused variable ‘dw2’
Error: COMPILER_WARNING (CWE-563): [#def10]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:2923:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def11]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:4453:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def12]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:4456:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def13]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:5491:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def14]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:5494:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def15]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:5506:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: COMPILER_WARNING (CWE-563): [#def16]
mesa-26.1.1/redhat-linux-build/src/amd/common/amd_cp_print_packet_gfx12.c:5509:19: warning[-Wunused-variable]: unused variable ‘dw0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
mesa-26.1.1/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2161:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rt’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:623:1: enter_function: entry to ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: calling ‘pan_nir_tile_default_coverage’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: return_function: returning to ‘bi_lower_load_output’ from ‘pan_nir_tile_default_coverage’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: inlined call to ‘nir_imm_int’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: inlined call to ‘nir_imm_int’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: calling ‘pan_nir_tile_location_sample’ from ‘bi_lower_load_output’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
mesa-26.1.1/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2161:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sample’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:623:1: enter_function: entry to ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: calling ‘pan_nir_tile_default_coverage’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: return_function: returning to ‘bi_lower_load_output’ from ‘pan_nir_tile_default_coverage’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: inlined call to ‘nir_imm_int’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: inlined call to ‘nir_imm_int’ from ‘bi_lower_load_output’
mesa-26.1.1/src/panfrost/compiler/bifrost/bifrost_nir.c:638:23: call_function: calling ‘pan_nir_tile_location_sample’ from ‘bi_lower_load_output’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
mesa-26.1.1/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:14102:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:108:1: enter_function: entry to ‘pan_nir_lower_fs_inputs’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:117:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘pan_nir_lower_fs_inputs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:821:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:6969:28: enter_function: entry to ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers_ext’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:6976:7: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:6978:4: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:6981:4: call_function: calling ‘enqueue_pipeline_layout’ from ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers_ext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:829:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7868:28: enter_function: entry to ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers2_ext’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7873:7: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7875:4: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7876:7: branch_true: following ‘true’ branch (when ‘pBindDescriptorBufferEmbeddedSamplersInfo’ is non-NULL)...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7877:108: branch_true: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7878:10: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7879:7: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7880:7: call_function: calling ‘enqueue_pipeline_layout’ from ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers2_ext’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7880:7: return_function: returning to ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers2_ext’ from ‘enqueue_pipeline_layout’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7885:14: branch_true: following ‘true’ branch (when ‘pnext’ is non-NULL)...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7886:27: branch_true: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7889:16: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7890:13: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7895:19: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7896:114: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7897:38: branch_true: following ‘true’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7898:52: branch_true: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7898:19: call_function: calling ‘enqueue_descriptor_layout’ from ‘vk_enqueue_cmd_bind_descriptor_buffer_embedded_samplers2_ext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:837:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7754:28: enter_function: entry to ‘vk_enqueue_cmd_push_descriptor_set_with_template2’
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7759:7: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7761:4: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7762:7: branch_true: following ‘true’ branch (when ‘pPushDescriptorSetWithTemplateInfo’ is non-NULL)...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7763:90: branch_true: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7764:10: branch_false: following ‘false’ branch...
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7765:7: branch_false: ...to here
mesa-26.1.1/redhat-linux-build/src/vulkan/runtime/vk_cmd_queue.c:7766:7: call_function: calling ‘enqueue_descriptor_template’ from ‘vk_enqueue_cmd_push_descriptor_set_with_template2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:731:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dec’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:672:1: enter_function: entry to ‘ac_uvd_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:674:33: acquire_memory: allocated here
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:675:7: branch_false: following ‘false’ branch (when ‘dec’ is non-NULL)...
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:678:18: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:722:29: call_function: calling ‘get_session_size’ from ‘ac_uvd_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:722:29: return_function: returning to ‘ac_uvd_create_video_decoder’ from ‘get_session_size’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:723:30: call_function: calling ‘get_embedded_size’ from ‘ac_uvd_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:723:30: return_function: returning to ‘ac_uvd_create_video_decoder’ from ‘get_embedded_size’
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:727:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:729:4: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_uvd_dec.c:731:11: danger: ‘dec’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1003:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1060:1: enter_function: entry to ‘vcn_build_create_cmd’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1093:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1098:4: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1098:4: call_function: calling ‘send_cmd’ from ‘vcn_build_create_cmd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1885:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_drm’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1885:7: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1885:7: danger: dereference of NULL ‘index_drm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1899:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1899:7: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1899:7: danger: dereference of NULL ‘index_dynamic_dpb’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2020:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1908:26: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1922:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1925:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1958:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1965:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2012:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2015:14: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2015:14: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2016:7: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2020:7: danger: dereference of NULL ‘dynamic_dpb’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2054:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb_t2’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1908:26: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1922:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1925:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1958:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1965:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2012:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2015:14: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2015:14: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2028:14: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2028:14: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2028:14: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2031:28: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2048:10: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2048:10: branch_true: following ‘true’ branch (when ‘cur’ is NULL)...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2049:10: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2054:7: danger: dereference of NULL ‘dynamic_dpb_t2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2107:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drm’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1908:26: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1922:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1925:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1958:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1965:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2013:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2105:27: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2107:7: danger: dereference of NULL ‘drm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2133:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drm’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1908:26: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1922:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1925:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1958:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1965:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2013:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2129:14: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2129:14: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2130:33: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2133:7: danger: dereference of NULL ‘drm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2148:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drm_keyblob’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1826:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1827:7: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1831:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1836:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1842:42: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1845:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1847:39: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1851:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1857:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1869:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1884:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1891:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1898:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1908:26: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1922:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1925:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1958:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:1965:12: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2013:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2097:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:8: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2104:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2129:14: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2129:14: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2130:33: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2148:7: danger: dereference of NULL ‘drm_keyblob’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2386:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dec’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2291:1: enter_function: entry to ‘ac_vcn_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2293:33: acquire_memory: allocated here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2294:7: branch_false: following ‘false’ branch (when ‘dec’ is non-NULL)...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2297:23: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2375:29: call_function: calling ‘get_session_size’ from ‘ac_vcn_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2375:29: return_function: returning to ‘ac_vcn_create_video_decoder’ from ‘get_session_size’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2376:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2378:30: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2378:30: call_function: calling ‘get_embedded_size’ from ‘ac_vcn_create_video_decoder’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2378:30: return_function: returning to ‘ac_vcn_create_video_decoder’ from ‘get_embedded_size’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2381:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2383:4: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2386:11: danger: ‘dec’ leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2819:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dec’
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2730:38: acquire_memory: allocated here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2731:7: branch_false: following ‘false’ branch (when ‘dec’ is non-NULL)...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2734:21: branch_false: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2745:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2746:7: branch_true: ...to here
mesa-26.1.1/src/amd/common/ac_vcn_dec.c:2819:11: danger: ‘dec’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:151:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:196:1: enter_function: entry to ‘ac_nir_opt_flip_if_for_mem_loads’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘ac_nir_opt_flip_if_for_mem_loads’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: return_function: returning to ‘ac_nir_opt_flip_if_for_mem_loads’ from ‘nir_foreach_function_with_impl_first’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:200:19: call_function: calling ‘opt_flip_if_for_mem_loads_impl’ from ‘ac_nir_opt_flip_if_for_mem_loads’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:153:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:196:1: enter_function: entry to ‘ac_nir_opt_flip_if_for_mem_loads’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘ac_nir_opt_flip_if_for_mem_loads’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: return_function: returning to ‘ac_nir_opt_flip_if_for_mem_loads’ from ‘nir_foreach_function_with_impl_first’
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:199:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/common/nir/ac_nir_opt_flip_if_for_mem_loads.c:200:19: call_function: calling ‘opt_flip_if_for_mem_loads_impl’ from ‘ac_nir_opt_flip_if_for_mem_loads’
Error: COMPILER_WARNING (CWE-563): [#def36]
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_copy.c: scope_hint: In function ‘radv_CmdCopyMemoryToImageIndirectKHR’
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_copy.c:930:37: warning[-Wunused-variable]: unused variable ‘format_layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:293:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dst_iview’
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:245:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:249:4: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:276:7: branch_true: following ‘true’ branch (when ‘has_ds_resolve != 0’)...
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:277:40: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:287:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:290:43: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:291:43: branch_false: following ‘false’ branch (when ‘d_res_iview’ is NULL)...
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:291:43: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/meta/radv_meta_resolve.c:293:55: danger: dereference of NULL ‘dst_iview’
Error: COMPILER_WARNING: [#def38]
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c: scope_hint: In function ‘get_sampler_desc’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:248:9: warning[-Wunused-but-set-variable=]: variable ‘indirect’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:266:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:679:1: enter_function: entry to ‘radv_nir_lower_descriptors’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:699:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_lower_descriptors’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:699:4: return_function: returning to ‘radv_nir_lower_descriptors’ from ‘nir_foreach_function_with_impl_first’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:699:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:707:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:708:10: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:708:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:708:10: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:709:16: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:710:33: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_lower_descriptors.c:710:33: call_function: calling ‘lower_descriptors_tex’ from ‘radv_nir_lower_descriptors’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_rt_stage_monolithic.c:463:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_rt_stage_monolithic.c:458:1: enter_function: entry to ‘radv_nir_lower_rt_abi_monolithic’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_rt_stage_monolithic.c:462:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘radv_nir_lower_rt_abi_monolithic’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_rt_stage_monolithic.c:462:30: return_function: returning to ‘radv_nir_lower_rt_abi_monolithic’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/amd/vulkan/nir/radv_nir_rt_stage_monolithic.c:463:4: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:131:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:98:1: enter_function: entry to ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:103:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:106:30: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:108:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:111:28: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:118:21: acquire_memory: this call could return NULL
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:124:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:125:29: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:128:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:131:11: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:131:7: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:137:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:98:1: enter_function: entry to ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:103:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:106:30: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:108:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:111:28: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:119:24: acquire_memory: this call could return NULL
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:124:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:125:29: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:128:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:129:16: call_function: inlined call to ‘nir_b2i32’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:133:27: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:133:27: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:136:10: branch_true: following ‘true’ branch (when ‘divergent != 0’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:137:23: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:137:23: call_function: inlined call to ‘nir_imul_imm’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:137:23: call_function: inlined call to ‘nir_imul_imm’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:137:10: danger: ‘strides + (long unsigned int)i * 8’ could be NULL: unchecked value from [(21)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:140:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:98:1: enter_function: entry to ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:103:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:106:30: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:108:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:111:28: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:116:20: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:119:24: acquire_memory: this call could return NULL
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:121:22: call_function: inlined call to ‘nir_imm_true’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:124:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:125:29: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:136:10: branch_false: following ‘false’ branch (when ‘divergent == 0’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:140:17: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:140:23: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:140:23: call_function: inlined call to ‘nir_imm_int’ from ‘radv_build_printf_args’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:140:10: danger: ‘strides + (long unsigned int)i * 8’ could be NULL: unchecked value from [(21)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:241:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fields’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:200:1: enter_function: entry to ‘radv_build_printf’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:212:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:213:11: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:235:7: branch_true: following ‘true’ branch (when ‘num_args != 0’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:236:16: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:236:16: acquire_memory: this call could return NULL
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:238:28: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:239:29: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:241:27: call_function: calling ‘glsl_intN_t_type’ from ‘radv_build_printf’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:241:27: return_function: returning to ‘radv_build_printf’ from ‘glsl_intN_t_type’
mesa-26.1.1/src/amd/vulkan/radv_debug_nir.c:241:10: danger: ‘fields + (long unsigned int)i * 48’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
mesa-26.1.1/src/amd/vulkan/radv_pipeline.c:855:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_pipeline.c:833:1: enter_function: entry to ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-26.1.1/src/amd/vulkan/radv_pipeline.c:840:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-26.1.1/src/amd/vulkan/radv_pipeline.c:840:7: return_function: returning to ‘radv_GetPipelineExecutableStatisticsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-26.1.1/src/amd/vulkan/radv_pipeline.c:855:21: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def46]
mesa-26.1.1/src/amd/vulkan/radv_pipeline_compute.c:157:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cs_dbg.spirv’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_pipeline_compute.c:324:1: enter_function: entry to ‘radv_create_compute_pipelines’
mesa-26.1.1/src/amd/vulkan/radv_pipeline_compute.c:331:11: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-26.1.1/src/amd/vulkan/radv_pipeline_compute.c:333:105: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_pipeline_compute.c:333:11: call_function: calling ‘radv_compute_pipeline_create’ from ‘radv_create_compute_pipelines’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1345:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(os_get_option_secure("RADV_BVH_STATS_FILE"), "w")’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1401:1: enter_function: entry to ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1408:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1414:57: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: following ‘false’ branch (when ‘hash_entries’ is non-NULL)...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: call_function: calling ‘rra_copy_context_init’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_copy_context_init’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1437:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1440:15: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1442:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: call_function: calling ‘rra_map_accel_struct_data’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_map_accel_struct_data’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1444:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:72: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:7: call_function: calling ‘dump_bvh_stats’ from ‘radv_dump_bvh_stats’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1345:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(os_get_option_secure("RADV_BVH_STATS_FILE"), "w")’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1401:1: enter_function: entry to ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1408:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1414:57: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: following ‘false’ branch (when ‘hash_entries’ is non-NULL)...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: call_function: calling ‘rra_copy_context_init’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_copy_context_init’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1437:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1440:15: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1442:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: call_function: calling ‘rra_map_accel_struct_data’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_map_accel_struct_data’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1444:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:72: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:7: call_function: calling ‘dump_bvh_stats’ from ‘radv_dump_bvh_stats’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def49]
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1345:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*device.rra_trace.stats_file’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1310:1: enter_function: entry to ‘dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1320:7: branch_false: following ‘false’ branch (when ‘is_tlas == tlas_pass’)...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1326:8: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1326:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1329:8: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1330:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1343:9: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1343:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1344:44: call_function: inlined call to ‘radv_bvh_stats_file’ from ‘dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1344:38: acquire_memory: this call could return NULL
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1345:7: danger: argument 4 (‘fopen(os_get_option_secure("RADV_BVH_STATS_FILE"), "w")’) from [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def50]
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1345:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(os_get_option_secure("RADV_BVH_STATS_FILE"), "w")’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1401:1: enter_function: entry to ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1408:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1414:57: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: following ‘false’ branch (when ‘hash_entries’ is non-NULL)...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1417:7: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: call_function: calling ‘rra_copy_context_init’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1436:13: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_copy_context_init’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1437:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1440:15: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1442:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: call_function: calling ‘rra_map_accel_struct_data’ from ‘radv_dump_bvh_stats’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1443:27: return_function: returning to ‘radv_dump_bvh_stats’ from ‘rra_map_accel_struct_data’
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1444:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:72: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_rra.c:1447:7: call_function: calling ‘dump_bvh_stats’ from ‘radv_dump_bvh_stats’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def51]
mesa-26.1.1/src/amd/vulkan/radv_shader.c:2944:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(disasm_size + 1)’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3520:1: enter_function: entry to ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: call_function: calling ‘radv_fill_nir_compiler_options’ from ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: return_function: returning to ‘radv_compile_rt_prolog’ from ‘radv_fill_nir_compiler_options’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3555:4: call_function: calling ‘radv_shader_create_uncached’ from ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3555:4: return_function: returning to ‘radv_compile_rt_prolog’ from ‘radv_shader_create_uncached’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:19: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:19: call_function: calling ‘radv_parse_binary_debug_info’ from ‘radv_compile_rt_prolog’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def52]
mesa-26.1.1/src/amd/vulkan/radv_shader.c:2958:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)*(struct radv_shader_binary_legacy *)binary.debug_info_size)’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3520:1: enter_function: entry to ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: call_function: calling ‘radv_fill_nir_compiler_options’ from ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: return_function: returning to ‘radv_compile_rt_prolog’ from ‘radv_fill_nir_compiler_options’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3555:4: call_function: calling ‘radv_shader_create_uncached’ from ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3555:4: return_function: returning to ‘radv_compile_rt_prolog’ from ‘radv_shader_create_uncached’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:19: branch_false: ...to here
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3556:19: call_function: calling ‘radv_parse_binary_debug_info’ from ‘radv_compile_rt_prolog’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def53]
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3011:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)*(struct radv_shader_binary_legacy *)binary.stats_size, 1)’ where non-null expected
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3520:1: enter_function: entry to ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: call_function: calling ‘radv_fill_nir_compiler_options’ from ‘radv_compile_rt_prolog’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3529:4: return_function: returning to ‘radv_compile_rt_prolog’ from ‘radv_fill_nir_compiler_options’
mesa-26.1.1/src/amd/vulkan/radv_shader.c:3555:4: call_function: calling ‘radv_shader_create_uncached’ from ‘radv_compile_rt_prolog’
Error: COMPILER_WARNING (CWE-563): [#def54]
mesa-26.1.1/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_CmdControlVideoCodingKHR’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1335:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
mesa-26.1.1/src/amd/vulkan/radv_video.c:1357:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1346:1: enter_function: entry to ‘get_h264_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1351:7: call_function: inlined call to ‘__vk_find_struct’ from ‘get_h264_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1355:33: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1357:25: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
mesa-26.1.1/src/amd/vulkan/radv_video.c:1481:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1436:1: enter_function: entry to ‘get_h265_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1441:7: call_function: inlined call to ‘__vk_find_struct’ from ‘get_h265_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1445:33: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1481:36: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
mesa-26.1.1/src/amd/vulkan/radv_video.c:1867:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1861:1: enter_function: entry to ‘get_vp9_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1866:7: call_function: inlined call to ‘__vk_find_struct’ from ‘get_vp9_param’
mesa-26.1.1/src/amd/vulkan/radv_video.c:1867:40: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1867:40: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def58]
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-26.1.1/src/amd/vulkan/radv_video.c:1987:7: branch_true: following ‘true’ branch (when ‘interleaved_planes != 0’)...
mesa-26.1.1/src/amd/vulkan/radv_video.c:1989:16: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1990:28: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:39: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1990:28: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:39: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1990:28: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:39: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1990:28: branch_true: following ‘true’ branch...
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:39: branch_true: ...to here
mesa-26.1.1/src/amd/vulkan/radv_video.c:1991:10: danger: out-of-bounds write from byte 16 till byte 19 but ‘plane_sizes’ ends at byte 16
Error: COMPILER_WARNING (CWE-563): [#def59]
mesa-26.1.1/src/amd/vulkan/radv_video.c: scope_hint: In function ‘radv_CmdDecodeVideoKHR’
mesa-26.1.1/src/amd/vulkan/radv_video.c:2153:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:528:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3317:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3320:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:541:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3317:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3320:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:555:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3317:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-26.1.1/src/amd/vulkan/radv_video_enc.c:3320:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def63]
mesa-26.1.1/src/asahi/vulkan/hk_cmd_dispatch.c:88:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘grid.<U4500>.count[2]’
mesa-26.1.1/src/asahi/vulkan/hk_cmd_dispatch.c:154:1: enter_function: entry to ‘hk_CmdDispatchIndirect’
mesa-26.1.1/src/asahi/vulkan/hk_cmd_dispatch.c:171:4: call_function: calling ‘dispatch’ from ‘hk_CmdDispatchIndirect’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
mesa-26.1.1/src/broadcom/vulkan/v3dv_cmd_buffer.h:762:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘job’
mesa-26.1.1/src/broadcom/vulkan/v3dv_cmd_buffer.c:1987:1: enter_function: entry to ‘v3dv_job_clone_in_cmd_buffer’
mesa-26.1.1/src/broadcom/vulkan/v3dv_cmd_buffer.c:1992:7: call_function: inlined call to ‘v3dv_flag_oom’ from ‘v3dv_job_clone_in_cmd_buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:657:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1278:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1292:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1293:7: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1352:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: call_function: calling ‘queue_submit_noop_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:657:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1278:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1292:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1293:7: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1352:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: call_function: calling ‘queue_submit_noop_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:658:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kperfmon_ids’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1278:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1292:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1293:7: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1352:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: branch_true: ...to here
mesa-26.1.1/src/broadcom/vulkan/v3dv_queue.c:1358:14: call_function: calling ‘queue_submit_noop_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
mesa-26.1.1/src/compiler/nir/nir.h:3424:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/compiler/nir/nir_control_flow.c:49:1: enter_function: entry to ‘link_blocks’
mesa-26.1.1/src/compiler/nir/nir_control_flow.c:57:7: call_function: inlined call to ‘nir_block_add_pred’ from ‘link_blocks’
mesa-26.1.1/src/compiler/nir/nir_control_flow.c:57:7: call_function: inlined call to ‘nir_block_add_pred’ from ‘link_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
mesa-26.1.1/src/compiler/nir/nir_builder.h:1587:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:291:1: enter_function: entry to ‘jay_process_nir’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:321:7: branch_false: following ‘false’ branch (when ‘stage != 0’)...
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:365:14: branch_false: ...to here
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:365:14: branch_true: following ‘true’ branch (when ‘stage == 4’)...
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:368:7: branch_true: ...to here
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:377:7: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘jay_process_nir’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:377:7: return_function: returning to ‘jay_process_nir’ from ‘nir_shader_intrinsics_pass’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:381:7: call_function: calling ‘nir_shader_get_entrypoint’ from ‘jay_process_nir’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:381:7: return_function: returning to ‘jay_process_nir’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:381:7: call_function: calling ‘lower_fragment_outputs’ from ‘jay_process_nir’
Error: COMPILER_WARNING (CWE-563): [#def70]
mesa-26.1.1/src/compiler/nir/nir_lower_non_uniform_access.c: scope_hint: In function ‘nu_handle_init’
mesa-26.1.1/src/compiler/nir/nir_lower_non_uniform_access.c:75:24: warning[-Wunused-variable]: unused variable ‘parent’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def71]
mesa-26.1.1/src/compiler/nir/nir_search.c:252:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&new_swizzle’
mesa-26.1.1/src/compiler/nir/nir_search.c:833:1: enter_function: entry to ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: return_function: returning to ‘nir_algebraic_impl’ from ‘util_dynarray_resize_bytes’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:849:27: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:877:13: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:878:13: call_function: inlined call to ‘nir_instr_worklist_push_tail’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:886:20: call_function: inlined call to ‘nir_instr_worklist_pop_head’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:886:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:891:11: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:891:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: call_function: calling ‘nir_algebraic_instr’ from ‘nir_algebraic_impl’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
mesa-26.1.1/src/compiler/nir/nir_search.c:279:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_swizzle[i]’
mesa-26.1.1/src/compiler/nir/nir_search.c:833:1: enter_function: entry to ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: return_function: returning to ‘nir_algebraic_impl’ from ‘util_dynarray_resize_bytes’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:849:27: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:877:13: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:878:13: call_function: inlined call to ‘nir_instr_worklist_push_tail’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:886:20: call_function: inlined call to ‘nir_instr_worklist_pop_head’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:886:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:891:11: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:891:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: call_function: calling ‘nir_algebraic_instr’ from ‘nir_algebraic_impl’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def73]
mesa-26.1.1/src/compiler/nir/nir_search.c:299:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_swizzle[i]’
mesa-26.1.1/src/compiler/nir/nir_search.c:833:1: enter_function: entry to ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:9: return_function: returning to ‘nir_algebraic_impl’ from ‘util_dynarray_resize_bytes’
mesa-26.1.1/src/compiler/nir/nir_search.c:846:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:849:27: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:877:13: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:878:13: call_function: inlined call to ‘nir_instr_worklist_push_tail’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:875:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:874:4: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:886:20: call_function: inlined call to ‘nir_instr_worklist_pop_head’ from ‘nir_algebraic_impl’
mesa-26.1.1/src/compiler/nir/nir_search.c:886:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:891:11: branch_true: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:891:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: branch_false: ...to here
mesa-26.1.1/src/compiler/nir/nir_search.c:894:19: call_function: calling ‘nir_algebraic_instr’ from ‘nir_algebraic_impl’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def74]
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:236:4: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:53:1: enter_function: entry to ‘vtn_handle_subgroup’
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:56:33: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_subgroup’
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:56:33: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_subgroup’
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:236:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:236:4: branch_true: ...to here
mesa-26.1.1/src/compiler/spirv/vtn_subgroup.c:236:4: danger: read of 4 bytes at offset ‘opcode * 4 + 17179867800’ exceeds ‘CSWTCH’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:175:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*prim_info.linear’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:452:1: enter_function: entry to ‘fetch_pipeline_linear_run_elts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:477:4: call_function: calling ‘fetch_pipeline_generic’ from ‘fetch_pipeline_linear_run_elts’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def76]
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:187:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*prim_info.linear’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:452:1: enter_function: entry to ‘fetch_pipeline_linear_run_elts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:477:4: call_function: calling ‘fetch_pipeline_generic’ from ‘fetch_pipeline_linear_run_elts’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def77]
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:372:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gs_vert_info[i].verts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:452:1: enter_function: entry to ‘fetch_pipeline_linear_run_elts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:477:4: call_function: calling ‘fetch_pipeline_generic’ from ‘fetch_pipeline_linear_run_elts’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:374:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*vert_info.verts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:452:1: enter_function: entry to ‘fetch_pipeline_linear_run_elts’
mesa-26.1.1/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:477:4: call_function: calling ‘fetch_pipeline_generic’ from ‘fetch_pipeline_linear_run_elts’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def79]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:161:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘operation.kernel.scales’ where non-null expected
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:442:1: enter_function: entry to ‘ethosu_lower_graph’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:448:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:449:31: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:455:53: call_function: calling ‘ethosu_find_first_producer’ from ‘ethosu_lower_graph’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:455:53: return_function: returning to ‘ethosu_lower_graph’ from ‘ethosu_find_first_producer’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:456:30: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:462:10: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:462:10: call_function: calling ‘ethosu_lower_convolution’ from ‘ethosu_lower_graph’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def80]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:168:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘operation.kernel.zero_points’ where non-null expected
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:442:1: enter_function: entry to ‘ethosu_lower_graph’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:448:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:449:31: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:455:53: call_function: calling ‘ethosu_find_first_producer’ from ‘ethosu_lower_graph’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:455:53: return_function: returning to ‘ethosu_lower_graph’ from ‘ethosu_find_first_producer’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:456:30: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:462:10: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_lower.c:462:10: call_function: calling ‘ethosu_lower_convolution’ from ‘ethosu_lower_graph’
Error: COMPILER_WARNING (CWE-563): [#def81]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c: scope_hint: In function ‘prepare_for_submission’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:270:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def82]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:344:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:307:1: enter_function: entry to ‘ethosu_ml_subgraph_deserialize’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:313:7: branch_false: following ‘false’ branch (when ‘size > 31’)...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:316:15: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:317:7: branch_false: following ‘false’ branch (when ‘subgraph’ is non-NULL)...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:320:28: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:332:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:332:7: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:338:9: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:341:22: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:344:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘ethosu_ml_subgraph_deserialize’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:344:7: return_function: returning to ‘ethosu_ml_subgraph_deserialize’ from ‘util_dynarray_grow_bytes’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:344:7: danger: argument 1 (‘util_dynarray_grow_bytes(&*subgraph.tensors, 1, 32)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:373:11: warning[-Wanalyzer-malloc-leak]: leak of ‘subgraph’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:313:7: branch_false: following ‘false’ branch (when ‘size > 31’)...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:316:15: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:316:15: acquire_memory: allocated here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:317:7: branch_false: following ‘false’ branch (when ‘subgraph’ is non-NULL)...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:320:28: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:332:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:332:7: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:338:9: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:348:31: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:350:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:355:4: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:360:7: branch_false: following ‘false’ branch (when ‘coefs_size == 0’)...
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:371:4: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_ml.c:373:11: danger: ‘subgraph’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def84]
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_sched_u85.c: scope_hint: In function ‘find_depthwise_config_u85’
mesa-26.1.1/src/gallium/drivers/ethosu/ethosu_sched_u85.c:402:14: warning[-Wunused-variable]: unused variable ‘acc_elements’
Error: COMPILER_WARNING (CWE-563): [#def85]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/ml_ethosu_encode.cpp:21: included_from: Included from here.
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/ml_bit_buffer.hpp: scope_hint: In constructor ‘bitbuf_t::bitbuf_t(bitbuf_t&, int, int)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/ml_bit_buffer.hpp:64:13: warning[-Wunused-variable]: unused variable ‘required’
Error: CPPCHECK_WARNING (CWE-190): [#def86]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/ml_bit_buffer.hpp:74: error[integerOverflow]: Signed integer overflow for expression '1<<len'.
Error: CPPCHECK_WARNING (CWE-758): [#def87]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/ml_bit_buffer.hpp:74: error[shiftTooManyBits]: Shifting 32-bit value by 32 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-563): [#def88]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp: scope_hint: In function ‘int ml_decode_internal(raw_buffer_t<short int>&, bitbuf_t&, palette_t&, int, bool, int)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:77:17: warning[-Wunused-variable]: unused variable ‘ones’
Error: COMPILER_WARNING (CWE-457): [#def89]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:133:13: warning[-Wmaybe-uninitialized]: ‘palette.palette_t::palsize’ may be used uninitialized
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp: scope_hint: In function ‘void ml_decode_ethosu_stream(ml_decode_result_t*, const uint8_t*, int)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:334:15: note: ‘palette.palette_t::palsize’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def90]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:205:63: warning[-Wmaybe-uninitialized]: ‘w_grc_div’ may be used uninitialized
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp: scope_hint: In function ‘void ml_decode_ethosu_stream(ml_decode_result_t*, const uint8_t*, int)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:57:9: note: ‘w_grc_div’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def91]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:292:21: warning[-Wmaybe-uninitialized]: ‘palette.palette_t::direct_offset’ may be used uninitialized
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp: scope_hint: In function ‘void ml_decode_ethosu_stream(ml_decode_result_t*, const uint8_t*, int)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_decode.cpp:334:15: note: ‘palette.palette_t::direct_offset’ was declared here
Error: COMPILER_WARNING: [#def92]
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_encode.cpp: scope_hint: In function ‘void update_palette(mle_context_t*, palette_t*, const int16_t*, int, bool, bool, bool)’
mesa-26.1.1/src/gallium/drivers/ethosu/mlw_codec/source/mlw_encode.cpp:224:9: warning[-Wunused-but-set-variable=]: variable ‘common_val’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml.c:763:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘subgraph’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml.c:752:7: branch_false: following ‘false’ branch (when ‘nn_core_count != 0’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml.c:757:15: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml.c:757:15: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml.c:763:4: danger: ‘subgraph’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def94]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:257:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>[w][h][ic]’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:551:1: enter_function: entry to ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:609:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: call_function: calling ‘pointwise_to_2x2’ from ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: return_function: returning to ‘etna_ml_lower_convolution’ from ‘pointwise_to_2x2’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:612:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:619:17: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: call_function: calling ‘reorder_for_hw_depthwise’ from ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: return_function: returning to ‘etna_ml_lower_convolution’ from ‘reorder_for_hw_depthwise’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:626:12: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:629:39: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:637:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:643:7: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:643:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:648:7: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:651:7: call_function: calling ‘requantize_weights’ from ‘etna_ml_lower_convolution’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:307:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘map_out’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:551:1: enter_function: entry to ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:609:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: call_function: calling ‘pointwise_to_2x2’ from ‘etna_ml_lower_convolution’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:344:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘output’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:551:1: enter_function: entry to ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:609:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: call_function: calling ‘pointwise_to_2x2’ from ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: return_function: returning to ‘etna_ml_lower_convolution’ from ‘pointwise_to_2x2’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:612:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_true: following ‘true’ branch (when ‘nn_core_version <= 7’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:614:14: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:615:16: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:617:13: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:617:13: call_function: calling ‘expand_depthwise’ from ‘etna_ml_lower_convolution’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:368:61: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘input’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:551:1: enter_function: entry to ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:609:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: call_function: calling ‘pointwise_to_2x2’ from ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: return_function: returning to ‘etna_ml_lower_convolution’ from ‘pointwise_to_2x2’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:612:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_false: following ‘false’ branch (when ‘nn_core_version > 7’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:619:18: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:619:17: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: call_function: calling ‘reorder_for_hw_depthwise’ from ‘etna_ml_lower_convolution’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def98]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:368:61: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:551:1: enter_function: entry to ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:609:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: call_function: calling ‘pointwise_to_2x2’ from ‘etna_ml_lower_convolution’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:610:7: return_function: returning to ‘etna_ml_lower_convolution’ from ‘pointwise_to_2x2’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:612:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:613:10: branch_false: following ‘false’ branch (when ‘nn_core_version > 7’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:619:18: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:619:17: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:620:10: call_function: calling ‘reorder_for_hw_depthwise’ from ‘etna_ml_lower_convolution’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:592:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*operation.weight_tensor’ where non-null expected
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:591:31: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:592:4: danger: argument 1 (‘malloc((long unsigned int)weight_size)’) from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def100]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:606:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*operation.bias_tensor’ where non-null expected
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:605:29: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:606:4: danger: argument 1 (‘malloc((long unsigned int)bias_size)’) from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:747:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*operation.weight_tensor’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:737:31: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:747:4: danger: ‘calloc(1, 8)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:752:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*operation.bias_tensor’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:749:29: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:752:4: danger: ‘calloc(1, 4)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:856:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*operation.weight_tensor’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:848:31: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:854:24: branch_true: following ‘true’ branch (when ‘i < kernel_size’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:855:16: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:855:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:856:20: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:856:10: danger: ‘calloc(1, (long unsigned int)kernel_size) + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:877:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*operation.bias_tensor’
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:854:24: branch_false: following ‘false’ branch (when ‘i >= kernel_size’)...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:863:43: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:863:29: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:876:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:877:15: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:877:7: danger: ‘calloc(1, (long unsigned int)(*operation.output_channels * 4)) + (long unsigned int)oc * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def105]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:934:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*operation.weight_tensor’ where non-null expected
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:933:31: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:934:4: danger: argument 1 (‘malloc((long unsigned int)fc_weight_size)’) from [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def106]
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:948:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*operation.bias_tensor’ where non-null expected
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:947:29: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c:948:4: danger: argument 1 (‘malloc((long unsigned int)fc_bias_size)’) from [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
mesa-26.1.1/src/gallium/drivers/freedreno/ir3/ir3_gallium.c:334:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hwcso’
mesa-26.1.1/src/gallium/drivers/freedreno/ir3/ir3_gallium.c:299:37: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/freedreno/ir3/ir3_gallium.c:334:4: danger: ‘hwcso’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4000:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:3998:37: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4000:4: danger: ‘so’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4073:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4070:39: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4073:4: danger: ‘so’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4171:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4170:36: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4171:4: danger: ‘so’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4300:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4299:38: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/panfrost/pan_cmdstream.c:4300:4: danger: ‘so’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def112]
mesa-26.1.1/src/gallium/drivers/r300/r300_emit.c: scope_hint: In function ‘r300_emit_query_start’
mesa-26.1.1/src/gallium/drivers/r300/r300_emit.c:678:14: warning[-Wunused-but-set-variable=]: variable ‘dwords’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:93:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:630:6: enter_function: entry to ‘si_log_draw_state’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:632:7: branch_false: following ‘false’ branch (when ‘log’ is non-NULL)...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:635:4: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:638:4: call_function: calling ‘si_dump_gfx_shader’ from ‘si_log_draw_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:107:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:106:40: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:107:4: danger: ‘chunk’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:363:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:438:13: enter_function: entry to ‘si_dump_compute_descriptors’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_debug_gfx_compute.c:445:4: call_function: calling ‘si_dump_descriptors’ from ‘si_dump_compute_descriptors’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def116]
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:505:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘transfer’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:442:6: enter_function: entry to ‘si_handle_sqtt’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:445:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:479:28: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:488:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:490:11: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:490:11: call_function: calling ‘si_get_sqtt_trace’ from ‘si_handle_sqtt’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:490:11: return_function: returning to ‘si_handle_sqtt’ from ‘si_get_sqtt_trace’
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:488:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:495:14: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:495:13: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:498:14: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:504:13: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:505:13: branch_true: ...to here
mesa-26.1.1/src/gallium/drivers/radeonsi/si_sqtt.c:505:13: danger: use of uninitialized value ‘transfer’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
mesa-26.1.1/src/gallium/drivers/rocket/rkt_ml.c:316:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘subgraph’
mesa-26.1.1/src/gallium/drivers/rocket/rkt_ml.c:314:15: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/drivers/rocket/rkt_ml.c:316:4: danger: ‘subgraph’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5656:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5640:1: enter_function: entry to ‘lower_vri_to_var_instr’
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5648:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5648:7: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5650:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5652:31: call_function: inlined call to ‘nir_src_as_intrinsic’ from ‘lower_vri_to_var_instr’
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5653:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5653:7: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5655:31: call_function: inlined call to ‘nir_src_as_intrinsic’ from ‘lower_vri_to_var_instr’
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5656:8: branch_false: ...to here
mesa-26.1.1/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5656:8: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING: [#def119]
mesa-26.1.1/src/util/u_math.h:48: included_from: Included from here.
mesa-26.1.1/src/util/box.h:4: included_from: Included from here.
mesa-26.1.1/src/gallium/include/pipe/p_state.h:52: included_from: Included from here.
mesa-26.1.1/src/gallium/drivers/zink/zink_types.h:37: included_from: Included from here.
mesa-26.1.1/src/gallium/drivers/zink/zink_program.h:27: included_from: Included from here.
mesa-26.1.1/src/gallium/drivers/zink/zink_program.c:24: included_from: Included from here.
mesa-26.1.1/src/gallium/drivers/zink/zink_program.c: scope_hint: In function ‘zink_link_gfx_shader’
mesa-26.1.1/src/gallium/drivers/zink/zink_program.c:2549:18: warning[-Wunused-but-set-variable=]: variable ‘i’ set but not used
mesa-26.1.1/src/util/bitscan.h:110:37: note: in definition of macro ‘u_foreach_bit’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def120]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:398:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘a_comps[i]’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:782:1: enter_function: entry to ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:786:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:789:38: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:791:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: return_function: returning to ‘lvp_nir_lower_cooperative_matrix’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘lower_impl’ from ‘lvp_nir_lower_cooperative_matrix’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def121]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:431:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c_comps[i]’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:782:1: enter_function: entry to ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:786:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:789:38: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:791:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: return_function: returning to ‘lvp_nir_lower_cooperative_matrix’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘lower_impl’ from ‘lvp_nir_lower_cooperative_matrix’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def122]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:433:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c_comps[i]’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:782:1: enter_function: entry to ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:786:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:789:38: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:791:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lvp_nir_lower_cooperative_matrix’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: return_function: returning to ‘lvp_nir_lower_cooperative_matrix’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:801:16: call_function: calling ‘lower_impl’ from ‘lvp_nir_lower_cooperative_matrix’
Error: COMPILER_WARNING (CWE-563): [#def123]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_reduce_finish_call’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:457:33: warning[-Wunused-variable]: unused variable ‘src_desc’
Error: COMPILER_WARNING (CWE-563): [#def124]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_reduce_call’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:506:33: warning[-Wunused-variable]: unused variable ‘src_desc’
Error: COMPILER_WARNING (CWE-563): [#def125]
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_reduce_2x2_call’
mesa-26.1.1/src/gallium/frontends/lavapipe/nir/lvp_nir_lower_cooperative_matrix.c:565:33: warning[-Wunused-variable]: unused variable ‘src_desc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:82:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation.input_tensors’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:833:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:834:11: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:837:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: call_function: calling ‘check_op_support’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:87:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation.output_tensors’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:833:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:834:11: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:837:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: call_function: calling ‘check_op_support’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:111:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation.input_tensors’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:833:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:834:11: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:837:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: call_function: calling ‘check_op_support’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:143:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation.input_tensors’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:833:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:834:11: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:837:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: call_function: calling ‘check_op_support’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:177:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation.input_tensors’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:826:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:827:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:833:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:834:11: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:837:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:840:19: call_function: calling ‘check_op_support’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:366:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tensor’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:367:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)tensor_data_size(*<unknown>))’ where non-null expected
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:370:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tensor’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: acquire_memory: this call could return NULL
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:388:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)*MEM[(const struct TfLiteAffineQuantization *)tf_tensor$quantization$params_69].scale.size, 4)’ where non-null expected
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def135]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:393:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)*MEM[(const struct TfLiteAffineQuantization *)tf_tensor$quantization$params_69].scale.size, 4)’ where non-null expected
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:397:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)*MEM[(const struct TfLiteAffineQuantization *)tf_tensor$quantization$params_69].scale.size, 4)’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:404:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*tensor.zero_points + (long unsigned int)i * 4’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:813:1: enter_function: entry to ‘PrepareDelegate’
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:818:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:820:24: branch_false: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:822:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: branch_true: ...to here
mesa-26.1.1/src/gallium/frontends/teflon/tfl_device.c:823:7: call_function: calling ‘fill_tensor’ from ‘PrepareDelegate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:138:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:68:10: enter_function: entry to ‘pvr_rogue_CreateImageView’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:85:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:88:12: call_function: inlined call to ‘pvr_image_view_get_image’ from ‘pvr_rogue_CreateImageView’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:127:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:132:4: branch_false: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:134:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:136:10: branch_true: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:136:10: call_function: inlined call to ‘__vk_find_struct’ from ‘pvr_rogue_CreateImageView’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:138:7: branch_true: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_image.c:138:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def139]
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:2870:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*mrt_attachment_map[i]’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3388:10: enter_function: entry to ‘pvr_rogue_CreateGraphicsPipelines’
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3400:25: branch_true: following ‘true’ branch (when ‘i < createInfoCount’)...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3406:50: branch_true: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3407:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3409:10: branch_true: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3400:25: branch_true: following ‘true’ branch (when ‘i < createInfoCount’)...
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3406:50: branch_true: ...to here
mesa-26.1.1/src/imagination/vulkan/pvr_arch_pipeline.c:3402:10: call_function: calling ‘pvr_graphics_pipeline_create’ from ‘pvr_rogue_CreateGraphicsPipelines’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def140]
mesa-26.1.1/src/intel/common/mi_builder.h:458:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((int64_t *)((char *)&value + offsetof(struct mi_value, <U6dc0>)))[1]’
mesa-26.1.1/src/intel/vulkan_hasvk/genX_query.c:1282:6: enter_function: entry to ‘gfx7_CmdWriteTimestamp2’
mesa-26.1.1/src/intel/vulkan_hasvk/genX_query.c:1297:7: branch_true: following ‘true’ branch (when ‘stage == 1’)...
mesa-26.1.1/src/intel/vulkan_hasvk/genX_query.c:1298:7: call_function: inlined call to ‘anv_address_add’ from ‘gfx7_CmdWriteTimestamp2’
mesa-26.1.1/src/intel/vulkan_hasvk/genX_query.c:1298:7: call_function: inlined call to ‘mi_store’ from ‘gfx7_CmdWriteTimestamp2’
Error: COMPILER_WARNING (CWE-563): [#def141]
mesa-26.1.1/src/intel/compiler/brw/brw_compile_tcs.cpp: scope_hint: In function ‘bool run_tcs(brw_shader&)’
mesa-26.1.1/src/intel/compiler/brw/brw_compile_tcs.cpp:94:30: warning[-Wunused-variable]: unused variable ‘vue_prog_data’
Error: COMPILER_WARNING (CWE-563): [#def142]
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp: scope_hint: In function ‘void emit_pixel_interpolater_alu_at_offset(const brw_builder&, const brw_reg&, const brw_reg&, glsl_interp_mode)’
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp:2081:35: warning[-Wunused-variable]: unused variable ‘fs_prog_data’
Error: COMPILER_WARNING (CWE-563): [#def143]
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp: scope_hint: In function ‘void emit_pixel_interpolater_alu_at_sample(const brw_builder&, const brw_reg&, const brw_reg&, glsl_interp_mode)’
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp:2216:35: warning[-Wunused-variable]: unused variable ‘fs_prog_data’
Error: COMPILER_WARNING (CWE-563): [#def144]
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp: scope_hint: In function ‘brw_reg brw_per_primitive_reg(const brw_builder&, int, unsigned int)’
mesa-26.1.1/src/intel/compiler/brw/brw_from_nir.cpp:3699:35: warning[-Wunused-variable]: unused variable ‘prog_data’
Error: COMPILER_WARNING (CWE-563): [#def145]
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_per_element_op’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_cooperative_matrix.c:595:22: warning[-Wunused-variable]: unused variable ‘src_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:157:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘any_hit_impl’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:131:1: enter_function: entry to ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:139:7: branch_false: following ‘false’ branch (when ‘any_hit’ is NULL)...
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:146:30: branch_false: ...to here
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:146:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:146:30: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:148:24: call_function: inlined call to ‘nir_before_impl’ from ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:151:22: call_function: calling ‘brw_nir_rt_mem_hit_addr’ from ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:151:22: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘brw_nir_rt_mem_hit_addr’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:154:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:154:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-26.1.1/src/intel/compiler/brw/brw_nir_lower_intersection_shader.c:157:4: danger: dereference of NULL ‘nir_shader_get_entrypoint(intersection)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:113:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*end_preds[i]’
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:91:1: enter_function: entry to ‘intel_nir_apply_tcs_quads_workaround’
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:95:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘intel_nir_apply_tcs_quads_workaround’
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:95:30: return_function: returning to ‘intel_nir_apply_tcs_quads_workaround’ from ‘nir_shader_get_entrypoint’
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:108:4: call_function: inlined call to ‘_nir_pred_iter_end’ from ‘intel_nir_apply_tcs_quads_workaround’
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:112:16: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:113:7: branch_true: ...to here
mesa-26.1.1/src/intel/compiler/intel_nir_tcs_workarounds.c:113:7: danger: use of uninitialized value ‘*end_preds[i]’ here
Error: COMPILER_WARNING (CWE-563): [#def148]
mesa-26.1.1/src/intel/compiler/jay/jay_from_nir.c: scope_hint: In function ‘jay_emit_intrinsic’
mesa-26.1.1/src/intel/compiler/jay/jay_from_nir.c:1097:18: warning[-Wunused-variable]: unused variable ‘f’
Error: COMPILER_WARNING (CWE-563): [#def149]
mesa-26.1.1/src/intel/compiler/jay/jay_from_nir.c: scope_hint: In function ‘jay_emit_if’
mesa-26.1.1/src/intel/compiler/jay/jay_from_nir.c:2122:15: warning[-Wunused-variable]: unused variable ‘else_first_2’
cc1: note: unrecognized command-line option ‘-Wno-c23-extensions’ may have been intended to silence earlier diagnostics
Error: GCC_ANALYZER_WARNING (CWE-688): [#def150]
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:360:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘access’ where non-null expected
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:353:27: acquire_memory: this call could return NULL
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:355:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:356:11: branch_true: ...to here
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:359:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:360:13: branch_true: ...to here
mesa-26.1.1/src/intel/compiler/jay/jay_lower_scoreboard.c:360:13: danger: argument 1 (‘access’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def151]
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c: scope_hint: In function ‘collect_fragment_output’
mesa-26.1.1/src/intel/compiler/jay/jay_nir.c:136:13: warning[-Wunused-variable]: unused variable ‘wrmask’
cc1: note: unrecognized command-line option ‘-Wno-c23-extensions’ may have been intended to silence earlier diagnostics
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:361:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:357:1: enter_function: entry to ‘add_copy’
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:361:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘add_copy’
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:361:7: return_function: returning to ‘add_copy’ from ‘util_dynarray_grow_bytes’
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:361:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(copies, 1, 4)’
Error: COMPILER_WARNING (CWE-563): [#def153]
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c: scope_hint: In function ‘build_partition’
mesa-26.1.1/src/intel/compiler/jay/jay_register_allocate.c:1393:19: warning[-Wunused-variable]: unused variable ‘max_vec’
cc1: note: unrecognized command-line option ‘-Wno-c23-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def154]
mesa-26.1.1/src/intel/compiler/jay/jay_spill.c: scope_hint: In function ‘remat_to’
mesa-26.1.1/src/intel/compiler/jay/jay_spill.c:187:14: warning[-Wunused-variable]: unused variable ‘I’
cc1: note: unrecognized command-line option ‘-Wno-c23-extensions’ may have been intended to silence earlier diagnostics
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:385:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:603:1: enter_function: entry to ‘anv_cmd_buffer_chain_generation_batch’
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:611:25: release_memory: ‘new_bbo’ is NULL
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:622:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:625:37: branch_false: ...to here
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:626:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:627:7: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:627:7: release_memory: ‘new_bbo’ is NULL
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:627:7: call_function: calling ‘anv_batch_bo_destroy’ from ‘anv_cmd_buffer_chain_generation_batch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def156]
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:385:4: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:1146:1: enter_function: entry to ‘anv_cmd_buffer_add_secondary’
mesa-26.1.1/src/intel/vulkan/anv_batch_chain.c:1176:25: call_function: calling ‘anv_batch_bo_list_clone’ from ‘anv_cmd_buffer_add_secondary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
mesa-26.1.1/src/intel/vulkan/anv_device.c:2174:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2169:1: enter_function: entry to ‘get_effective_time_domain’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2173:10: call_function: inlined call to ‘__vk_find_struct’ from ‘get_effective_time_domain’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2174:58: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_device.c:2174:58: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
mesa-26.1.1/src/intel/vulkan/anv_device.c:2304:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2180:10: enter_function: entry to ‘anv_GetCalibratedTimestampsKHR’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2201:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/intel/vulkan/anv_device.c:2203:4: branch_false: ...to here
mesa-26.1.1/src/intel/vulkan/anv_device.c:2299:25: branch_true: following ‘true’ branch (when ‘i < timestampCount’)...
mesa-26.1.1/src/intel/vulkan/anv_device.c:2300:26: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_device.c:2303:16: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetCalibratedTimestampsKHR’
mesa-26.1.1/src/intel/vulkan/anv_device.c:2304:58: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_device.c:2304:58: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:271:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:197:1: enter_function: entry to ‘anv_nir_analyze_push_constants_ranges’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘anv_nir_analyze_push_constants_ranges’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: return_function: returning to ‘anv_nir_analyze_push_constants_ranges’ from ‘nir_foreach_function_with_impl_first’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:213:7: branch_false: following ‘false’ branch (when ‘block’ is NULL)...
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: branch_false: ...to here
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: call_function: calling ‘nir_foreach_function_with_impl_next’ from ‘anv_nir_analyze_push_constants_ranges’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: return_function: returning to ‘anv_nir_analyze_push_constants_ranges’ from ‘nir_foreach_function_with_impl_next’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:212:4: branch_false: following ‘false’ branch...
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:224:4: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:225:37: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:248:13: branch_true: following ‘true’ branch (when ‘first_hole == -1’)...
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:260:13: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:260:13: call_function: calling ‘util_dynarray_grow_bytes’ from ‘anv_nir_analyze_push_constants_ranges’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:260:13: return_function: returning to ‘anv_nir_analyze_push_constants_ranges’ from ‘util_dynarray_grow_bytes’
mesa-26.1.1/src/intel/vulkan/anv_nir_push_constants_analysis.c:271:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&ranges, 1, 12)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def160]
mesa-26.1.1/src/intel/vulkan/anv_shader.c:330:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
mesa-26.1.1/src/intel/vulkan/anv_shader.c:280:19: acquire_memory: this call could return NULL
mesa-26.1.1/src/intel/vulkan/anv_shader.c:284:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-26.1.1/src/intel/vulkan/anv_shader.c:285:20: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_shader.c:284:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-26.1.1/src/intel/vulkan/anv_shader.c:285:20: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_shader.c:286:7: branch_false: following ‘false’ branch (when ‘push_size == 0’)...
mesa-26.1.1/src/intel/vulkan/anv_shader.c:329:8: branch_false: ...to here
mesa-26.1.1/src/intel/vulkan/anv_shader.c:329:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/intel/vulkan/anv_shader.c:330:7: branch_true: ...to here
mesa-26.1.1/src/intel/vulkan/anv_shader.c:330:7: danger: argument 4 (‘stream’) from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def161]
mesa-26.1.1/src/intel/vulkan/anv_shader.c:586:4: warning[-Wanalyzer-null-argument]: use of NULL ‘code’ where non-null expected
mesa-26.1.1/src/intel/vulkan/anv_shader.c:561:1: enter_function: entry to ‘anv_shader_reloc_begin’
mesa-26.1.1/src/intel/vulkan/anv_shader.c:575:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘anv_shader_reloc_begin’
mesa-26.1.1/src/intel/vulkan/anv_shader.c:578:9: call_function: inlined call to ‘vk_multialloc_zalloc2’ from ‘anv_shader_reloc_begin’
mesa-26.1.1/src/intel/vulkan/anv_shader.c:585:4: release_memory: ‘code’ is NULL
mesa-26.1.1/src/intel/vulkan/anv_shader.c:585:4: release_memory: ‘code’ is NULL
mesa-26.1.1/src/intel/vulkan/anv_shader.c:586:4: danger: argument 1 (‘code’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def162]
mesa-26.1.1/src/intel/vulkan/anv_shader.c: scope_hint: In function ‘anv_replay_rt_shader_group’
mesa-26.1.1/src/intel/vulkan/anv_shader.c:911:19: warning[-Wunused-variable]: unused variable ‘result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
mesa-26.1.1/src/loader/loader.c:257:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘loader_open_device(device_41->nodes[2])’
mesa-26.1.1/src/loader/loader.c:230:1: enter_function: entry to ‘loader_open_render_node_platform_devices’
mesa-26.1.1/src/loader/loader.c:241:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/loader/loader.c:246:13: branch_false: ...to here
mesa-26.1.1/src/loader/loader.c:249:16: branch_true: following ‘true’ branch...
mesa-26.1.1/src/loader/loader.c:250:7: branch_true: ...to here
mesa-26.1.1/src/loader/loader.c:252:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/loader/loader.c:253:12: branch_true: ...to here
mesa-26.1.1/src/loader/loader.c:252:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/loader/loader.c:256:34: branch_true: ...to here
mesa-26.1.1/src/loader/loader.c:256:15: call_function: calling ‘loader_open_device’ from ‘loader_open_render_node_platform_devices’
mesa-26.1.1/src/loader/loader.c:256:15: return_function: returning to ‘loader_open_render_node_platform_devices’ from ‘loader_open_device’
mesa-26.1.1/src/loader/loader.c:257:13: danger: ‘loader_open_device(device_41->nodes[2])’ leaks here; was opened at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: COMPILER_WARNING (CWE-563): [#def164]
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_draw.c:1473:16: warning[-Wunused-variable]: unused variable ‘start_count’
Error: COMPILER_WARNING (CWE-563): [#def165]
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_draw.c: scope_hint: In function ‘nvk_CmdBeginRendering’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_draw.c:1583:16: warning[-Wunused-variable]: unused variable ‘end_count’
Error: COMPILER_WARNING: [#def166]
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_draw.c: scope_hint: In function ‘nvk_mme_set_anti_alias_test_check’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_draw.c:3483:20: warning[-Wunused-but-set-variable=]: variable ‘expected’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1309:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1273:1: enter_function: entry to ‘nvk_CmdCopyMemoryIndirectKHR’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1281:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1285:13: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1286:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1293:33: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1295:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1295:7: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1301:11: branch_true: following ‘true’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1304:16: branch_true: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1305:10: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1309:7: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1309:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘nvk_CmdCopyMemoryIndirectKHR’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1309:7: return_function: returning to ‘nvk_CmdCopyMemoryIndirectKHR’ from ‘util_dynarray_grow_bytes’
mesa-26.1.1/src/nouveau/vulkan/nvk_cmd_indirect.c:1309:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct nvk_cmd_buffer *)commandBuffer.copy_memory_indirect_temps, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:210:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:165:1: enter_function: entry to ‘nvkmd_nouveau_exec_ctx_exec’
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:175:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:175:7: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:178:25: branch_true: following ‘true’ branch (when ‘i < exec_count’)...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:178:25: branch_true: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:180:28: branch_true: following ‘true’ branch (when ‘j < exec_count’)...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:181:20: branch_true: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:181:13: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:191:11: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:191:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:192:28: branch_true: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:193:13: branch_false: following ‘false’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:202:16: branch_false: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:202:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:202:10: branch_true: ...to here
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:210:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘nvkmd_nouveau_exec_ctx_exec’
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:210:7: return_function: returning to ‘nvkmd_nouveau_exec_ctx_exec’ from ‘util_dynarray_grow_bytes’
mesa-26.1.1/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:210:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct nvkmd_nouveau_exec_ctx *)_ctx.req_push, 1, 16)’
Error: COMPILER_WARNING (CWE-563): [#def169]
mesa-26.1.1/src/panfrost/compiler/bifrost/bi_lower_mkvec_swz.c: scope_hint: In function ‘build_mkvec_v4i8_to’
mesa-26.1.1/src/panfrost/compiler/bifrost/bi_lower_mkvec_swz.c:136:12: warning[-Wunused-variable]: unused variable ‘valid_swizzle’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def170]
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:189:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*a.<U2320>.sparse’ where non-null expected
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:153:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:154:16: branch_true: ...to here
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:162:13: branch_false: following ‘false’ branch...
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:169:13: branch_false: ...to here
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:173:10: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:181:13: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:183:16: branch_true: ...to here
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:185:45: acquire_memory: this call could return NULL
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:188:16: branch_true: following ‘true’ branch (when ‘left != 0’)...
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:189:16: branch_true: ...to here
mesa-26.1.1/src/panfrost/compiler/bifrost/nodearray.h:189:16: danger: argument 1 (‘malloc((long unsigned int)min(max >> 2, max(*a.sparse_capacity * 2, 64)) * 8)’) from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:60:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:19:1: enter_function: entry to ‘lower_fs_input_load’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:24:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:28:33: call_function: inlined call to ‘nir_intrinsic_io_semantics’ from ‘lower_fs_input_load’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:56:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_fs_inputs.c:60:24: danger: dereference of NULL ‘pan_varying_layout_find_slot(*(const struct lower_fs_inputs_ctx *)cb_data.varying_layout, (enum <anonymous>)sem.location)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:89:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:138:1: enter_function: entry to ‘lower_vs_output_store’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:150:20: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:150:34: branch_true: ...to here
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:153:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:154:7: call_function: calling ‘build_attr_buf_write’ from ‘lower_vs_output_store’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:196:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:181:7: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:191:7: branch_false: ...to here
mesa-26.1.1/src/panfrost/compiler/pan_nir_lower_vs_outputs.c:196:60: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING (CWE-563): [#def174]
mesa-26.1.1/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c: scope_hint: In function ‘panvk_v10_CmdBeginRendering’
mesa-26.1.1/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c:3002:9: warning[-Wunused-variable]: unused variable ‘resuming’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:338:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:290:1: enter_function: entry to ‘panvk_MapMemory2KHR’
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:296:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:301:23: branch_false: ...to here
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:326:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:333:8: branch_false: ...to here
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:333:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:334:53: branch_true: ...to here
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:334:53: call_function: inlined call to ‘__vk_find_struct’ from ‘panvk_MapMemory2KHR’
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:338:7: branch_true: ...to here
mesa-26.1.1/src/panfrost/vulkan/panvk_device_memory.c:338:7: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING (CWE-563): [#def176]
mesa-26.1.1/src/panfrost/vulkan/panvk_image.c: scope_hint: In function ‘create_ms_images’
mesa-26.1.1/src/panfrost/vulkan/panvk_image.c:646:27: warning[-Wunused-variable]: unused variable ‘res’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:796:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtdev’
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:780:1: enter_function: entry to ‘vdrm_vpipe_connect’
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:784:18: call_function: calling ‘connect_sock’ from ‘vdrm_vpipe_connect’
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:784:18: return_function: returning to ‘vdrm_vpipe_connect’ from ‘connect_sock’
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:789:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:794:12: branch_false: ...to here
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:794:12: acquire_memory: this call could return NULL
mesa-26.1.1/src/virtio/vdrm/vdrm_vpipe.c:796:4: danger: ‘vtdev’ could be NULL: unchecked value from [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1829:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fences’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1864:1: enter_function: entry to ‘vn_WaitForFences’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1870:4: call_function: calling ‘_mesa_trace_scope_begin’ from ‘vn_WaitForFences’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1870:4: return_function: returning to ‘vn_WaitForFences’ from ‘_mesa_trace_scope_begin’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1875:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: acquire_memory: this call could return NULL
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1877:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1880:10: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1881:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1882:19: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1882:19: call_function: calling ‘vn_remove_signaled_fences’ from ‘vn_WaitForFences’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def179]
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1829:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1864:1: enter_function: entry to ‘vn_WaitForFences’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1870:4: call_function: calling ‘_mesa_trace_scope_begin’ from ‘vn_WaitForFences’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1870:4: return_function: returning to ‘vn_WaitForFences’ from ‘_mesa_trace_scope_begin’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1875:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1876:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1877:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1880:10: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1881:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1882:19: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:1882:19: call_function: calling ‘vn_remove_signaled_fences’ from ‘vn_WaitForFences’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2420:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘semaphores’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2433:1: enter_function: entry to ‘vn_WaitSemaphores’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2437:4: call_function: calling ‘_mesa_trace_scope_begin’ from ‘vn_WaitSemaphores’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2437:4: return_function: returning to ‘vn_WaitSemaphores’ from ‘_mesa_trace_scope_begin’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2442:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2443:10: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2442:8: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2444:16: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2445:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2445:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2445:7: acquire_memory: this call could return NULL
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2446:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2446:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2447:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2448:7: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2448:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2451:10: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2452:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2453:19: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2453:19: call_function: calling ‘vn_remove_signaled_semaphores’ from ‘vn_WaitSemaphores’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def181]
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2420:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2433:1: enter_function: entry to ‘vn_WaitSemaphores’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2437:4: call_function: calling ‘_mesa_trace_scope_begin’ from ‘vn_WaitSemaphores’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2437:4: return_function: returning to ‘vn_WaitSemaphores’ from ‘_mesa_trace_scope_begin’
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2442:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2443:10: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2442:8: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2444:16: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2445:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2445:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2446:7: branch_true: following ‘true’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2446:7: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2447:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2448:7: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2448:7: branch_false: following ‘false’ branch...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2451:10: branch_false: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2452:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2453:19: branch_true: ...to here
mesa-26.1.1/src/virtio/vulkan/vn_queue.c:2453:19: call_function: calling ‘vn_remove_signaled_semaphores’ from ‘vn_WaitSemaphores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:147:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1185:1: enter_function: entry to ‘vk_cmd_build_acceleration_structures’
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1198:59: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1219:25: branch_true: following ‘true’ branch (when ‘i < infoCount’)...
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1219:25: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1221:28: branch_false: following ‘false’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1225:7: branch_false: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_acceleration_structure.c:1225:7: call_function: calling ‘vk_acceleration_structure_build_state_init’ from ‘vk_cmd_build_acceleration_structures’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:423:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bindings’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:407:1: enter_function: entry to ‘vk_common_CmdBindVertexBuffers2EXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:418:4: branch_true: following ‘true’ branch (when ‘bindingCount > 8’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:418:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:418:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:420:25: branch_true: following ‘true’ branch (when ‘b < bindingCount’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:421:7: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:425:26: branch_true: following ‘true’ branch (when ‘pStrides’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:428:40: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:425:26: branch_true: following ‘true’ branch (when ‘pSizes’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:427:36: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:425:26: call_function: inlined call to ‘vk_strided_device_address_range’ from ‘vk_common_CmdBindVertexBuffers2EXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:429:26: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:429:26: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:423:7: danger: ‘bindings + (long unsigned int)b * 56’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:586:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bindings’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:571:1: enter_function: entry to ‘vk_common_CmdBindTransformFeedbackBuffersEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:581:4: branch_true: following ‘true’ branch (when ‘bindingCount > 8’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:581:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:581:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:583:25: branch_true: following ‘true’ branch (when ‘b < bindingCount’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:584:7: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:588:26: branch_true: following ‘true’ branch (when ‘pSizes’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:590:28: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:588:26: branch_true: following ‘true’ branch (when ‘pOffsets’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:589:40: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:588:26: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdBindTransformFeedbackBuffersEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:591:26: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:591:26: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:586:7: danger: ‘bindings + (long unsigned int)b * 40’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:619:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffers’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:605:1: enter_function: entry to ‘vk_common_CmdBeginTransformFeedbackEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:614:4: branch_true: following ‘true’ branch (when ‘counterBufferCount > 8’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:614:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:614:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:616:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:617:7: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:621:26: branch_true: following ‘true’ branch (when ‘pCounterBufferOffsets’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:622:66: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:621:26: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdBeginTransformFeedbackEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:624:26: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:624:26: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:619:7: danger: ‘buffers + (long unsigned int)b * 40’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:652:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffers’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:638:1: enter_function: entry to ‘vk_common_CmdEndTransformFeedbackEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:647:4: branch_true: following ‘true’ branch (when ‘counterBufferCount > 8’)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:647:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:647:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:649:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:650:7: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:654:26: branch_true: following ‘true’ branch (when ‘pCounterBufferOffsets’ is non-NULL)...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:655:66: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:654:26: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdEndTransformFeedbackEXT’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:657:26: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:657:26: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:652:7: danger: ‘buffers + (long unsigned int)b * 40’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:806:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘regions’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:795:1: enter_function: entry to ‘vk_common_CmdCopyBuffer2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:803:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:803:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:803:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:805:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:806:14: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:807:22: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdCopyBuffer2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:812:22: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdCopyBuffer2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:806:7: danger: ‘regions + (long unsigned int)r * 64’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:845:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘regions’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:834:1: enter_function: entry to ‘vk_common_CmdCopyBufferToImage2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:841:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:841:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:841:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:844:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:845:14: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:847:26: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdCopyBufferToImage2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:845:7: danger: ‘regions + (long unsigned int)r * 88’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:886:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘regions’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:875:1: enter_function: entry to ‘vk_common_CmdCopyImageToBuffer2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:882:4: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:882:4: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:882:4: acquire_memory: this call could return NULL
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:885:25: branch_true: following ‘true’ branch...
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:886:14: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:888:26: call_function: inlined call to ‘vk_device_address_range’ from ‘vk_common_CmdCopyImageToBuffer2’
mesa-26.1.1/src/vulkan/runtime/vk_command_buffer.c:886:7: danger: ‘regions + (long unsigned int)r * 88’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
mesa-26.1.1/src/vulkan/runtime/vk_device.c:890:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-26.1.1/src/vulkan/runtime/vk_device.c:873:1: enter_function: entry to ‘vk_common_GetCalibratedTimestampsKHR’
mesa-26.1.1/src/vulkan/runtime/vk_device.c:885:25: branch_true: following ‘true’ branch (when ‘i < timestampCount’)...
mesa-26.1.1/src/vulkan/runtime/vk_device.c:886:47: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_device.c:887:10: branch_true: following ‘true’ branch (when ‘domain == 1000208000’)...
mesa-26.1.1/src/vulkan/runtime/vk_device.c:889:16: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_device.c:889:16: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_GetCalibratedTimestampsKHR’
mesa-26.1.1/src/vulkan/runtime/vk_device.c:890:63: branch_true: ...to here
mesa-26.1.1/src/vulkan/runtime/vk_device.c:890:63: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:517:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:1035:1: enter_function: entry to ‘vk_nir_lower_descriptor_heaps’
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:1049:7: call_function: calling ‘nir_shader_instructions_pass’ from ‘vk_nir_lower_descriptor_heaps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:522:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:1035:1: enter_function: entry to ‘vk_nir_lower_descriptor_heaps’
mesa-26.1.1/src/vulkan/runtime/vk_nir_lower_descriptor_heaps.c:1049:7: call_function: calling ‘nir_shader_instructions_pass’ from ‘vk_nir_lower_descriptor_heaps’
Scan Properties
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-208.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | mesa-26.0.3-4.fc44 |
| diffbase-store-results-to | /tmp/tmp7slj1i3c/mesa-26.0.3-4.fc44.tar.xz |
| diffbase-time-created | 2026-06-01 15:00:07 |
| diffbase-time-finished | 2026-06-01 15:49:17 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp7slj1i3c/mesa-26.0.3-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7slj1i3c/mesa-26.0.3-4.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-208.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | mesa-26.1.1-1.fc45 |
| store-results-to | /tmp/tmpxrn63af7/mesa-26.1.1-1.fc45.tar.xz |
| time-created | 2026-06-01 15:51:24 |
| time-finished | 2026-06-01 16:42:29 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpxrn63af7/mesa-26.1.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpxrn63af7/mesa-26.1.1-1.fc45.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |